stable

Clone or download

Read-only

Remake the obsolescence date component

This is a part of story #13589 Update hardcoded metadata How to test : - Make sure that the obsolescence metadata is enabled - Open the modal to create a new item => you should be able to choose an option and when the option is chosen, the input should be updated aswell => When you choose an option not equal to "Fixed date" and if you click on the date input , the "Fixed option" should be selected automatically - Open the modal to update a document => You should also see the "Obsolete today" option => all other expected result is the same as above Change-Id: Iff8bfd76ae29ee6fdb89ffbd9c505eba23e3bc19

Modified Files

Name
M plugins/document/scripts/document/app.spec.js +1 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/ObsolescenceDateMetadata.spec.js +175 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/ObsolescenceDateMetadata.vue +94 −13 Go to diff View file
A plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/ObsolescenceDateMetadataObsoleteTodayOption.vue +28 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/OtherInformationMetadata.vue +4 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateMetadataModal.vue +5 −1 Go to diff View file
M plugins/document/scripts/document/po/fr.po +15 −0 Go to diff View file
M plugins/document/themes/BurningParrot/document/_metadata.scss +4 −0 Go to diff View file