##// END OF EJS Templates
vcs: do an early detection of vcs-type request....
vcs: do an early detection of vcs-type request. We we to know to detect vcs type request as early as possible. IF we know we're handling an VCS request, we can skip some of the pylons stack initialization. - This fixes issues with leaking sessions and other object from pylons into a purely VCS type request.

File last commit:

r1282:90601d74 default
r1297:de699d5e default
Show More
settings_system_update.mako
27 lines | 644 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
## upgrade block rendered afte on-click check
<div class="alert ${'alert-warning' if c.should_upgrade else 'alert-success'}">
<p >
%if c.should_upgrade:
A <b>new version</b> is available:
%if c.latest_data.get('title'):
<b>${h.literal(c.latest_data['title'])}</b>
%else:
<b>${c.latest_ver}</b>
%endif
%else:
You already have the <b>latest</b> stable version.
%endif
</p>
% if c.should_upgrade and c.important_notices:
<div>Important notes for this release:</div>
<ul>
% for notice in c.important_notices:
<li>- ${notice}</li>
% endfor
</ul>
% endif
</div>