Files
threshold-ui/ui/desktop/app/templates/scopes/scope/projects/error.hbs
T
hashicc 72fa6d86c4 Update copyright headers (#3161)
* chore: 🤖 remove hashi copyright .github headers and update config

* chore: 🤖 remove remaining hashicorp copyright headers

* Add missing copyright headers
2026-02-03 12:08:35 -05:00

33 lines
811 B
Handlebars

{{!
Copyright IBM Corp. 2021, 2026
SPDX-License-Identifier: BUSL-1.1
}}
{{page-title (t 'errors.generic.title')}}
{{! Most error types will land here }}
{{#if @model.errors}}
<Rose::Layout::Centered>
{{#each @model.errors as |error|}}
<Error::Message
@status={{error.status}}
@docLink={{doc-url 'support-page'}}
/>
{{/each}}
</Rose::Layout::Centered>
{{/if}}
{{! But a disconnected state doesn't get normalized errors }}
{{#unless @model.errors}}
<Rose::Layout::Centered>
<Error::Message @docLink={{doc-url 'support-page'}} />
</Rose::Layout::Centered>
<Rose::Layout::Centered>
<Hds::Button
@color='primary'
@text={{t 'actions.disconnect'}}
{{on 'click' this.appUtilities.disconnect}}
/>
</Rose::Layout::Centered>
{{/unless}}