Files
threshold-ui/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
T

22 lines
511 B
Handlebars
Raw Normal View History

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
2020-10-05 16:53:11 -04:00
<h2>
{{t 'resources.auth-method.title'}}
2022-08-11 15:37:44 -07:00
{{#if @model.isPrimary}}
&nbsp;
<Hds::Badge @text={{t 'states.primary'}} @color='success' />
2022-08-11 15:37:44 -07:00
&nbsp;
{{/if}}
<DocLink @doc='auth-method' @iconSize='large' />
2020-10-05 16:53:11 -04:00
</h2>
<p>{{t 'resources.auth-method.description'}}</p>
<Copyable
@text={{@model.id}}
@buttonText={{t 'actions.copy-to-clipboard'}}
@acknowledgeText={{t 'states.copied'}}
>
2020-09-30 12:18:12 -04:00
<code>{{@model.id}}</code>
2022-10-06 11:41:12 -04:00
</Copyable>