Update by natay on Tue May 21 08:53:52 EDT 2019 from H7-D25RF0PLGQ18
{% block content %}
{% if request.user.is_superuser and debugging %}
- <a class="ui tiny basic button" href="{% url 'debug_user' %}?uid={{ target.profile.uid }}">
+ <a href="{% url 'debug_user' %}?uid={{ target.profile.uid }}">
<i class="address card icon"></i> Log in as user
</a>
{% endif %}
<div class="ui centered card">
<div class="image">
- <img class="ui centered image" src="{% gravatar user=target size=400 %}" >
+ <img class="ui centered image" src="{% gravatar user=target size=300 %}" >
</div>
<div class="content">
Moderate
</div>
{% endif %}
- {% if target == request.user and target.is_superuser %}
- <a class="ui blue button" href="{% url 'site_admin' %}">
- <i class="dashboard icon"></i> Site Admin
- </a>
- {% endif %}
+
{% if target == request.user %}
<a class="ui button" href="{% url 'edit_profile' %}">
<i class="write icon"></i>Edit
{% endif %}
</div>
+ {% if target == request.user and target.is_superuser %}
+ <a class="ui blue button" href="{% url 'site_admin' %}">
+ <i class="dashboard icon"></i> Site Admin
+ </a>
+ {% endif %}
<div id="mod-container-{{ target.profile.uid }}"></div>
