Webfrontend #688
Include JS templates conditionally
Status: | Neu | Start date: | ||
---|---|---|---|---|
Priority: | Niedrig | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | Estimated time: | 3.00 h | |
Target version: | Repertoire 4) Production phase I |
Description
- Right now, the templates for datatables reside in backend.pt and are included in all backend views.
- It seems not that trivial to include some html code (script tags with type "x-tmpl") conditionally.
- It should be included, whenever a DatatableSequenceWidget is included, so it should depend on the dependancy mechanism (see #394).
- A try with an jQuery.load resulted in quite much loading time, maybe it would be possible with the defer tag (see #678)
Related issues
History
#1 Updated by Alexander Blum almost 5 years ago
- Related to Webfrontend #678: Use registry instead of templates for css/js added
#2 Updated by Alexander Blum almost 5 years ago
- Related to Webfrontend #394: Add js/css inclusion via registry added
#3 Updated by Alexander Blum over 4 years ago
- Estimated time set to 3.00
#4 Updated by Alexander Blum almost 4 years ago
- Target version changed from 4) Production phase I to Repertoire 4) Production phase I
#5 Updated by Alexander Blum almost 4 years ago
- Project changed from repertoire to collecting_society