From 925fd4d2f6da4ed0fc394a35e51db859052c1bb3 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 23 Jun 2019 13:05:44 +0300 Subject: [PATCH] Admin Panel: Themes #171 #165 - next round of implementation. --- site/plugins/admin/views/partials/base.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/site/plugins/admin/views/partials/base.html b/site/plugins/admin/views/partials/base.html index 23d20c06..83b47f7c 100644 --- a/site/plugins/admin/views/partials/base.html +++ b/site/plugins/admin/views/partials/base.html @@ -199,8 +199,13 @@ {% if is_current_path('admin.templates.index') or is_current_path('admin.templates.edit') or is_current_path('admin.templates.rename') or - is_current_path('admin.templates.add') or - is_current_path('admin.fieldsets.index') or + is_current_path('admin.templates.add') %} +
+ / {{ theme }} {% if id %} / {{ id }}{% endif %} +
+ {% endif %} + + {% if is_current_path('admin.fieldsets.index') or is_current_path('admin.fieldsets.edit') or is_current_path('admin.fieldsets.rename') or is_current_path('admin.fieldsets.add') or @@ -363,7 +368,7 @@ indentUnit: 4, {% endif %} {% if is_current_path('admin.fieldsets.edit') %} - mode: "application/json", + mode: "text/javascript", {% else %} mode: "application/x-httpd-php", {% endif %}