consul/ui-v2/app/templates/dc/nspaces/-notifications.hbs

21 lines
521 B
Handlebars
Raw Normal View History

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