diff --git a/src/authentic2/apps/authenticators/templates/authentic2/authenticators/authenticator_detail.html b/src/authentic2/apps/authenticators/templates/authentic2/authenticators/authenticator_detail.html index 8214ae708..9e448b169 100644 --- a/src/authentic2/apps/authenticators/templates/authentic2/authenticators/authenticator_detail.html +++ b/src/authentic2/apps/authenticators/templates/authentic2/authenticators/authenticator_detail.html @@ -7,7 +7,7 @@ {% if object.has_valid_configuration and not object.protected %} - {{ object.enabled|yesno:_("Disable,Enable") }} + {{ object.enabled|yesno:_("Disable,Enable") }} {% endif %} {% trans "Edit" %}
{% trans "Timestamp" %} | -{% trans "User" %} | -{% trans "Session" %} | -{% trans "Message" %} | -
---|
{% trans "Timestamp" %} | +{% trans "User" %} | +{% trans "Session" %} | +{% trans "Message" %} | +
---|---|---|---|
{% block event-timestamp %}{{ event.timestamp }}{% endblock %} | +{% block event-user %}{% if event.user %}{{ event.user }}{% else %}-{% endif %}{% endblock %} | +{% block event-session %}{% if event.api %}API{% else %}{{ event.session_id_shortened|default:"-" }}{% endif %}{% endblock %} | +{% block event-message %}{{ event.message|default:"-" }}{% endblock %} | +
{% trans "No event found." %}
+ {% else %} +{% trans "Journal is empty." %}
{% endif %} -{% trans "No event found." %}
- {% else %} -{% trans "Journal is empty." %}
- {% endif %} -- {% if not page.is_first_page %} - {% trans "First page" %} - {% trans "Previous page" %} - {% endif %} - {% if not page.is_first_page and not page.is_last_page %} - … - {% endif %} - {% if not page.is_last_page %} - {% trans "Next page" %} - {% trans "Last page" %} - {% endif %} + {% if not page.is_first_page %} + {% trans "First page" %} + {% trans "Previous page" %} + {% endif %} + {% if not page.is_first_page and not page.is_last_page %} + … + {% endif %} + {% if not page.is_last_page %} + {% trans "Next page" %} + {% trans "Last page" %} + {% endif %}
diff --git a/src/authentic2/backends/templates/authentic2/backends/manager_user_sidebar.html b/src/authentic2/backends/templates/authentic2/backends/manager_user_sidebar.html index 25997deb3..7de321224 100644 --- a/src/authentic2/backends/templates/authentic2/backends/manager_user_sidebar.html +++ b/src/authentic2/backends/templates/authentic2/backends/manager_user_sidebar.html @@ -1,8 +1,8 @@ {% load i18n %} {% for external_id in user.userexternalid_set.all %} --{% blocktrans trimmed with source=external_id.source created=external_id.created uid=external_id.external_id %} -Link with LDAP server "{{ source }}" created on {{ created }} (external_id {{ uid }}). -{% endblocktrans %} -
++ {% blocktrans trimmed with source=external_id.source created=external_id.created uid=external_id.external_id %} + Link with LDAP server "{{ source }}" created on {{ created }} (external_id {{ uid }}). + {% endblocktrans %} +
{% endfor %} diff --git a/src/authentic2/idp/saml/templates/idp/saml/unknown_provider.html b/src/authentic2/idp/saml/templates/idp/saml/unknown_provider.html index 2b78e907c..1134936b4 100644 --- a/src/authentic2/idp/saml/templates/idp/saml/unknown_provider.html +++ b/src/authentic2/idp/saml/templates/idp/saml/unknown_provider.html @@ -2,12 +2,12 @@ {% load i18n %} {% block content %} -- {% blocktrans %}We were unable to load provider {{ entity_id }}.{% endblocktrans %} - {% if request.user.is_staff %} - {% blocktrans %} - You can add it now or retry. - {% endblocktrans %} - {% endif %} -
++ {% blocktrans %}We were unable to load provider {{ entity_id }}.{% endblocktrans %} + {% if request.user.is_staff %} + {% blocktrans %} + You can add it now or retry. + {% endblocktrans %} + {% endif %} +
{% endblock %} diff --git a/src/authentic2/manager/templates/authentic2/manager/api_client_detail.html b/src/authentic2/manager/templates/authentic2/manager/api_client_detail.html index 363619e53..6b2ad7696 100644 --- a/src/authentic2/manager/templates/authentic2/manager/api_client_detail.html +++ b/src/authentic2/manager/templates/authentic2/manager/api_client_detail.html @@ -15,22 +15,22 @@ {% endblock %} {% block main %} -{% if api_client.description %} -{% blocktrans %}Do you want to delete {{ model_name }} {{ object }}?{% endblocktrans %}
+{% blocktrans %}Do you want to delete {{ model_name }} {{ object }}?{% endblocktrans %}
{% endblock %}{{ entry.help_text }}
- {% endfor %} +{{ entry.help_text }}
+ {% endfor %} +- {% for caption, url in date_hierarchy.choice_urls %} - {{ caption }} - {% endfor %} -
- {% endif %} -{{ documentation|safe }}
- {% endfor %} -+ {% for caption, url in date_hierarchy.choice_urls %} + {{ caption }} + {% endfor %} +
+ {% endif %} +{{ documentation|safe }}
+ {% endfor %} +{% if ldap.require_cert != 'demand' %}LDAPTLS_REQCERT={{ldap.require_cert}} {% endif %}ldapsearch -v -H {{ ldap.ldap_uri }} \ +{% trans "LDAP information, realm:" %} {{ ldap.realm }}
++ {% if not ldap.error %} ++ {% else %} +{% blocktrans %}Base ldapsearch command{% endblocktrans %}
+{% if ldap.require_cert != 'demand' %}LDAPTLS_REQCERT={{ldap.require_cert}} {% endif %}ldapsearch -v -H {{ ldap.ldap_uri }} \ -D "{{ ldap.binddn }}" \ -w "{{ ldap.bindpw }}" \ -b "{{ ldap.basedn }}"{% if ldap.user_filter or ldap.sync_ldap_users_filter %} "{% firstof ldap.sync_ldap_users_filter ldap.user_filter %}"{% endif %}-{% else %} ---{% endif %} -{% blocktrans %}Error while attempting to connect to LDAP server, base ldapsearch command won't be displayed.{% endblocktrans %}
-{% if ldap.errmsg %} -{% blocktrans with errmsg=ldap.errmsg %}Server error: {{ errmsg }}{% endblocktrans %}
-{% endif %} -{% trans "Configuration" %}
-{{ ldap.block }}-++ {% endif %} +{% blocktrans %}Error while attempting to connect to LDAP server, base ldapsearch command won't be displayed.{% endblocktrans %}
+ {% if ldap.errmsg %} +{% blocktrans with errmsg=ldap.errmsg %}Server error: {{ errmsg }}{% endblocktrans %}
+ {% endif %} +{% trans "Configuration" %}
+{{ ldap.block }}+
-
- They will all be deleted. Are you sure you want to delete organizational unit "{{ object }}"? -
++
+ They will all be deleted. Are you sure you want to delete organizational unit "{{ object }}"? +
{% endblocktrans %} {% endblock %} diff --git a/src/authentic2/manager/templates/authentic2/manager/ou_detail.html b/src/authentic2/manager/templates/authentic2/manager/ou_detail.html index 9f22ac9e8..3522dca9a 100644 --- a/src/authentic2/manager/templates/authentic2/manager/ou_detail.html +++ b/src/authentic2/manager/templates/authentic2/manager/ou_detail.html @@ -17,16 +17,16 @@ {% block appbar %} {{ block.super }} - {% if view.can_delete %} - {% trans "Delete" %} - {% else %} - {% trans "Delete" %} - {% endif %} + {% if view.can_delete %} + {% trans "Delete" %} + {% else %} + {% trans "Delete" %} + {% endif %} - {% if view.can_change %} - {% trans "Edit" %} - {% else %} - {% trans "Edit" %} - {% endif %} + {% if view.can_change %} + {% trans "Edit" %} + {% else %} + {% trans "Edit" %} + {% endif %} {% endblock %} diff --git a/src/authentic2/manager/templates/authentic2/manager/ous.html b/src/authentic2/manager/templates/authentic2/manager/ous.html index 90826f19f..6979184c3 100644 --- a/src/authentic2/manager/templates/authentic2/manager/ous.html +++ b/src/authentic2/manager/templates/authentic2/manager/ous.html @@ -10,28 +10,28 @@ {% block appbar %} {{ block.super }} - - {% if view.can_add %} - {% trans "Add organizational unit" %} - {% endif %} -{{ object.description }}
-{% include "authentic2/manager/search_form.html" %} -{{ object.description }}
+ {% include "authentic2/manager/search_form.html" %} +{% trans "This role doesn't contain permissions of any other role." %}
- {% endif %} -{% trans "This role doesn't contain permissions of any other role." %}
+ {% endif %} +{% blocktrans %}Do you want to remove admin role {{ child }}?{% endblocktrans %}
+{% blocktrans %}Do you want to remove admin role {{ child }}?{% endblocktrans %}
{% endblock %}{% blocktrans %}Do you want to remove admin user {{ user }}?{% endblocktrans %}
+{% blocktrans %}Do you want to remove admin user {{ user }}?{% endblocktrans %}
{% endblock %}{% trans "This user may already exist, please check the list below before creating it :" %}
-{% trans "This user may already exist, please check the list below before creating it :" %}
+- {% blocktrans %}User's email will not be changed immediately. First an email will be sent to this + {% blocktrans %}User's email will not be changed immediately. First an email will be sent to this new email address containing a link on which the user's will have to click to verify that it owns the email address, then it will be changed.{% endblocktrans %}
diff --git a/src/authentic2/manager/templates/authentic2/manager/user_common_roles.html b/src/authentic2/manager/templates/authentic2/manager/user_common_roles.html index f1078661a..80d520700 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_common_roles.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_common_roles.html @@ -7,14 +7,14 @@ {{ block.super }} {% trans 'Users' %} {% if multiple_ou and object.ou %} - {{ object.ou }} + {{ object.ou }} {% endif %} {{ object }} {% trans "Roles" %} {% endblock %} {% block page_title %} -{% trans "Edit User Roles" %} + {% trans "Edit User Roles" %} {% endblock %} {% block sidebar %} diff --git a/src/authentic2/manager/templates/authentic2/manager/user_detail.html b/src/authentic2/manager/templates/authentic2/manager/user_detail.html index 400dccb9f..99c261df0 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_detail.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_detail.html @@ -5,26 +5,26 @@ {% block appbar %}- {% if object.last_login %} - {% blocktrans with date=object.last_login %}Last login on {{ date }}.{% endblocktrans %} - {% else %} - {% trans "Never logged in." %} - {% endif %} -
- -- {% blocktrans with date=object.date_joined %}Created on {{ date }}{% endblocktrans %} -
- - {% if object.date_joined != object.modified %} -- {% blocktrans with date=object.modified %}Modified on {{ date }}{% endblocktrans %} +
+ {% if object.last_login %} + {% blocktrans with date=object.last_login %}Last login on {{ date }}.{% endblocktrans %} + {% else %} + {% trans "Never logged in." %} + {% endif %}
- {% endif %} - {% if not object.is_active and object.deactivation %} -- {% blocktrans trimmed with date=object.deactivation reason=object.verbose_deactivation_reason %} - Deactivated on {{ date }} ({{ reason }}). - {% endblocktrans %} -
- {% endif %} ++ {% blocktrans with date=object.date_joined %}Created on {{ date }}{% endblocktrans %} +
- {% for data in user_data %} - {{ data }} - {% endfor %} - - {% block other_actions %}{{ block.super }}{% endblock %} - - {% if roles_by_ou or can_change_roles %} -+ {% blocktrans with date=object.modified %}Modified on {{ date }}{% endblocktrans %} +
{% endif %} -+ {% blocktrans trimmed with date=object.deactivation reason=object.verbose_deactivation_reason %} + Deactivated on {{ date }} ({{ reason }}). + {% endblocktrans %} +
+ {% endif %} -{% trans "Preparing CSV export file..." %}
- {% trans "Progress:" %} 0% +{% trans "Preparing CSV export file..." %}
+ {% trans "Progress:" %} 0% +{% trans "Export completed." %}
+ +{% trans "Export completed." %}
- -{% trans "Exception:" %} {{ report.exception}}
+{% trans "Exception:" %} {{ report.exception}}
{% endif %} {% if report.importer %} {% with importer=report.importer %} @@ -80,7 +80,7 @@{% trans "Line" %} | - {% for header in importer.headers %} -+ | {% trans "Line" %} | + {% for header in importer.headers %} +
- {{ header.name }}
- {% if header.flags %} {% endif %} - {% for flag in header.flags %} - - {% endfor %} - |
- {% endfor %}
- {% trans "Action" %} | -{% trans "Action" %} | + {% for row in importer.rows %} diff --git a/src/authentic2/manager/templates/authentic2/manager/user_imports.html b/src/authentic2/manager/templates/authentic2/manager/user_imports.html index e2b26c70d..c464a5c89 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_imports.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_imports.html @@ -56,218 +56,218 @@
---|
{% trans "Label" %} | -{% trans "Identifier" %} | -
---|
{{ column.label }} | -{{ column.name }} | +{% trans "Label" %} | +{% trans "Identifier" %} |
---|
{% blocktrans trimmed %}Each column can receive flags after its name, separated by spaces. Each modifier can be prefixed by no- to set its value to false.{% endblocktrans %}
-{% trans "Flag" %} | -{% trans "Meaning" %} | -{% trans "Default value" %} | -
---|---|---|
key | -- {% blocktrans trimmed %} - The column is an import key, it is used to match the row with an existing user. Only one column can be an import key. + + | |
{{ column.label }} | +{{ column.name }} | +
{% blocktrans trimmed %}Each column can receive flags after its name, separated by spaces. Each modifier can be prefixed by no- to set its value to false.{% endblocktrans %}
+{% trans "Flag" %} | +{% trans "Meaning" %} | +{% trans "Default value" %} | +|
---|---|---|---|
key | ++ {% blocktrans trimmed %} + The column is an import key, it is used to match the row with an existing user. Only one column can be an import key. + {% endblocktrans %} + | +{% trans "False" %} | +|
create | ++ {% blocktrans trimmed %} + Values will be used when creating a new user. + {% endblocktrans %} + | +{% trans "True" %} | +|
update | ++ {% blocktrans trimmed %} + Values will be used when updating an existing user. + {% endblocktrans %} + | +{% trans "True" %} | +|
unique | ++ {% blocktrans trimmed %} + Values must be unique in the target organizational unit. + {% endblocktrans %} + | +{% trans "False" %} {% blocktrans trimmed %} + (default is True for the email and username columns if they are configured to be unique in the target organizational unit) {% endblocktrans %} - | -{% trans "False" %} | -
create | -- {% blocktrans trimmed %} - Values will be used when creating a new user. - {% endblocktrans %} - | -{% trans "True" %} | -|
update | -- {% blocktrans trimmed %} - Values will be used when updating an existing user. - {% endblocktrans %} - | -{% trans "True" %} | -|
unique | -- {% blocktrans trimmed %} - Values must be unique in the target organizational unit. - {% endblocktrans %} - | -{% trans "False" %} {% blocktrans trimmed %} - (default is True for the email and username columns if they are configured to be unique in the target organizational unit) - {% endblocktrans %} - | -|
globally-unique | -- {% blocktrans trimmed %} - Values must be unique among all users. - {% endblocktrans %} - | -{% trans "False" %} {% blocktrans trimmed %} - (default is True for the email and username columns if they are configured to be globally unique) + | +|
globally-unique | ++ {% blocktrans trimmed %} + Values must be unique among all users. + {% endblocktrans %} + | +{% trans "False" %} {% blocktrans trimmed %} + (default is True for the email and username columns if they are configured to be globally unique) {% endblocktrans %} | -|
verified | -- {% blocktrans trimmed %} - Values are verified. User's attribute will be locked. - {% endblocktrans %} - | -{% trans "False" %} {% blocktrans %}(default is True for the email column){% endblocktrans %} | -
- {% blocktrans trimmed %} - You can also use two special columns _source_name and - _source_id. _source_name must be the name of the - source directory from which the users are exported, it must not - change between imports. _source_id is the unique identifier - from the source directory from which the users are extracted, it must - not change between imports and should never be reused for different - users. _source_id is automatically the key column, and you - cannot use another key column. - {% endblocktrans %} -
-- {% blocktrans trimmed %} - Adding existing roles to users is supported. Use either - _role_name or _role_slug special columns to - specify the names or the slugs that should be added to the user. In - order to add multiple roles, simply add a new line, identical to the - first one, except for the value of the role cell. These columns also - accept special flags, as listed below. - {% endblocktrans %} -
-{% trans "Flag" %} | -{% trans "Meaning" %} | -{% trans "Default value" %} | -
---|---|---|
delete | -- {% blocktrans trimmed %} - Remove role from user instead of adding it. - {% endblocktrans %} - | -{% trans "False" %} | -
clear | -- {% blocktrans trimmed %} - Clear user roles beforehand, so that they will have no more roles - than those specified in the import file. - {% endblocktrans %} - | -{% trans "False" %} | -
- {% blocktrans trimmed %} - When a user is created by the import, they will have to use the "forgotten password" feature - in order to log in for the first time. An alternative is to use the special column - @registration with the value send-email. In this case, newly created - users will receive an email, inviting them to set their password. - {% endblocktrans %} -
-- {% blocktrans trimmed %} - If you want to set a default password but make the user change it after next login, you can - add a @force-password-reset column in the CSV. A value of 'true' in this column will - ask the user to change password after the next login. - {% endblocktrans %} -
-{% blocktrans trimmed %}Importing first and last name of users keyed by email{% endblocktrans %}
--"email key",first_name,last_name +{% trans "External identifier" %}
++ {% blocktrans trimmed %} + You can also use two special columns _source_name and + _source_id. _source_name must be the name of the + source directory from which the users are exported, it must not + change between imports. _source_id is the unique identifier + from the source directory from which the users are extracted, it must + not change between imports and should never be reused for different + users. _source_id is automatically the key column, and you + cannot use another key column. + {% endblocktrans %} +
+{% trans "Role operations" %}
++ {% blocktrans trimmed %} + Adding existing roles to users is supported. Use either + _role_name or _role_slug special columns to + specify the names or the slugs that should be added to the user. In + order to add multiple roles, simply add a new line, identical to the + first one, except for the value of the role cell. These columns also + accept special flags, as listed below. + {% endblocktrans %} +
++ +
++ + + +{% trans "Flag" %} +{% trans "Meaning" %} +{% trans "Default value" %} ++ +delete ++ {% blocktrans trimmed %} + Remove role from user instead of adding it. + {% endblocktrans %} + +{% trans "False" %} ++ + +clear ++ {% blocktrans trimmed %} + Clear user roles beforehand, so that they will have no more roles + than those specified in the import file. + {% endblocktrans %} + +{% trans "False" %} +{% trans "Registration options" %}
++ {% blocktrans trimmed %} + When a user is created by the import, they will have to use the "forgotten password" feature + in order to log in for the first time. An alternative is to use the special column + @registration with the value send-email. In this case, newly created + users will receive an email, inviting them to set their password. + {% endblocktrans %} +
+{% trans "Force Password Reset" %}
++ {% blocktrans trimmed %} + If you want to set a default password but make the user change it after next login, you can + add a @force-password-reset column in the CSV. A value of 'true' in this column will + ask the user to change password after the next login. + {% endblocktrans %} +
+{% trans "Examples" %}
+{% blocktrans trimmed %}Importing first and last name of users keyed by email{% endblocktrans %}
++-"email key",first_name,last_name john.doe@example.com,John,Doe --{% blocktrans trimmed %}Importing verified first and last name of users keyed by email{% endblocktrans %}
--+"email key","first_name verified","last_name verified" ++{% blocktrans trimmed %}Importing verified first and last name of users keyed by email{% endblocktrans %}
++-"email key","first_name verified","last_name verified" john.doe@example.com,John,Doe --{% blocktrans trimmed %}Importing email, family_reference, first and last name of users from application app1, ensuring family_reference is unique.{% endblocktrans %}
--+_source_name,_source_id,email,"family_reference unique",first_name,last_name ++{% blocktrans trimmed %}Importing email, family_reference, first and last name of users from application app1, ensuring family_reference is unique.{% endblocktrans %}
++-_source_name,_source_id,email,"family_reference unique",first_name,last_name app1,1,john.doe@example.com,1234,John,Doe --{% blocktrans trimmed %}Importing email, first and last name of users - while adding roles.{% endblocktrans %}
--+email key,first_name,last_name,_role_name ++{% blocktrans trimmed %}Importing email, first and last name of users + while adding roles.{% endblocktrans %}
++-email key,first_name,last_name,_role_name john.doe@example.com,John,Doe,Role1 john.doe@example.com,John,Doe,Role2 --{% blocktrans trimmed %}Importing email, first and last name of users - and sending a password reset email to John (only if the account is created - by the import).{% endblocktrans %}
--+email key,first_name,last_name,@registration ++{% blocktrans trimmed %}Importing email, first and last name of users + and sending a password reset email to John (only if the account is created + by the import).{% endblocktrans %}
++-email key,first_name,last_name,@registration john.doe@example.com,John,Doe,send-email jane.doe@example.com,Jane,Doe, --{% blocktrans trimmed %}Importing email, first and last name of users - and setting a password using hash in standard Django format. Forcing password change for Jane after next login.{% endblocktrans %}
--+email key,first_name,last_name,password_hash,@force-password-reset ++{% blocktrans trimmed %}Importing email, first and last name of users + and setting a password using hash in standard Django format. Forcing password change for Jane after next login.{% endblocktrans %}
++-email key,first_name,last_name,password_hash,@force-password-reset john.doe@example.com,John,Doe,pbkdf2_sha256$36000$oTHdVaoMjnCp$uTkpF7Ne6KV/L5gAerS7mngXM96DOEaLsLMZ251HJ/M=, jane.doe@example.com,Jane,Doe,pbkdf2_sha256$36000$oTHdVaoMjnCp$uTkpF7Ne6KV/L5gAerS7mngXM96DOEaLsLMZ251HJ/M=,true --
{% trans "You should be automatically redirected." %}
-{% trans "If this page is still visible after a few seconds, press the Send button below." %}
- - {% if relay_state %} - - {% endif %} - -{% trans "You should be automatically redirected." %}
+{% trans "If this page is still visible after a few seconds, press the Send button below." %}
+ + {% if relay_state %} + + {% endif %} + +{% trans "The page you requested has not been found on this server." %} +
{% trans "The page you requested has not been found on this server." %} {% endblock %} diff --git a/src/authentic2/templates/admin/base_site.html b/src/authentic2/templates/admin/base_site.html index 0b0fc60cd..6ca91f3f7 100644 --- a/src/authentic2/templates/admin/base_site.html +++ b/src/authentic2/templates/admin/base_site.html @@ -4,7 +4,7 @@ {% block title %}{{ title }} | {% trans 'Authentic site admin' %}{% endblock %} {% block branding %} -
There is no log for the moment.
-{% else %} -{% for log in logs.object_list %} - {% if "CRITICAL" in log %} + {% if not file %} +There is no log for the moment.
+ {% else %} + {% for log in logs.object_list %} + {% if "CRITICAL" in log %}{{ log }}
- {% else %} + {% else %} {% if "ERROR" in log %} -{{ log }}
+{{ log }}
{% else %} -{{ log }}
+{{ log }}
{% endif %} - {% endif %} -{% endfor %} + {% endif %} + {% endfor %} -{% blocktrans %}{{ full_name }},{% endblocktrans %}
--{% blocktrans %} -Your account on {{ site }} has been deleted. -All related data will be deleted today. -You cannot log in with it anymore. -{% endblocktrans %} -
+{% blocktrans %}{{ full_name }},{% endblocktrans %}
++ {% blocktrans %} + Your account on {{ site }} has been deleted. + All related data will be deleted today. + You cannot log in with it anymore. + {% endblocktrans %} +
diff --git a/src/authentic2/templates/authentic2/account_deletion_code_body.html b/src/authentic2/templates/authentic2/account_deletion_code_body.html index d5b526d85..c2ee2a94b 100644 --- a/src/authentic2/templates/authentic2/account_deletion_code_body.html +++ b/src/authentic2/templates/authentic2/account_deletion_code_body.html @@ -1,15 +1,15 @@ {% load i18n %} -{% blocktrans %}{{ full_name }},{% endblocktrans %}
--{% blocktrans %} -Please click on {{ deletion_url }} -if you want to validate your account deletion request on -{{ site }}. -If so, all related data will be deleted in the next few hours. -You won't be able to log in with this account anymore. -{% endblocktrans %} -
+{% blocktrans %}{{ full_name }},{% endblocktrans %}
++ {% blocktrans %} + Please click on {{ deletion_url }} + if you want to validate your account deletion request on + {{ site }}. + If so, all related data will be deleted in the next few hours. + You won't be able to log in with this account anymore. + {% endblocktrans %} +
diff --git a/src/authentic2/templates/authentic2/accounts_delete_request.html b/src/authentic2/templates/authentic2/accounts_delete_request.html index 705d9855c..70f349276 100644 --- a/src/authentic2/templates/authentic2/accounts_delete_request.html +++ b/src/authentic2/templates/authentic2/accounts_delete_request.html @@ -13,24 +13,24 @@ {% block content %} -- {% blocktrans trimmed %} - Do you really want to delete your account? - {% endblocktrans %} -
- {% if user.email_verified %} -- {% blocktrans trimmed %} - A validation message will be sent to {{ email }}. You will have to visit the - link in this email in order to complete the deletion process. - {% endblocktrans %} -
- {% endif %} -+ {% blocktrans trimmed %} + Do you really want to delete your account? + {% endblocktrans %} +
+ {% if user.email_verified %} ++ {% blocktrans trimmed %} + A validation message will be sent to {{ email }}. You will have to visit the + link in this email in order to complete the deletion process. + {% endblocktrans %} +
+ {% endif %} +- {% blocktrans %} - You are about to delete the account of {{ user }}. - This will remove all related personal data and you won't be able to log in with this account anymore. - {% endblocktrans %} -
- - -+ {% blocktrans %} + You are about to delete the account of {{ user }}. + This will remove all related personal data and you won't be able to log in with this account anymore. + {% endblocktrans %} +
+ + +{% blocktrans with email=user.email %}Your current email is {{ email }}. - An email will be sent to validate the new one.{% endblocktrans %}
+ An email will be sent to validate the new one.{% endblocktrans %}- {% if consents|length_is:0 %} - {% trans "You have not given any authorization to access your account profile data." %} - {% else %} - {% trans "You have given authorizations to access your account profile data." %} - {% endif %} -
- {% endblock %} -+ {% if consents|length_is:0 %} + {% trans "You have not given any authorization to access your account profile data." %} + {% else %} + {% trans "You have given authorizations to access your account profile data." %} + {% endif %} +
+ {% endblock %} +{{ authenticator.button_description }}
-{% endif %} + {% block form %} + {% if authenticator.button_description %} +{{ authenticator.button_description }}
+ {% endif %} -→ {% trans "Forgot password?" %} {% trans "Reset it!" %}
→ {% trans "Not a member?" %} {% trans "Register!" %}
→ {% trans "Forgot password?" %} {% trans "Reset it!" %}
→ {% trans "Not a member?" %} {% trans "Register!" %}
{% trans "Hi," %}
+{% trans "Hi," %}
-{% blocktrans trimmed with hostname=request.get_host %} -You requested reset of your password on {{ hostname }}. Unfortunately, it cannot be done from this website, because your account is synchronised from a LDAP server. Hence password reset should be handled in the directory. -{% endblocktrans %}
+{% blocktrans trimmed with hostname=request.get_host %} + You requested reset of your password on {{ hostname }}. Unfortunately, it cannot be done from this website, because your account is synchronised from a LDAP server. Hence password reset should be handled in the directory. + {% endblocktrans %}
-{% trans "In the meantine, you can access your account using the button below." %}
+{% trans "In the meantine, you can access your account using the button below." %}
-{% with _("Access account") as button_label %} -{% include "emails/button-link.html" with url=login_url label=button_label %} -{% endwith %} + {% with _("Access account") as button_label %} + {% include "emails/button-link.html" with url=login_url label=button_label %} + {% endwith %} {% endblock %} diff --git a/src/authentic2/templates/authentic2/password_reset_no_account_body.html b/src/authentic2/templates/authentic2/password_reset_no_account_body.html index b9eeee8cd..20db460d6 100644 --- a/src/authentic2/templates/authentic2/password_reset_no_account_body.html +++ b/src/authentic2/templates/authentic2/password_reset_no_account_body.html @@ -2,14 +2,14 @@ {% load i18n %} {% block content %} -{% trans "Hi," %}
+{% trans "Hi," %}
-{% blocktrans trimmed with hostname=request.get_host %} -You requested reset of your password on {{ hostname }}, but no account was found associated with this address. -{% endblocktrans %}
-{% if registration_url %} -{% with _("Create an account") as button_label %} -{% include "emails/button-link.html" with url=registration_url label=button_label %} -{% endwith %} -{% endif %} +{% blocktrans trimmed with hostname=request.get_host %} + You requested reset of your password on {{ hostname }}, but no account was found associated with this address. + {% endblocktrans %}
+ {% if registration_url %} + {% with _("Create an account") as button_label %} + {% include "emails/button-link.html" with url=registration_url label=button_label %} + {% endwith %} + {% endif %} {% endblock %} diff --git a/src/authentic2/templates/authentic2/password_reset_refused_body.html b/src/authentic2/templates/authentic2/password_reset_refused_body.html index 375090274..6902ce4cf 100644 --- a/src/authentic2/templates/authentic2/password_reset_refused_body.html +++ b/src/authentic2/templates/authentic2/password_reset_refused_body.html @@ -2,9 +2,9 @@ {% load i18n %} {% block content %} -{% trans "Hi," %}
+{% trans "Hi," %}
-{% blocktrans trimmed with hostname=request.get_host %} -You requested reset of your password on {{ hostname }}. Unfortunately, your account has been disabled on this server, thus your request can't succeed. -{% endblocktrans %}
+{% blocktrans trimmed with hostname=request.get_host %} + You requested reset of your password on {{ hostname }}. Unfortunately, your account has been disabled on this server, thus your request can't succeed. + {% endblocktrans %}
{% endblock %} diff --git a/src/authentic2/templates/authentic2/profile_image_input.html b/src/authentic2/templates/authentic2/profile_image_input.html index 186e7167a..c7d6b1212 100644 --- a/src/authentic2/templates/authentic2/profile_image_input.html +++ b/src/authentic2/templates/authentic2/profile_image_input.html @@ -1,5 +1,5 @@ {% if widget.is_initial %}{{ widget.initial_text }}: {% if not widget.required %} - -{% endif %}Hi {{ user }}!
-Your registration on {{ site }} was successful!
+Hi {{ user }}!
+Your registration on {{ site }} was successful!
- + {% endblocktrans %}{% trans "Password strength :" %} -
{% trans "The SSL authentication has failed" %}
-Back +{% trans "The SSL authentication has failed" %}
+ Back {% endblock %} diff --git a/src/authentic2/templates/interaction/consent_attributes.html b/src/authentic2/templates/interaction/consent_attributes.html index 69056704d..205215b60 100644 --- a/src/authentic2/templates/interaction/consent_attributes.html +++ b/src/authentic2/templates/interaction/consent_attributes.html @@ -6,34 +6,34 @@ {% block content %} -{% load i18n %} --{% trans "Choose attributes to send to " %} {{ provider_id }} ? + {% load i18n %} +
+ {% trans "Choose attributes to send to " %} {{ provider_id }} ? -
-{% if provider_id %} -{% blocktrans with provider_id=provider_id %} -Do you accept to federate your account with {{ provider_id }}? -{% endblocktrans %} -{% else %} -{% trans "Do you accept to federate your account?" %} -{% endif %} -{{ provider_id2 }} -
-+ {% if provider_id %} + {% blocktrans with provider_id=provider_id %} + Do you accept to federate your account with {{ provider_id }}? + {% endblocktrans %} + {% else %} + {% trans "Do you accept to federate your account?" %} + {% endif %} + {{ provider_id2 }} +
+{% trans "Account successfully activated" %}
+{% trans "Account successfully activated" %}
- + -{% else %} + {% else %} -{% trans "Account activation failed" %}
+{% trans "Account activation failed" %}
-{% endif %} + {% endif %} {% endblock %} diff --git a/src/authentic2/templates/registration/activation_complete.html b/src/authentic2/templates/registration/activation_complete.html index 2123fdb2d..6cf7d795a 100644 --- a/src/authentic2/templates/registration/activation_complete.html +++ b/src/authentic2/templates/registration/activation_complete.html @@ -2,5 +2,5 @@ {% load i18n %} {% block content %} -{% trans "Your account is now activated" %} + {% trans "Your account is now activated" %} {% endblock %} diff --git a/src/authentic2/templates/registration/activation_email.html b/src/authentic2/templates/registration/activation_email.html index 2eef213c4..b5a4dc0a1 100644 --- a/src/authentic2/templates/registration/activation_email.html +++ b/src/authentic2/templates/registration/activation_email.html @@ -12,9 +12,9 @@ {% endif %} {% if expiration_days > 1 %} -{% blocktrans %}This link is valid for {{ expiration_days }} days.{% endblocktrans %}> +
{% blocktrans %}This link is valid for {{ expiration_days }} days.{% endblocktrans %}> {% else %} -
{% blocktrans %}This link is valid for 24 hours.{% endblocktrans %}> +
{% blocktrans %}This link is valid for 24 hours.{% endblocktrans %}> {% endif %}
{% blocktrans %}If you did not register on {{ site }}, ignore this email.{% endblocktrans %}
diff --git a/src/authentic2/templates/registration/logout.html b/src/authentic2/templates/registration/logout.html index eacb4dcd5..0f048e218 100644 --- a/src/authentic2/templates/registration/logout.html +++ b/src/authentic2/templates/registration/logout.html @@ -2,10 +2,10 @@ {% load i18n %} {% block title %} -{% trans "Logging out" %} + {% trans "Logging out" %} {% endblock %} {% block content %} -{% trans "Logged out" %}
- +{% trans "Logged out" %}
+ {% endblock %} diff --git a/src/authentic2/templates/registration/password_change_done.html b/src/authentic2/templates/registration/password_change_done.html index f211a8ae4..ba57753d2 100644 --- a/src/authentic2/templates/registration/password_change_done.html +++ b/src/authentic2/templates/registration/password_change_done.html @@ -2,9 +2,9 @@ {% load i18n %} {% block title %} -{{ view.title }} + {{ view.title }} {% endblock %} {% block content %} -{% trans "Password changed" %}
+{% trans "Password changed" %}
{% endblock %} diff --git a/src/authentic2/templates/registration/password_change_form.html b/src/authentic2/templates/registration/password_change_form.html index a57467ed2..add6f93a3 100644 --- a/src/authentic2/templates/registration/password_change_form.html +++ b/src/authentic2/templates/registration/password_change_form.html @@ -14,17 +14,17 @@ {% block content %}{% blocktrans %}To change your password you must provide your current password, then provide - the new password and confirm it. - {% endblocktrans %}
+{% blocktrans %}To change your password you must provide your current password, then provide + the new password and confirm it. + {% endblocktrans %}
{% else %} -{% blocktrans %}You are going to define your account password.{% endblocktrans %}
+{% blocktrans %}You are going to define your account password.{% endblocktrans %}
{% endif %} {% csrf_token %} {{ form|with_template }}{% trans "Password reset failed" %}
+{% trans "Password reset failed" %}
-{% endif %} + {% endif %} {% endblock %} diff --git a/src/authentic2/templates/registration/password_reset_email.html b/src/authentic2/templates/registration/password_reset_email.html index 93cdc688f..b33ae9965 100644 --- a/src/authentic2/templates/registration/password_reset_email.html +++ b/src/authentic2/templates/registration/password_reset_email.html @@ -1,6 +1,6 @@ {% load i18n %} {% blocktrans with hostname=request.get_host %}You requested reset of your password on {{ hostname }}, to proceed please -click on the following link{% endblocktrans %}: + click on the following link{% endblocktrans %}: {% block reset_link %} - {{ reset_url }} + {{ reset_url }} {% endblock %} diff --git a/src/authentic2/templates/registration/password_reset_form.html b/src/authentic2/templates/registration/password_reset_form.html index 060937503..2ed16e298 100644 --- a/src/authentic2/templates/registration/password_reset_form.html +++ b/src/authentic2/templates/registration/password_reset_form.html @@ -2,19 +2,19 @@ {% load i18n gadjo %} {% block title %} -{% trans "Resetting password" %} + {% trans "Resetting password" %} {% endblock %} {% block content %} -{% trans "Your password reset request has been refused." %}{% trans "Indeed your browser checked a hidden anti-robot checkbox on the registration form. A browser extension may produce this behaviour, in this case disable such extensions and try again." %}
+{% trans "Your password reset request has been refused." %}{% trans "Indeed your browser checked a hidden anti-robot checkbox on the registration form. A browser extension may produce this behaviour, in this case disable such extensions and try again." %}
{% else %} -- - {% blocktrans with email=request.session.reset_email %} - An email has been sent to {{ email }}. - {% endblocktrans %} -
-- {% blocktrans %} - Follow the instructions in this email in order to choose a new password. - {% endblocktrans %} -
- {% block advice %}- {% blocktrans %} - The email may take several minutes to be received. It can also be - considered as spam: please look in your "junk mail" folder. - {% endblocktrans %} -
-- {% blocktrans %} - If you still have not received the instructions, add "{{from_email_address}}" - to your address book or authorized sender list, and then repeat the - password reset process. - {% endblocktrans %} - {% endblock %} -
- {% endif %} - {% block back %} - + + {% blocktrans with email=request.session.reset_email %} + An email has been sent to {{ email }}. + {% endblocktrans %} + ++ {% blocktrans %} + Follow the instructions in this email in order to choose a new password. + {% endblocktrans %} +
+ {% block advice %} ++ {% blocktrans %} + The email may take several minutes to be received. It can also be + considered as spam: please look in your "junk mail" folder. + {% endblocktrans %} +
++ {% blocktrans %} + If you still have not received the instructions, add "{{from_email_address}}" + to your address book or authorized sender list, and then repeat the + password reset process. + {% endblocktrans %} {% endblock %} +
+ {% endif %} + {% block back %} + + {% endblock %} {% endblock %} diff --git a/src/authentic2/templates/registration/registration_closed.html b/src/authentic2/templates/registration/registration_closed.html index 1be94521f..4ebc5f425 100644 --- a/src/authentic2/templates/registration/registration_closed.html +++ b/src/authentic2/templates/registration/registration_closed.html @@ -2,9 +2,9 @@ {% load i18n %} {% block title %} -{% trans "Registration closed" %} + {% trans "Registration closed" %} {% endblock %} {% block content %} -{% trans "Your registration request has been refused." %}{% trans "Indeed your browser checked a hidden anti-robot checkbox on the registration form. A browser extension may produce this behaviour, in this case disable such extensions and try again." %}
+{% trans "Your registration request has been refused." %}{% trans "Indeed your browser checked a hidden anti-robot checkbox on the registration form. A browser extension may produce this behaviour, in this case disable such extensions and try again." %}
{% else %} - {% block instructions %} -- {% blocktrans with email=request.session.registered_email %} - An email was sent to {{ email }}. - {% endblocktrans %} -
-- {% blocktrans %} - Follow the instructions in that email to continue your registration. - {% endblocktrans %} -
- {% endblock %} - {% block advice %} -- {% blocktrans %} - The email may take several minutes to be received. It can also be - considered as spam: please look in your "junk mail" folder. - {% endblocktrans %} -
-- {% blocktrans with from_email=from_email %} - If you still have not received the instructions, add "{{from_email_address}}" - to your address book or authorized sender list, and then repeat the - registration process. - {% endblocktrans %} -
- {% endblock %} + {% block instructions %} ++ {% blocktrans with email=request.session.registered_email %} + An email was sent to {{ email }}. + {% endblocktrans %} +
++ {% blocktrans %} + Follow the instructions in that email to continue your registration. + {% endblocktrans %} +
+ {% endblock %} + {% block advice %} ++ {% blocktrans %} + The email may take several minutes to be received. It can also be + considered as spam: please look in your "junk mail" folder. + {% endblocktrans %} +
++ {% blocktrans with from_email=from_email %} + If you still have not received the instructions, add "{{from_email_address}}" + to your address book or authorized sender list, and then repeat the + registration process. + {% endblocktrans %} +
+ {% endblock %} {% endif %} {% block back %} - + {% endblock %} {% endblock %} diff --git a/src/authentic2/templates/registration/registration_completion_choose.html b/src/authentic2/templates/registration/registration_completion_choose.html index f83ec6650..16923b46a 100644 --- a/src/authentic2/templates/registration/registration_completion_choose.html +++ b/src/authentic2/templates/registration/registration_completion_choose.html @@ -2,41 +2,41 @@ {% load i18n %} {% block title %} - {% trans "Registration" %} + {% trans "Registration" %} {% endblock %} {% block content %} -- {% blocktrans count accounts_number=accounts|length %}An account already exists for this email. Please click on the account name to log in with.{% plural %}More accounts are associated to this email. Please choose the account you want to log in with:{% endblocktrans %} -
++ {% blocktrans count accounts_number=accounts|length %}An account already exists for this email. Please click on the account name to log in with.{% plural %}More accounts are associated to this email. Please choose the account you want to log in with:{% endblocktrans %} +
-- {% trans "or" %} - - {% trans "create a new account" %} - -
- {% endif %} ++ {% trans "or" %} + + {% trans "create a new account" %} + +
+ {% endif %} {% endblock %} diff --git a/src/authentic2/templates/registration/registration_completion_form.html b/src/authentic2/templates/registration/registration_completion_form.html index e0b74ea98..6be857bef 100644 --- a/src/authentic2/templates/registration/registration_completion_form.html +++ b/src/authentic2/templates/registration/registration_completion_form.html @@ -2,24 +2,24 @@ {% load i18n gadjo %} {% block title %} - {% trans "Registration" %} + {% trans "Registration" %} {% endblock %} {% block content %} - {% block registration-completion-form-pre %} -{% trans "Please fill the form to complete your registration" %}
- {% endblock %} -{% trans "Please fill the form to complete your registration" %}
+ {% endblock %} +- {{ block.content|safe }} -
-+ {{ block.content|safe }} +
+- {% trans "What is FranceConnect?" %} + {% trans "What is FranceConnect?" %}
{% blocktrans %} - FranceConnect is the solution proposed by the French state to secure and - streamline logging in to online services. + FranceConnect is the solution proposed by the French state to secure and + streamline logging in to online services. {% endblocktrans %}
-{{ user.fc_accounts.all.0 }}{% if unlink %} {% trans 'Delete link'%}{% endif %}
{{ user.fc_accounts.all.0 }}{% if unlink %} {% trans 'Delete link'%}{% endif %}
{% trans "Link with FranceConnect created on" %} {{ account.created }}.
-{% trans "Link with FranceConnect created on" %} {{ account.created }}.
++ {% blocktrans %} + You're about to delete the link between your user account and FranceConnect. + {% endblocktrans %} +
++ {% blocktrans %} + Deleting this link won't delete your user account. However, once the link with + FranceConnect is deleted, it is no more possible to use FranceConnect to automatically log + in to your user account. It is still possible to link your user account again, using the + “FranceConnect” button on your account page. + {% endblocktrans %} +
+ {% if no_password %}- {% blocktrans %} - You're about to delete the link between your user account and FranceConnect. - {% endblocktrans %} -
-- {% blocktrans %} - Deleting this link won't delete your user account. However, once the link with - FranceConnect is deleted, it is no more possible to use FranceConnect to automatically log - in to your user account. It is still possible to link your user account again, using the - “FranceConnect” button on your account page. - {% endblocktrans %} -
- {% if no_password %} -- {% blocktrans %} + {% blocktrans %} On your next authentications, you will have to type in a password. Clicking the “Unlink” button here will prompt you to pick this new password. For obvious security reasons, please pick a different one than the password(s) on your FranceConnect providers. - {% endblocktrans %} + {% endblocktrans %}
- {% endif %} -{{ provider.button_description }}
-{% endif %} + {% if provider.button_description %} +{{ provider.button_description }}
+ {% endif %} -- {{ provider.button_label }} -
++ {{ provider.button_label }} +
{% endblock %} diff --git a/src/authentic2_auth_oidc/templates/authentic2_auth_oidc/manager_user_sidebar.html b/src/authentic2_auth_oidc/templates/authentic2_auth_oidc/manager_user_sidebar.html index 0a0e0c43a..476185aa7 100644 --- a/src/authentic2_auth_oidc/templates/authentic2_auth_oidc/manager_user_sidebar.html +++ b/src/authentic2_auth_oidc/templates/authentic2_auth_oidc/manager_user_sidebar.html @@ -1,8 +1,8 @@ {% load i18n %} {% if user.oidc_account %} --{% blocktrans trimmed with created=user.oidc_account.created name=user.oidc_account.provider.name sub=user.oidc_account.sub %} -Link with OIDC provider {{ name }} created on {{ created }} (sub {{ sub }}). -{% endblocktrans %} -
++ {% blocktrans trimmed with created=user.oidc_account.created name=user.oidc_account.provider.name sub=user.oidc_account.sub %} + Link with OIDC provider {{ name }} created on {{ created }} (sub {{ sub }}). + {% endblocktrans %} +
{% endif %} diff --git a/src/authentic2_auth_saml/templates/authentic2_auth_saml/authenticator_detail.html b/src/authentic2_auth_saml/templates/authentic2_auth_saml/authenticator_detail.html index 0bd10bfd6..57aabc3cf 100644 --- a/src/authentic2_auth_saml/templates/authentic2_auth_saml/authenticator_detail.html +++ b/src/authentic2_auth_saml/templates/authentic2_auth_saml/authenticator_detail.html @@ -2,11 +2,11 @@ {% load i18n %} {% block content %} -{% if not object.has_signing_key %} -{{ authenticator.button_description }}
-{% endif %} + {% if authenticator.button_description %} +{{ authenticator.button_description }}
+ {% endif %} {% endblock %} {% block login %} --{% blocktrans trimmed with created=identifier.created name_id=identifier.name_id %} -Link with SAML provider {{ provider }} created on {{ created }} (NameID {{ name_id }}). -{% endblocktrans %} -
+ {% firstof identifier.idp.DISPLAY_NAME identifier.issuer.entity_id as provider %} ++ {% blocktrans trimmed with created=identifier.created name_id=identifier.name_id %} + Link with SAML provider {{ provider }} created on {{ created }} (NameID {{ name_id }}). + {% endblocktrans %} +
{% endfor %} diff --git a/src/authentic2_auth_saml/templates/authentic2_auth_saml/profile.html b/src/authentic2_auth_saml/templates/authentic2_auth_saml/profile.html index bb65301d0..d0a606191 100644 --- a/src/authentic2_auth_saml/templates/authentic2_auth_saml/profile.html +++ b/src/authentic2_auth_saml/templates/authentic2_auth_saml/profile.html @@ -1,9 +1,9 @@{% trans "Do you want to be authenticated on this service?" %}
{% if needs_scope_validation %}{% trans "The following informations will be sent to the service:" %}
@@ -27,35 +27,35 @@ {% endif %} {% if needs_profile_validation %} -{% trans "You may authenticate as owner of the following juridical entity management profile, which may change the aforementioned information." %}
-{% trans "You may authenticate as owner of the following juridical entity management profile, which may change the aforementioned information." %}
+
{% trans "Name" %} | {% trans "Value" %} | {% trans "Scopes" %} | |
---|---|---|---|
{{ claim.name }} | -{{ claim.value }} | -{{ claim.scopes }} | -- {% trans "Edit" %} - {% trans "Delete" %} - | -
{% trans "Name" %} | {% trans "Value" %} | {% trans "Scopes" %} | |
---|---|---|---|
{{ claim.name }} | +{{ claim.value }} | +{{ claim.scopes }} | ++ {% trans "Edit" %} + {% trans "Delete" %} + | +