settings_system_update.mako
30 lines
| 752 B
| application/x-mako
|
MakoHtmlLexer
r1282 | ## upgrade block rendered afte on-click check | |||
<div class="alert ${'alert-warning' if c.should_upgrade else 'alert-success'}"> | ||||
r5429 | ||||
r1282 | %if c.should_upgrade: | |||
r5429 | <span style="font-size: 130%">A <b>new version</b> is available !</span> | |||
<br/> | ||||
<br/> | ||||
r1282 | %if c.latest_data.get('title'): | |||
r5429 | RhodeCode <b>${c.latest_ver}</b> - ${h.literal(c.latest_data['title'])} | |||
r1282 | %else: | |||
r5429 | RhodeCode <b>${c.latest_ver}</b> | |||
r1282 | %endif | |||
%else: | ||||
r5429 | Your current version, ${c.cur_ver}, is up-to-date as it is equal to or newer than the latest available version, ${c.latest_ver}. | |||
r1282 | %endif | |||
r5429 | ||||
r1282 | ||||
% if c.should_upgrade and c.important_notices: | ||||
r5429 | <br/> | |||
<br/> | ||||
<div>Summary:</div> | ||||
<br/> | ||||
r1282 | % for notice in c.important_notices: | |||
r5429 | - ${notice}<br/> | |||
r1282 | % endfor | |||
% endif | ||||
r5429 | ||||
r1282 | </div> | |||