mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
frontpage: Read from .d files too
Read from following paths: /etc/freedombox/custom-shortcuts.json /etc/freedombox/custom-shortcuts.json.d/*.json /etc/plinth/custom-shortcuts.json /etc/plinth/custom-shortcuts.json.d/*.json /var/lib/freedombox/custom-shortcuts.json /var/lib/freedombox/custom-shortcuts.json.d/*.json /usr/share/freedombox/custom-shortcuts.json /usr/share/freedombox/custom-shortcuts.json.d/*.json Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
4ea2e755db
commit
3dfceda785
9 files changed
+96
-73
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,13 @@
|
||||
{"shortcuts": [{
|
||||
"name": "NextCloud",
|
||||
"short_description": "File Hosting Service",
|
||||
"description": [ "Nextcloud is a suite of client-server software for creating and using file hosting services." ],
|
||||
"icon_url": "/plinth/custom/static/themes/default/icons/nextcloud.png",
|
||||
"clients": [{
|
||||
"name": "nextcloud",
|
||||
"platforms": [{
|
||||
"type": "web",
|
||||
"url": "/nextcloud"
|
||||
}]
|
||||
}]
|
||||
}]}
|
||||
@@ -0,0 +1,13 @@
|
||||
{"shortcuts": [{
|
||||
"name": "NextCloud2",
|
||||
"short_description": "File Hosting Service",
|
||||
"description": [ "Nextcloud is a suite of client-server software for creating and using file hosting services." ],
|
||||
"icon_url": "/plinth/custom/static/themes/default/icons/nextcloud.png",
|
||||
"clients": [{
|
||||
"name": "nextcloud",
|
||||
"platforms": [{
|
||||
"type": "web",
|
||||
"url": "/nextcloud"
|
||||
}]
|
||||
}]
|
||||
}]}
|
||||
@@ -0,0 +1 @@
|
||||
{'shortcuts': []}
|
||||
@@ -0,0 +1,13 @@
|
||||
{"shortcuts": [{
|
||||
"name": "NextCloud",
|
||||
"short_description": "File Hosting Service",
|
||||
"description": [ "Nextcloud is a suite of client-server software for creating and using file hosting services." ],
|
||||
"icon_url": "/plinth/custom/static/themes/default/icons/nextcloud.png",
|
||||
"clients": [{
|
||||
"name": "nextcloud",
|
||||
"platforms": [{
|
||||
"type": "web",
|
||||
"url": "/nextcloud"
|
||||
}]
|
||||
}]
|
||||
}]}
|
||||
Reference in new issue
Block a user