From 827384cc951977f2af4a1c2c1d9bcb3197ffefde Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 24 Sep 2012 17:37:14 -0400 Subject: [PATCH] Use new default icons in the navigation template --- apps/navigation/templates/generic_link_instance.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/navigation/templates/generic_link_instance.html b/apps/navigation/templates/generic_link_instance.html index b42f8110cd..bfb7c245a4 100644 --- a/apps/navigation/templates/generic_link_instance.html +++ b/apps/navigation/templates/generic_link_instance.html @@ -1,7 +1,9 @@ {% load main_settings_tags %} +{% load default_icons %} +{% default_icons %} {% if link.disabled %} - {{ link.icon.display_small }}{{ link.text|capfirst }}{% if link.error %} - {{ link.error }}{% endif %}{% if link.active and not hide_active_anchor %}{% endif %}{% if horizontal %}{% if not forloop.last %} | {% endif %}{% endif %} + {{ link.icon.display_small }}{{ link.text|capfirst }}{% if link.error %} - {{ link.error }}{% endif %}{% if link.active and not hide_active_anchor %}{{ icon_current_link.display_small }}{% endif %}{% if horizontal %}{% if not forloop.last %} | {% endif %}{% endif %} {% else %} - {% if link.condition_result %}{{ link.icon.display_small }}{{ link.text|capfirst }}{% if link.error %} - {{ link.error }}{% endif %}{% if link.active and not hide_active_anchor %}{% endif %}{% if horizontal %}{% if not forloop.last %} | {% endif %}{% endif %}{% endif %} + {% if link.condition_result %}{{ link.icon.display_small }}{{ link.text|capfirst }}{% if link.error %} - {{ link.error }}{% endif %}{% if link.active and not hide_active_anchor %}{{ icon_current_link.display_small }}{% endif %}{% if horizontal %}{% if not forloop.last %} | {% endif %}{% endif %}{% endif %} {% endif %}