Browse Source

Made user names on admin users list into links to their profiles.

Ralfp 12 years ago
parent
commit
34854a5077
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/admin/users/list.html

+ 1 - 1
templates/admin/users/list.html

@@ -26,7 +26,7 @@
 {% block table_row scoped %}
   <td class="avatar-small"><img src="{{ item.get_avatar(28) }}" class="avatar-small" alt=""></td>
   <td class="lead-cell">
-  	<strong>{{ item.username }}</strong> <span class="muted">{{ item.email }}</span>{% if item.activation > 0 %} <span class="label tooltip-top" title="{% if item.activation == 1 -%}
+  	<strong><a href="{% url 'user' username=item.username_slug, user=item.pk %}">{{ item.username }}</a></strong> <span class="muted">{{ item.email }}</span>{% if item.activation > 0 %} <span class="label tooltip-top" title="{% if item.activation == 1 -%}
   	{% trans %}This user has not yet validated his e-mail address.{% endtrans %}
   	{%- else -%}
   	{% trans %}This user is awaiting admin approval.{% endtrans %}