Replace Rose::Footer with Hds::AppFooter component (HDS-2805) (#1994)
* HDS-2805 Replace Rose::Footer with Hds::AppFooter
This commit is contained in:
1 parent
a7bf9a1071
commit
e96171cab0
5 files changed
+38
-31
No files matched your search
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import Controller from '@ember/controller';
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
export default class AccountChangePasswordController extends Controller {
|
||||
// =services
|
||||
|
||||
@service session;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Copyright (c) HashiCorp, Inc.
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
||||
import Controller from '@ember/controller';
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
export default class ScopesIndexController extends Controller {
|
||||
// =services
|
||||
|
||||
@service session;
|
||||
}
|
||||
@@ -28,15 +28,9 @@
|
||||
</main>
|
||||
</sidebarLayout.body>
|
||||
<sidebarLayout.footer>
|
||||
<Rose::Footer as |footer|>
|
||||
<footer.text>{{app-name}}</footer.text>
|
||||
<footer.nav as |nav|>
|
||||
<nav.link @href={{(doc-url)}}>
|
||||
{{t 'titles.documentation'}}
|
||||
</nav.link>
|
||||
</footer.nav>
|
||||
<footer.brand @logo='logo-company' @text={{(company-name)}} />
|
||||
<footer.text>{{company-copyright}}</footer.text>
|
||||
</Rose::Footer>
|
||||
<Hds::AppFooter @theme={{this.session.data.theme}} as |AF|>
|
||||
<AF.Link @href={{(doc-url)}}>{{t 'titles.documentation'}}</AF.Link>
|
||||
<AF.LegalLinks />
|
||||
</Hds::AppFooter>
|
||||
</sidebarLayout.footer>
|
||||
</Rose::Layout::Sidebar>
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
{{#unless @model}}
|
||||
<Rose::Layout::Sidebar as |sidebarLayout|>
|
||||
|
||||
<sidebarLayout.body>
|
||||
<main>
|
||||
<Rose::Layout::Centered>
|
||||
@@ -19,16 +18,10 @@
|
||||
</main>
|
||||
</sidebarLayout.body>
|
||||
<sidebarLayout.footer>
|
||||
<Rose::Footer as |footer|>
|
||||
<footer.text>{{company-copyright}}</footer.text>
|
||||
<footer.text>{{app-name}}</footer.text>
|
||||
<footer.nav as |nav|>
|
||||
<nav.link @href={{(doc-url)}}>
|
||||
{{t 'titles.documentation'}}
|
||||
</nav.link>
|
||||
</footer.nav>
|
||||
<footer.brand @logo='logo-company' @text={{(company-name)}} />
|
||||
</Rose::Footer>
|
||||
<Hds::AppFooter @theme={{this.session.data.theme}} as |AF|>
|
||||
<AF.Link @href={{(doc-url)}}>{{t 'titles.documentation'}}</AF.Link>
|
||||
<AF.LegalLinks />
|
||||
</Hds::AppFooter>
|
||||
</sidebarLayout.footer>
|
||||
</Rose::Layout::Sidebar>
|
||||
{{/unless}}
|
||||
@@ -207,15 +207,9 @@
|
||||
</main>
|
||||
</sidebarLayout.body>
|
||||
<sidebarLayout.footer>
|
||||
<Rose::Footer as |footer|>
|
||||
<footer.text>{{app-name}}</footer.text>
|
||||
<footer.nav as |nav|>
|
||||
<nav.link @href={{(doc-url)}}>
|
||||
{{t 'titles.documentation'}}
|
||||
</nav.link>
|
||||
</footer.nav>
|
||||
<footer.brand @logo='logo-company' @text={{(company-name)}} />
|
||||
<footer.text>{{company-copyright}}</footer.text>
|
||||
</Rose::Footer>
|
||||
<Hds::AppFooter @theme={{this.session.data.theme}} as |AF|>
|
||||
<AF.Link @href={{(doc-url)}}>{{t 'titles.documentation'}}</AF.Link>
|
||||
<AF.LegalLinks />
|
||||
</Hds::AppFooter>
|
||||
</sidebarLayout.footer>
|
||||
</Rose::Layout::Sidebar>
|
||||
Reference in new issue
Block a user