Merge "Fix 'View All' link for notifications"
This commit is contained in:
commit
47c1df4690
@ -5,7 +5,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="notifications-list page-wrapper">
|
<div class="notifications-list page-wrapper">
|
||||||
<ul class="message-list" role="menu">
|
<ul class="message-list" role="menu">
|
||||||
<% if (notifications.deferred.state() != 'pending') { %>
|
<% if (notifications.length) { %>
|
||||||
<% _.each(notifications.last(notifications.length).reverse(), function(notification) { %>
|
<% _.each(notifications.last(notifications.length).reverse(), function(notification) { %>
|
||||||
<% var topic = notification.get('topic'), icons = {'error': 'icon-attention', 'discover': 'icon-bell'} %>
|
<% var topic = notification.get('topic'), icons = {'error': 'icon-attention', 'discover': 'icon-bell'} %>
|
||||||
<li class="notification-box enable-selection <%= notification.get('status') == 'unread' ? 'new' : '' %> <%= topic %>" data-id="<%= notification.id %>" data-node="<%- notification.get('node_id') %>">
|
<li class="notification-box enable-selection <%= notification.get('status') == 'unread' ? 'new' : '' %> <%= topic %>" data-id="<%= notification.id %>" data-node="<%- notification.get('node_id') %>">
|
||||||
|
Loading…
Reference in New Issue
Block a user