From e09c524239d830be04353d12cdc21dc82d45ebd7 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 20 Apr 2011 22:37:58 -0400 Subject: [PATCH] Added form header navigation support --- apps/main/templates/base.html | 11 +++++++++++ apps/web_theme/templates/web_theme_base.html | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/apps/main/templates/base.html b/apps/main/templates/base.html index 651f932c4f..7ca5697861 100644 --- a/apps/main/templates/base.html +++ b/apps/main/templates/base.html @@ -138,6 +138,17 @@ {% endif %} + + {% get_object_navigation_links "form_header" as form_navigation_links %} + {% if form_navigation_links %} +
+ +
+ {% endif %} {% endblock %} {% block web_theme_sidebar %} diff --git a/apps/web_theme/templates/web_theme_base.html b/apps/web_theme/templates/web_theme_base.html index c159b6876f..785d59df5a 100644 --- a/apps/web_theme/templates/web_theme_base.html +++ b/apps/web_theme/templates/web_theme_base.html @@ -73,9 +73,9 @@
- {% if not web_theme_hide_menus %} + {#{% if not web_theme_hide_menus %}#} {% block web_theme_secondary_navigation %}{% endblock %} - {% endif %} + {#{% endif %}#} {% if messages %}