Reimplemented first tab link detention in template instead of tag

This commit is contained in:
Roberto Rosario
2011-05-25 01:35:43 -04:00
parent df1dc904fb
commit 6e67f1e37c
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
{% evaluate_link condition as conditional_display %}
{% if conditional_display %}
{% if as_li %}
<li class="{% if link.first and li_class_first %}{{ li_class_first}} {% endif %}{% if link.active and li_class_active %}{{ li_class_active }}{% endif %}">
<li class="{% if forloop.first and li_class_first %}{{ li_class_first}} {% endif %}{% if link.active and li_class_active %}{{ li_class_active }}{% endif %}">
{% endif %}
{% include "generic_link_instance.html" %}
{% if as_li %}</li>{% endif %}