adds a notification when the member gets exported

This commit is contained in:
Shannon
2018-02-26 23:37:20 +11:00
parent 8960b0828e
commit 6adaa1f70c
3 changed files with 8 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
* @description
* Defines the methods that are called when menu items declare only an action to execute
*/
function umbracoMenuActions($q, treeService, $location, navigationService, appState, umbRequestHelper) {
function umbracoMenuActions($q, treeService, $location, navigationService, appState, umbRequestHelper, notificationsService, localizationService) {
return {
@@ -19,6 +19,11 @@ function umbracoMenuActions($q, treeService, $location, navigationService, appSt
[{ key: args.entity.id }]);
umbRequestHelper.downloadFile(url);
localizationService.localize("speechBubbles_memberExportedSuccess").then(function (value) {
notificationsService.success(value);
})
},
/**

View File

@@ -318,7 +318,6 @@
<key alias="nodeNameLinkPicker">Link title</key>
<key alias="urlLinkPicker">Link</key>
<key alias="anchorInsert">Name</key>
<key alias="confirmExport">Export</key>
<key alias="assignDomain">Manage hostnames</key>
<key alias="closeThisWindow">Close this window</key>
<key alias="confirmdelete">Are you sure you want to delete</key>
@@ -1404,6 +1403,7 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="unlockUsersError">An error occurred while unlocking the users</key>
<key alias="unlockUserSuccess">%0% is now unlocked</key>
<key alias="unlockUserError">An error occurred while unlocking the user</key>
<key alias="memberExportedSuccess">Member was exported to file</key>
</area>
<area alias="stylesheet">
<key alias="aliasHelp">Uses CSS syntax ex: h1, .redHeader, .blueTex</key>

View File

@@ -318,7 +318,6 @@
<key alias="nodeNameLinkPicker">Link title</key>
<key alias="urlLinkPicker">Link</key>
<key alias="anchorInsert">Name</key>
<key alias="confirmExport">Export</key>
<key alias="closeThisWindow">Close this window</key>
<key alias="confirmdelete">Are you sure you want to delete</key>
<key alias="confirmdisable">Are you sure you want to disable</key>
@@ -1401,6 +1400,7 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="unlockUsersError">An error occurred while unlocking the users</key>
<key alias="unlockUserSuccess">%0% is now unlocked</key>
<key alias="unlockUserError">An error occurred while unlocking the user</key>
<key alias="memberExportedSuccess">Member was exported to file</key>
</area>
<area alias="stylesheet">
<key alias="aliasHelp">Uses CSS syntax ex: h1, .redHeader, .blueTex</key>