{% load i18n %}
{% load tags %}

<ul style="line-height: 180%">
{% for group in groups %}
    {% if group.name != 'Anonymous' %}
    <li class="{% if group.active %}activeline{% endif %}">
        <a href="{% url projector_activate_slide group.sid %}" class="activate_link {% if group.active %}active{% endif %}">
            <div></div>
        </a>
        <a href="{% model_url group 'delete' %}" title="{% trans 'Delete' %}" class="icon delete right">
            <span></span>
        </a>
        <a href="{% model_url group 'edit' %}" title="{% trans 'Edit' %}" class="icon edit right">
            <span></span>
        </a>
        <a href="{% url projctor_preview_slide group.sid %}" title="{% trans 'Preview' %}" class="icon preview right">
            <span></span>
        </a>
        <a href="{% model_url group 'view' %}">{{ group }}</a>
    </li>
    {% endif %}
{% empty %}
    <li>{% trans 'No groups available.' %}</li>
{% endfor %}
</ul>
