app/soc/templates/soc/program/list/row.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Wed, 29 Apr 2009 18:51:58 +0200
changeset 2284 e7bb719e2539
parent 711 4bfb1a2d5bfe
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: 711
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: 711
diff changeset
     2
onclick="if (do_redirect) document.location.href='{{ list.redirect }}'" name="link_id">
643
b57d538a9dd3 Added programs
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     3
  <td align="right">
b57d538a9dd3 Added programs
Sverre Rabbelier <srabbelier@gmail.com>
parents:
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: 711
diff changeset
     5
    <a class="noul" onclick="do_redirect=false"
711
4bfb1a2d5bfe Program Name column showed link_id instead of name, replace link_id with name in soc/program/list/row.html template.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 643
diff changeset
     6
     href="{{ list.redirect }}">{{ list.item.name }}</a>
643
b57d538a9dd3 Added programs
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     7
   </div>
b57d538a9dd3 Added programs
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     8
  </td>
b57d538a9dd3 Added programs
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     9
  <td><div class="scope_path">{{ list.item.scope_path}}</div></td>
b57d538a9dd3 Added programs
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
    10
</tr>