Combined notification view

This commit is contained in:
Vik Paruchuri
2013-01-22 12:09:34 -05:00
parent 22a2bdaa3d
commit 6b7ba37999
3 changed files with 34 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
<h2>Instructions</h2>
<p>Here are items that could potentially need your attention.</p>
% if success:
% if len(item_list) == 0:
% if len(notification_list) == 0:
<div class="message-container">
No items require attention at the moment.
</div>
@@ -28,8 +28,8 @@
<li>
<a href="${notification['url']}">
{notification['name']}
% if notification.has_img == True:
<img src="${notification.img}"/>
% if notification['has_img'] == True:
<img src="${notification['img']}"/>
%endif
</a>
</li>