-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 61
-
Fix Version/s: 73.7
-
Component/s: Ergonomy / UX / UI, Technical / Transverse
-
Tags:
-
Upgrade notes:
-
Sprint:NOS 10.1.4
-
Story Points:1
Correct Invalid URLs in FTL templates
Several resources have outdated URLs (JavaScript, CSS, images). This tickets aims to do an cleanup to the following FTL:
- ./nuxeo-studio-web/src/main/resources/skin/base.ftl
- ./nuxeo-studio-web/src/main/resources/skin/studio.ftl
// TODO add more URLs
Outdated (invalid) URLs mean that user cannot see our resources, since they're not correctly provided.
Fix Wrong Syntax
The comment blocks are different among CSS, HTML, JavaScript. Using HTML comment block in JavaScript leads to potential UI rendering failure. Here's an example of wrong usage, in the embedded JavaScript of studio.ftl:
<script type="text/javascript"> <!-- Studio --> var _studio_hb_enabled = ${studio_hb_enabled}; var _studio_hb_delay = ${studio_hb_delay}; <!-- Studio Collab --> var _collab_enabled = ${collab_enabled}; var _collab_url = ${collab_url}; var _collab_hb_delay = ${collab_hb_delay}; var _collab_hb_reconnect = ${collab_hb_reconnect}; </script>
The comment block should be changed to valid JS syntax.
- is related to
-
NXS-4009 Add cookie disclaimer and link to privacy policy
- Resolved