##// END OF EJS Templates
processes: better handling of PID that are not part of RhodeCode processes....
processes: better handling of PID that are not part of RhodeCode processes. - in some cases for multiple gunicorn instances the PID sent is not from rhodecode which would lead to AccessDenied errors. We prevent from crashing the server on this type of errors.

File last commit:

r1933:b6b05465 default
r2661:042cb4c7 default
Show More
public_journal.mako
43 lines | 1.2 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Public Journal')}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
journal: ported controller to pyramid code
r1933
templating: use .mako as extensions for template files.
r1282 <%def name="breadcrumbs()">
journal: ported controller to pyramid code
r1933 <h1 class="block-left">
${_('Public Journal')} - ${_ungettext('%s entry', '%s entries', c.journal_pager.item_count) % (c.journal_pager.item_count)}
</h1>
templating: use .mako as extensions for template files.
r1282 </%def>
journal: ported controller to pyramid code
r1933
templating: use .mako as extensions for template files.
r1282 <%def name="menu_bar_nav()">
${self.menu_items(active='journal')}
</%def>
journal: ported controller to pyramid code
r1933
templating: use .mako as extensions for template files.
r1282 <%def name="head_extra()">
journal: ported controller to pyramid code
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" />
templating: use .mako as extensions for template files.
r1282 </%def>
journal: ported controller to pyramid code
r1933
templating: use .mako as extensions for template files.
r1282 <%def name="main()">
<div class="box">
<!-- box / title -->
journal: ported controller to pyramid code
r1933 <div class="title journal">
${self.breadcrumbs()}
<ul class="links icon-only-links block-right">
templating: use .mako as extensions for template files.
r1282 <li>
<span>
journal: ported controller to pyramid code
r1933 <a href="${h.route_path('journal_public_atom')}"> <i class="icon-rss-sign" ></i></a>
templating: use .mako as extensions for template files.
r1282 </span>
</li>
journal: ported controller to pyramid code
r1933 </ul>
templating: use .mako as extensions for template files.
r1282 </div>
journal: ported controller to pyramid code
r1933 <div id="journal">${c.journal_data|n}</div>
templating: use .mako as extensions for template files.
r1282 </div>
</%def>