notifications.html
38 lines
| 974 B
| text/html
|
HtmlLexer
r1702 | ## -*- 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"> | ||||
${self.breadcrumbs()} | ||||
r1703 | <ul class="links"> | |||
<li> | ||||
<span style="text-transform: uppercase;"><a href="#">${_('Compose message')}</a></span> | ||||
</li> | ||||
</ul> | ||||
r1702 | </div> | |||
r1703 | % if c.notifications: | |||
%for notification in c.notifications: | ||||
<div class="table"> | ||||
<h4>${notification.subject}</h4> | ||||
<div>${h.rst(notification.body)}</div> | ||||
</div> | ||||
%endfor | ||||
r1702 | %else: | |||
<div class="table">${_('No notifications here yet')}</div> | ||||
r1703 | %endif | |||
r1702 | </div> | |||
</%def> | ||||