From e79850124e4fd29038fb1a65f2fd1b7631a8da23 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 17 Jan 2015 01:56:42 -0400 Subject: [PATCH] Avoid displaying the "other available actions" menu twice --- mayan/apps/main/templates/main/base.html | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/mayan/apps/main/templates/main/base.html b/mayan/apps/main/templates/main/base.html index 8447d5635b..f9de942ec5 100644 --- a/mayan/apps/main/templates/main/base.html +++ b/mayan/apps/main/templates/main/base.html @@ -372,18 +372,17 @@ {% endif %} - {% endif %} - - {% get_object_navigation_links "sidebar" as object_navigation_links %} - {% if object_navigation_links %} -
-

{% trans "Other available actions" %}

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

{% trans "Other available actions" %}

+ +
+ {% endif %} {% endif %} {% block sidebar %}{% endblock %}