app/soc/templates/soc/document/list/row.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Wed, 29 Apr 2009 18:51:58 +0200
changeset 2284 e7bb719e2539
parent 554 68c7a1dd3c52
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:
2284
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 554
diff changeset
     1
<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: 554
diff changeset
     2
onclick="if (do_redirect) document.location.href='{{ list.redirect }}'" name="name">
234
a019afb4b80f Implement a Developer list view of all Documents.
Todd Larsen <tlarsen@google.com>
parents: 186
diff changeset
     3
  <td align="right">
a019afb4b80f Implement a Developer list view of all Documents.
Todd Larsen <tlarsen@google.com>
parents: 186
diff changeset
     4
   <div class="title">
2284
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 554
diff changeset
     5
    <a class="noul" onclick="do_redirect=false"
553
c0cc20b4afc9 Make redirect generic using the new Lists object
Sverre Rabbelier <srabbelier@gmail.com>
parents: 539
diff changeset
     6
     href="{{ list.redirect }}">{{ list.item.scope_path}}/{{ list.item.link_id }}</a>
234
a019afb4b80f Implement a Developer list view of all Documents.
Todd Larsen <tlarsen@google.com>
parents: 186
diff changeset
     7
   </div>
186
da76f08b1752 Add Users List Developer view which is available at /site/user/list. Add User list custom templates which are used with list_helpers. Add "Users List" link in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     8
  </td>
539
e30462354e26 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com>
parents: 513
diff changeset
     9
  <td><div class="title">{{ list.item.title }}</div></td>
e30462354e26 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com>
parents: 513
diff changeset
    10
  <td><div class="link_id">{{ list.item.link_id }}</div></td>
e30462354e26 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com>
parents: 513
diff changeset
    11
  <td><div class="featured">{{ list.item.is_featured }}</div></td>
e30462354e26 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com>
parents: 513
diff changeset
    12
  <td><div class="author">{{ list.item.author.link_id }}</div></td>
e30462354e26 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com>
parents: 513
diff changeset
    13
  <td><div class="created">{{ list.item.created }}</div></td>
e30462354e26 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com>
parents: 513
diff changeset
    14
  <td><div class="modified">{{ list.item.modified }}</div></td>
186
da76f08b1752 Add Users List Developer view which is available at /site/user/list. Add User list custom templates which are used with list_helpers. Add "Users List" link in base.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    15
</tr>