github.com/outbrain/consul@v1.4.5/ui-v2/app/templates/dc/acls/tokens/-notifications.hbs (about) 1 {{#if (eq type 'create')}} 2 {{#if (eq status 'success') }} 3 The token has been added. 4 {{else}} 5 There was an error adding the token. 6 {{/if}} 7 {{else if (eq type 'update') }} 8 {{#if (eq status 'success') }} 9 The token has been saved. 10 {{else}} 11 There was an error saving the token. 12 {{/if}} 13 {{ else if (eq type 'delete')}} 14 {{#if (eq status 'success') }} 15 The token was deleted. 16 {{else}} 17 There was an error deleting the token. 18 {{/if}} 19 {{ else if (eq type 'logout')}} 20 {{#if (eq status 'success') }} 21 You are now logged out. 22 {{else}} 23 There was an error logging out. 24 {{/if}} 25 {{ else if (eq type 'clone')}} 26 {{#if (eq status 'success') }} 27 The token has been cloned as {{truncate subject.AccessorID 8 false}} 28 {{else}} 29 There was an error cloning the token. 30 {{/if}} 31 {{ else if (eq type 'authorize')}} 32 {{#if (eq status 'success') }} 33 You are now logged in. 34 {{else}} 35 There was an error, please check your SecretID/Token 36 {{/if}} 37 {{ else if (eq type 'use')}} 38 {{#if (eq status 'success') }} 39 You are now using the new ACL token 40 {{else}} 41 There was an error using that ACL token. 42 {{/if}} 43 {{/if}} 44