##// END OF EJS Templates
i18n: added dummy file wth translations to help extract JS messages from EE version....
i18n: added dummy file wth translations to help extract JS messages from EE version. - helps also to translate parts from unreachable code. Temp solution, but it works.

File last commit:

r1111:5dd5a063 default
r1144:976224e3 default
Show More
settings_system.html
57 lines | 1.7 KiB | text/html | HtmlLexer
project: added all source files and assets
r1
<div id="update_notice" style="display: none; margin: -40px 0px 20px 0px">
<div>${_('Checking for updates...')}</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('System Info')}</h3>
system-settings: prepare to allow to create snapshots of full system settings...
r280 % if c.allowed_to_snapshot:
system-info: fetch vcs settings from vcsserver. Fixes #4276...
r1111 <a href="${url('admin_settings_system', snapshot=1)}" class="panel-edit">${_('create summary snapshot')}</a>
system-settings: prepare to allow to create snapshots of full system settings...
r280 % endif
project: added all source files and assets
r1 </div>
<div class="panel-body">
<dl class="dl-horizontal settings">
system-info: fetch vcs settings from vcsserver. Fixes #4276...
r1111 % for dt, dd, warn in c.data_items:
<dt>${dt}${':' if dt else '---'}</dt>
<dd>${dd}${'' if dt else '---'}
% if warn and warn['message']:
<div class="alert-${warn['type']}">
<strong>${warn['message']}</strong>
</div>
% endif
</dd>
% endfor
project: added all source files and assets
r1 </dl>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Python Packages')}</h3>
</div>
<div class="panel-body">
<table class="table">
<colgroup>
<col class='label'>
<col class='content'>
</colgroup>
<tbody>
system-info: fetch vcs settings from vcsserver. Fixes #4276...
r1111 % for key, value in c.py_modules['human_value']:
project: added all source files and assets
r1 <tr>
system-settings: prepare to allow to create snapshots of full system settings...
r280 <td>${key}</td>
project: added all source files and assets
r1 <td>${value}</td>
</tr>
system-info: fetch vcs settings from vcsserver. Fixes #4276...
r1111 % endfor
project: added all source files and assets
r1 </tbody>
</table>
</div>
</div>
<script>
$('#check_for_update').click(function(e){
$('#update_notice').show();
system: send platform and version to upgrade endpoint.
r349 $('#update_notice').load("${h.url('admin_settings_system_update',version=c.rhodecode_version, platform=c.platform)}");
project: added all source files and assets
r1 })
</script>