{% extends 'creme_core/bricks/base/paginated-table.html' %} {% load i18n creme_widgets creme_bricks %} {% load and_op has_perm_to from creme_core_tags %} {% block brick_extra_class %}{{block.super}} opportunities-managers-brick{% endblock %} {% block brick_header_title %} {% brick_header_title title=_('{count} Business manager') plural=_('{count} Business managers') empty=verbose_name icon='contact' %} {% endblock %} {% block brick_header_actions %} {% has_perm_to link object as link_perm %} {% brick_header_action id='add-relationships' label=_('Link to a contact') icon='link' enabled=link_perm __subject_id=object.id __rtype_id=predicate_id __ctype_id=objects_ctype.id __multiple=True %} {% endblock %} {% block brick_table_columns %} {% brick_table_column title=_('Name') status='primary nowrap' %} {% brick_table_column title=_('Unlink') status='action' %} {% endblock %} {% block brick_table_rows %} {% has_perm_to unlink object as unlink_perm %}{% url 'creme_core__delete_similar_relations' as delete_relation_url %} {% for manager in page.object_list %}