Projet

Général

Profil

0001-misc-use-h2-in-all-templates-for-first-title-9198.patch

Frédéric Péters, 03 décembre 2015 20:54

Télécharger (2,42 ko)

Voir les différences:

Subject: [PATCH] misc: use <h2> in all templates for first title (#9198)

 src/authentic2/templates/authentic2/logout.html                | 2 +-
 src/authentic2/templates/error.html                            | 2 +-
 src/authentic2/templates/registration/registration_closed.html | 2 +-
 src/authentic2_idp_openid/templates/idp/openid/error.html      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
src/authentic2/templates/authentic2/logout.html
20 20
{% endblock %}
21 21

  
22 22
{% block content %}
23
  <h1>{% trans message %}</h1>
23
  <h2>{% trans message %}</h2>
24 24
  <ul class="logout-list">
25 25
      {% for fragment in logout_list %}
26 26
          {{ fragment|safe }}
src/authentic2/templates/error.html
3 3
{% block bodyargs %}onload="setTimeout(function () { window.location='{{ next_page }}' }, {{ redir_timeout }})"{% endblock %}
4 4

  
5 5
{% block content %}
6
<h1>{{ title }}</h1>
6
<h2>{{ title }}</h2>
7 7
{{ msg }}
8 8
<p><a href="{{ back }}">{% trans "Back" %}</a></p>
9 9
{% endblock %}
src/authentic2/templates/registration/registration_closed.html
6 6
{% endblock %}
7 7

  
8 8
{% block content %}
9
<h1>{% trans "Registration closed" %}</h1>
9
<h2>{% trans "Registration closed" %}</h2>
10 10
{% endblock %}
src/authentic2_idp_openid/templates/idp/openid/error.html
1 1
{% extends "authentic2/base-page.html" %}
2 2

  
3 3
{% block content %}
4
<h1>{{ title }}</h1>
4
<h2>{{ title }}</h2>
5 5
{{ msg }}
6 6
{% endblock %}
7
-