new megamenu link: DD manual
parent
b92dc23557
commit
ec4f4587d4
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue