Request lists now show display name as well as the link id.
authorLennard de Rijk <ljvderijk@gmail.com>
Mon, 26 Oct 2009 10:10:23 -0700
changeset 3060 cb99e94dd73c
parent 3059 14421976288a
child 3061 9b1d389be2ce
Request lists now show display name as well as the link id. Fixes Issue 375.
app/soc/templates/soc/request/list/row.html
--- a/app/soc/templates/soc/request/list/row.html	Sun Oct 25 22:19:41 2009 -0700
+++ b/app/soc/templates/soc/request/list/row.html	Mon Oct 26 10:10:23 2009 -0700
@@ -6,7 +6,7 @@
          href="{{ list.redirect }}">{{ list.item.role }}</a>
      </div>
   </td>
-  <td><div class="user">{% as_user list.item.user.link_id %}</div></td>
+  <td><div class="user"> {{ list.item.user.name }} ({{ list.item.user.link_id }})</div></td>
   <td><div class="for">{{ list.item.group.name }}</div></td>
   <td><div class="status">{{ list.item.status }}</div></td>
   <td><div class="created">{{ list.item.created_on|date:"jS F Y H:i" }}</div></td>