fixed the UI for the impersonation User menu
This commit is contained in:
@@ -74,12 +74,7 @@
|
||||
<a href="{% url 'profiles:user_profile' request.user.username %}" class="user-edit">
|
||||
<i class="fas fa-user-circle"></i> {{ user.username }}
|
||||
</a>
|
||||
<div class="user-info">
|
||||
{% if impersonating %}
|
||||
<i class="fas fa-mask"></i> acting from
|
||||
<a href="{% url 'profiles:user_profile' impersonator.username %}"><strong>{{ impersonator.username }}</strong></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="user-info"></div>
|
||||
<a href="{% url 'profiles:account' %}">
|
||||
<i class="fas fa-user-cog"></i> Account Settings
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user