From 20e5c60fb43947be945fdd8ae299b00e44c104eb Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 27 May 2019 00:11:35 +0300 Subject: [PATCH] Flextype Box Plugin: Admin #125 #117 - Templates Controller/Views implementation --- .../templates/extends/templates/index.html | 49 +++++++++++++++++-- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/site/plugins/admin/views/templates/extends/templates/index.html b/site/plugins/admin/views/templates/extends/templates/index.html index ce70daee..c03188c0 100644 --- a/site/plugins/admin/views/templates/extends/templates/index.html +++ b/site/plugins/admin/views/templates/extends/templates/index.html @@ -2,14 +2,55 @@ {% block content %} {% if (templates_list|length > 0) or (partials_list|length > 0) %} - + + + + + + + + + {% if templates_list|length > 0 %} -1 + {% for template in templates_list %} + + + + + + {% endfor %} {% endif %} {% if partials_list|length > 0 %} -2 - {% endif %} + {% endif %} + +
{{ tr('admin_name') }}{{ tr('admin_type') }}
+ {{ template }} + {{ tr('admin_template') }} +
+ {{ tr('admin_edit') }} + + +
+ + + {{ tr('admin_delete') }} +
{% endif %} {% endblock %}