Projet

Général

Profil

0001-manager-move-page-title-in-page_title-34233.patch

Benjamin Dauvergne, 22 juin 2019 22:04

Télécharger (3,07 ko)

Voir les différences:

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(-)
src/authentic2/manager/templates/authentic2/manager/user_import.html
8 8
<link rel="stylesheet" href="{% static "authentic2/manager/css/user_import.css" %}">
9 9
{% endblock %}
10 10

  
11
{% block page_title %}{% trans "Users Import" %} - {{ user_import.created }} - {{ user_import.user }}{% endblock %}
12

  
11 13
{% block breadcrumb %}
12 14
  {{ block.super }}
13 15
  <a href="{% url 'a2-manager-users' %}">{% trans 'Users' %}</a>
......
41 43
{% endblock %}
42 44

  
43 45
{% block main %}
44
  <h2>{% trans "Users Import" %} - {{ user_import.created }} - {{ user_import.user }}</h2>
45 46
  <p>{% trans "Rows count:" %} {{ user_import.rows_count }}</p>
46 47
  <h2>{% trans "Reports" %}</h2>
47 48
  <table class="main">
src/authentic2/manager/templates/authentic2/manager/user_import_report.html
8 8
<link rel="stylesheet" href="{% static "authentic2/manager/css/user_import.css" %}">
9 9
{% endblock %}
10 10

  
11
{% block page_title %}{{ report_title }} - {{ report.created }} - {{ report.state }}{% endblock %}
12

  
11 13
{% block breadcrumb %}
12 14
  {{ block.super }}
13 15
  <a href="{% url 'a2-manager-users' %}">{% trans 'Users' %}</a>
......
61 63
{% endblock %}
62 64

  
63 65
{% block main %}
64
  <h2>{{ report_title }} - {{ report.created }} - {{ report.state }}</h2>
65 66
  {% if report.exception %}
66 67
  <p>{% trans "Exception:" %} {{ report.exception}}</p>
67 68
  {% endif %}
src/authentic2/manager/templates/authentic2/manager/user_imports.html
3 3

  
4 4
{% block page-title %}{{ block.super }} - {% trans "Import Users" %}{% endblock %}
5 5

  
6
{% block page_title %}{% trans "Imports" %}{% endblock %}
7

  
6 8
{% block breadcrumb %}
7 9
  {{ block.super }}
8 10
  <a href="{% url 'a2-manager-users' %}">{% trans 'Users' %}</a>
......
21 23
{% endblock %}
22 24

  
23 25
{% block content %}
24
  <h3>{% trans "Imports" %}</h3>
25 26
  <table class="main">
26 27
    <thead>
27 28
      <tr>
28
-