Add `extra_footer_actions` template blocks

pull/4440/merge
Arthur Holzner 2018-04-02 16:26:41 +02:00 zatwierdzone przez Matt Westcott
rodzic 2bf3110ea1
commit 878a5beeca
4 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -25,6 +25,7 @@ Changelog
* Set `ALLOWED_HOSTS` in the project template to allow any host in development (Tom Dyson)
* Expose reusable client-side code to build Draftail extensions (Thibaud Colas)
* Added `WAGTAILFRONTENDCACHE_LANGUAGES` setting to specify the languages whose URLs are to be purged when using `i18n_patterns` (PyMan Claudio Marinozzi)
* Added `extra_footer_actions` template blocks for customising the add/edit page views (Arthur Holzner)
* Fix: Status button on 'edit page' now links to the correct URL when live and draft slug differ (LB (Ben Johnston))
* Fix: Image title text in the gallery and in the chooser now wraps for long filenames (LB (Ben Johnston), Luiz Boaretto)
* Fix: Move image editor action buttons to the bottom of the form on mobile (Julian Gallo)

Wyświetl plik

@ -44,6 +44,7 @@ Other features
* Set `ALLOWED_HOSTS` in the project template to allow any host in development (Tom Dyson)
* Expose reusable client-side code to build Draftail extensions (Thibaud Colas)
* Added ``WAGTAILFRONTENDCACHE_LANGUAGES`` setting to specify the languages whose URLs are to be purged when using ``i18n_patterns`` (PyMan Claudio Marinozzi)
* Added ``extra_footer_actions`` template blocks for customising the add/edit page views (Arthur Holzner)
Bug fixes
~~~~~~~~~

Wyświetl plik

@ -59,6 +59,8 @@
{% include "wagtailadmin/pages/_preview_button_on_create.html" with label=preview_label icon=1 %}
{% endif %}
</li>
{% block extra_footer_actions %}
{% endblock %}
</ul>
</footer>
</form>

Wyświetl plik

@ -95,6 +95,8 @@
{% endif %}
</p>
</li>
{% block extra_footer_actions %}
{% endblock %}
</ul>
</footer>
</form>