Drop unneeded twig code in the Admin plugin

This commit is contained in:
Flavio Copes
2015-10-19 11:44:19 +02:00
parent d5e9ce756b
commit fd3ea477bd
2 changed files with 0 additions and 17 deletions

View File

@@ -1,19 +1,8 @@
{% if user.exists %}
<div class="user-details">
<img src="http://www.gravatar.com/avatar/{{ user.email|md5 }}?s=128" />
<p class="gravatar">{{ "PLUGIN_ADMIN.AVATAR_BY"|tu }} <a href="http://gravatar.com" target="_blank">gravatar.com</a></p>
<h2>{{ user.fullname }}</h2>
{% if user.title %}<h5>{{ user.title }}</h5>{% endif %}
</div>
{% else %}
<h1>{{ "PLUGIN_ADMIN.CREATE_NEW_USER"|tu }}</h1>
{% endif %}
{% include 'partials/blueprints.html.twig' with { data: user, blueprints: user.blueprints } %}
{% if user.exists and admin.user.username != user.username %}
<div class="button-bar danger">
<span class="danger-zone"></span>
<a class="button" href="#"><i class="fa fa-fw fa-warning"></i>{{ "PLUGIN_ADMIN.REMOVE_USER"|tu }}</a>
</div>
{% endif %}

View File

@@ -1,6 +0,0 @@
<div class="users card-row grid fixed-blocks pure-g">
{% for user in admin.users %}
<div class="theme card-item pure-u-1-3">
</div>
{% endfor %}
</div>