{% load i18n %} {% load static %} {% load appearance_tags %} {% load common_tags %} {% load navigation_tags %}
{% if not object_list %}
{% include 'appearance/no_results.html' %}
{% else %} {% include 'appearance/list_header.html' %} {% navigation_resolve_menu name='multi item' sort_results=True source=object_list.0 as links_multi_menus_results %}
{% if not hide_header %} {% if links_multi_menus_results %} {% endif %} {% if not hide_object %} {% else %} {% navigation_get_source_columns source=object_list only_identifier=True as source_column %} {% if source_column %} {% endif %} {% endif %} {% if not hide_columns %} {% navigation_get_source_columns source=object_list exclude_identifier=True as source_columns %} {% for source_column in source_columns %} {% endfor %} {% endif %} {% for column in extra_columns %} {% endfor %} {% if not hide_links %} {% endif %} {% endif %} {% for object in object_list %} {% if links_multi_menus_results %} {% endif %} {% if not hide_object %} {% else %} {% navigation_get_source_columns source=object only_identifier=True as source_column %} {% navigation_source_column_resolve column=source_column as column_value %} {% if column_value %} {% endif %} {% endif %} {% if not hide_columns %} {% navigation_get_source_columns source=object exclude_identifier=True as source_columns %} {% for column in source_columns %} {% endfor %} {% endif %} {% for column in extra_columns %} {% endfor %} {% if not hide_links %} {% endif %} {% endfor %}
{% trans 'Identifier' %} {% if source_column.is_sortable %} {{ source_column.label }} {% if source_column.get_sort_field == sort_field %} {% if icon_sort %}{{ icon_sort.render }}{% endif %} {% endif %} {% else %} {{ source_column.label }} {% endif %} {% if source_column.help_text %} {% appearance_get_icon icon_path='mayan.apps.navigation.icons.icon_source_column_help_text' %} {% endif %} {% if source_column.is_sortable %} {{ source_column.label }} {% if source_column.get_sort_field == sort_field %} {% if icon_sort %}{{ icon_sort.render }}{% endif %} {% endif %} {% else %} {{ source_column.label }} {% endif %} {% if source_column.help_text %} {% appearance_get_icon icon_path='mayan.apps.navigation.icons.icon_source_column_help_text' %} {% endif %} {{ column.name }} 
{% if not hide_link %}{{ object }}{% else %}{{ object }}{% endif %} {{ column_value }}
{% navigation_source_column_resolve column=column as column_value %}{{ column_value }} {# Use explicit 'as column_value ' to force date rendering #}
{{ object|common_object_property:column.attribute }}
{% navigation_resolve_menu name='list facet' sort_results=True source=object as facet_menus_results %} {% for facet_menu_results in facet_menus_results %} {% for link_group in facet_menu_results.link_groups %} {% with link_group.links as object_navigation_links %} {% with 'btn btn-default btn-outline btn-xs' as link_classes %} {% include 'navigation/generic_navigation.html' %} {% endwith %} {% endwith %} {% endfor %} {% endfor %} {% navigation_resolve_menu name='object' source=object as object_menus_results %} {% for object_menu_results in object_menus_results %} {% for link_group in object_menu_results.link_groups %} {% with link_group.links as object_navigation_links %} {% include 'navigation/generic_navigation.html' %} {% endwith %} {% endfor %} {% endfor %}
{% endif %}