##// END OF EJS Templates
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model - this allows to have a one and only one way to control the flag with the business logic shared - added test for that - changed view to use this method instead of DB update and custom permissions flush - fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed

File last commit:

r5429:e153339b default
r5551:5b9b5ed2 default
Show More
settings_system_update.mako
30 lines | 752 B | application/x-mako | MakoHtmlLexer
## upgrade block rendered afte on-click check
<div class="alert ${'alert-warning' if c.should_upgrade else 'alert-success'}">
%if c.should_upgrade:
<span style="font-size: 130%">A <b>new version</b> is available !</span>
<br/>
<br/>
%if c.latest_data.get('title'):
RhodeCode <b>${c.latest_ver}</b> - ${h.literal(c.latest_data['title'])}
%else:
RhodeCode <b>${c.latest_ver}</b>
%endif
%else:
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}.
%endif
% if c.should_upgrade and c.important_notices:
<br/>
<br/>
<div>Summary:</div>
<br/>
% for notice in c.important_notices:
- ${notice}<br/>
% endfor
% endif
</div>