stable

Clone or download

Read-only

Update the new folder creation modal with the "Status" metadata

This is a part of the story #12638 Add always there metadata date in new/update item modal How to test: 1) With the "Status" metadata enabled - Go to the new doucment UI - Try to create a new folder => The field status should be displayed => You can choose one status and the default status is "None" => When the folder is created, you can see in the quick look the status of the folder => If you leave the modal, the status should be reseted to "None". 2) With the "Status" metadata disabled - Go to the new document UI - Try to create a new folder => The fields "Status" should not be dsiplayed => You should be able to create the folder anyway Change-Id: Ie7c796dc1fb35b825e70de13615cea9699a409fe

Modified Files

Name
M plugins/document/include/Tree/DocumentTreeController.php +10 −1 Go to diff View file
M plugins/document/include/Tree/DocumentTreePresenter.php +15 −9 Go to diff View file
M plugins/document/scripts/document/app.spec.js +1 −0 Go to diff View file
M plugins/document/scripts/document/components/App.vue +5 −3 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/StatusMetadata.spec.js +78 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/StatusMetadata.vue +50 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalNewItem/NewFolderModal.vue +14 −4 Go to diff View file
M plugins/document/scripts/document/constants.js +2 −0 Go to diff View file
M plugins/document/scripts/document/index.js +3 −1 Go to diff View file
M plugins/document/scripts/document/po/fr.po +15 −0 Go to diff View file
M plugins/document/scripts/document/store/mutations-global.js +3 −1 Go to diff View file
M plugins/document/scripts/document/store/state.js +2 −1 Go to diff View file
M plugins/document/templates/document-tree.mustache +1 −0 Go to diff View file