diff --git a/site/plugins/admin/templates/system/api/delivery/index.html b/site/plugins/admin/templates/system/api/delivery/index.html index dae42389..d2ca9f48 100644 --- a/site/plugins/admin/templates/system/api/delivery/index.html +++ b/site/plugins/admin/templates/system/api/delivery/index.html @@ -63,12 +63,12 @@ {% else %} - {{ include ("plugins/admin/templates/ui/no-elements.html", {icon: 'fas fa-truck', - message: 'admin_create_new_delivery_token', - button: { - link: path_for('admin.api_tokens.add') ~ '?api=' ~ api, - title: 'admin_create_new_delivery_token' - } - })}} +
+
+
{{ icon('fas fa-truck') }}
+

{{ tr('admin_you_have_not_created_any_delvery_api_tokens_yet') }}

+ {{ tr('admin_create_new_delivery_token') }} +
+
{% endif %} {% endblock %} \ No newline at end of file diff --git a/site/plugins/admin/templates/ui/no-elements.html b/site/plugins/admin/templates/ui/no-elements.html deleted file mode 100644 index f15d6f96..00000000 --- a/site/plugins/admin/templates/ui/no-elements.html +++ /dev/null @@ -1,5 +0,0 @@ -
- -

{{ tr(message) }}

- {% if button %}{{ tr(button.title) }}{% endif %} -