Skip to content

Commit

Permalink
Fixes the 2 current templates with the correct new behaviour for .no-nav
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin authored and tobes committed Mar 6, 2013
1 parent 0af00d2 commit 876438a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/error_document_template.html
Expand Up @@ -2,8 +2,6 @@

{% block subtitle %}{{ gettext('Error %(error_code)s', error_code=c.code[0]) }}{% endblock %}

{% block wrapper_class %} no-nav{% endblock %}

{% block primary %}
<article class="module">
<div class="module-content">
Expand All @@ -19,3 +17,5 @@
{# eat the flash messages caused by the 404 #}
{% set flash_messages = h.flash.pop_messages() %}
{% endblock %}

{% block secondary %}{% endblock %}
4 changes: 1 addition & 3 deletions ckan/templates/home/about.html
Expand Up @@ -2,8 +2,6 @@

{% block subtitle %}{{ _('About') }}{% endblock %}

{% block wrapper_class %} no-nav{% endblock %}

{% block breadcrumb_content %}
<li class="active">{% link_for _('About'), controller='home', action='about' %}</li>
{% endblock %}
Expand All @@ -23,4 +21,4 @@ <h1 class="page-heading">{{ _('About') }}</h1>
</article>
{% endblock %}

{% block sidebar %}{% endblock %}
{% block secondary %}{% endblock %}

0 comments on commit 876438a

Please sign in to comment.