From 6e7b268ab499547207e3b67fbec498418c2f3c19 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Wed, 17 Sep 2014 21:55:37 -0700 Subject: [PATCH] Added rudimentary logic to detect changes and notify the user before leaving the page. Added URL redirect for normal/expert switcher --- themes/grav/templates/pages.html.twig | 40 ++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index 2f4ea1c6..33d8907c 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -79,11 +79,14 @@ {# {% if not uri.param('expert') %} Normal @@ -138,6 +141,35 @@ {% endif %} + +
{% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('page'), data: context } %}