stable

Clone or download

Read-only

Add icon of xrefs

This is part of story #17180 take into account gitlab commits For the moment, icons are available for: - Git - Pull Request - SVN - Tracker Artifact v5 - Document How to test: - Have an artifact with some cross refs that reference: - Git commit - Pull request - SVN commit - Artifact - Document Expected Results: - There is an icon before each nature label [0] You can find figma in story #17180 Change-Id: I15fa1d1a3fc1002fce23afc598a0140b23f1dee1

Modified Files

Name
M plugins/docman/include/docmanPlugin.php +18 −0 Go to diff View file
M plugins/git/include/gitPlugin.php +19 −0 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +19 −0 Go to diff View file
M plugins/svn/include/svnPlugin.php +18 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_CrossReferences.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceByNaturePresenter.php +16 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceByNaturePresenterBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +18 −0 Go to diff View file
M plugins/tracker/templates/form-element/reference/cross_reference.mustache +4 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/View/Reference/CrossReferenceByNaturePresenterBuilderTest.php +9 −1 Go to diff View file
M src/common/reference/CrossReferenceByNatureCollection.php +8 −2 Go to diff View file
M src/common/reference/CrossReferenceCollection.php +19 −6 Go to diff View file
M src/common/reference/CrossReferenceFactory.class.php +2 −1 Go to diff View file
A src/common/reference/CrossReferenceNatureIcon.php +41 −0 Go to diff View file
A src/common/reference/Events/CrossReferenceGetNatureIconEvent.php +62 −0 Go to diff View file