Don't show edit button for snapshots.
- Legacy-Id: 4359
This commit is contained in:
parent
7c8d018ad4
commit
1e0cb1f105
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue