{% load dict_key_extras %}
Type name | Filename | {% if come_from_admin %}User | {% endif %}Actions | {% for object in objects %}
---|---|---|---|
{{ object.title }} | {{ object.type.filename }} | {% if come_from_admin %}{{object.user}} | {% endif %}{% if object.type_version.is_disabled %} Restore {% else %} {% if come_from_admin %} Versions {% url 'admin:core_dashboard_app_edit_type' object.type_version.id as edit_url %} {% include 'core_main_app/common/buttons/edit.html' %} {% else %} Versions {% url 'core_dashboard_app_edit_type' object.type_version.id as edit_url %} {% include 'core_main_app/common/buttons/edit.html' %} {% endif %} Disable {% endif %} |