##// END OF EJS Templates
Update LICENSE.md to include license information about Select2...
Update LICENSE.md to include license information about Select2 License details were taken from the LICENSE file in Select2 distribution.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4129:3e32980f rhodecode-2.2.5-gpl
Show More
show_notification.html
62 lines | 1.9 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 ${_('Show notification')} ${c.rhodecode_user.username}
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
Notification system improvements...
r1712 </%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Notifications'),h.url('notifications'))}
White-space cleanup
r1888 &raquo;
Notification system improvements...
r1712 ${_('Show notification')}
</%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()}
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>
<div class="table">
Notification fixes...
r1717 <div id="notification_${c.notification.notification_id}">
<div class="notification-header">
<div class="gravatar">
again #531 forgot to replace other occurences of h.email call
r2732 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(c.notification.created_by_user.email),24)}"/>
Notification fixes...
r1717 </div>
<div class="desc">
${c.notification.description}
</div>
<div class="delete-notifications">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <span id="${c.notification.notification_id}" class="delete-notification action"><i class="icon-minus-sign" id="yui-gen24"></i></span>
Notification fixes...
r1717 </div>
Notification system improvements...
r1712 </div>
notification inbox show subject
r3431 <div class="notification-body">
<div class="notification-subject">${h.literal(c.notification.subject)}</div>
%if c.notification.body:
${h.rst_w_mentions(c.notification.body)}
%endif
</div>
Notification system improvements...
r1712 </div>
</div>
</div>
<script type="text/javascript">
var url = "${url('notification', notification_id='__NOTIFICATION_ID__')}";
Notification fixes...
r1717 var main = "${url('notifications')}";
Notification system improvements...
r1712 YUE.on(YUQ('.delete-notification'),'click',function(e){
var notification_id = e.currentTarget.id;
Notification fixes...
r1717 deleteNotification(url,notification_id,[function(){window.location=main}])
Notification system improvements...
r1712 })
</script>
White-space cleanup
r1888 </%def>