##// END OF EJS Templates
tests: stabilize tests for mysql/postgres.
tests: stabilize tests for mysql/postgres.

File last commit:

r3919:c3b98e50 default
r3981:39e93a55 default
Show More
settings_system_snapshot.mako
52 lines | 968 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:
summary-snapshot: fix formatting of snapshot + code cleanup.
r3900 ${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': {}'.format(dd if dt else '')}
templating: use .mako as extensions for template files.
r1282 % if warn and warn['message']:
summary-snapshot: fix formatting of snapshot + code cleanup.
r3900 ${'{:<60}'.format('ALERT')} ${warn['type'].upper()} ${warn['message']}
templating: use .mako as extensions for template files.
r1282 % endif
% endfor
SYSTEM SETTINGS
---------------
% for key, value in sorted(c.rhodecode_config['human_value'].items()):
system-snapshot: organize formatting more.
r3919 % if isinstance(value, dict):
<%
conf_file = value.pop('__file__', {})
server_main = value.pop('server:main', {})
%>
system-snapshot: nicer formatting == reads easier
r3891 [${key}]
system-snapshot: organize formatting more.
r3919 ${'{:<60}'.format('__file__')}: ${conf_file}
templating: use .mako as extensions for template files.
r1282
system-snapshot: nicer formatting == reads easier
r3891 % for key2, value2 in sorted(server_main.items()):
system-snapshot: organize formatting more.
r3919 ${'{:<60}'.format(key2)}: ${value2}
system-snapshot: nicer formatting == reads easier
r3891 % 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: organize formatting more.
r3919 [${key}]
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
system-snapshot: organize formatting more.
r3919 PYTHON PACKAGES
---------------
% for key, value in c.py_modules['human_value']:
${'{:<60}'.format(key)}: ${value}
% endfor
templating: use .mako as extensions for template files.
r1282 </pre>