stable
Clone or download
This is part of story #10353 Widget for Kanban. This patch introduces TLP date/time pickers for the artifact modal in Kanban. How to test: - In kanban tracker, set two date fields with: * A mandatory date field. * A date field displaying the time. - Go in the kanban, and click on the artifact link in a card, the artifact modal opens. --> The mandatory date field has a red asterix next to its label. - Click on the first date field. --> You are able to select a date, and to change it as you wish. - Click on the second date field. --> You are able to select a date and an hour (hours:minutes) and to change it as you wish. - Submit the changes and re-open the modal. --> The values you have previously set have been updated. Change-Id: I35b1b3f0fb5bd81a38822314552138be50618cb0
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/www/scripts/angular-artifact-modal/po/fr.po | +6 | −2 | Go to diff View file |
M | plugins/tracker/www/scripts/angular-artifact-modal/po/template.pot | +4 | −0 | Go to diff View file |
D | plugins/tracker/www/scripts/angular-artifact-modal/src/format-date-directive.js | +0 | −14 | Go to diff View file |
D | plugins/tracker/www/scripts/angular-artifact-modal/src/format-datetime-directive.js | +0 | −14 | Go to diff View file |
A | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/date-field/date-field-controller.js | +46 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/date-field/date-field-directive.js | +18 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/date-field/date-field.js | +8 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/date-field/date-field.tpl.html | +29 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/fields.js | +5 | −3 | Go to diff View file |
M | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal.js | +0 | −4 | Go to diff View file |
M | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal.tpl.html | +9 | −54 | Go to diff View file |