* refactor: 💡 initial changes for updating breadcrumbs to use hds * refactor: 💡 add breadcrumbs to all paths * refactor: 💡 add more hds breadcrumbs to remaining paths * refactor: 💡 remove BreadCrumbs from templates * refactor: 💡 remove breadcrumb only controller files * test: 💍 remove unnused test files & add missing tests * test: 💍 update tests * test: 💍 add missing scope in test * test: 💍 fix test * refactor: 💡 remove icons * refactor: 💡 remove addon and use service instead * docs: ✏️ add comment to breadcrumb service * test: 💍 update service unit test * docs: ✏️ add comments to breadcrumb components * Update ui/admin/app/components/breadcrumbs/container/index.js Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com> --------- Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
26 lines
581 B
Handlebars
26 lines
581 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
}}
|
|
|
|
{{#if @model.currentScope.isGlobal}}
|
|
{{page-title (t 'resources.org.title_plural')}}
|
|
<Breadcrumbs::Item
|
|
@text={{t 'resources.org.title_plural'}}
|
|
@icon='org'
|
|
@route='scopes.scope.scopes'
|
|
@model='global'
|
|
/>
|
|
{{/if}}
|
|
|
|
{{#if @model.currentScope.isOrg}}
|
|
{{page-title (t 'resources.project.title_plural')}}
|
|
<Breadcrumbs::Item
|
|
@text={{t 'resources.project.title_plural'}}
|
|
@icon='grid'
|
|
@route='scopes.scope.scopes'
|
|
@model={{@model.currentScope.id}}
|
|
/>
|
|
{{/if}}
|
|
|
|
{{outlet}} |