stable

Clone or download

Read-only

Display list of trackers basing their semantics on the current tracker

part of: story #21362 Base artifact timeframe on a linked artifact Note: I have been inspired by what is done with the semantic velocity. Please note that like semantic velocity, no Read permission is checked before displaying the tracker names. How to test: In the following test example, my tracker User Story implies its semantic timeframe from the Sprint tracker. - Go to The User Story tracker - Go to admin > Semantics --> Under [Timeframe] section title, there is a link to the admin of the Sprint tracker. - Click on the link --> You are redirected to the administration of the semantic timeframe of the Sprint tracker - Click on « Go back to semantic overview --> You are redirected to the global admin of the semantics of the Sprint tracker --> Under the [Timeframe] section title, all trackers implying their semantics from the sprint tracker are displayed with links to their timeframe semantic administrations. Change-Id: I5745616a5183826df25652fa7a3c39a6f2d0203a

Modified Files

Name
A plugins/tracker/include/Tracker/Semantic/Timeframe/Administration/SemanticTimeframeCurrentConfigurationPresenter.php +73 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Timeframe/Administration/SemanticTimeframeCurrentConfigurationPresenterBuilder.php +107 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframe.php +19 −5 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithDuration.php +5 −6 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithEndDate.php +5 −6 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +13 −0 Go to diff View file
A plugins/tracker/templates/timeframe-semantic/semantic-timeframe-current-configuration.mustache +20 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/Administration/SemanticTimeframeCurrentConfigurationPresenterBuilderTest.php +164 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithDurationTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithEndDateTest.php +1 −1 Go to diff View file