Don't show edit button for snapshots.

- Legacy-Id: 4359
This commit is contained in:
Ole Laursen 2012-05-03 15:40:28 +00:00
parent 7c8d018ad4
commit 1e0cb1f105

View file

@ -101,7 +101,7 @@
<h3>Charter {{ doc.canonical_name }}-{{ doc.rev }}
{% if user|has_role:"Area Director,Secretariat" and chartering and group.state_id != "conclude" %}
{% if not snapshot and user|has_role:"Area Director,Secretariat" and chartering and group.state_id != "conclude" %}
<a class="edit" href="{% url charter_submit name=doc.name %}">Change charter text</a>
{% endif %}
</h3>