Projet

Général

Profil

0001-templates-complete-and-update-title-block-usage-7395.patch

Frédéric Péters, 28 janvier 2023 13:01

Télécharger (12,7 ko)

Voir les différences:

Subject: [PATCH] templates: complete and update title block usage (#73950)

 .../idp/saml/templates/idp/saml/unknown_provider.html         | 4 ++++
 src/authentic2/saml/templates/saml/post_form.html             | 4 ++--
 src/authentic2/templates/authentic2/accounts.html             | 4 ++--
 .../templates/authentic2/accounts_delete_request.html         | 4 ++--
 .../templates/authentic2/accounts_delete_validation.html      | 4 ++--
 src/authentic2/templates/authentic2/accounts_edit.html        | 4 ++--
 src/authentic2/templates/authentic2/base.html                 | 2 +-
 src/authentic2/templates/authentic2/change_email.html         | 4 ++--
 src/authentic2/templates/authentic2/consents.html             | 4 ++--
 .../templates/authentic2/display_message_and_continue.html    | 2 ++
 src/authentic2/templates/authentic2/homepage.html             | 2 ++
 src/authentic2/templates/authentic2/login.html                | 4 ++--
 src/authentic2/templates/authentic2/logout.html               | 4 ++--
 src/authentic2/templates/authentic2/logout_confirm.html       | 1 -
 src/authentic2/templates/authentic2/unauthorized.html         | 4 ++--
 src/authentic2/templates/error.html                           | 2 ++
 .../templates/registration/activation_complete.html           | 4 ++++
 .../templates/registration/password_change_form.html          | 4 ++--
 .../templates/registration/password_reset_instructions.html   | 2 +-
 .../templates/registration/sms_input_registration_code.html   | 2 +-
 .../templates/authentic2_idp_oidc/authorization.html          | 4 ++++
 21 files changed, 43 insertions(+), 26 deletions(-)
src/authentic2/idp/saml/templates/idp/saml/unknown_provider.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block title %}
5
  {% trans "Unknown provider" %}
6
{% endblock %}
7

  
4 8
{% block content %}
5 9
  <p>
6 10
    {% blocktrans trimmed %}We were unable to load provider <tt>{{ entity_id }}</tt>.{% endblocktrans %}
src/authentic2/saml/templates/saml/post_form.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ title }}
4
{% block title %}
5
  {{ title }}
6 6
{% endblock %}
7 7

  
8 8
{% block content %}
src/authentic2/templates/authentic2/accounts.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ view.title }}
4
{% block title %}
5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
8 8
{% block breadcrumb %}
src/authentic2/templates/authentic2/accounts_delete_request.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ view.title }}
4
{% block title %}
5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
8 8
{% block breadcrumb %}
src/authentic2/templates/authentic2/accounts_delete_validation.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ view.title }}
4
{% block title %}
5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
8 8
{% block breadcrumb %}
src/authentic2/templates/authentic2/accounts_edit.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ view.title }}
4
{% block title %}
5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
8 8
{% block breadcrumb %}
src/authentic2/templates/authentic2/base.html
1 1
{% extends "gadjo/base.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block page-title %}Authentic2 - {{ request.get_host }}{% endblock %}
4
{% block page-title %}Authentic2 - {{ request.get_host }} - {% block title %}{% endblock %}{% endblock %}
5 5

  
6 6
{% block site-title %}Authentic2 - {{ request.get_host }}{% endblock %}
7 7

  
src/authentic2/templates/authentic2/change_email.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ view.title }}
4
{% block title %}
5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
8 8
{% block breadcrumb %}
src/authentic2/templates/authentic2/consents.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ view.title }}
4
{% block title %}
5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
8 8
{% block breadcrumb %}
src/authentic2/templates/authentic2/display_message_and_continue.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block title %}{% trans "Continue" %}{% endblock %}
5

  
4 6
{% block content %}
5 7
  <div class="a2-continue">
6 8
    <a id="a2-continue" href="{{ url }}">{% trans "Continue" %}</a>
src/authentic2/templates/authentic2/homepage.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block title %}{% trans "Home" %}{% endblock %}
5

  
4 6
{% block appbar %}
5 7
  {{ block.super }}
6 8
  {% if perms.any.a2_rbac.search_organizationalunit or perms.any.custom_user.search_user or perms.any.a2_rbac.search_role or perms.any.authentic2.search_service %}
src/authentic2/templates/authentic2/login.html
3 3

  
4 4
{% block gadjo-jquery %}{% endblock %}
5 5

  
6
{% block page-title %}
7
  {{ block.super}} - {% trans "Login" %}
6
{% block title %}
7
  {% trans "Login" %}
8 8
{% endblock %}
9 9

  
10 10
{% block breadcrumb %}{% endblock %}
src/authentic2/templates/authentic2/logout.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo static %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {% trans "Logout" %}
4
{% block title %}
5
  {% trans "Logout" %}
6 6
{% endblock %}
7 7

  
8 8
{% block bodyargs %}
src/authentic2/templates/authentic2/logout_confirm.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4

  
5 4
{% block title %}
6 5
  {% trans "Logout" %}
7 6
{% endblock %}
src/authentic2/templates/authentic2/unauthorized.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {% trans "Access denied" %}
4
{% block title %}
5
  {% trans "Access denied" %}
6 6
{% endblock %}
7 7

  
8 8
{% block content %}
src/authentic2/templates/error.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block title %}{% trans "Error" %}{% endblock %}
5

  
4 6
{% block extrascripts %}
5 7
  {{ block.super }}
6 8
  <script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
src/authentic2/templates/registration/activation_complete.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block title %}
5
  {% trans "Account successfully activated" %}
6
{% endblock %}
7

  
4 8
{% block content %}
5 9
  {% trans "Your account is now activated" %}
6 10
{% endblock %}
src/authentic2/templates/registration/password_change_form.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block page-title %}
5
  {{ block.super }} - {{ view.title }}
4
{% block title %}
5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
8 8
{% block breadcrumb %}
src/authentic2/templates/registration/password_reset_instructions.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block page-title %}
4
{% block title %}
5 5
  {% trans "Password reset instructions" %}
6 6
{% endblock %}
7 7

  
src/authentic2/templates/registration/sms_input_registration_code.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n gadjo %}
3 3

  
4
{% block page-title %}
4
{% block title %}
5 5
  {{ view.title }}
6 6
{% endblock %}
7 7

  
src/authentic2_idp_oidc/templates/authentic2_idp_oidc/authorization.html
6 6
  <link rel="stylesheet" type="text/css" href="{% static 'authentic2_idp_oidc/css/style.css' %}"></link>
7 7
{% endblock %}
8 8

  
9
{% block title %}
10
  {% trans "Authentication access check" %}
11
{% endblock %}
12

  
9 13
{% block beforecontent %}
10 14
  {% include "authentic2/service_info_fragment.html" %}
11 15
{% endblock %}
12
-