#175: Adjusted group slide; analog to user slide.

This commit is contained in:
Emanuel Schuetze 2012-11-21 21:45:19 +01:00
parent 2acfd02144
commit ec1a15a835

View File

@ -6,20 +6,19 @@
{% block title %}{{ block.super }} - {{ title }}{% endblock %} {% block title %}{{ block.super }} - {{ title }}{% endblock %}
{% block content %} {% block content %}
<div class="item_fullscreen">{{ group }}
<h1>{{ group }}</h1> <span>
<p>{{ group.description }}</p> <p><i>{{ group.user_set.all.count }} {% trans "participants" %}:</i></p>
<p>
<h2>{% trans "Members" %}</h2> {% if group.user_set.all %}
{{ group.user_set.all|join:", " }}
{% endif %}
</p>
</span>
</div>
{% endblock %} {% endblock %}
{% block scrollcontent %} {% block scrollcontent %}
{% for member in group.user_set.all %}
<p>{{ member }}</p>
{% empty %}
<p>{% trans "No members available." %}</p>
{% endfor %}
{% endblock %} {% endblock %}