stable

Clone or download

Read-only

Add link tab (on top of artifact page, on top of artifact title)

this is part of story #8833 show, import and manipulate links For "_is_child" this is used for "parent" display (on top of artifact page, on top of artifact title) as well as in "Children" tab On an artifact link, you should see a tab "Children" which displayed the artifactlinks of it If you go on its artifactlinks, you should see an artifactlink hierarchy before title If a child as more than one father a warning is displayed. Titles are aligned on same level -- parent -- other parent instead of -- parent ---- other parent Change-Id: I8a1ec4c4559620e5ac568919bb6b4a93f69fcb09

Modified Files

Name
M plugins/tracker/db/install.sql +1 −1 Go to diff View file
A plugins/tracker/db/mysql/updates/2016/201603231358_add_nature_index_for_artifact_link_changeset.php +50 −0 Go to diff View file
M plugins/tracker/include/Tracker/Action/UpdateArtifact.class.php +19 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactChildPresenter.class.php +20 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php +83 −6 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +46 −8 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +13 −4 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/View/Nature.php +41 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_ArtifactDao.class.php +15 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureIsChildLinkRetriever.php +80 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/ParentOfArtifactCollection.php +47 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_Value_ArtifactLinkDao.class.php +16 −1 Go to diff View file
M plugins/tracker/include/autoload.php +5 −2 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +1 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +1 −0 Go to diff View file
M plugins/tracker/tests/Tracker/Action/UpdateArtifactTest.php +10 −3 Go to diff View file
M plugins/tracker/www/scripts/artifactChildren.js +11 −8 Go to diff View file
M plugins/tracker/www/scripts/load-artifactChildren.js +6 −2 Go to diff View file