{% load base_tags %}
{% load perm_tags %}
{% load i18n %}


<ul id="module-tabs" class="tabs">
    {% if user.is_authenticated %}
    <li class="dropdown" data-dropdown="dropdown">
        <a href="#" class="dropdown-toggle">{% trans "Tendenci" %}</a>
        <ul class="dropdown-menu">
            <a href="{% url dashboard %}" title="Tendenci Home Page">{% trans "Dashboard" %}</a>
            <li><a href="{% url profile.index %}">{% trans "My Profile" %}</a></li>
            <li><a href="{% url auth_logout %}">{% trans "Log Off" %}</a></li>
        </ul>
    </li>
    {% endif %}
    <li class="dropdown active" data-dropdown="dropdown">
        <a href="#" class="dropdown-toggle">{% firstof MODULE_CONTRIBUTIONS_LABEL 'Contributions' %}</a>
        <div>
        <ul class="dropdown-menu">
            <li><a href="{% url contribution.search %}">{% trans "All Contributions" %}</a></li>
            <li><a href="{% url profile.index %}#userview-contributions">{% trans "My Contributions" %}</a></li>
        </ul>
        </div>
    </li>
    {% if MODULE_USERS_ENABLED %}
    <li><a href="{% url profile.search %}">{% firstof MODULE_USERS_LABEL 'Users' %}</a></li>
    {% endif %}
</ul>
