stable

Clone or download

Read-only

Add the file size in the preview when an item is a file

This is a part of the story #12450 see a preview of document How to test: - Via the API Explorer => A new file properties should be displayed : filz_size. Its should contains the file size in bytes - Via the new document UI => Click on the Quick look button of a file => You should see the file size property in MegaBytes - Click on the Quick look button of an item != file => The property should not be displayed Change-Id: I3d14e29a064b793b919a05110de1e9c8c1e36320

Modified Files

Name
M plugins/docman/include/REST/v1/FilePropertiesRepresentation.php +6 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookDocumentMetadata.vue +37 −7 Go to diff View file
M plugins/document/scripts/document/po/fr.po +3 −0 Go to diff View file