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