parent
a94a87f336
commit
1dfd0cbf47
|
@ -103,18 +103,18 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</dl>
|
||||
{% with meeting_status.slug as status_slug %}
|
||||
{% if can_approve and status_slug == 'apprw' %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{% endif %}
|
||||
{% with meeting_status.slug as status_slug %}
|
||||
{% if can_edit %}
|
||||
<a class="btn btn-primary"
|
||||
href="{% url 'ietf.meeting.views.interim_request_edit' number=meeting.number %}">Edit</a>
|
||||
{% endif %}
|
||||
{% if can_approve and status_slug == 'apprw' %}
|
||||
<button class="btn btn-primary" type="submit" name="approve">Approve</button>
|
||||
<button class="btn btn-primary" type="submit" name="disapprove">Disapprove</button>
|
||||
<button class="btn btn-primary" type="submit" name="approve" value="approve">Approve</button>
|
||||
<button class="btn btn-primary" type="submit" name="disapprove" value="disapprove">Disapprove</button>
|
||||
{% endif %}
|
||||
{% if user|has_role:"Secretariat" and status_slug == 'scheda' %}
|
||||
<a class="btn btn-primary"
|
||||
|
@ -149,8 +149,8 @@
|
|||
<a class="btn btn-secondary float-end"
|
||||
href="{% url 'ietf.meeting.views.upcoming' %}">Back</a>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% if can_approve and status_slug == 'apprw' %}</form>{% endif %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
{% block js %}
|
||||
<script src="{% static 'ietf/js/select2.js' %}"></script>
|
||||
|
|
Loading…
Reference in a new issue