app/soc/templates/soc/notification/list/row.html
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 16 Mar 2009 15:33:27 +0000
changeset 1889 4356a9201d20
parent 1887 8b71f4e58f39
child 2284 e7bb719e2539
permissions -rw-r--r--
Use site_name if the system sends a message. Addresses comments on r2564. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'"
onclick="document.location.href='{{ list.redirect }}'" name="name">
  <td align="right"><div class="name"><a class="noul"
         href="{{ list.redirect }}">
         {% if list.item.from_user %}
           {{ list.item.from_user.name }}
         {% else %}
           {{ site_name }}
         {% endif %}
         </a>
     </div>
  </td>
  <td><div class="subject">{{ list.item.subject }}</div></td>
  <td><div class="created_on">{{ list.item.created_on }} </div> </td>
</tr>