From 876438ae99d5f752c0d8cc9b21867c02dfd7d935 Mon Sep 17 00:00:00 2001 From: John Martin Date: Tue, 5 Mar 2013 17:42:58 +0000 Subject: [PATCH] Fixes the 2 current templates with the correct new behaviour for .no-nav --- ckan/templates/error_document_template.html | 4 ++-- ckan/templates/home/about.html | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ckan/templates/error_document_template.html b/ckan/templates/error_document_template.html index 20790a899d4..50d35d160c4 100644 --- a/ckan/templates/error_document_template.html +++ b/ckan/templates/error_document_template.html @@ -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 %}
@@ -19,3 +17,5 @@ {# eat the flash messages caused by the 404 #} {% set flash_messages = h.flash.pop_messages() %} {% endblock %} + +{% block secondary %}{% endblock %} diff --git a/ckan/templates/home/about.html b/ckan/templates/home/about.html index e946121a692..1be3b858749 100644 --- a/ckan/templates/home/about.html +++ b/ckan/templates/home/about.html @@ -2,8 +2,6 @@ {% block subtitle %}{{ _('About') }}{% endblock %} -{% block wrapper_class %} no-nav{% endblock %} - {% block breadcrumb_content %}
  • {% link_for _('About'), controller='home', action='about' %}
  • {% endblock %} @@ -23,4 +21,4 @@

    {{ _('About') }}

    {% endblock %} -{% block sidebar %}{% endblock %} +{% block secondary %}{% endblock %}