Show More
@@ -1,40 +1,47 b'' | |||||
1 |
|
1 | |||
2 | <pre> |
|
2 | <pre> | |
3 | SYSTEM INFO |
|
3 | SYSTEM INFO | |
4 | ----------- |
|
4 | ----------- | |
5 |
|
5 | |||
6 | % for dt, dd, warn in c.data_items: |
|
6 | % for dt, dd, warn in c.data_items: | |
7 |
|
|
7 | ${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': '+dd if dt else ''} | |
8 | % if warn and warn['message']: |
|
8 | % if warn and warn['message']: | |
9 | ALERT_${warn['type'].upper()} ${warn['message']} |
|
9 | ALERT_${warn['type'].upper()} ${warn['message']} | |
10 | % endif |
|
10 | % endif | |
11 | % endfor |
|
11 | % endfor | |
12 |
|
12 | |||
13 | PYTHON PACKAGES |
|
13 | PYTHON PACKAGES | |
14 | --------------- |
|
14 | --------------- | |
15 |
|
15 | |||
16 | % for key, value in c.py_modules['human_value']: |
|
16 | % for key, value in c.py_modules['human_value']: | |
17 |
${ |
|
17 | ${'{:<60}'.format(key)}: ${value} | |
18 | % endfor |
|
18 | % endfor | |
19 |
|
19 | |||
20 | SYSTEM SETTINGS |
|
20 | SYSTEM SETTINGS | |
21 | --------------- |
|
21 | --------------- | |
22 |
|
22 | |||
23 | % for key, value in sorted(c.rhodecode_config['human_value'].items()): |
|
23 | % for key, value in sorted(c.rhodecode_config['human_value'].items()): | |
|
24 | [${key}] | |||
24 | % if isinstance(value, dict): |
|
25 | % if isinstance(value, dict): | |
|
26 | <% server_main = value.pop('server:main', {}) %> | |||
25 |
|
|
27 | ||
26 |
% for key2, value2 in |
|
28 | % for key2, value2 in sorted(server_main.items()): | |
27 | [${key}]${key2}: ${value2} |
|
29 | ${'{:<60}'.format('server:main')}: ${value2} | |
|
30 | % endfor | |||
|
31 | ||||
|
32 | % for key2, value2 in sorted(value.items()): | |||
|
33 | ${'{:<60}'.format(key2)}: ${value2} | |||
28 | % endfor |
|
34 | % endfor | |
29 |
|
35 | |||
30 | % else: |
|
36 | % else: | |
31 |
|
|
37 | ${value} | |
32 | % endif |
|
38 | % endif | |
|
39 | ||||
33 | % endfor |
|
40 | % endfor | |
34 |
|
41 | |||
35 | </pre> |
|
42 | </pre> | |
36 |
|
43 | |||
37 |
|
44 | |||
38 |
|
45 | |||
39 |
|
46 | |||
40 |
|
47 |
General Comments 0
You need to be logged in to leave comments.
Login now