{% load i18n %}
{% load l10n %}

{% url network.host_list as u %}
{% include "network/menu-item.html" with href=u text="Hosts" %}
{% url network.vlan_list as u %}
{% include "network/menu-item.html" with href=u text="Vlans" %}
{% url network.domain_list as u %}
{% include "network/menu-item.html" with href=u text="Domains" %}
{% url network.record_list as u %}
{% include "network/menu-item.html" with href=u text="Records" %}
{% url network.blacklist_list as u %}
{% include "network/menu-item.html" with href=u text="Blacklists" %}
{% url network.rule_list as u %}
{% include "network/menu-item.html" with href=u text="Rules" %}

<li class="dropdown{% if "groups" in request.path %} active{% endif %}">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Groups <b class="caret"></b></a>
    <ul class="dropdown-menu">   
        {% url network.vlan_group_list as u %}
        {% include "network/menu-item.html" with href=u text="Vlan groups" %}

        {% url network.group_list as u %}
        {% include "network/menu-item.html" with href=u text="Host groups" %}
    </ul>
</li>

{# <li><a href="/vlans/">{% trans "Vlans" %}</a></li> #}
{# <li><a href="/vlangroups/">{% trans "Vlan groups" %}</a></li> #}
{# <li><a href="/hostgroups/">{% trans "Host groups" %}</a></li> #}
{# <li><a href="/hosts/">{% trans "Hosts" %}</a></li> #}
{# <li><a href="/firewalls/">{% trans "Firewalls" %}</a></li> #}
{# <li><a href="/domains/">{% trans "Domains" %}</a></li> #}
{# <li><a href="/records/">{% trans "DNS records" %}</a></li> #}
{# <li><a href="/blacklists/">{% trans "Blacklists" %}</a></li> #}
