2020-10-19 16:31:01 +00:00
|
|
|
{{#if (eq @type 'create')}}
|
|
|
|
{{#if (eq @status 'success') }}
|
2019-12-17 18:47:37 +00:00
|
|
|
Your namespace has been added.
|
|
|
|
{{else}}
|
|
|
|
There was an error adding your namespace.
|
|
|
|
{{/if}}
|
2020-10-19 16:31:01 +00:00
|
|
|
{{else if (eq @type 'update') }}
|
|
|
|
{{#if (eq @status 'success') }}
|
2019-12-17 18:47:37 +00:00
|
|
|
Your namespace has been saved.
|
|
|
|
{{else}}
|
|
|
|
There was an error saving your namespace.
|
|
|
|
{{/if}}
|
2020-10-19 16:31:01 +00:00
|
|
|
{{ else if (eq @type 'delete')}}
|
|
|
|
{{#if (eq @status 'success') }}
|
2019-12-17 18:47:37 +00:00
|
|
|
Your namespace has been marked for deletion.
|
|
|
|
{{else}}
|
|
|
|
There was an error deleting your namespace.
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2020-10-19 16:31:01 +00:00
|
|
|
{{#let @error.errors.firstObject as |error|}}
|
2020-05-19 16:18:04 +00:00
|
|
|
{{#if error.detail }}
|
|
|
|
<br />{{concat '(' (if error.status (concat error.status ': ')) error.detail ')'}}
|
|
|
|
{{/if}}
|
|
|
|
{{/let}}
|