Files
@ ffd45b185016
Branch filter:
Location: kallithea/rhodecode/templates/admin/notifications/notifications.html - annotation
ffd45b185016
2.1 KiB
text/html
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
This imports changes between changesets 21af6c4eab3d and 6177597791c2 in
RhodeCode's original repository, including only changes to Python files and HTML.
RhodeCode clearly licensed its changes to these files under GPLv3
in their /LICENSE file, which states the following:
The Python code and integrated HTML are licensed under the GPLv3 license.
(See:
https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE
or
http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE
for an online copy of that LICENSE file)
Conservancy reviewed these changes and confirmed that they can be licensed as
a whole to the Kallithea project under GPLv3-only.
While some of the contents committed herein are clearly licensed
GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the
statement above from RhodeCode indicates that they intend GPLv3-only as their
license, per GPLv3§14 and other relevant sections of GPLv3.
This imports changes between changesets 21af6c4eab3d and 6177597791c2 in
RhodeCode's original repository, including only changes to Python files and HTML.
RhodeCode clearly licensed its changes to these files under GPLv3
in their /LICENSE file, which states the following:
The Python code and integrated HTML are licensed under the GPLv3 license.
(See:
https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE
or
http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE
for an online copy of that LICENSE file)
Conservancy reviewed these changes and confirmed that they can be licensed as
a whole to the Kallithea project under GPLv3-only.
While some of the contents committed herein are clearly licensed
GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the
statement above from RhodeCode indicates that they intend GPLv3-only as their
license, per GPLv3§14 and other relevant sections of GPLv3.
cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 b4f401524060 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 cac5109ac3b6 f91d3f9b7230 93d4e3eb7d84 93d4e3eb7d84 93d4e3eb7d84 93d4e3eb7d84 93d4e3eb7d84 cac5109ac3b6 d5e42c00f3c1 77e376fdc4c6 ffd45b185016 ffd45b185016 ffd45b185016 77e376fdc4c6 d04243e932cc 64f7cf8f6a33 ffd45b185016 523b1011a625 d04243e932cc 2aee0dc1784e 2aee0dc1784e 2aee0dc1784e cac5109ac3b6 cac5109ac3b6 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 3fdf7c3be2c9 64f7cf8f6a33 d04243e932cc 3fdf7c3be2c9 64f7cf8f6a33 f8742e1acf08 f8742e1acf08 f8742e1acf08 b4f401524060 f8742e1acf08 cac5109ac3b6 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('My Notifications')} ${c.rhodecode_user.username}
%if c.rhodecode_name:
· ${c.rhodecode_name}
%endif
</%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">
${self.breadcrumbs()}
##<ul class="links">
## <li>
## <span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span>
## </li>
##</ul>
</div>
<div style="padding:14px 18px;text-align: right;float:left">
<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>
</div>
%if c.notifications:
<div style="padding:14px 18px;text-align: right;float:right">
<span id='mark_all_read' class="btn btn-mini">${_('Mark all read')}</span>
</div>
%endif
<div id='notification_data'>
<%include file='notifications_data.html'/>
</div>
</div>
<script type="text/javascript">
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()
YUE.on('mark_all_read','click',function(e){
var url = "${h.url('notifications_mark_all_read', **request.GET.mixed())}";
ypjax(url,'notification_data',function(){run()});
})
var current_filter = "${c.current_filter}";
if (YUD.get(current_filter)){
YUD.addClass(current_filter, 'active');
}
</script>
</%def>
|