stable

Clone or download

Read-only

fix: request #40113: Artidoc icon in tooltip

When you reference an artidoc document, the tooltip should display the icon of artidoc, not the generic "binary" one. Likewise, when an artidoc is referencing (via its document/docman description for example) an artifact, then the reference displayed in cross reference field in the artifact view should display the right icon. Change-Id: Ib07890eca254f531496819861384cd6ef8f4209d

Modified Files

Name
M plugins/artidoc/include/artidocPlugin.php +19 −0 Go to diff View file
M plugins/docman/include/Docman_Icons.class.php +8 −9 Go to diff View file
M plugins/docman/include/Docman_MetadataComparator.class.php +1 −1 Go to diff View file
A plugins/docman/include/Item/Icon/DocumentIconPresenterEvent.php +60 −0 Go to diff View file
A plugins/docman/include/Item/Icon/GetIconForItemEvent.php +46 −0 Go to diff View file
M plugins/docman/include/Reference/DocumentIconPresenterBuilder.php +11 −31 Go to diff View file
M plugins/docman/include/docmanPlugin.php +2 −2 Go to diff View file
M plugins/docman/include/view/Docman_View_Admin_Obsolete.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionApproval.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionPaste.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_PasteInProgress.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_View.class.php +1 −1 Go to diff View file
M plugins/docman/tests/unit/Reference/CrossReferenceDocmanOrganizerTest.php +2 −1 Go to diff View file
M plugins/docman/tests/unit/Reference/DocumentIconPresenterBuilderTest.php +34 −1 Go to diff View file