{% extends 'creme_core/detailview.html' %} {% load i18n creme_bricks creme_widgets %} {# {% block page_title %}«{{object}}» - {% endblock %} #} {% block global_buttons %}
  • {% translate 'Go to the configuration of filters' as list_label %} {% widget_icon name='listview' size='global-button' label=list_label %} {{list_label}}
  • {% endblock %} {% block logo %} {% widget_icon name='filter' size='brick-hat-bar' label=_('Filter of Entity') %}{% endblock %} {% block title_buttons %} {% with edition_url=object.get_edit_absolute_url deletion_url=object.get_delete_absolute_url %} {% if edition_url %}
    {% widget_icon name='edit' size='brick-hat-bar-button' label=_('Edit') %}
    {% endif %} {% if deletion_url %}
    {# NO A BRICK {% brick_bar_button action='creme_core-detailview-delete' label=_('Delete') url='creme_core__delete_efilter'|url icon='delete' confirm=_('Do you really want to delete this filter?') enabled=deletion_perm %} #} {% if deletion_perm %}{% translate 'Do you really want to delete this filter?' as confirm_msg %} {% widget_icon name='delete' size='brick-hat-bar-button' %}
    {% csrf_token %}
    {% else %} {% widget_icon name='delete' size='brick-hat-bar-button' %} {% endif %}
    {% endif %} {% endwith %} {% endblock %} {% block main_content %} {% brick_declare bricks %} {% brick_display bricks %} {% brick_end %} {% endblock %}