stable

Clone or download

Read-only

Create the action button with existing actions

this is part of story #11347 have a UI to accesss Move artifact How to test: - Given your user can't perform any action: => no button is displayed - Given you user can only perform a single action (ex: disable notification) => a signle option is displayed in action - Given your user can perform an action (ex: copy artifact) and can perform notification action => actions are displayed and separated by a divider Change-Id: Ib07ede92f2fb692a2e84c35ae010c57989522401

Modified Files

Name
A plugins/tracker/include/Tracker/Artifact/ActionButtons/ActionButtonPresenter.php +59 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactActionButtonPresenterBuilder.php +168 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/ActionButtons/GlobalButtonsActionPresenter.php +39 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php +1 −37 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +13 −81 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +7 −4 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +3 −0 Go to diff View file
A plugins/tracker/templates/action-buttons.mustache +24 −0 Go to diff View file
M plugins/tracker/www/themes/default/css/style.scss +14 −0 Go to diff View file