--- a/app/soc/templates/soc/notification/list/row.html Sun Mar 15 20:58:39 2009 +0000
+++ b/app/soc/templates/soc/notification/list/row.html Sun Mar 15 22:32:05 2009 +0000
@@ -1,7 +1,13 @@
<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 }}">{{ list.item.from_user.name }}</a>
+ href="{{ list.redirect }}">
+ {% if list.item.from_user %}
+ {{ list.item.from_user.name }}
+ {% else %}
+ Anonymous
+ {% endif %}
+ </a>
</div>
</td>
<td><div class="subject">{{ list.item.subject }}</div></td>