
<dl>
    <dt>
        <span class="span-left">&nbsp;</span>
        <span class="span-center">IPBX</span>
        <span class="span-right">&nbsp;</span>
    </dt>
    <dd>
        {% if current_user.is_authenticated %}
        {% for item in current_menu.children recursive %}
        <dl>
           <dt><a href="{{ item.url }}">{{ item.text }}</a></dt>
            {% if item.children %}
                {% for i in item.children %}
                <dd class="{% if i.active %}mn-active{% endif %}">
                    <a href="{{ i.url }}">{{ i.text }}</a>
                </dd>
                {% endfor %}
           {% endif %}
        </dl>
        {% endfor %}
        {% endif %}
    </dd>
    <dd class="b-nosize">
        <span class="span-left">&nbsp;</span>
        <span class="span-center">&nbsp;</span>
        <span class="span-right">&nbsp;</span>
    </dd>
</dl>
