Skip to content
Snippets Groups Projects
Verified Commit fc1296ba authored by Julian's avatar Julian Committed by Jonathan Weth
Browse files

Replace all heading tags with semantic correct alternatives

(cherry picked from commit 820a05ef)
parent 156d3c0f
No related branches found
No related tags found
1 merge request!674Prepare release 2.0rc1
Showing
with 33 additions and 33 deletions
......@@ -45,20 +45,20 @@
{% include "core/partials/save_button.html" %}
</form>
<h5>{% trans "Available widgets" %}</h5>
<h2>{% trans "Available widgets" %}</h2>
<div class="row card-panel grey lighten-3" id="not-used-widgets">
{% for widget in not_used_widgets %}
{% include "core/partials/edit_dashboard_widget.html" %}
{% endfor %}
</div>
<h5>
<h2>
{% if not default_dashboard %}
{% trans "Your dashboard" %}
{% else %}
{% trans "Default dashboard" %}
{% endif %}
</h5>
</h2>
<div class="row card-panel grey lighten-3" id="widgets">
{% for widget in widgets %}
......
......@@ -36,7 +36,7 @@
</a>
</form>
<h5>{% trans "Currently selected groups" %}</h5>
<h2>{% trans "Currently selected groups" %}</h2>
{% for group in filter.qs %}
<div class="chip">
......
......@@ -9,7 +9,7 @@
{% block browser_title %}{{ group.name }}{% endblock %}
{% block content %}
<h4>{{ group.name }} <small class="grey-text">{{ group.short_name }}</small></h4>
<h1>{{ group.name }} <small class="grey-text">{{ group.short_name }}</small></h1>
{% has_perm 'core.edit_group_rule' user group as can_change_group %}
{% has_perm 'core.change_group_preferences_rule' user group as can_change_group_preferences %}
......@@ -61,7 +61,7 @@
</table>
{% if can_view_group_stats %}
<h5>{% blocktrans %}Statistics{% endblocktrans %}</h5>
<h2>{% blocktrans %}Statistics{% endblocktrans %}</h2>
<ul>
<li>
{% trans "Count of members" %}: {{ stats.members }}
......@@ -79,10 +79,10 @@
</ul>
{% endif %}
<h5>{% blocktrans %}Owners{% endblocktrans %}</h5>
<h2>{% blocktrans %}Owners{% endblocktrans %}</h2>
{% render_table owners_table %}
<h5>{% blocktrans %}Members{% endblocktrans %}</h5>
<h2>{% blocktrans %}Members{% endblocktrans %}</h2>
{% render_table members_table %}
{% endblock %}
......@@ -14,7 +14,7 @@
{% trans "Create group" %}
</a>
<h5>{% trans "Filter groups" %}</h5>
<h2>{% trans "Filter groups" %}</h2>
<form method="get">
{% form form=groups_filter.form %}{% endform %}
{% trans "Search" as caption %}
......@@ -25,6 +25,6 @@
</button>
</form>
<h5>{% trans "Selected groups" %}</h5>
<h2>{% trans "Selected groups" %}</h2>
{% render_table groups_table %}
{% endblock %}
......@@ -58,7 +58,7 @@
{% if activities or notifications %}
<div class="row">
<div class="col s12 m6">
<h5>{% blocktrans %}Last activities{% endblocktrans %}</h5>
<h2>{% blocktrans %}Last activities{% endblocktrans %}</h2>
{% if activities %}
<ul class="collection">
......@@ -81,7 +81,7 @@
</div>
<div class="col s12 m6">
<h5>{% blocktrans %}Recent notifications{% endblocktrans %}</h5>
<h2>{% blocktrans %}Recent notifications{% endblocktrans %}</h2>
{% if notifications %}
<ul class="collection">
......
......@@ -8,7 +8,7 @@
{% block browser_title %}{{ person.first_name }} {{ person.last_name }}{% endblock %}
{% block content %}
<h4>{{ person.first_name }} {{ person.last_name }}</h4>
<h1>{{ person.first_name }} {{ person.last_name }}</h1>
{% has_perm 'core.edit_person_rule' user person as can_change_person %}
{% has_perm 'core.change_person_preferences_rule' user person as can_change_person_preferences %}
......@@ -47,7 +47,7 @@
</p>
{% endif %}
<h5>{% blocktrans %}Contact details{% endblocktrans %}</h5>
<h2>{% blocktrans %}Contact details{% endblocktrans %}</h2>
<div class="row">
<div class="col s12 m4">
{% has_perm 'core.view_photo_rule' user person as can_view_photo %}
......@@ -117,7 +117,7 @@
</div>
{% if person.description %}
<div class="col s12 m12">
<h5>{% trans "Description" %}</h5>
<h2>{% trans "Description" %}</h2>
<p>
{{ person.description }}
</p>
......@@ -127,21 +127,21 @@
{% if person.children.all and can_view_personal_details %}
<div class="col s12 m12">
<h5>{% trans "Children" %}</h5>
<h2>{% trans "Children" %}</h2>
{% include "core/person/collection.html" with persons=person.children.all %}
</div>
{% endif %}
{% if person.guardians.all and can_view_personal_details %}
<div class="col s12 m12">
<h5>{% trans "Guardians / Parents" %}</h5>
<h2>{% trans "Guardians / Parents" %}</h2>
{% include "core/person/collection.html" with persons=person.guardians.all %}
</div>
{% endif %}
{% has_perm 'core.view_person_groups_rule' user person as can_view_groups %}
{% if can_view_groups %}
<h5>{% blocktrans %}Groups{% endblocktrans %}</h5>
<h2>{% blocktrans %}Groups{% endblocktrans %}</h2>
{% render_table groups_table %}
{% endif %}
{% endblock %}
......@@ -18,7 +18,7 @@
</a>
{% endif %}
<h5>{% trans "Filter persons" %}</h5>
<h2>{% trans "Filter persons" %}</h2>
<form method="get">
{% form form=persons_filter.form %}{% endform %}
{% trans "Search" as caption %}
......@@ -29,6 +29,6 @@
</button>
</form>
<h5>{% trans "Selected persons" %}</h5>
<h2>{% trans "Selected persons" %}</h2>
{% render_table persons_table %}
{% endblock %}
......@@ -5,7 +5,7 @@
{% block browser_title %}{% blocktrans %}OAuth2 Applications{% endblocktrans %}{% endblock %}
{% block content %}
<h4>{% blocktrans %}OAuth2 applications{% endblocktrans %}</h4>
<h1>{% blocktrans %}OAuth2 applications{% endblocktrans %}</h1>
<a href="{% url "oauth2_provider:register" %}" class="btn green waves-effect
waves-light">
<i class="material-icons left">add</i>
......
......@@ -23,7 +23,7 @@
</button>
</p>
<h5>{% trans "Results" %}</h5>
<h2>{% trans "Results" %}</h2>
{% if query %}
<div class="collection">
......
......@@ -34,7 +34,7 @@
<p>{% trans 'You currently have no third-party accounts connected to this account.' %}</p>
{% endif %}
<h5>{% trans 'Add a Third-party Account' %}</h5>
<h2>{% trans 'Add a Third-party Account' %}</h2>
{% include "socialaccount/snippets/provider_list.html" with process="connect" %}
......
......@@ -6,7 +6,7 @@
{% endblock %}
{% block content %}
<h4>{% block title %}{% trans "Backup Tokens" %}{% endblock %}</h4>
<h1>{% block title %}{% trans "Backup Tokens" %}{% endblock %}</h1>
<div class="alert info">
<p>
......
......@@ -6,7 +6,7 @@
{% endblock %}
{% block content %}
<h4>{% block title %}{% trans "Add Backup Phone" %}{% endblock %}</h4>
<h1>{% block title %}{% trans "Add Backup Phone" %}{% endblock %}</h1>
{% if wizard.steps.current == 'setup' %}
<p>{% blocktrans %}You'll be adding a backup phone number to your
......
......@@ -2,7 +2,7 @@
{% load i18n %}
{% block content %}
<h4>{% block title %}{% trans "Enable Two-Factor Authentication" %}{% endblock %}</h4>
<h1>{% block title %}{% trans "Enable Two-Factor Authentication" %}{% endblock %}</h1>
{% if wizard.steps.current == 'welcome' %}
<p class="flow-text">
......
......@@ -6,7 +6,7 @@
{% endblock %}
{% block content %}
<h4>{% block title %}{% trans "Two-Factor Authentication successfully enabled" %}{% endblock %}</h4>
<h1>{% block title %}{% trans "Two-Factor Authentication successfully enabled" %}{% endblock %}</h1>
<div class="alert success">
<p>
......
......@@ -6,7 +6,7 @@
{% endblock %}
{% block content %}
<h4>{% block title %}{% trans "Disable Two-Factor Authentication" %}{% endblock %}</h4>
<h1>{% block title %}{% trans "Disable Two-Factor Authentication" %}{% endblock %}</h1>
<p class="flow-text">
{% blocktrans trimmed %}
......
......@@ -6,9 +6,9 @@
{% endblock %}
{% block content %}
<h4>
<h1>
{% block title %}{% trans "Account Security" %}{% endblock %}
</h4>
</h1>
{% if default_device %}
{% if default_device_type == 'TOTPDevice' %}
......@@ -20,7 +20,7 @@
{% endif %}
{% if available_phone_methods %}
<h5>{% trans "Backup Phone Numbers" %}</h5>
<h2>{% trans "Backup Phone Numbers" %}</h2>
<p>{% blocktrans %}If your primary method is not available, we are able to
send backup tokens to the phone numbers listed below.{% endblocktrans %}</p>
<ul class="collection">
......@@ -43,7 +43,7 @@
</p>
{% endif %}
<h5>{% trans "Backup Tokens" %}</h5>
<h2>{% trans "Backup Tokens" %}</h2>
<p>
{% blocktrans %}If you don't have any device with you, you can access
your account using backup tokens.{% endblocktrans %}
......@@ -60,7 +60,7 @@
</a>
</p>
<h5>{% trans "Disable Two-Factor Authentication" %}</h5>
<h2>{% trans "Disable Two-Factor Authentication" %}</h2>
<p>
{% blocktrans %}
However we strongly discourage you to do so, you can
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment