##// END OF EJS Templates
caches: disable caches in predicates....
caches: disable caches in predicates. - predicates store objects inside request which we later frequnetly use. - generally we'll loose ~20ms on this call but this fixes a lot of problems especially when deleting resources and they are still in cache.

File last commit:

r2431:61a0f874 default
r2893:59faac05 default
Show More
settings_system_update.mako
26 lines | 674 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_system_update.mako
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
## upgrade block rendered afte on-click check
<div class="alert ${'alert-warning' if c.should_upgrade else 'alert-success'}">
update: add new async task to check for updates via scheduler....
r2431 <p>
templating: use .mako as extensions for template files.
r1282 %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:
update: add new async task to check for updates via scheduler....
r2431 This instance is already running the <b>latest</b> stable version ${c.latest_ver}.
templating: use .mako as extensions for template files.
r1282 %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>