Changeset - 222a9f3d4023
[Not reviewed]
stable
0 1 0
Andrew Shadura - 10 years ago 2015-09-10 23:29:50
andrew@shadura.me
notifications: ensure paginator's links remain correct after Mark All Read

Paginator is loaded together with the dynamic page content, so when it's
generated, a wrong URL may be used for its links.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/notifications/notifications_data.html
Show inline comments
 
@@ -29,13 +29,13 @@ unread = lambda n:{False:'unread'}.get(n
 
  </div>
 
%endfor
 
</div>
 

	
 
<div class="notification-paginator">
 
  <div class="pagination-wh pagination-left">
 
  ${c.notifications.pager('$link_previous ~2~ $link_next',**request.GET.mixed())}
 
  ${c.notifications.pager('$link_previous ~2~ $link_next',controller='admin/notifications',**request.GET.mixed())}
 
  </div>
 
</div>
 

	
 
%else:
 
    <div class="table">${_('No notifications here yet')}</div>
 
%endif
0 comments (0 inline, 0 general)