working badges
This commit is contained in:
@@ -14,7 +14,13 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="profile-info">
|
||||
<h1>{{ profile_user.username }}</h1>
|
||||
<h1>{{ profile_user.username }}
|
||||
{% if profile_user.is_superuser %}
|
||||
<span class="badge badge-admin" title="Administrator"><i class="fas fa-crown"></i> Admin</span>
|
||||
{% elif profile_user.is_staff %}
|
||||
<span class="badge badge-staff" title="Staff"><i class="fas fa-user-shield"></i> Staff</span>
|
||||
{% endif %}
|
||||
</h1>
|
||||
<p class="profile-joined"><i class="fas fa-calendar"></i> Joined {{ profile.joined|date:"F j, Y" }}</p>
|
||||
{% if can_impersonate %}
|
||||
<form method="post" action="{% url 'profiles:impersonate_start' profile_user.pk %}" class="impersonate-form">
|
||||
|
||||
Reference in New Issue
Block a user