Include route in Flex Pages edit title

This commit is contained in:
Matias Griese
2020-08-28 09:42:41 +03:00
parent d41a31f614
commit 4c19226959

View File

@@ -103,6 +103,9 @@ config:
label: PLUGIN_ADMIN.ADD
edit:
title:
template: "{% if object.root %}Root <small>( &lt;root&gt; ){% else %}{{ (form.value('header.title') ?? form.value('folder'))|e }} <small>( {{ (object.getRoute().toString(false) ?: '/')|e }} )</small>{% endif %}"
# TODO: not used yet
buttons:
back: