diff --git a/aula/templates/groups.html b/aula/templates/groups.html index cb74dd5..2f27bfe 100644 --- a/aula/templates/groups.html +++ b/aula/templates/groups.html @@ -1,6 +1,14 @@ {% extends "layout.html" %} {% block content %} - {% for group in groups %} -

{{ group.name }}

- {% endfor %} + {% if groups|length == 0%} +

Ikke medlem af nogle grupper

+ {% else %} + {% for group in groups %} +
+
+ {{ group.name }} +
+
+ {% endfor %} + {% endif %} {% endblock content %}