From abd24a7141cec2643c4431f55a008dfa4597e860 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sat, 22 Jun 2019 22:03:47 +0200 Subject: [PATCH] manager: move page title in page_title (#34233) --- .../manager/templates/authentic2/manager/user_import.html | 3 ++- .../templates/authentic2/manager/user_import_report.html | 3 ++- .../manager/templates/authentic2/manager/user_imports.html | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/authentic2/manager/templates/authentic2/manager/user_import.html b/src/authentic2/manager/templates/authentic2/manager/user_import.html index e33de979..03e9b8de 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_import.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_import.html @@ -8,6 +8,8 @@ {% endblock %} +{% block page_title %}{% trans "Users Import" %} - {{ user_import.created }} - {{ user_import.user }}{% endblock %} + {% block breadcrumb %} {{ block.super }} {% trans 'Users' %} @@ -41,7 +43,6 @@ {% endblock %} {% block main %} -

{% trans "Users Import" %} - {{ user_import.created }} - {{ user_import.user }}

{% trans "Rows count:" %} {{ user_import.rows_count }}

{% trans "Reports" %}

diff --git a/src/authentic2/manager/templates/authentic2/manager/user_import_report.html b/src/authentic2/manager/templates/authentic2/manager/user_import_report.html index f7ba4957..5171db6e 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_import_report.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_import_report.html @@ -8,6 +8,8 @@ {% endblock %} +{% block page_title %}{{ report_title }} - {{ report.created }} - {{ report.state }}{% endblock %} + {% block breadcrumb %} {{ block.super }} {% trans 'Users' %} @@ -61,7 +63,6 @@ {% endblock %} {% block main %} -

{{ report_title }} - {{ report.created }} - {{ report.state }}

{% if report.exception %}

{% trans "Exception:" %} {{ report.exception}}

{% endif %} diff --git a/src/authentic2/manager/templates/authentic2/manager/user_imports.html b/src/authentic2/manager/templates/authentic2/manager/user_imports.html index 446ee6d7..9195bd4a 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_imports.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_imports.html @@ -3,6 +3,8 @@ {% block page-title %}{{ block.super }} - {% trans "Import Users" %}{% endblock %} +{% block page_title %}{% trans "Imports" %}{% endblock %} + {% block breadcrumb %} {{ block.super }} {% trans 'Users' %} @@ -21,7 +23,6 @@ {% endblock %} {% block content %} -

{% trans "Imports" %}

-- 2.20.1