Don't display group.comments on the charter document page. Apparently

group.comments have been used by the Secretariat in the past for
chartering comments, but it's not possible to edit the field and the
whole thing doesn't make sense from a modelling perspective - a
feature like this should probably use the note field on the charter.
Fixes issue #1048.
 - Legacy-Id: 5798
This commit is contained in:
Ole Laursen 2013-06-21 14:55:53 +00:00
parent fce33cd034
commit 3c58e4743a

View file

@ -69,14 +69,6 @@
</td>
</tr>
{% if chartering and group.comments %}
<tr>
{% if chartering == "initial" %}<td>Reason for chartering:</td>{% endif %}
{% if chartering == "rechartering" %}<td>Reason for rechartering:</td>{% endif %}
<td>{{ group.comments }}</td>
</tr>
{% endif %}
<tr>
<td>Responsible AD:</td>
<td><a {% if request.user|has_role:"Area Director,Secretariat" %}class="editlink" href="{% url charter_edit_ad name=doc.name %}"{% endif %}>{{ doc.ad|default:"none" }}</a> </td>