public_journal.mako
42 lines
| 1.1 KiB
| application/x-mako
|
MakoHtmlLexer
r1282 | <%inherit file="/base/base.mako"/> | |||
<%def name="title()"> | ||||
${_('Public Journal')} | ||||
%if c.rhodecode_name: | ||||
· ${h.branding(c.rhodecode_name)} | ||||
%endif | ||||
</%def> | ||||
r1933 | ||||
r1282 | <%def name="breadcrumbs()"> | |||
r1933 | <h1 class="block-left"> | |||
${_('Public Journal')} - ${_ungettext('%s entry', '%s entries', c.journal_pager.item_count) % (c.journal_pager.item_count)} | ||||
</h1> | ||||
r1282 | </%def> | |||
r1933 | ||||
r1282 | <%def name="menu_bar_nav()"> | |||
${self.menu_items(active='journal')} | ||||
</%def> | ||||
r1933 | ||||
r1282 | <%def name="head_extra()"> | |||
r1933 | <link href="${h.route_path('journal_public_atom')}" rel="alternate" title="${_('ATOM public journal feed')}" type="application/atom+xml" /> | |||
<link href="${h.route_path('journal_public_rss')}" rel="alternate" title="${_('RSS public journal feed')}" type="application/rss+xml" /> | ||||
r1282 | </%def> | |||
r1933 | ||||
r1282 | <%def name="main()"> | |||
<div class="box"> | ||||
<!-- box / title --> | ||||
r1933 | <div class="title journal"> | |||
${self.breadcrumbs()} | ||||
<ul class="links icon-only-links block-right"> | ||||
r1282 | <li> | |||
<span> | ||||
r1933 | <a href="${h.route_path('journal_public_atom')}"> <i class="icon-rss-sign" ></i></a> | |||
r1282 | </span> | |||
</li> | ||||
r1933 | </ul> | |||
r1282 | </div> | |||
r1933 | <div id="journal">${c.journal_data|n}</div> | |||
r1282 | </div> | |||
</%def> | ||||