##// 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:

r1114:4074d5a1 default
r1144:976224e3 default
Show More
settings_system_snapshot.html
40 lines | 626 B | text/html | HtmlLexer
/ rhodecode / templates / admin / settings / settings_system_snapshot.html
<pre>
SYSTEM INFO
-----------
% for dt, dd, warn in c.data_items:
${dt.lower().replace(' ', '_')}${': '+dd if dt else '---'}
% if warn and warn['message']:
ALERT_${warn['type'].upper()} ${warn['message']}
% endif
% endfor
PYTHON PACKAGES
---------------
% for key, value in c.py_modules['human_value']:
${key}: ${value}
% endfor
SYSTEM SETTINGS
---------------
% for key, value in sorted(c.rhodecode_config['human_value'].items()):
% if isinstance(value, dict):
% for key2, value2 in value.items():
[${key}]${key2}: ${value2}
% endfor
% else:
${key}: ${value}
% endif
% endfor
</pre>