stable

Clone or download

Read-only

Add approval badge info

part of story #13217 Display embedded content Ho to test: - have a document without apporval table: nothing is displayed - have a document with approval table: badge with correspondant status is displayed (to test each status you can forge ApprovalTableStateMapper to return you the status you want to test) Change-Id: I63abd3cc0b389eab320da29541d4708424989ed8

Modified Files

Name
M plugins/document/scripts/document/app.spec.js +2 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ApprovalTables/ApprovalTableBadge.spec.js +78 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ApprovalTables/ApprovalTableBadge.vue +60 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemDisplay/ActionsHeader.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemDisplay/DisplayEmbeddedContent.vue +5 −3 Go to diff View file
M plugins/document/scripts/document/constants.js +6 −0 Go to diff View file
A plugins/document/scripts/document/helpers/approval-table-helper.js +68 −0 Go to diff View file
M plugins/document/scripts/document/po/fr.po +9 −0 Go to diff View file
M plugins/document/themes/BurningParrot/document/_headers.scss +11 −0 Go to diff View file