Revision 463a973c
b/snf-astakos-app/astakos/im/forms.py | ||
---|---|---|
756 | 756 |
class AstakosGroupUpdateForm(forms.ModelForm): |
757 | 757 |
class Meta: |
758 | 758 |
model = AstakosGroup |
759 |
fields = ( 'desc','homepage') |
|
759 |
fields = ( 'desc','homepage', 'moderation_enabled')
|
|
760 | 760 |
|
761 | 761 |
|
762 | 762 |
class AddGroupMembersForm(forms.Form): |
b/snf-astakos-app/astakos/im/templates/im/astakosgroup_detail.html | ||
---|---|---|
39 | 39 |
Not set yet |
40 | 40 |
{% endif %} |
41 | 41 |
</dd> |
42 |
<dt>Moderation</dt> |
|
43 |
<dd> |
|
44 |
{{ object.moderation_enabled }} |
|
45 |
</dd> |
|
42 | 46 |
</dl> |
43 | 47 |
</div> |
44 | 48 |
<div class="editable" style="display:none;"> |
... | ... | |
64 | 68 |
<dd>{{object.issue_date|date:"d/m/Y"}} </dd> |
65 | 69 |
<dt>Expiration Date</dt> |
66 | 70 |
<dd>{{object.expiration_date|date:"d/m/Y"}} </dd> |
67 |
<dt>Modaration</dt> |
|
71 |
<!-- |
|
72 |
<dt>Moderation</dt> |
|
68 | 73 |
<dd>{% if object.moderation_enabled%}Yes{% else %}No{% endif %}</dd> |
74 |
--> |
|
69 | 75 |
<dt>Activated</dt> |
70 | 76 |
<dd>{% if object.is_enabled %}Yes{% else %}No{% endif %}</dd> |
71 | 77 |
<dt>Owner</dt> |
Also available in: Unified diff