stable

Clone or download

Read-only

refactor: extract workflow menu from mustache templates

This is a preparatory step to allow Tracker CCE plugin to inject its own entry in the menu. No functional changes in tracker workflow administration. This reuses leftovers that should have been removed the last time we reworked the tracker administration navigation. Part of story #35093: execute custom code as artifact post action Change-Id: I310b1b74864e4f497013afb7d574c77f9c7b6ab2

Modified Files

Name
M plugins/tracker/include/Tracker/Admin/HeaderPresenter.php +7 −2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +15 −9 Go to diff View file
A plugins/tracker/include/Tracker/Workflow/WorkflowMenuItem.php +33 −0 Go to diff View file
R plugins/tracker/include/Tracker/Workflow/WorkflowMenuTabPresenter.php Go to diff View file
A plugins/tracker/include/Tracker/Workflow/WorkflowMenuPresenterBuilder.php +73 −0 Go to diff View file
D plugins/tracker/include/Tracker/Workflow/WorkflowMenuTabPresenterBuilder.php +0 −78 Go to diff View file
A plugins/tracker/include/Tracker/Workflow/WorkflowMountPointPresenter.php +35 −0 Go to diff View file
M plugins/tracker/include/Tracker/Workflow/WorkflowTransitionController.php +6 −16 Go to diff View file
M plugins/tracker/include/Workflow/Workflow.class.php +1 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +1 −3 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +2 −5 Go to diff View file
M plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po +1 −4 Go to diff View file
M plugins/tracker/templates/admin-header-bp.mustache +7 −15 Go to diff View file
M plugins/tracker/templates/admin-header.mustache +9 −25 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Admin/HeaderPresenterTest.php +8 −7 Go to diff View file