app/soc/templates/soc/request/list/row.html
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 26 Oct 2009 10:10:23 -0700
changeset 3060 cb99e94dd73c
parent 3048 b89af35c74d3
permissions -rw-r--r--
Request lists now show display name as well as the link id. Fixes Issue 375.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1965
a0eb42b003c1 Requests now link to a user's profile
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1686
diff changeset
     1
{% load forms_helpers %}
a0eb42b003c1 Requests now link to a user's profile
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1686
diff changeset
     2
2284
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1965
diff changeset
     3
<tr class="off" onmouseover="this.className='on'; do_redirect=true" onmouseout="this.className='off'" 
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1965
diff changeset
     4
onclick="if (do_redirect) document.location.href='{{ list.redirect }}'" name="name">
1965
a0eb42b003c1 Requests now link to a user's profile
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1686
diff changeset
     5
  <td align="right"><div class="role"><a class="noul"
3048
b89af35c74d3 Redone the request templates to work with the new ID-based request.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2674
diff changeset
     6
         href="{{ list.redirect }}">{{ list.item.role }}</a>
495
87afae6e4c51 Added basic 'invite' functionality
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     7
     </div>
87afae6e4c51 Added basic 'invite' functionality
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     8
  </td>
3060
cb99e94dd73c Request lists now show display name as well as the link id.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 3048
diff changeset
     9
  <td><div class="user"> {{ list.item.user.name }} ({{ list.item.user.link_id }})</div></td>
3048
b89af35c74d3 Redone the request templates to work with the new ID-based request.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2674
diff changeset
    10
  <td><div class="for">{{ list.item.group.name }}</div></td>
1085
0afbdd0905ef Renamed state to status where appropriate.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 947
diff changeset
    11
  <td><div class="status">{{ list.item.status }}</div></td>
1686
d9cc9f8ca19f Added created_on DateTime property to request.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1085
diff changeset
    12
  <td><div class="created">{{ list.item.created_on|date:"jS F Y H:i" }}</div></td>
495
87afae6e4c51 Added basic 'invite' functionality
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
    13
</tr>