diff options
Diffstat (limited to 'horizon/horizon/templates/horizon/_nav_list.html')
-rw-r--r-- | horizon/horizon/templates/horizon/_nav_list.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/horizon/horizon/templates/horizon/_nav_list.html b/horizon/horizon/templates/horizon/_nav_list.html new file mode 100644 index 00000000..b10c9a4e --- /dev/null +++ b/horizon/horizon/templates/horizon/_nav_list.html @@ -0,0 +1,10 @@ +{% load horizon %} + +{% for component in components %} + {% if user|can_haz:component %} + <li> + <a href="{{ component.get_absolute_url }}" {% if current == component.slug %}class="active"{% endif %}>{{ component.name }}</a> + </li> + {% endif %} +{% endfor %} + |