fix (#9414) : trad + gritter

parent 35247505
......@@ -29,7 +29,7 @@ INSERT INTO "lifeCycle"."eventFormat" ("type", "format", "notification", "messag
('recordsManagement/retentionRuleModification', 'resId hashAlgorithm hash address retentionStartDate retentionDuration finalDisposition previousStartDate previousDuration previousFinalDisposition originatorOrgRegNumber archiverOrgRegNumber', FALSE, 'Modification de la règle de conservation de l''archive %6$s'),
('recordsManagement/unfreeze', 'resId hashAlgorithm hash address originatorOrgRegNumber archiverOrgRegNumber', FALSE, 'Dégel de l''archive %6$s'),
('recordsManagement/resourceDestruction', 'resId hashAlgorithm hash address originatorOrgRegNumber archiverOrgRegNumber', FALSE, 'Destruction de la ressource %9$s'),
('recordsManagement/depositNewResource', 'resId hashAlgorithm hash address originatorOrgRegNumber depositorOrgRegNumber archiverOrgRegNumber format size', FALSE, 'Dépôt d''une nouvelle pièce dans l''archive %6$s');
('recordsManagement/depositNewResource', 'resId hashAlgorithm hash address originatorOrgRegNumber depositorOrgRegNumber archiverOrgRegNumber format size', FALSE, 'Dépôt d''une nouvelle ressource dans l''archive %6$s');
INSERT INTO "lifeCycle"."eventFormat" ("type", "format", "notification", "message") VALUES
('medona/sending', 'type senderOrgRegNumber senderOrgName recipientOrgRegNumber recipientOrgName reference', FALSE, 'Envoi du message %14$s de type %9$s de %11$s (%10$s) à %13$s (%12$s)'),
......
......@@ -96,15 +96,11 @@
data : JSON.stringify(data),
dataType :'json',
success : function (response) {
if (!response.status) {
gritter.show(response.message, response.status, response.errors);
}
ResourcePanel.cancel();
archiveInfoModal.reload(archiveId);
},
error : function(response) {
gritter.show(response.message, response.status, response.errors);
gritter.show(response.responseJSON.message, response.responseJSON.status, response.responseJSON.errors);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment