{% extends 'creme_core/bricks/base/paginated-list.html' %} {% load i18n creme_core_tags creme_widgets creme_bricks %} {% load has_perm_to url from creme_core_tags %} {% block brick_extra_class %}{{block.super}} billing-list-brick billing-orga-payment-info-brick{% endblock %} {% block brick_header_title %} {% brick_header_title title=_('{count} Payment information') plural=_('{count} Payments information') empty=verbose_name icon='money_info' %} {% endblock %} {% block brick_header_actions %} {% has_perm_to change object as has_perm %} {% brick_header_action id='add' url='billing__create_payment_info'|url:object.id label=_('Add a payment information') enabled=has_perm %} {% endblock %} {% block brick_list_content %} {% has_perm_to change object as has_perm %}{% url 'creme_core__delete_related_to_entity' objects_ctype.id as delete_url %} {% for payment_info in page.object_list %}