Files
threshold-ui/ui/admin/app/components/auth-methods/auth-method/header/index.hbs
T
Priya Patel 93a57f26ee Replace Rose::Icon with HDS::Icon (#2762)
* refactor: 💡 rose icons with hds icons

* fix: 🐛 remove child selector for h2

* fix: 🐛 removed unwanted changes

* fix: 🐛 remove unncessary change

* refactor: 💡 rose icon for rose components

* fix: 🐛 default size for doc-link, updated tests, removed TODO

* fix: 🐛 update doc-link test
2025-04-25 13:18:23 -07:00

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