mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
b668e62f6f
commit
995af05866
25 files changed
+16
-60
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user