Revert "Remove duplicate processing of sidebar links"

Turn out this is required to show the links to add new holder for acls

This reverts commit abf2bb85ea.
This commit is contained in:
Roberto Rosario
2012-12-27 02:03:24 -04:00
parent 9a31612b5d
commit cd21f49b64

View File

@@ -333,6 +333,17 @@
</ul>
</div>
{% endif %}
{% get_object_navigation_links "sidebar" as object_navigation_links %}
{% if object_navigation_links %}
<div class="block">
<h3>{% trans "Other available actions" %}</h3>
<ul class="navigation">
{% with "true" as as_li %}
{% include "generic_navigation.html" %}
{% endwith %}
</ul>
</div>
{% endif %}
{% endfor %}
{% else %}
{% get_object_navigation_links as object_navigation_links %}