Commit f0c41b8 1 parent 52d1e51 commit f0c41b8 Copy full SHA for f0c41b8
File tree 2 files changed +18
-7
lines changed
src/senaite/core/browser/main_template/templates
2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Changelog
4
4
2.5.0 (unreleased)
5
5
------------------
6
6
7
+ - #2354 Render all legacy resources at the end of the page
7
8
- #2350 Display batch labels in listing
8
9
- #2347 Remove unused inline validation view
9
10
- #2346 Fix unauthorized error when accessing dispatch/partition sample view with shared client role
Original file line number Diff line number Diff line change 44
44
<!-- <link tal:replace="structure provider:plone.htmlhead.links" /> -->
45
45
<!-- <metal:styleslot define-slot="style_slot" /> -->
46
46
47
- <!-- SENAITE legacy resouces -->
48
- <metal : resources define-slot =" senaite_legacy_resources" />
49
- <!-- SENAITE legacy JS -->
50
- <metal : resources define-slot =" senaite_legacy_js" />
51
- <!-- SENAITE legacy CSS -->
52
- <metal : resources define-slot =" senaite_legacy_css" />
47
+ <!-- NOTE: All Legacy JS/CSS are rendered at the bottom of the page! -->
48
+
49
+ <meta name =" generator" content =" SENAITE - https://www.senaite.com" />
53
50
54
- <meta name =" generator" content =" Plone - http://plone.com" />
55
51
<meta name =" viewport"
56
52
tal : define =" viewportvalues bootstrapview/get_viewport_values"
57
53
tal : attributes =" content viewportvalues"
185
181
</div >
186
182
187
183
</div >
184
+
185
+ <!-- NOTE:
186
+ We define all legacy resource slots at the bottom to ensure these are
187
+ loaded *after* the JS/CSS from the resources viewlet (rendered in the
188
+ IHtmlHead viewlet manager) and the HTML is completely loaded.
189
+ -->
190
+
191
+ <!-- SENAITE legacy resouces -->
192
+ <metal : resources define-slot =" senaite_legacy_resources" />
193
+ <!-- SENAITE legacy JS -->
194
+ <metal : resources define-slot =" senaite_legacy_js" />
195
+ <!-- SENAITE legacy CSS -->
196
+ <metal : resources define-slot =" senaite_legacy_css" />
197
+
188
198
</body >
189
199
</html >
190
200
You can’t perform that action at this time.
0 commit comments