##// END OF EJS Templates
fixed issue with logger crashing on mixed str and unicode
fixed issue with logger crashing on mixed str and unicode

File last commit:

r1888:f91d3f9b beta
r1973:0a46e8f1 beta
Show More
notifications_data.html
28 lines | 1.1 KiB | text/html | HtmlLexer
mark all read button for notifications
r1791
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 %if c.notifications:
mark all read button for notifications
r1791 <%
unread = lambda n:{False:'unread'}.get(n)
%>
<div class="table">
<div class="notification-list">
%for notification in c.notifications:
<div id="notification_${notification.notification.notification_id}" class="container ${unread(notification.read)}">
<div class="notification-header">
<div class="gravatar">
<img alt="gravatar" src="${h.gravatar_url(h.email(notification.notification.created_by_user.email),24)}"/>
</div>
<div class="desc ${unread(notification.read)}">
<a href="${url('notification', notification_id=notification.notification.notification_id)}">${notification.notification.description}</a>
</div>
<div class="delete-notifications">
<span id="${notification.notification.notification_id}" class="delete-notification delete_icon action"></span>
</div>
</div>
<div class="notification-subject">${h.literal(notification.notification.subject)}</div>
</div>
%endfor
</div>
</div>
%else:
<div class="table">${_('No notifications here yet')}</div>
White-space cleanup
r1888 %endif