{# -*- engine:django -*- #} {% extends "core/base.html" %} {% load material_form i18n any_js rules %} {% block browser_title %}{% blocktrans %}Card Printer{% endblocktrans %}{% endblock %} {% block page_title %}{{ object.name }}{% endblock %} {% block content %} {% trans "Back to all printers" %} {% has_perm 'kort.edit_cardprinter_rule' user printer as can_edit %} {% has_perm 'kort.delete_cardprinter_rule' user printer as can_delete %} {% if can_edit %} {% trans "Edit" %} {% endif %} {% if can_delete %} {% trans "Delete" %} {% endif %} {% include "kort/printer/detail_content.html" with printer=object %} {% endblock %}