mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
customization: Show custom shortcuts on frontpage
Closes #1379 Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
5e06017e5c
commit
1307e474da
7 files changed
+63
-28
No files matched your search
@@ -44,7 +44,8 @@ def domain_label_validator(domainname):
|
||||
|
||||
def get_default_app_choices():
|
||||
shortcuts = frontpage.get_shortcuts(web_apps_only=True, sort_by='name')
|
||||
apps = [(shortcut['id'], shortcut['name']) for shortcut in shortcuts]
|
||||
apps = [(shortcut['id'], shortcut['name']) for shortcut in shortcuts
|
||||
if shortcut['id']]
|
||||
return [('plinth', 'FreedomBox Service (Plinth)')] + apps
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user