056a5d3090
* ui: Specifically check for error rather than anything but success * ui: Add SyncTime to intentions for reconciliation
23 lines
758 B
Handlebars
23 lines
758 B
Handlebars
{{#if (eq type 'create')}}
|
|
{{#if (eq status 'success') }}
|
|
Your intention has been added.
|
|
{{else if (eq status 'exists') }}
|
|
An intention already exists for this Source-Destination pair. Please enter a different combination of Services, or search the intentions to edit an existing intention.
|
|
{{else}}
|
|
There was an error adding your intention.
|
|
{{/if}}
|
|
{{else if (eq type 'update') }}
|
|
{{#if (eq status 'success') }}
|
|
Your intention has been saved.
|
|
{{else if (eq status 'error')}}
|
|
There was an error saving your intention.
|
|
{{/if}}
|
|
{{ else if (eq type 'delete')}}
|
|
{{#if (eq status 'success') }}
|
|
Your intention was deleted.
|
|
{{else if (eq status 'error')}}
|
|
There was an error deleting your intention.
|
|
{{/if}}
|
|
{{/if}}
|
|
|