author | Pawel Solyga <Pawel.Solyga@gmail.com> |
Wed, 29 Apr 2009 18:51:58 +0200 | |
changeset 2284 | e7bb719e2539 |
parent 1889 | 4356a9201d20 |
child 2353 | 616df973e457 |
permissions | -rw-r--r-- |
2284
e7bb719e2539
Fix Issue 389 (Clicking list entry will not open new tab/window).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
1889
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:
1889
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:
1889
diff
changeset
|
3 |
<td align="right"><div class="name"><a class="noul" onclick="do_redirect=false" |
1887
8b71f4e58f39
Changed notifications helper to properly use the fact that from_user is not a required property.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
1072
diff
changeset
|
4 |
href="{{ list.redirect }}"> |
8b71f4e58f39
Changed notifications helper to properly use the fact that from_user is not a required property.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
1072
diff
changeset
|
5 |
{% if list.item.from_user %} |
8b71f4e58f39
Changed notifications helper to properly use the fact that from_user is not a required property.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
1072
diff
changeset
|
6 |
{{ list.item.from_user.name }} |
8b71f4e58f39
Changed notifications helper to properly use the fact that from_user is not a required property.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
1072
diff
changeset
|
7 |
{% else %} |
1889
4356a9201d20
Use site_name if the system sends a message.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
1887
diff
changeset
|
8 |
{{ site_name }} |
1887
8b71f4e58f39
Changed notifications helper to properly use the fact that from_user is not a required property.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
1072
diff
changeset
|
9 |
{% endif %} |
8b71f4e58f39
Changed notifications helper to properly use the fact that from_user is not a required property.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
1072
diff
changeset
|
10 |
</a> |
1072
9cd86652481f
Fix EOL damage and add link to first row item for notifcations
Sverre Rabbelier <srabbelier@gmail.com>
parents:
726
diff
changeset
|
11 |
</div> |
9cd86652481f
Fix EOL damage and add link to first row item for notifcations
Sverre Rabbelier <srabbelier@gmail.com>
parents:
726
diff
changeset
|
12 |
</td> |
9cd86652481f
Fix EOL damage and add link to first row item for notifcations
Sverre Rabbelier <srabbelier@gmail.com>
parents:
726
diff
changeset
|
13 |
<td><div class="subject">{{ list.item.subject }}</div></td> |
9cd86652481f
Fix EOL damage and add link to first row item for notifcations
Sverre Rabbelier <srabbelier@gmail.com>
parents:
726
diff
changeset
|
14 |
<td><div class="created_on">{{ list.item.created_on }} </div> </td> |
9cd86652481f
Fix EOL damage and add link to first row item for notifcations
Sverre Rabbelier <srabbelier@gmail.com>
parents:
726
diff
changeset
|
15 |
</tr> |