From 4a3cdc3a5cea898b01ff49136d88304da3ad49f1 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 16 Mar 2012 11:05:21 -0400 Subject: [PATCH] Avoid sidebar links from repeating --- apps/main/templates/base.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/main/templates/base.html b/apps/main/templates/base.html index 86fa6495d1..61efe93fca 100644 --- a/apps/main/templates/base.html +++ b/apps/main/templates/base.html @@ -299,7 +299,7 @@ {% endif %} {% get_object_navigation_links "secondary_menu" as object_navigation_links %} - {% if object_navigation_links %} + {% if object_navigation_links %}

{% trans "Secondary menu" %}

{% endif %} - {% endif %} - {% get_object_navigation_links "sidebar" as object_navigation_links %} + {% get_object_navigation_links "sidebar" as object_navigation_links %} {% if object_navigation_links %} -
-

{% trans "Other available actions" %}

- -
- {% endif %} +
+

{% trans "Other available actions" %}

+ +
+ {% endif %} + {% endif %} {% get_sidebar_templates as sidebar_templates %} {% for template in sidebar_templates %}