mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
frontpage: Show Configure button in service details
Only show when user is logged in.
This commit is contained in:
1 parent
9ca42fd271
commit
8f147e4c7f
10 files changed
+48
-14
No files matched your search
@@ -51,6 +51,8 @@ description = [
|
||||
'login.'), box_name=_(cfg.box_name)),
|
||||
]
|
||||
|
||||
configure_url = _('apps/radicale')
|
||||
|
||||
CONFIG_FILE = '/etc/radicale/config'
|
||||
|
||||
|
||||
@@ -78,7 +80,8 @@ def setup(helper, old_version=None):
|
||||
|
||||
def add_shortcut():
|
||||
frontpage.add_shortcut('radicale', title, None, 'glyphicon-calendar',
|
||||
description, login_required=True)
|
||||
description, configure_url,
|
||||
login_required=True)
|
||||
|
||||
|
||||
def enable():
|
||||
|
||||
Reference in new issue
Block a user