stable
Clone or download
part of: story #14828: display dates with both absolute and relative Please note: - I had to take into account card fields in the cardwall since they rely on the method fetchTooltipValue of the FormElementFields defined in the card semantic - I also had to take into account the fact that tracker tooltips are also used in dashboards by some widgets - Please let me know if you spot a location where dates are not displayed anymore in tracker artifact tooltips How to test: - Pick up a tracker (like a story tracker) - Go to semantic -> tooltip - Add "Submitted On", "Last updated On" and a custom date field to the semantic - Go to semantic -> cards - Add these three fields to the semantic - Go to an artifact referencing another artifact in the tracker through a cross reference --> relartive dates are displayed in the tooltip - Go to a table report of this tracker --> relative dates are displayed in tooltips - Go to a cardwall report of this tracker --> relative dates are displayed in the card fields - Go to a cardwall in the agiledashboard of the project --> relative dates are displayed in the card fields - On dashboards - Spot widgets using the artifact tooltips --> relative dates are displayed in the card fields - In the planningV2 - Edit a story in your backlog or in a sprint --> relative dates are displayed in tooltips Change-Id: Ibe64ee6b2a5fdf1163c3f64c3a13611011484766
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/cardwall/include/cardwallPlugin.php | +12 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Date.class.php | +3 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_LastUpdateDate.class.php | +2 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_SubmittedOn.class.php | +2 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report_HeaderRenderer.php | +8 | −0 | Go to diff View file |
M | src/common/Dashboard/AssetsIncluder.php | +13 | −1 | Go to diff View file |
M | src/common/Project/Home.php | +3 | −1 | Go to diff View file |
M | src/www/my/index.php | +3 | −1 | Go to diff View file |
M | tests/unit/common/Dashboard/AssetsIncluderTest.php | +23 | −1 | Go to diff View file |