{% load i18n %} {% load static %} {% load appearance_tags %} {% load common_tags %} {% load navigation_tags %} {% load smart_settings_tags %}
{% endif %} {% if not hide_object %} | {% trans 'Identifier' %} | {% else %} {% navigation_get_source_columns source=object_list only_identifier=True as source_column %} {% if source_column %}{% if source_column.is_sortable %} {{ source_column.label }} {% navigation_source_column_get_sort_icon column=source_column as icon_sort %} {% if icon_sort %} {% endif %} {% else %} {{ source_column.label }} {% endif %} {% include 'appearance/partials/column_help_text.html' %} | {% 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 %}{% if source_column.is_sortable %} {{ source_column.label }} {% navigation_source_column_get_sort_icon column=source_column as icon_sort %} {% if icon_sort %} {% endif %} {% else %} {{ source_column.label }} {% endif %} {% include 'appearance/partials/column_help_text.html' %} | {% endfor %} {% endif %} {% for column in extra_columns %}{{ column.name }} | {% endfor %} {% if not hide_links %}{% endif %} |
---|---|---|---|---|---|
{% endif %} {% if not hide_object %} | {% if not hide_link %}{{ object }}{% else %}{{ object }}{% endif %} | {% else %} {% navigation_get_source_columns source=object only_identifier=True as source_column %} {% if source_column %} {% navigation_source_column_resolve column=source_column as column_value %}{{ 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 %}
{% navigation_source_column_resolve column=column as column_value %}{{ column_value }}
{# Use explicit 'as column_value ' to force date rendering #}
|
{% endfor %}
{% endif %}
{% for column in extra_columns %}
{{ object|common_object_property:column.attribute }} | {% endfor %} {% if not hide_links %}
{% navigation_resolve_menu name='list facet' sort_results=True source=object as facet_menus_results %}
{% smart_setting "COMMON_COLLAPSE_LIST_MENU_LIST_FACET" as setting_common_collapse_list_menu_list_facet %}
{% if setting_common_collapse_list_menu_list_facet %}
{% if facet_menus_results %}
{% with facet_menus_results as action_menus_link_results %}
{% with 'btn btn-default btn-outline btn-xs' as action_dropdown_classes %}
{% with 'true' as action_menu_disable_labels %}
{% trans 'Facets' as action_dropdown_label %}
{% include 'navigation/actions_dropdown.html' %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endif %}
{% else %}
{% 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 %}
{% endif %}
{% navigation_resolve_menu name='object' source=object sort_results=True as object_menus_results %}
{% smart_setting "COMMON_COLLAPSE_LIST_MENU_OBJECT" as setting_common_collapse_list_menu_object %}
{% if setting_common_collapse_list_menu_object %}
{% if object_menus_results %}
{% with object_menus_results as action_menus_link_results %}
{% with 'btn btn-default btn-xs btn-danger' as action_dropdown_classes %}
{% with 'true' as action_menu_disable_labels %}
{% include 'navigation/actions_dropdown.html' %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endif %}
{% else %}
{% 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 %}
|
{% endif %}