system-info: expose data about vcsserver.

This commit is contained in:
Daniel Dourvaris 2019-09-26 11:20:03 +02:00
parent 337400c423
commit 2f19673dc4
3 changed files with 37 additions and 0 deletions

View file

@ -155,6 +155,10 @@ class AdminSystemInfoSettingsView(BaseAppView):
]
c.vcsserver_data_items = [
(k, v) for k,v in (val('vcs_server_config') or {}).items()
]
if snapshot:
if c.allowed_to_snapshot:
c.data_items.pop(0) # remove server info