Add edit button for Secreatriat on concluded groups. Fixes #2781. Commit ready for merge.
- Legacy-Id: 17031
This commit is contained in:
parent
020d4a393c
commit
da2733610c
|
@ -221,9 +221,21 @@
|
|||
{% endif %}
|
||||
</table>
|
||||
|
||||
{% if closing_note and closing_note.desc != "(Closing note deleted)" %}
|
||||
<h2>Closing note for {{ group.type.desc.title }}</h2>
|
||||
{{ closing_note.desc }}
|
||||
{% if requested_close or group.state_id == "conclude" %}
|
||||
{% if user|has_role:"Secretariat" %}
|
||||
<h2>Closing note for {{ group.type.desc.title }}</h2>
|
||||
<a class="btn btn-default btn-xs" href="{% url 'ietf.group.views.edit' acronym=group.acronym field='closing_note' %}">Edit</a><br />
|
||||
{% if closing_note and closing_note.desc != "(Closing note deleted)" %}
|
||||
{{ closing_note.desc }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
||||
{% if closing_note and closing_note.desc != "(Closing note deleted)" %}
|
||||
<h2>Closing note for {{ group.type.desc.title }}</h2>
|
||||
{{ closing_note.desc }}
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if group.features.has_chartering_process %}
|
||||
|
|
Loading…
Reference in a new issue