More improvements to user management
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
{% for list_user in object_list %}
|
||||
<li><span class="username">Username: <a href="{% url 'account_profile' list_user.username %}">{{ list_user.username }}</a></span>
|
||||
<span class="name">Name: {{list_user.first_name}} {{list_user.last_name}}</span>
|
||||
{% if list_user.userprofile.grade %}<span class="grade">Grade: {{list_user.userprofile.grade}}</span>{% endif %} Supervisor: {{list_user.userprofile.supervisor_name}} [{{list_user.userprofile.supervisor_email}}]
|
||||
<br/> Registration number: {{list_user.registration_number}}
|
||||
{% if list_user.userprofile.grade %}<span class="grade">Grade: {{list_user.userprofile.grade}}</span>{% endif %} Supervisor: {{list_user.userprofile.supervisor}}
|
||||
<br/> Registration number: {{list_user.userprofile.registration_number}}
|
||||
<button class="small-url-button"><a href="{% url 'account_update' list_user.username %}">Edit user</a></button>
|
||||
<button class="small-url-button"><a href="{% url 'account_profile_update' list_user.username %}">Edit profile</a></button>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user