consul/ui-v2/app/templates/dc/acls/roles/-notifications.hbs

21 lines
474 B
Handlebars

{{#if (eq type 'create')}}
{{#if (eq status 'success') }}
Your role has been added.
{{else}}
There was an error adding your role.
{{/if}}
{{else if (eq type 'update') }}
{{#if (eq status 'success') }}
Your role has been saved.
{{else}}
There was an error saving your role.
{{/if}}
{{ else if (eq type 'delete')}}
{{#if (eq status 'success') }}
Your role was deleted.
{{else}}
There was an error deleting your role.
{{/if}}
{{/if}}