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:
Joseph Nuthalapati authored and James Valleroy committed 2018-10-08 20:30:29 -04:00
1 parent 5e06017e5c
commit 1307e474da
7 files changed
+63 -28

No files matched your search

+2 -1
View File
@@ -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