apps: Do not show status block if service is running

If at least one related service/daemon is not running, show the alert if app
is enabled, otherwise set alert as hidden (for functional tests).

Closes #1752

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil: Minor code simplification in app template, status section]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Veiko Aasa authored and Sunil Mohan Adapa committed 2020-03-05 12:28:14 -08:00
1 parent b668e62f6f
commit 995af05866
25 files changed
+16 -60

No files matched your search

-1
View File
@@ -23,7 +23,6 @@ class GitwebAppView(views.AppView):
"""Serve configuration page."""
app_id = 'gitweb'
show_status_block = False
template_name = 'gitweb_configure.html'
def get_context_data(self, *args, **kwargs):