Commit 74030156 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: experiment base tag on launcher

parent c86b92dc
......@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="google" content="notranslate">
<meta name="viewport" content="width=device-width, initial-scale=1">
${extra_base_tag}
<link rel="shortcut icon" href="favicon.ico">
<meta name="theme-color" content="#085078">
......
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>981.59416.23022.53862</string> </value>
<value> <string>980.64171.26567.13107</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1581954760.5</float>
<float>1580304587.06</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -65,6 +65,12 @@ if configuration_webapp_manifest_url is None:
else:
mapping_dict["webapp_manifest_full_link_tag"] = '<link rel="manifest" href="' + configuration_webapp_manifest_url + '">'
# base tag
if mapping_dict["default_selected_language"] == default_language:
mapping_dict["extra_base_tag"] = ""
else:
mapping_dict["extra_base_tag"] = '<base href="../">'
# Wallpaper
# It can not be done in Javascript, due to CSP protection.
# data- attribute can not be accessed outside the content property
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment