##// END OF EJS Templates
Allowing multiple issue servers to be autolinked in the changeset view;...
Allowing multiple issue servers to be autolinked in the changeset view; linking is now contingent on issue_server_link, issue_pat and issue_prefix being defined; multiple servers can be used by specifying a common suffix on all the above variables, ie .. issue_server_link_1 issue_pat_1 issue_prefix_1 .. and .. issue_server_link_other issue_pat_other issue_prefix_other .. would be treated as two distinct servers, but .. issue_pat_thing .. would be ignored (since the other two requisite vars aren't present). This patch is backwards compatible with existing variables (as a suffix isn't needed).

File last commit:

r2732:c25cc1c7 beta
r2865:6d9b3ade beta
Show More
notifications_data.html
40 lines | 1.4 KiB | text/html | HtmlLexer
%if c.notifications:
<%
unread = lambda n:{False:'unread'}.get(n)
%>
<div class="notification-list notification-table">
%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_or_none(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>
%if not notification.read:
<div class="read-notifications">
<span id="${notification.notification.notification_id}" class="read-notification accept_icon action"></span>
</div>
%endif
</div>
<div class="notification-subject">${h.literal(notification.notification.subject)}</div>
</div>
%endfor
</div>
<div class="notification-paginator">
<div class="pagination-wh pagination-left">
${c.notifications.pager('$link_previous ~2~ $link_next',**request.GET.mixed())}
</div>
</div>
%else:
<div class="table">${_('No notifications here yet')}</div>
%endif