stable

Clone or download

Read-only

request #9867: No need to know if a artifact link type is used when we display the submit new artifact page

When we display the Submit new artifact page, the selectbox for ArtifactLink type is populated with available natures. However when we are fetching those natures, we are fetching if they are used. This information is needed for site admin (in order to disallow the deletion of the nature) but we don't use/need it for the end user. Change-Id: I49bd1d75940bf1dffe7c4d612b93f6811a0c9f4a

Modified Files

Name
M plugins/artifactsfolders/include/Nature/NatureInFolderPresenter.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigController.php +16 −8 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureConfigPresenter.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureDao.php +19 −10 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureIsChildPresenter.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenter.php +1 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NaturePresenterFactory.php +1 −2 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureUsagePresenter.php +58 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureUsagePresenterFactory.php +59 −0 Go to diff View file
M plugins/tracker/include/autoload.php +4 −2 Go to diff View file
M plugins/tracker/templates/siteadmin-config/natures.mustache +8 −6 Go to diff View file
M plugins/tracker/www/config.php +4 −0 Go to diff View file