X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/wolnelektury/templates/admin/catalogue/book/change_form.html diff --git a/src/wolnelektury/templates/admin/catalogue/book/change_form.html b/src/wolnelektury/templates/admin/catalogue/book/change_form.html new file mode 100644 index 000000000..819ab62fc --- /dev/null +++ b/src/wolnelektury/templates/admin/catalogue/book/change_form.html @@ -0,0 +1,46 @@ +{% extends "admin/change_form.html" %} +{% load i18n %} + +{% block content_title %} + {% if change and 'advanced' in request.GET %} +

{{ title }} — {% trans "advanced" %}

+ {% else %} + {{ block.super }} + {% endif %} +{% endblock %} + + +{# add an "Advanced" button to tools #} + +{% block extrastyle %} + {% if change and not is_popup %} + {{ block.super }} + + {% else %} + {{ block.super }} + {% endif %} +{% endblock %} + +{% block object-tools %} + {% if change and not is_popup %} +
+ {{ block.super }} + +
+ {% else %} + {{ block.super }} + {% endif %} +{% endblock %} + + + +