Merged conditional display code from the navigation template into the navigation tag, added support for conditional disabling of links

This commit is contained in:
Roberto Rosario
2011-06-28 01:05:57 -04:00
parent bafda3f7ad
commit 69c354b116
4 changed files with 56 additions and 63 deletions

View File

@@ -1,5 +1,7 @@
<span class="nowrap">
{% for link in object_navigation_links %}
{% include "generic_subnavigation.html" %}
{% empty %}
none
{% endfor %}
</span>