Files
threshold-ui/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
T
Cameron Perera 30028b5ba0 refactor: 💡 convert p tags to Hds::Text component (#2800)
* refactor: 💡 convert p tags to Hds::Text component

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16865

* style: 💄 remove comment

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16865
2025-04-29 12:26:20 -05:00

18 lines
556 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Text::Display @tag='h2' @size='400' @weight='bold' class='header-spacing'>
{{t 'resources.auth-method.title'}}
{{#if @model.isPrimary}}
&nbsp;
<Hds::Badge @text={{t 'states.primary'}} @color='success' />
&nbsp;
{{/if}}
<DocLink @doc='auth-method' />
</Hds::Text::Display>
<Hds::Text::Body @tag='p' @size='300' class='p'>{{t
'resources.auth-method.description'
}}</Hds::Text::Body>
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />