Webfrontend #586
Generalise datatable templates
Status: | Erledigt | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
Currently a datatable need quite some handcrafting for each object. Some refactoring suggestions:
- parametrized templates
- at least some parts are needed for every datatable, e.g. the add structure with two tables
- optimal: one template for all sequence form elements, all individual code should be outsourced
- maybe data could be provided as json and no html is needed at all
- javascript
- uses global variables, should be put into datatables as attribute
- some functions are the same for both tables, should be reused
- should be separated from the html code (e.g. as widget dependency)
History
#1 Updated by Alexander Blum over 5 years ago
- Status changed from Neu to Erledigt
- % Done changed from 0 to 100
Applied in changeset commit:collecting_society_portal|9b0d097c6ab5279d0f2be1120580e33b4ace06eb.
#2 Updated by Alexander Blum over 4 years ago
- Project changed from repertoire to collecting_society