From fd3ea477bdfe20f676eb8ea2a8c967f94d8293f9 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Mon, 19 Oct 2015 11:44:19 +0200 Subject: [PATCH] Drop unneeded twig code in the Admin plugin --- .../grav/templates/partials/users-details.html.twig | 11 ----------- themes/grav/templates/partials/users-list.html.twig | 6 ------ 2 files changed, 17 deletions(-) delete mode 100644 themes/grav/templates/partials/users-list.html.twig diff --git a/themes/grav/templates/partials/users-details.html.twig b/themes/grav/templates/partials/users-details.html.twig index ac73f40c..1da54c3a 100644 --- a/themes/grav/templates/partials/users-details.html.twig +++ b/themes/grav/templates/partials/users-details.html.twig @@ -1,19 +1,8 @@ -{% if user.exists %}

{{ "PLUGIN_ADMIN.AVATAR_BY"|tu }} gravatar.com

{{ user.fullname }}

{% if user.title %}
{{ user.title }}
{% endif %}
-{% else %} -

{{ "PLUGIN_ADMIN.CREATE_NEW_USER"|tu }}

-{% endif %} {% include 'partials/blueprints.html.twig' with { data: user, blueprints: user.blueprints } %} - -{% if user.exists and admin.user.username != user.username %} -
- - {{ "PLUGIN_ADMIN.REMOVE_USER"|tu }} -
-{% endif %} diff --git a/themes/grav/templates/partials/users-list.html.twig b/themes/grav/templates/partials/users-list.html.twig deleted file mode 100644 index a4b40b7d..00000000 --- a/themes/grav/templates/partials/users-list.html.twig +++ /dev/null @@ -1,6 +0,0 @@ -
- {% for user in admin.users %} -
-
- {% endfor %} -