github.com/outbrain/consul@v1.4.5/ui-v2/app/templates/dc/intentions/-notifications.hbs (about) 1 {{#if (eq type 'create')}} 2 {{#if (eq status 'success') }} 3 Your intention has been added. 4 {{else if (eq status 'exists') }} 5 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. 6 {{else}} 7 There was an error adding your intention. 8 {{/if}} 9 {{else if (eq type 'update') }} 10 {{#if (eq status 'success') }} 11 Your intention has been saved. 12 {{else}} 13 There was an error saving your intention. 14 {{/if}} 15 {{ else if (eq type 'delete')}} 16 {{#if (eq status 'success') }} 17 Your intention was deleted. 18 {{else}} 19 There was an error deleting your intention. 20 {{/if}} 21 {{/if}} 22