stable

Clone or download

Read-only

Refactoring: Each button should have its own mustache file

this is part of story #11347 have a UI to accesss Move artifact This commit split the way presenters are built, the aim is to migrate the "move" button a the entry point of vue app. In order to ease review, I'll do the button as view app in a dedicated commit. No functional changes, all button shoul be displayed as usual Change-Id: If9ff06f6b829973df8380590f83b4cafc270aa98

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactActionButtonPresenterBuilder.php +8 −22 Go to diff View file
R plugins/tracker/include/Tracker/Artifact/ActionButtons/ActionButtonPresenter.php Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactCopyButtonPresenterBuilder.php +3 −13 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactGrapDependenciesButtonPresenter.php +39 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactGraphDependenciesButtonPresenterBuilder.php +2 −10 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactIncomingEmailButtonPresenterBuilder.php +2 −5 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactMoveButtonPresenter.php +39 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactMoveButtonPresenterBuilder.php +2 −28 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactNotificationActionButtonPresenterBuilder.php +2 −5 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactNotificationsButtonPresenter.php +39 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactOriginalEmailButtonPresenter.php +39 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/GlobalButtonsActionPresenter.php +78 −11 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +1 −1 Go to diff View file
M plugins/tracker/phpunit/Tracker/ActionButton/ArtifactMoveButtonPresenterBuilderTest.php +10 −45 Go to diff View file
D plugins/tracker/templates/action-buttons.mustache +0 −34 Go to diff View file
A plugins/tracker/templates/action-buttons/action-buttons.mustache +26 −0 Go to diff View file
A plugins/tracker/templates/action-buttons/copy-artifact.mustache +7 −0 Go to diff View file
A plugins/tracker/templates/action-buttons/graph-dependencies.mustache +10 −0 Go to diff View file
A plugins/tracker/templates/action-buttons/mail-notifications.mustache +7 −0 Go to diff View file
A plugins/tracker/templates/action-buttons/move-artifact.mustache +12 −0 Go to diff View file
A plugins/tracker/templates/action-buttons/original-email.mustache +7 −0 Go to diff View file
M plugins/tracker/www/themes/default/css/style.scss +4 −0 Go to diff View file