new megamenu link: DD manual

GON-3874-DD-moodle
elena 2022-11-14 15:07:40 +00:00
parent b92dc23557
commit ec4f4587d4
2 changed files with 13 additions and 7 deletions

View File

@ -85,6 +85,11 @@ apps_internal:
icon: fa fa-file-image-o icon: fa fa-file-image-o
name: Fotos name: Fotos
shortname: photos shortname: photos
- subdomain: none
href: https://dd.digitalitzacio-democratica.xnet-x.net/manual/
icon: fa fa-book
name: Manual
shortname: manual
user: user:
account: /auth/realms/master/account account: /auth/realms/master/account
avatar: /auth/realms/master/avatar-provider avatar: /auth/realms/master/avatar-provider

View File

@ -78,6 +78,7 @@ class Menu:
apps_internal = [] apps_internal = []
for app in system["apps_internal"]: for app in system["apps_internal"]:
if app["subdomain"] != 'none':
app["href"] = ( app["href"] = (
"https://" "https://"
+ app["subdomain"] + app["subdomain"]