{% if user.gestalt.membership_set.exists %}
    <li class="dropdown-header">Meine Gruppen</li>
{% endif %}

{% for membership in user.gestalt.membership_set.all %}
    <li>
        <a href="{{ membership.group.get_absolute_url }}">{{ membership.group }}</a>
    </li>
{% empty %}
    <li>
        <a href="{% url 'group-index' %}">Gruppe finden</a>
    </li>
{% endfor %}

<li class="dropdown-header">
    {% if user.gestalt.membership_set.exists %}Meine{% endif %} Gruppen
</li>

{% for membership in user.gestalt.membership_set.all %}
    <li>
        <a href="{{ membership.group.get_absolute_url }}">{{ membership.group }}</a>
    </li>
{% empty %}
    <li>
        <a href="{% url 'group-index' %}">Gruppe finden</a>
    </li>
{% endfor %}

Fix group menu groups header
Fix group menu groups header
