{% load i18n %}
<nav class="filter">
  <h2><a href="#" class="toggle toggle-nav"><i class="icon-chevron-down"></i>{% trans "Layer Type" %}</a></h2>
  <ul class="nav" id="types">
    <li><a data-class="raster" {% if facets.raster > 0 %} class="active trigger-query" {% else %} class="trigger-query"{% endif %}>{% trans "Rasters" %} <span class="badge sub-type pull-right">{{ facets.raster }}</span></a></li>
    <li><a data-class="vector" {% if facets.vector > 0 %} class="active trigger-query" {% else %} class="trigger-query"{% endif %}>{% trans "Vectors" %} <span class="badge sub-type pull-right">{{ facets.vector }}</span></a></li>
  </ul>
</nav>
