{# Tabbed navigation for the settings reference pages. Highlights the active
   config section based on the resolver name. #}
{% load i18n %}
<ul class="nav nav-pills mb-4">
  <li class="nav-item">
    <a
      class="nav-link{% if request.resolver_match.url_name == 'manual_settings' or request.resolver_match.url_name == 'manual_settings_bb' %} active{% endif %}"
      href="{% url 'aa_bb:manual_settings' %}"
    >{% translate "BigBrotherConfig" %}</a>
  </li>
  <li class="nav-item">
    <a
      class="nav-link{% if request.resolver_match.url_name == 'manual_settings_paps' %} active{% endif %}"
      href="{% url 'aa_bb:manual_settings_paps' %}"
    >{% translate "PapsConfig" %}</a>
  </li>
  <li class="nav-item">
    <a
      class="nav-link{% if request.resolver_match.url_name == 'manual_settings_tickets' %} active{% endif %}"
      href="{% url 'aa_bb:manual_settings_tickets' %}"
    >{% translate "TicketToolConfig" %}</a>
  </li>
</ul>
