stable
Clone or download
story #12638 Add always there metadata date in new/update item modal How to test: How to test: 1) With the "Status" and "Obsolescence date" disabled => you should be able to create a new document. 2) 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 document => If you leave the modal, the status should be reseted to "None". 3) With the "Obsolescence date" metadata enabled - Go to the new document UI - Try to create a new document => The field "obsolescence date" should be displayed => You can pick the obsolescence date => When the document is created, you can see in the quick look the status of the document => If you leave the modal, the obsolescence date should be reseted Change-Id: I0a0900d97cc8808d6d1d83d78bd43d840e72b9f5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/include/Tree/DocumentTreeController.php | +4 | −2 | Go to diff View file |
M | plugins/document/include/Tree/DocumentTreePresenter.php | +16 | −10 | 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 | +4 | −2 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/ObsolescenceDateMetadata.spec.js | +65 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/ObsolescenceDateMetadata.vue | +49 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalNewItem/NewItemModal.vue | +28 | −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 | +5 | −1 | Go to diff View file |
M | plugins/document/scripts/document/po/fr.po | +3 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.js | +4 | −2 | 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 |