Files
threshold-ui/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
T
Cameron Perera a268a7b75e refactor: 💡 update all header tags to use HDS::Text::Display (#2765)
* refactor: 💡 update all header tags to use HDS::Text::Display

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

* refactor: 💡 update minor css changes for page header

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

* refactor: 💡 remove duplicate title and lint hbs files

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16863
2025-04-14 21:05:37 -05:00

16 lines
508 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' @iconSize='large' />
</Hds::Text::Display>
<p>{{t 'resources.auth-method.description'}}</p>
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />