%(account_button)s button "
@@ -918,7 +925,7 @@ msgstr ""
"vei putea intra pe platformă folosind datele tale de autentificare din NGO "
"Hub."
-#: templates/v2/account/snippets/third-party.html:33
+#: templates/v2/account/snippets/third-party.html:39
msgid "After authentication, you will be redirected to your account."
msgstr "După autentificare, vei fi redirecționat către contul tău."
@@ -997,6 +1004,9 @@ msgstr "parolă veche"
msgid "Group"
msgstr "Grup"
+#~ msgid "sign up"
+#~ msgstr "înregistrare"
+
#~ msgid ""
#~ "Click the \"Go to account\" button and you will be redirected to the page "
#~ "where you need to authenticate using your NGO Hub credentials."
@@ -1059,9 +1069,6 @@ msgstr "Grup"
#~ msgid "Sign In Error"
#~ msgstr "Eroare la autentificare"
-#~ msgid "Create an account"
-#~ msgstr "Creează un cont"
-
#~ msgid "logo url"
#~ msgstr "url logo"
diff --git a/backend/templates/v2/account/errors/login/app_missing.html b/backend/templates/v2/account/errors/login/app_missing.html
index 38611cd3..d109ac59 100644
--- a/backend/templates/v2/account/errors/login/app_missing.html
+++ b/backend/templates/v2/account/errors/login/app_missing.html
@@ -1,10 +1,18 @@
-{% extends 'account/errors/login/base_login.html' %}
+{% extends "account/errors/login/base_login.html" %}
{% load i18n %}
{% block title %}
- {% trans 'Application not activated' %}
+ {% trans "Application not activated" %}
{% endblock %}
{% block message %}
- {% trans 'The application is not activated for this user/organization.' %}
+
+ {% trans "The application is not activated for this user/organization." %}
+
+
+
+ {% trans "If you are the owner of the organization, please activate it in NGO Hub." %}
+
+
+
{% endblock %}
diff --git a/backend/templates/v2/account/snippets/third-party.html b/backend/templates/v2/account/snippets/third-party.html
index 7be3f0ef..b8bd8315 100644
--- a/backend/templates/v2/account/snippets/third-party.html
+++ b/backend/templates/v2/account/snippets/third-party.html
@@ -1,17 +1,23 @@
{% load i18n allauth socialaccount %}
-{% trans "Go to account" as account_button %}
+{% if not account_button %}
+ {% trans "Go to account" as account_button %}
+{% endif %}
+{% if not section_title %}
+ {% trans "Access your account through NGO Hub" as section_title %}
+{% endif %}
+{% if not form_action %}
+ {% if SOCIALACCOUNT_ENABLED %}
+ {% url 'amazon_cognito_login' as form_action %}
+ {% else %}
+ {% url 'login' as form_action %}
+ {% endif %}
+{% endif %}
- {% if page_type == "login" %}
- {% trans "Login through NGO Hub" %}
- {% elif page_type == "register" %}
- {% trans "Register through NGO Hub" %}
- {% else %}
- {% trans "Access your account through NGO Hub" %}
- {% endif %}
+ {{ section_title }}
{% if SOCIALACCOUNT_ONLY %}
@@ -34,9 +40,13 @@