Show More
@@ -1,35 +1,35 b'' | |||
|
1 | 1 | |
|
2 | 2 | %if c.notifications: |
|
3 | 3 | <% |
|
4 | 4 | unread = lambda n:{False:'unread'}.get(n) |
|
5 | 5 | %> |
|
6 | 6 | |
|
7 | 7 | |
|
8 | 8 | <div class="notification-list notification-table"> |
|
9 | 9 | %for notification in c.notifications: |
|
10 | 10 | <div id="notification_${notification.notification.notification_id}" class="container ${unread(notification.read)}"> |
|
11 | 11 | <div class="notification-header"> |
|
12 | 12 | <div class="gravatar"> |
|
13 | 13 | <img alt="gravatar" src="${h.gravatar_url(h.email(notification.notification.created_by_user.email),24)}"/> |
|
14 | 14 | </div> |
|
15 | 15 | <div class="desc ${unread(notification.read)}"> |
|
16 | 16 | <a href="${url('notification', notification_id=notification.notification.notification_id)}">${notification.notification.description}</a> |
|
17 | 17 | </div> |
|
18 | 18 | <div class="delete-notifications"> |
|
19 | 19 | <span id="${notification.notification.notification_id}" class="delete-notification delete_icon action"></span> |
|
20 | 20 | </div> |
|
21 | 21 | </div> |
|
22 | 22 | <div class="notification-subject">${h.literal(notification.notification.subject)}</div> |
|
23 | 23 | </div> |
|
24 | 24 | %endfor |
|
25 | 25 | </div> |
|
26 | 26 | |
|
27 | 27 | <div class="notification-paginator"> |
|
28 | 28 | <div class="pagination-wh pagination-left"> |
|
29 | ${c.notifications.pager('$link_previous ~2~ $link_next')} | |
|
29 | ${c.notifications.pager('$link_previous ~2~ $link_next',**request.GET.mixed())} | |
|
30 | 30 | </div> |
|
31 | 31 | </div> |
|
32 | 32 | |
|
33 | 33 | %else: |
|
34 | 34 | <div class="table">${_('No notifications here yet')}</div> |
|
35 | 35 | %endif |
General Comments 0
You need to be logged in to leave comments.
Login now