Mercurial > kallithea
annotate rhodecode/templates/admin/notifications/notifications_data.html @ 4147:1c8f818787b3 rhodecode-2.2.5-gpl
old style: show the full link box on summary page - no overlap or truncation
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 02 Jul 2014 19:03:23 -0400 |
parents | ffd45b185016 |
children |
rev | line source |
---|---|
1791
2aee0dc1784e
mark all read button for notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 |
1817
523b1011a625
- fixed issue with mark all read button for notifications and listeners on delete buttons
Marcin Kuzminski <marcin@python-works.com>
parents:
1791
diff
changeset
|
2 %if c.notifications: |
1791
2aee0dc1784e
mark all read button for notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 <% |
2aee0dc1784e
mark all read button for notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 unread = lambda n:{False:'unread'}.get(n) |
2aee0dc1784e
mark all read button for notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 %> |
2516
8ee72933405f
removed top pagination from notifications as it's breaking the UI
Marcin Kuzminski <marcin@python-works.com>
parents:
2190
diff
changeset
|
6 |
2190
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
7 |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
8 <div class="notification-list notification-table"> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
9 %for notification in c.notifications: |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
10 <div id="notification_${notification.notification.notification_id}" class="container ${unread(notification.read)}"> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
11 <div class="notification-header"> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
12 <div class="gravatar"> |
2732
c25cc1c7c65f
again #531 forgot to replace other occurences of h.email call
Marcin Kuzminski <marcin@python-works.com>
parents:
2673
diff
changeset
|
13 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(notification.notification.created_by_user.email),24)}"/> |
2190
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
14 </div> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
15 <div class="desc ${unread(notification.read)}"> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
16 <a href="${url('notification', notification_id=notification.notification.notification_id)}">${notification.notification.description}</a> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
2732
diff
changeset
|
17 |
2190
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
18 </div> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
19 <div class="delete-notifications"> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
2732
diff
changeset
|
20 <span id="${notification.notification.notification_id}" class="delete-notification"><i class="icon-minus-sign" id="yui-gen24" style="color: #b94a48"></i></span> |
2190
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
21 </div> |
2610
3fdf7c3be2c9
added mark as read for single notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
2518
diff
changeset
|
22 %if not notification.read: |
3fdf7c3be2c9
added mark as read for single notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
2518
diff
changeset
|
23 <div class="read-notifications"> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
2732
diff
changeset
|
24 <span id="${notification.notification.notification_id}" class="read-notification"><i class="icon-ok-sign" id="yui-gen24" style="color: #4CBB17"></i></span> |
2673
d5e42c00f3c1
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2610
diff
changeset
|
25 </div> |
2610
3fdf7c3be2c9
added mark as read for single notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
2518
diff
changeset
|
26 %endif |
2190
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
27 </div> |
4116
ffd45b185016
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
2732
diff
changeset
|
28 <div class="notification-subject"></div> |
2190
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
29 </div> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
30 %endfor |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
31 </div> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
32 |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
33 <div class="notification-paginator"> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
34 <div class="pagination-wh pagination-left"> |
2518
83aff72a1da7
Remember filtering on notifications filters
Marcin Kuzminski <marcin@python-works.com>
parents:
2516
diff
changeset
|
35 ${c.notifications.pager('$link_previous ~2~ $link_next',**request.GET.mixed())} |
2190
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
36 </div> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
37 </div> |
64f7cf8f6a33
notification inbox improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
38 |
1791
2aee0dc1784e
mark all read button for notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
39 %else: |
2aee0dc1784e
mark all read button for notifications
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
40 <div class="table">${_('No notifications here yet')}</div> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1817
diff
changeset
|
41 %endif |