Files
threshold-ui/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
T
Carlos Alcaide Corvo f002e14673 [Admin UI] Adopt HDS::Copy::Snippet (#2141)
* refactor: 💡 Adopt HDS copy snippet

Adopt HDS copy snippet and delete usage of Copyable custom component
within Admin UI.
2024-02-16 02:19:43 -08:00

16 lines
415 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<h2>
{{t 'resources.auth-method.title'}}
{{#if @model.isPrimary}}
&nbsp;
<Hds::Badge @text={{t 'states.primary'}} @color='success' />
&nbsp;
{{/if}}
<DocLink @doc='auth-method' @iconSize='large' />
</h2>
<p>{{t 'resources.auth-method.description'}}</p>
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />