{% extends 'creme_core/bricks/base/paginated-table.html' %} {% load i18n creme_bricks creme_widgets %} {% load has_perm_to print_field url from creme_core_tags %} {% block brick_extra_class %}{{block.super}} assistants-actions-brick{% endblock %} {% block brick_header_title %} {% brick_header_title title='{count} Action' plural='{count} Actions' empty=_('Actions') icon='action' %} {% endblock %} {% block brick_table_columns %} {% brick_table_column_for_field ctype=objects_ctype field='title' status='primary' %} {% if not object %} {% brick_table_column title=_('Concerned entity') %} {% endif %} {% brick_table_column_for_field ctype=objects_ctype field='description' title=_('Description') %} {% brick_table_column_for_field ctype=objects_ctype field='user' title=_('User') %} {% brick_table_column_for_field ctype=objects_ctype field='creation_date' title=_('Creation') %} {% brick_table_column_for_field ctype=objects_ctype field='expected_reaction' title=_('Expected action') %} {% brick_table_column_for_field ctype=objects_ctype field='deadline' %} {% brick_table_column title=_('Status') status='action' %} {% brick_table_column title=_('Actions') status='action' colspan=2 %} {% endblock %} {% block brick_table_rows %}{% url 'creme_core__delete_related_to_entity' objects_ctype.id as delete_url %} {% for action in page.object_list %}