##// END OF EJS Templates
tests: fixed compare page and related tests....
tests: fixed compare page and related tests. - wrong display of range - still unfixed problem with initial compare for GIT - makes the result more consistent now with better display for new UI.

File last commit:

r2431:61a0f874 default
r3773:a77b6fa8 new-ui
Show More
settings_system_update.mako
26 lines | 674 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:
This instance is already running the <b>latest</b> stable version ${c.latest_ver}.
%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>