{% load i18n static %}
{% if request.user.is_authenticated and request.organization %}
    <nav class="main-navbar">
        <div class="container">
            <ul>
                <li class="menu-item">
                    <a href="{{ request.organization.urls.base }}" class='menu-link'>
                        <span>
                            <i class="bi bi-grid-fill"></i>
                        {% translate 'Dashboard' %}</span>
                    </a>
                </li>
                <li class="menu-item">
                    <a href="{{ request.organization.urls.details }}" class='menu-link'>
                        <span>
                            <i class="bi bi-building-gear"></i>
                        {% translate 'Organization' %}</span>
                    </a>
                </li>
                <li class="menu-item">
                    <a href="{{ request.organization.urls.services }}" class='menu-link'>
                        <span>
                            <i class="bi bi-card-list"></i>
                        {% translate 'Services' %}</span>
                    </a>
                </li>
                <li class="menu-item">
                    <a href="{{ request.organization.urls.instances }}" class='menu-link'>
                        <span>
                            <i class="bi bi-server"></i>
                        {% translate 'Instances' %}</span>
                    </span>
                </a>
            </li>
            <li class="menu-item">
                <a href="{{ request.organization.urls.support }}" class='menu-link'>
                    <span>
                        <i class="bi bi-question-circle"></i>
                    {% translate "Support" %}</span>
                </a>
            </li>
        </ul>
    </div>
</nav>
{% endif %}
<script src="{% static 'js/sidebar.js' %}" defer></script>
