{% load widget_tweaks %} {% load i18n staticfiles arctic_tags %}
{% if item.order_url %} {{ item.label }} {% if item.order_direction == 'desc' %} {% elif item.order_direction == 'asc' %} {% else %} {% endif %} {% else %} {{ item.label }} {% endif %} | {% endfor %} {% if action_links %}{% trans "Actions" %} | {% endif %}||
---|---|---|---|
{% for item in v.all %} {{ item }} {% endfor %} | {% else %} {% if list_header|index:forloop.counter0|get_item:'class' %}{% else %} | {% endif %} {% if list_header|index:forloop.counter0|get_item:'link' %} {% if v.pk %} {% else %} {% endif %} {{ v|default_if_none:""|safe|linebreaks }} {% else %} {{ v|default_if_none:""|safe|linebreaks }} {% endif %} | {% endif %} {% endfor %} {% if action_links %}{% for link in action_links %} {% if link.icon %} {% else %} {{ link.label|capfirst }} {% endif %} {% endfor %} | {% endif %}