From 12e9b5de9d5ea908487750bad86d662e4dcd5b72 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 18 Feb 2020 12:23:12 +0300 Subject: [PATCH] feat(admin-plugin): update base layout for apis' #349 --- .../admin/templates/partials/base.html | 45 +++++++++++++++---- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/site/plugins/admin/templates/partials/base.html b/site/plugins/admin/templates/partials/base.html index 5751a735..d3b83c9a 100644 --- a/site/plugins/admin/templates/partials/base.html +++ b/site/plugins/admin/templates/partials/base.html @@ -120,16 +120,45 @@ {% endif %} {% endif %} - {# - {% if is_current_path('admin.api.index')or - is_current_path('admin.api_tokens.index')or - is_current_path('admin.api_tokens.add')or - is_current_path('admin.api_tokens.edit') %} + {% if is_current_path('admin.api.index') %} / - - {{ api }} {% endif %} -#} + + {% if is_current_path('admin.api_delivery.index') %} + / + + delivery + {% endif %} + {% if is_current_path('admin.api_delivery_entries.index') %} + / + + delivery + / + + entries + {% endif %} + + {% if is_current_path('admin.api_delivery_entries.edit') %} + / + + delivery + / + + entries + / + + {{ token }} + {% endif %} + + {% if is_current_path('admin.api_delivery_entries.add') %} + / + + delivery + / + + entries + {% endif %} + {% if is_current_path('admin.themes.information')or is_current_path('admin.themes.settings') %} {% if id %}