Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

[FEATURE] Breadcrumbs include a home-button #846

Closed
krasej opened this issue Jun 5, 2020 · 0 comments · Fixed by #905
Closed

[FEATURE] Breadcrumbs include a home-button #846

krasej opened this issue Jun 5, 2020 · 0 comments · Fixed by #905
Assignees
Milestone

Comments

@krasej
Copy link

krasej commented Jun 5, 2020

Description

Breadcrumbs include a home button on pages that are not the main page.

Acceptance criteria

  • Home Button is at the first position
  • Home button is hidden on Start page but visible anywhere else
  • Text editable through i18n

Below my implementation without i18n, might be useful.

          const breadcrumbs = Object.values(getBreadcrumbsObject.value).map((breadcrumb) => ({
            text: breadcrumb.name,
            link: vm.$i18n.path(breadcrumb.path)
          }))
          if (breadcrumbs.length > 0) {
            breadcrumbs.unshift({
              text: 'Home',
              link: vm.$i18n.path('/')
            })
          }
        return breadcrumbs
        }
      )
@krasej krasej changed the title [FEATURE] [FEATURE] Breadcrumbs include a home-button Jun 5, 2020
@patzick patzick added this to the v0.2.0 milestone Jun 7, 2020
@luklus luklus self-assigned this Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants