##// END OF EJS Templates
added migrations from 1.2.X to 1.3
added migrations from 1.2.X to 1.3

File last commit:

r1888:f91d3f9b beta
r2000:72c525a7 beta
Show More
notifications.html
53 lines | 1.5 KiB | text/html | HtmlLexer
Notification system improvements...
r1712 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('My Notifications')} ${c.rhodecode_user.username} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${_('My Notifications')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
Notification system improvements...
r1712 <ul class="links">
<li>
<span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span>
White-space cleanup
r1888 </li>
</ul>
Notification system improvements...
r1712 </div>
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 %if c.notifications:
mark all read button for notifications
r1791 <div style="padding:10px 15px;text-align: right">
<span id='mark_all_read' class="ui-btn">${_('Mark all read')}</span>
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 </div>
%endif
mark all read button for notifications
r1791 <div id='notification_data'>
<%include file='notifications_data.html'/>
</div>
Notification system improvements...
r1712 </div>
<script type="text/javascript">
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 var url_del = "${url('notification', notification_id='__NOTIFICATION_ID__')}";
mark all read button for notifications
r1791 YUE.on(YUQ('.delete-notification'),'click',function(e){
var notification_id = e.currentTarget.id;
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 deleteNotification(url_del,notification_id)
mark all read button for notifications
r1791 })
YUE.on('mark_all_read','click',function(e){
var url = "${h.url('notifications_mark_all_read')}";
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 ypjax(url,'notification_data',function(){
YUD.get('notification_counter').innerHTML=0;
YUE.on(YUQ('.delete-notification'),'click',function(e){
var notification_id = e.currentTarget.id;
deleteNotification(url_del,notification_id)
White-space cleanup
r1888 })
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 });
mark all read button for notifications
r1791 })
Notification system improvements...
r1712 </script>
White-space cleanup
r1888 </%def>