X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..e24e657ebf536f55c1bde66bd41563fae30a98b0:/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 index 819ab62fc..870362038 100644 --- a/src/wolnelektury/templates/admin/catalogue/book/change_form.html +++ b/src/wolnelektury/templates/admin/catalogue/book/change_form.html @@ -1,46 +1,43 @@ {% extends "admin/change_form.html" %} -{% load i18n %} {% block content_title %} - {% if change and 'advanced' in request.GET %} -

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

- {% else %} - {{ block.super }} - {% endif %} + {% if change and 'advanced' in request.GET %} +

{{ title }} — zaawansowane

+ {% 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 %} + {% 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 %} + {% if change and not is_popup %} +
+ {{ block.super }} + +
+ {% else %} + {{ block.super }} + {% endif %} {% endblock %} - - - -