Check for org credentials and present the count to the user before org deletion

This commit is contained in:
mabashian
2018-04-11 12:53:49 -04:00
parent 0459043b8e
commit 94ecfbee6a
4 changed files with 72 additions and 34 deletions

View File

@@ -73,6 +73,7 @@ function BaseStringService (namespace) {
this.deleteResource = {
HEADER: t.s('Delete'),
USED_BY: resourceType => t.s('The {{ resourceType }} is currently being used by other resources.', { resourceType }),
UNAVAILABLE: resourceType => t.s('Deleting this {{ resourceType }} will make the following resources unavailable.', { resourceType }),
CONFIRM: resourceType => t.s('Are you sure you want to delete this {{ resourceType }}?', { resourceType })
};