{% load horizon i18n %}

<div class="sidebar-wrapper">
  <ul id="sidebar-drawer" class="nav nav-pills nav-stacked">
    {% for dashboard, panel_info in components %}
      {% if user|has_permissions:dashboard %}
        <li class="openstack-dashboard">
          <a data-toggle="collapse"
             data-parent="#sidebar-drawer"
             data-target="#sidebar-drawer-{{ dashboard.slug }}"
             href="javascript:;"
             {% if current.slug != dashboard.slug %}
               class="collapse