2021-12-01 11:33:33 +00:00
|
|
|
{{#if (eq @type 'remove')}}
|
|
|
|
{{#if @error}}
|
|
|
|
<Notice
|
|
|
|
class="notification-delete"
|
|
|
|
@type="error"
|
|
|
|
...attributes
|
|
|
|
as |notice|>
|
|
|
|
<notice.Header>
|
|
|
|
<strong>Error!</strong>
|
|
|
|
</notice.Header>
|
|
|
|
<notice.Body>
|
|
|
|
<p>
|
|
|
|
There was an error invalidating the Lock Session.
|
|
|
|
{{#if (and @error.status @error.detail)}}
|
|
|
|
<br />{{@error.status}}: {{@error.detail}}
|
|
|
|
{{/if}}
|
|
|
|
</p>
|
|
|
|
</notice.Body>
|
|
|
|
</Notice>
|
2020-10-19 16:31:01 +00:00
|
|
|
{{else}}
|
2021-12-01 11:33:33 +00:00
|
|
|
<Notice
|
|
|
|
class="notification-delete"
|
|
|
|
@type="success"
|
|
|
|
...attributes
|
|
|
|
as |notice|>
|
|
|
|
<notice.Header>
|
|
|
|
<strong>Success!</strong>
|
|
|
|
</notice.Header>
|
|
|
|
<notice.Body>
|
|
|
|
<p>
|
|
|
|
Your Lock Session has been invalidated.
|
|
|
|
</p>
|
|
|
|
</notice.Body>
|
|
|
|
</Notice>
|
2020-10-19 16:31:01 +00:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|