Webfrontend #688

Include JS templates conditionally

Added by Alexander Blum over 5 years ago. Updated almost 5 years ago.

Status:NeuStart date:
Priority:NiedrigDue 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

Related to collecting_society - Webfrontend #678: Use registry instead of templates for css/js Neu
Related to collecting_society - Webfrontend #394: Add js/css inclusion via registry Neu

History

#1 Updated by Alexander Blum over 5 years ago

  • Related to Webfrontend #678: Use registry instead of templates for css/js added

#2 Updated by Alexander Blum over 5 years ago

#3 Updated by Alexander Blum over 5 years ago

  • Estimated time set to 3.00

#4 Updated by Alexander Blum almost 5 years ago

  • Target version changed from 4) Production phase I to Repertoire 4) Production phase I

#5 Updated by Alexander Blum almost 5 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF