##// END OF EJS Templates
Update LICENSE.md to include license information about Mousetrap.
Update LICENSE.md to include license information about Mousetrap.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4127:f8bb2cf6 rhodecode-2.2.5-gpl
Show More
notifications.html
68 lines | 2.1 KiB | text/html | HtmlLexer
Notification system improvements...
r1712 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${_('My Notifications')} ${c.rhodecode_user.username}
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
Notification system improvements...
r1712 </%def>
<%def name="breadcrumbs_links()">
${_('My Notifications')}
</%def>
<%def name="page_nav()">
Mads Kiilerich
html: don't use tabs
r3197 ${self.menu('admin')}
Notification system improvements...
r1712 </%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
made upper menu always hover, looks nicer and produces less troubles...
r2001 ##<ul class="links">
## <li>
## <span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span>
## </li>
##</ul>
Notification system improvements...
r1712 </div>
white space cleanup
r2673
pull requests draft UI
r2244 <div style="padding:14px 18px;text-align: right;float:left">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <span id='all' class="btn btn-mini"><a href="${h.url.current()}">${_('All')}</a></span>
<span id='comment' class="btn btn-mini"><a href="${h.url.current(type=c.comment_type)}">${_('Comments')}</a></span>
<span id='pull_request' class="btn btn-mini"><a href="${h.url.current(type=c.pull_request_type)}">${_('Pull Requests')}</a></span>
pull requests draft UI
r2244 </div>
Added filtering on inbox by comments
r2503 %if c.notifications:
notification inbox improvements...
r2190 <div style="padding:14px 18px;text-align: right;float:right">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <span id='mark_all_read' class="btn btn-mini">${_('Mark all read')}</span>
- fixed issue with mark all read button for notifications and listeners on delete buttons...
r1817 </div>
Added filtering on inbox by comments
r2503 %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">
added mark as read for single notifications
r2610 var url_action = "${url('notification', notification_id='__NOTIFICATION_ID__')}";
var run = function(){
YUE.on(YUQ('.delete-notification'),'click',function(e){
var notification_id = e.currentTarget.id;
deleteNotification(url_action,notification_id)
})
YUE.on(YUQ('.read-notification'),'click',function(e){
var notification_id = e.currentTarget.id;
readNotification(url_action,notification_id)
})
}
run()
notification inbox improvements...
r2190 YUE.on('mark_all_read','click',function(e){
Added filtering on inbox by comments
r2503 var url = "${h.url('notifications_mark_all_read', **request.GET.mixed())}";
added mark as read for single notifications
r2610 ypjax(url,'notification_data',function(){run()});
notification inbox improvements...
r2190 })
add highlight of current filter in notifications
r2519
var current_filter = "${c.current_filter}";
if (YUD.get(current_filter)){
Mads Kiilerich
html: don't use tabs
r3197 YUD.addClass(current_filter, 'active');
add highlight of current filter in notifications
r2519 }
Notification system improvements...
r1712 </script>
White-space cleanup
r1888 </%def>