##// END OF EJS Templates
summary: use non-memory cache for readme, and cleanup cache for repo stats.
summary: use non-memory cache for readme, and cleanup cache for repo stats.

File last commit:

r3891:e238027c default
r3892:8afbef06 default
Show More
settings_system_snapshot.mako
47 lines | 841 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_system_snapshot.mako
templating: use .mako as extensions for template files.
r1282
<pre>
SYSTEM INFO
-----------
% for dt, dd, warn in c.data_items:
system-snapshot: nicer formatting == reads easier
r3891 ${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': '+dd if dt else ''}
templating: use .mako as extensions for template files.
r1282 % if warn and warn['message']:
ALERT_${warn['type'].upper()} ${warn['message']}
% endif
% endfor
PYTHON PACKAGES
---------------
% for key, value in c.py_modules['human_value']:
system-snapshot: nicer formatting == reads easier
r3891 ${'{:<60}'.format(key)}: ${value}
templating: use .mako as extensions for template files.
r1282 % endfor
SYSTEM SETTINGS
---------------
% for key, value in sorted(c.rhodecode_config['human_value'].items()):
system-snapshot: nicer formatting == reads easier
r3891 [${key}]
templating: use .mako as extensions for template files.
r1282 % if isinstance(value, dict):
system-snapshot: nicer formatting == reads easier
r3891 <% server_main = value.pop('server:main', {}) %>
templating: use .mako as extensions for template files.
r1282
system-snapshot: nicer formatting == reads easier
r3891 % for key2, value2 in sorted(server_main.items()):
${'{:<60}'.format('server:main')}: ${value2}
% endfor
% for key2, value2 in sorted(value.items()):
${'{:<60}'.format(key2)}: ${value2}
templating: use .mako as extensions for template files.
r1282 % endfor
% else:
system-snapshot: nicer formatting == reads easier
r3891 ${value}
templating: use .mako as extensions for template files.
r1282 % endif
system-snapshot: nicer formatting == reads easier
r3891
templating: use .mako as extensions for template files.
r1282 % endfor
</pre>