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
name: Fotos
shortname: photos
- subdomain: none
href: https://dd.digitalitzacio-democratica.xnet-x.net/manual/
icon: fa fa-book
name: Manual
shortname: manual
user:
account: /auth/realms/master/account
avatar: /auth/realms/master/avatar-provider

View File

@ -78,13 +78,14 @@ class Menu:
apps_internal = []
for app in system["apps_internal"]:
app["href"] = (
"https://"
+ app["subdomain"]
+ "."
+ application.config["DOMAIN"]
+ app["href"]
)
if app["subdomain"] != 'none':
app["href"] = (
"https://"
+ app["subdomain"]
+ "."
+ application.config["DOMAIN"]
+ app["href"]
)
del app["subdomain"]
apps_internal.append(app)