From a613ab1432b1673aaaa499990cc52ecf3a7dc819 Mon Sep 17 00:00:00 2001 From: Gert Date: Mon, 27 Apr 2015 15:13:02 +0200 Subject: [PATCH] back buttons on theme/plugin install pages --- themes/grav/templates/plugins.html.twig | 6 ++++-- themes/grav/templates/themes.html.twig | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/themes/grav/templates/plugins.html.twig b/themes/grav/templates/plugins.html.twig index 2e7fed83..6e3caec5 100644 --- a/themes/grav/templates/plugins.html.twig +++ b/themes/grav/templates/plugins.html.twig @@ -16,11 +16,13 @@ {% block titlebar %} {% if not admin.route or installing %} - {% if (not installing) %}
+ {% if (installing) %} + Back to installed + {% else %} Add -
{% endif %} +

Plugins

{% else %} {% if (installed) %} diff --git a/themes/grav/templates/themes.html.twig b/themes/grav/templates/themes.html.twig index 4f9cdcfa..b7483d42 100644 --- a/themes/grav/templates/themes.html.twig +++ b/themes/grav/templates/themes.html.twig @@ -16,11 +16,13 @@ {% block titlebar %} {% if not admin.route or installing %} - {% if (not installing) %}
+ {% if (installing) %} + Back to installed + {% else %} Add -
{% endif %} +

Themes

{% else %} {% if (installed) %}