Sha256: c6ba42e6ea5f6e879c8202498a95a9de773b673ff789d2300f066545ddeef9e8

Contents?: true

Size: 1.85 KB

Versions: 144

Compression:

Stored size: 1.85 KB

Contents

<%
  active ||= nil
%>

<nav id="proposition-menu" class="no-proposition-name gem-c-government-navigation">
  <ul id="proposition-links">
    <li>
      <a class="<%= 'active' if active == 'departments' %>" href="/government/organisations">
        <%= t("govuk_component.government_navigation.departments", default: "Departments") %>
      </a>
    </li>
    <li>
      <a class="<%= 'active' if active == 'worldwide' %>" href="/government/world">
        <%= t("govuk_component.government_navigation.worldwide", default: "Worldwide") %>
      </a>
    </li>
    <li>
      <a class="<%= 'active' if active == 'how-government-works' %>" href="/government/how-government-works">
        <%= t("govuk_component.government_navigation.how-government-works", default: "How government works") %>
      </a>
    </li>
    <li>
      <a class="<%= 'active' if active == 'get-involved' %>" href="/government/get-involved">
        <%= t("govuk_component.government_navigation.get-involved", default: "Get involved") %>
      </a>
    </li>
    <li class="clear-child">
      <a class="<%= 'active' if active == 'consultations' %>" href="<%= CGI::escapeHTML('/search/policy-papers-and-consultations?content_store_document_type[]=open_consultations&content_store_document_type[]=closed_consultations') %>">
        <%= t("govuk_component.government_navigation.consultations", default: "Consultations") %>
      </a>
    </li>
    <li>
      <a class="<%= 'active' if active == 'statistics' %>" href="/search/research-and-statistics">
        <%= t("govuk_component.government_navigation.statistics", default: "Statistics") %>
      </a>
    </li>
    <li>
      <a class="<%= 'active' if active == 'announcements' %>" href="/news-and-communications">
        <%= t("govuk_component.government_navigation.news_and_communications", default: "News and communications") %>
      </a>
    </li>
  </ul>
</nav>

Version data entries

144 entries across 144 versions & 1 rubygems

Version Path
govuk_publishing_components-21.66.3 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.66.2 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.66.1 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.66.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.65.1 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.65.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.64.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.63.3 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.63.2 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.63.1 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.63.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.62.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.61.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.60.3 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.60.2 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.60.1 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.60.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.59.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.58.0 app/views/govuk_publishing_components/components/_government_navigation.html.erb
govuk_publishing_components-21.57.1 app/views/govuk_publishing_components/components/_government_navigation.html.erb