new megamenu link: DD manual
parent
b92dc23557
commit
ec4f4587d4
|
@ -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
|
||||||
|
|
|
@ -78,13 +78,14 @@ class Menu:
|
||||||
|
|
||||||
apps_internal = []
|
apps_internal = []
|
||||||
for app in system["apps_internal"]:
|
for app in system["apps_internal"]:
|
||||||
app["href"] = (
|
if app["subdomain"] != 'none':
|
||||||
"https://"
|
app["href"] = (
|
||||||
+ app["subdomain"]
|
"https://"
|
||||||
+ "."
|
+ app["subdomain"]
|
||||||
+ application.config["DOMAIN"]
|
+ "."
|
||||||
+ app["href"]
|
+ application.config["DOMAIN"]
|
||||||
)
|
+ app["href"]
|
||||||
|
)
|
||||||
del app["subdomain"]
|
del app["subdomain"]
|
||||||
apps_internal.append(app)
|
apps_internal.append(app)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue