stable

Clone or download

Read-only

chore: Convert Property administration to BurningParrot

Follow-up to b4cabd337839f99c6ed8d8494f93ba806685cd51 ➡️ Page is displayed under burning parrot theme ➡️ Modals are used to create value in list properties ➡️ Popovers are used to confirm deletion of values in list properties ➡️ CSRF token are added to guard update of property, and creation or deletion of values Note: I'm not really satisfied with the back link (to return to the list of properties, or to return to the property itself when we edit a value). However I think that current proposal is better than current situation so we will see later with the Design team how we can improve this. Note: Edition of a property value could be done now in a modal instead of a dedicated page. Same, to be checked with the Design team. Part of story #24197: search for Documents with criteria Change-Id: I528c0f51c5372c7713682d27595c2c2853652559

Modified Files

Name
M plugins/docman/include/DocmanLegacyController.php +1 −0 Go to diff View file
M plugins/docman/include/Docman_Controller.class.php +3 −0 Go to diff View file
D plugins/docman/include/Docman_MetaMetadataHtml.class.php +0 −219 Go to diff View file
M plugins/docman/include/Docman_MetadataHtmlList.php +4 −13 Go to diff View file
A plugins/docman/include/view/Admin/ValueRanksBuilder.php +52 −0 Go to diff View file
M plugins/docman/include/view/Docman_View_Admin_MetadataDetails.class.php +110 −126 Go to diff View file
M plugins/docman/include/view/Docman_View_Admin_MetadataDetailsUpdateLove.class.php +1 −17 Go to diff View file
D plugins/docman/include/view/Docman_View_LoveDetails.class.php +0 −114 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +15 −37 Go to diff View file
M plugins/docman/templates/admin/properties.mustache +34 −34 Go to diff View file
A plugins/docman/templates/admin/property-details.mustache +187 −0 Go to diff View file
A plugins/docman/templates/admin/property-list-values.mustache +164 −0 Go to diff View file
M plugins/docman/templates/admin/property-value.mustache +6 −5 Go to diff View file
A plugins/docman/tests/unit/view/Admin/ValueRanksBuilderTest.php +69 −0 Go to diff View file
M plugins/docman/themes/default/css/style.scss +0 −7 Go to diff View file