##// END OF EJS Templates
feat(celery-hooks): added all needed changes to support new celery backend, removed DummyHooksCallbackDaemon, updated tests. Fixes: RCCE-55
feat(celery-hooks): added all needed changes to support new celery backend, removed DummyHooksCallbackDaemon, updated tests. Fixes: RCCE-55

File last commit:

r4091:4e2f3dca default
r5298:25044729 default
Show More
notifications_data.mako
46 lines | 1.9 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%namespace name="base" file="/base/base.mako"/>
notifications: ported views to pyramid
r1920 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('My notifications')}</h3>
</div>
<div class="panel-body">
%if c.notifications:
templating: use .mako as extensions for template files.
r1282
notifications: ported views to pyramid
r1920 <div class="notification-list notification-table">
%for notification in c.notifications:
<div id="notification_${notification.notification.notification_id}" class="container ${'unread' if not notification.read else '' }">
<div class="notification-header">
<div class="desc ${'unread' if not notification.read else '' }">
${base.gravatar(notification.notification.created_by_user.email, 16)}
dan
notifications/emails: improve notification display and rendered emails structure
r4060 <a href="${h.route_path('notifications_show', notification_id=notification.notification.notification_id)}">
${h.notification_description(notification.notification, request)}
</a>
notifications: ported views to pyramid
r1920 </div>
<div class="delete-notifications">
<span onclick="deleteNotification(${notification.notification.notification_id})" class="delete-notification tooltip" title="${_('Delete')}"><i class="icon-delete"></i></span>
</div>
<div class="read-notifications">
%if not notification.read:
<span onclick="readNotification(${notification.notification.notification_id})" class="read-notification tooltip" title="${_('Mark as read')}"><i class="icon-ok"></i></span>
%endif
</div>
</div>
<div class="notification-subject"></div>
</div>
%endfor
</div>
templating: use .mako as extensions for template files.
r1282
notifications: ported views to pyramid
r1920 <div class="notification-paginator">
<div class="pagination-wh pagination-left">
dan
webhelpers: replaced paginate library with custom lib
r4091 ${c.notifications.render()}
notifications: ported views to pyramid
r1920 </div>
</div>
%else:
<div class="table">${_('No notifications here yet')}</div>
%endif
templating: use .mako as extensions for template files.
r1282 </div>
</div>