Update main templat editor to use a localised notification
This commit is contained in:
@@ -33,7 +33,13 @@
|
||||
rebindCallback: function (orignal, saved) {}
|
||||
}).then(function (saved) {
|
||||
|
||||
notificationsService.success("Template saved");
|
||||
localizationService.localize("speechBubbles_templateSavedHeader").then(function (headerValue) {
|
||||
localizationService.localize("speechBubbles_templateSavedText").then(function(msgValue) {
|
||||
notificationsService.success(headerValue, msgValue);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
vm.page.saveButtonState = "success";
|
||||
vm.template = saved;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user