app/soc/templates/soc/org_app/list/row.html
author Mario Ferraro <fadinlight@gmail.com>
Sun, 15 Nov 2009 22:12:20 +0100
changeset 3093 d1be59b6b627
parent 2284 e7bb719e2539
permissions -rw-r--r--
GMaps related JS changed to use new google namespace. Google is going to change permanently in the future the way to load its services, so better stay safe. Also this commit shows uses of the new melange.js module. Fixes Issue 634.
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: 1858
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: 1858
diff changeset
     2
onclick="if (do_redirect) document.location.href='{{ list.redirect }}'" name="name">
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
     3
  <td align="right">
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
     4
     <div class="name">
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
     5
	<a class="noul" onclick="do_redirect=false" href="{{ list.redirect }}">
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
     6
	  {{ list.item.name }}
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
     7
	</a>
1156
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     8
     </div>
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
     9
  </td>
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    10
  <td><div class="link_id">{{ list.item.link_id }}</a></div></td>
2284
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    11
  <td onclick="if (redirect_to_ideas) document.location.href='{{ list.item.ideas }}'; do_redirect=false"
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    12
      onmouseover="redirect_to_ideas=true">
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    13
    <div class="idea_url">
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    14
      <a onclick="redirect_to_ideas=false" href="{{ list.item.ideas }}">
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    15
        {{ list.item.ideas|urlizetrunc:35|removetags:"a" }}
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    16
      </a>
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    17
    </div>
e7bb719e2539 Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1858
diff changeset
    18
  </td>
1156
40bccd791cf6 Fixed EOL and whitespace in org_app templates
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1151
diff changeset
    19
</tr>