##// 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
/ rhodecode / templates / admin / settings / settings_system_update.mako
templating: use .mako as extensions for template files.
r1282 ## upgrade block rendered afte on-click check
<div class="alert ${'alert-warning' if c.should_upgrade else 'alert-success'}">
feat: system-upgrade improved message on new version check page
r5429
templating: use .mako as extensions for template files.
r1282 %if c.should_upgrade:
feat: system-upgrade improved message on new version check page
r5429 <span style="font-size: 130%">A <b>new version</b> is available !</span>
<br/>
<br/>
templating: use .mako as extensions for template files.
r1282 %if c.latest_data.get('title'):
feat: system-upgrade improved message on new version check page
r5429 RhodeCode <b>${c.latest_ver}</b> - ${h.literal(c.latest_data['title'])}
templating: use .mako as extensions for template files.
r1282 %else:
feat: system-upgrade improved message on new version check page
r5429 RhodeCode <b>${c.latest_ver}</b>
templating: use .mako as extensions for template files.
r1282 %endif
%else:
feat: system-upgrade improved message on new version check page
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}.
templating: use .mako as extensions for template files.
r1282 %endif
feat: system-upgrade improved message on new version check page
r5429
templating: use .mako as extensions for template files.
r1282
% if c.should_upgrade and c.important_notices:
feat: system-upgrade improved message on new version check page
r5429 <br/>
<br/>
<div>Summary:</div>
<br/>
templating: use .mako as extensions for template files.
r1282 % for notice in c.important_notices:
feat: system-upgrade improved message on new version check page
r5429 - ${notice}<br/>
templating: use .mako as extensions for template files.
r1282 % endfor
% endif
feat: system-upgrade improved message on new version check page
r5429
templating: use .mako as extensions for template files.
r1282 </div>