Title not displaying page name

The `page` context variable does not exist for that view.
pull/3428/head
Trent Holliday 2017-03-01 11:23:02 -05:00 zatwierdzone przez Janneke Janssen
rodzic d4e63c74e5
commit f28130647a
4 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -23,6 +23,7 @@ Changelog
* Fix: Optimised database queries on group edit page (Ashia Zawaduk)
* Fix: Choosing a popular search term for promoted search results now works correctly after pagination (Janneke Janssen)
* Fix: IDs used in tabbed interfaces are now namespaced to avoid collisions with other page elements (Janneke Janssen)
* Fix: Page title not displaying page name when moving a page (Trent Holliday)
1.9 (16.02.2017)

Wyświetl plik

@ -215,6 +215,7 @@ Contributors
* Kjartan Sverrisson
* LB (Ben Johnston)
* Christine Ho
* Trent Holliday
Translators
===========

Wyświetl plik

@ -37,6 +37,7 @@ Bug fixes
* Optimised database queries on group edit page (Ashia Zawaduk)
* Choosing a popular search term for promoted search results now works correctly after pagination (Janneke Janssen)
* IDs used in tabbed interfaces are now namespaced to avoid collisions with other page elements (Janneke Janssen)
* Page title not displaying page name when moving a page (Trent Holliday)
Upgrade considerations

Wyświetl plik

@ -1,6 +1,6 @@
{% extends "wagtailadmin/base.html" %}
{% load i18n %}
{% block titletag %}{% blocktrans with title=page.get_admin_display_title %}Move {{ title }}{% endblocktrans %}{% endblock %}
{% block titletag %}{% blocktrans with title=page_to_move.get_admin_display_title %}Move {{ title }}{% endblocktrans %}{% endblock %}
{% block content %}
{% trans "Move" as move_str %}
{% include "wagtailadmin/shared/header.html" with title=move_str subtitle=page_to_move.get_admin_display_title icon="doc-empty-inverse" %}