app/soc/templates/soc/presence/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">
446
0b479d573a4c Refactoring of {site/home}_settings to make them use base.View
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     3
  <td align="right">
0b479d573a4c Refactoring of {site/home}_settings to make them use base.View
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: 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>
446
0b479d573a4c Refactoring of {site/home}_settings to make them use base.View
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     7
   </div>
0b479d573a4c Refactoring of {site/home}_settings to make them use base.View
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     8
  </td>
539
e30462354e26 Allow for multiple list objects
Sverre Rabbelier <srabbelier@gmail.com>
parents: 534
diff changeset
     9
  <td><div class="link_id">{{ list.item.home.title }}</div></td>
446
0b479d573a4c Refactoring of {site/home}_settings to make them use base.View
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
    10
</tr>