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

Moderation fix

parent b3c8e65e
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</dd> </dd>
<dt>Moderation</dt> <dt>Moderation</dt>
<dd> <dd>
{{ object.moderation_enabled }} {{ object.moderation_enabled|yesno:"Yes, No" }}
</dd> </dd>
</dl> </dl>
</div> </div>
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
{% if object.is_owner %} {% if object.is_owner %}
<div class="full-dotted"> <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> <h2>Enroll more members</h2>
{% with addmembers_form as form %} {% with addmembers_form as form %}
{% include "im/form_render.html" %} {% include "im/form_render.html" %}
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
<dl class="alt-style"> <dl class="alt-style">
<dt>Homepage Url</dt> <dt>Homepage Url</dt>
<dd>{{ data.homepage }}&nbsp;</dd> <dd>{{ data.homepage }}&nbsp;</dd>
<dt>Modaration</dt>
<dd>{{ data.moderation_enabled|yesno:"Yes, No" }}</dd>
</dl> </dl>
</div> </div>
<div class="full-dotted"> <div class="full-dotted">
...@@ -34,8 +36,6 @@ ...@@ -34,8 +36,6 @@
<dd>{{ data.issue_date|date:"d/m/Y"}}&nbsp;</dd> <dd>{{ data.issue_date|date:"d/m/Y"}}&nbsp;</dd>
<dt>Expiration Date</dt> <dt>Expiration Date</dt>
<dd>{{ data.expiration_date|date:"d/m/Y"}}&nbsp;</dd> <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> <dt>Max members per group</dt>
<dd>{% if data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd> <dd>{% if data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd>
</dl> </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