##// END OF EJS Templates
system-info: improve formatting of snapshot info page.
marcink -
r1114:4074d5a1 default
parent child Browse files
Show More
@@ -630,6 +630,7 b' class SettingsController(BaseController)'
630 630
631 631 if snapshot:
632 632 if c.allowed_to_snapshot:
633 c.data_items.pop(0) # remove server info
633 634 return render('admin/settings/settings_system_snapshot.html')
634 635 else:
635 636 h.flash('You are not allowed to do this', category='warning')
@@ -4,8 +4,7 b' SYSTEM INFO'
4 4 -----------
5 5
6 6 % for dt, dd, warn in c.data_items:
7 ${dt}${':' if dt else '---'}
8 ${dd}
7 ${dt.lower().replace(' ', '_')}${': '+dd if dt else '---'}
9 8 % if warn and warn['message']:
10 9 ALERT_${warn['type'].upper()} ${warn['message']}
11 10 % endif
General Comments 0
You need to be logged in to leave comments. Login now