system-info: expose data about vcsserver.
This commit is contained in:
parent
337400c423
commit
2f19673dc4
3 changed files with 37 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue