app/soc/templates/soc/request/list/row.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Wed, 29 Apr 2009 18:51:58 +0200
changeset 2284 e7bb719e2539
parent 1965 a0eb42b003c1
child 2674 d3e9ea65e3ab
permissions -rw-r--r--
Fix Issue 389 (Clicking list entry will not open new tab/window). Patch by: Daniel Hans Reviewed by: Pawel Solyga
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"
a0eb42b003c1 Requests now link to a user's profile
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1686
diff changeset
     6
         href="{{ list.redirect }}">{{ list.item.role_verbose }}</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>
1965
a0eb42b003c1 Requests now link to a user's profile
Sverre Rabbelier <srabbelier@gmail.com>
parents: 1686
diff changeset
     9
  <td><div class="user_link_id">{% as_user list.item.link_id %}</div></td>
947
67b41a13587a Rename soc/request/list/row.html template column class "to" to "for" since the name changed in header template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 928
diff changeset
    10
  <td><div class="for">{{ list.item.scope_path }}</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>