stable

Clone or download

Read-only

Display end date of timeframe on the duration field

This change is part of story #12537 From now on, on the duration field as configured by the Timeframe semantic, the end date targeted by the duration is shown as an helper. This should work with Int, Float and Computed Fields. Change-Id: I627096563dd1ff5d166fe24066ba6b56f9bbd44e

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +16 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Numeric.class.php +29 −1 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Timeframe/ArtifactTimeframeHelper.php +80 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframe.php +11 −6 Go to diff View file
A plugins/tracker/phpunit/Tracker/Semantic/Timeframe/ArtifactTimeframeHelperTest.php +114 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/Semantic/Timeframe/SemanticTimeframeTest.php +44 −0 Go to diff View file
M plugins/tracker/www/themes/default/css/style.scss +8 −0 Go to diff View file