Commit 5099a887 authored by Olga Brani's avatar Olga Brani
Browse files

Moderation fix

parent b3c8e65e
......@@ -41,7 +41,7 @@
</dd>
<dt>Moderation</dt>
<dd>
{{ object.moderation_enabled }}
{{ object.moderation_enabled|yesno:"Yes, No" }}
</dd>
</dl>
</div>
......@@ -194,7 +194,7 @@
{% if object.is_owner %}
<div class="full-dotted">
<form action="{% url astakos.im.views.group_detail object.id %}" method="post" class="withlabels">{% csrf_token %}
<form action="{% url astakos.im.views.group_detail object.id %}#members-table" method="post" class="withlabels" >{% csrf_token %}
<h2>Enroll more members</h2>
{% with addmembers_form as form %}
{% include "im/form_render.html" %}
......
......@@ -21,6 +21,8 @@
<dl class="alt-style">
<dt>Homepage Url</dt>
<dd>{{ data.homepage }}&nbsp;</dd>
<dt>Modaration</dt>
<dd>{{ data.moderation_enabled|yesno:"Yes, No" }}</dd>
</dl>
</div>
<div class="full-dotted">
......@@ -34,8 +36,6 @@
<dd>{{ data.issue_date|date:"d/m/Y"}}&nbsp;</dd>
<dt>Expiration Date</dt>
<dd>{{ data.expiration_date|date:"d/m/Y"}}&nbsp;</dd>
<dt>Modaration</dt>
<dd>{{ data.moderation_enabled|yesno:"Yes, No" }}</dd>
<dt>Max members per group</dt>
<dd>{% if data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd>
</dl>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment