Sha256: ff7fa1921ee2737e75c9cd8b650c71cc573fb722d88b27349954b5616a260c86

Contents?: true

Size: 1.19 KB

Versions: 234

Compression:

Stored size: 1.19 KB

Contents

<% page_is ||= nil %>

<nav aria-label="Account management" class="gem-c-layout-for-public-account-nav">
  <ul class="gem-c-layout-for-public-account-menu">
    <li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "your-account" %>">
      <%= link_to(
        t("components.layout_for_public.account_layout.navigation.menu_bar.account.link_text"),
        GovukPersonalisation::Urls.your_account,
        class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
        'aria-current': page_is == "your-account" ? "page" : nil,
      ) %>
    </li>
    <li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "manage" %>">
      <%= link_to(
        t("components.layout_for_public.account_layout.navigation.menu_bar.manage.link_text"),
        GovukPersonalisation::Urls.manage,
        class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
        'aria-current': page_is == "manage" ? "page" : nil,
        data: { module: "explicit-cross-domain-links" },
      ) %>
    </li>
  </ul>
</nav>

Version data entries

234 entries across 234 versions & 1 rubygems

Version Path
govuk_publishing_components-41.1.2 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-41.1.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-41.1.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-41.0.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-40.1.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-40.0.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.2.5 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.2.4 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.2.3 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.2.2 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.2.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.2.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.1.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-39.0.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-38.4.2 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-38.1.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-38.1.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-38.0.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-38.0.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-37.10.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb