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-45.9.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.8.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.7.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.6.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.6.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.5.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.4.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.4.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.3.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.2.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.1.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-45.0.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.11.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.10.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.9.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.9.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.8.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.7.1 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.7.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
govuk_publishing_components-44.6.0 app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb