Skip to content

Commit

Permalink
[#688] Adds page_heading blocks to login, logout and perform_reset
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Mar 26, 2013
1 parent 9cb9d7a commit cc78aa3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/user/login.html
Expand Up @@ -9,7 +9,7 @@
{% block primary_content %}
<section class="module">
<div class="module-content">
<h1 class="page-heading">{{ _('Login') }}</h1>
<h1 class="page-heading">{% block page_heading %}{{ _('Login') }}{% endblock %}</h1>
{% block form %}
{% snippet "user/snippets/login_form.html", action=c.login_handler, error_summary=error_summary %}
{% endblock %}
Expand Down
4 changes: 3 additions & 1 deletion ckan/templates/user/logout.html
Expand Up @@ -5,7 +5,9 @@
{% block primary_content %}
<section class="module">
<div class="module-content">
<h1 class="page-heading">{{ _('Logged Out') }}</h1>
<h1 class="page-heading">
{% block page_heading %}{{ _('Logged Out') }}{% endblock %}
</h1>
<p>{% trans %}You are now logged out.{% endtrans %}</p>
</div>
</section>
Expand Down
4 changes: 3 additions & 1 deletion ckan/templates/user/perform_reset.html
Expand Up @@ -9,7 +9,9 @@

{% block primary_content %}
<article class="module">
<h1 class="module-heading">{{ _('Reset Your Password') }}</h1>
<h1 class="module-heading">
{% block page_heading %}{{ _('Reset Your Password') }}{% endblock %}
</h1>
<div class="module-content">
{% block form %}
<form class="form-horizontal" action="" method="post">
Expand Down

0 comments on commit cc78aa3

Please sign in to comment.