##// END OF EJS Templates
implements #239 manual marking of repos as forks for admins
implements #239 manual marking of repos as forks for admins

File last commit:

r1717:7ff304d3 beta
r1755:1088ded6 beta
Show More
show_notification.html
54 lines | 1.7 KiB | text/html | HtmlLexer
Notification system improvements...
r1712 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Show notification')} ${c.rhodecode_user.username} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Notifications'),h.url('notifications'))}
&raquo;
${_('Show notification')}
</%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 class="table">
Notification fixes...
r1717 <div id="notification_${c.notification.notification_id}">
<div class="notification-header">
<div class="gravatar">
<img alt="gravatar" src="${h.gravatar_url(h.email(c.notification.created_by_user.email),24)}"/>
</div>
<div class="desc">
${c.notification.description}
</div>
<div class="delete-notifications">
<span id="${c.notification.notification_id}" class="delete-notification delete_icon action"></span>
</div>
Notification system improvements...
r1712 </div>
Notification fixes...
r1717 <div>${h.rst(c.notification.body)}</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>
</%def>