open-consul/ui-v2/app/templates/error.hbs
John Cowen 411fb2e25c ui: Move to angle brackets for ember components (#7321)
* Modify templates with codemods angle brackets

* ui: Fix up problem with intention filter action attribute

Co-authored-by: Kenia <19161242+kaxcode@users.noreply.github.com>
2020-05-12 17:14:05 +00:00

22 lines
941 B
Handlebars

<HashicorpConsul @id="wrapper" @permissions={{permissions}} @dcs={{dcs}} @dc={{dc}} @nspaces={{nspaces}} @nspace={{nspace}}>
<AppView @class="error show">
<BlockSlot @name="header">
<h1 data-test-error>
{{#if error.status }}
{{error.status}} ({{error.message}})
{{else}}
{{error.message}}
{{/if}}
</h1>
</BlockSlot>
<BlockSlot @name="content">
<p>
Consul returned an error.
You may have visited a URL that is loading an unknown resource, so you can try going back to the root or try re-submitting your ACL Token/SecretID by going back to ACLs.<br />
Try looking in our <a href="{{env 'CONSUL_DOCS_URL'}}" target="_blank">documentation</a>
</p>
<a data-test-home rel="home" href={{href-to 'index'}}>Go back to root</a>
</BlockSlot>
</AppView>
</HashicorpConsul>