forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlastcalltext.html
More file actions
46 lines (46 loc) · 1.78 KB
/
lastcalltext.html
File metadata and controls
46 lines (46 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% load ietf_filters %}
{% block title %}Last call text for {{ doc }}{% endblock %}
{% block content %}
{% origin %}
<h1 class="mb-3">
Last call text
<br>
<small class="text-muted">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}
{% bootstrap_form last_call_form %}
{% if can_request_last_call and need_intended_status %}
<div class="form-text">
You need to select intended status of {{ need_intended_status }} and regenerate last call text to request last call.
</div>
{% endif %}
<button type="submit" class="btn btn-primary" name="save_last_call_text">Save text</button>
{% if can_request_last_call and not need_intended_status %}
<button type="submit"
class="btn btn-primary"
name="send_last_call_request"
value="Save and Request Last Call">
Save text & request last call
</button>
{% endif %}
<button type="submit"
class="btn btn-warning"
name="regenerate_last_call_text"
value="Regenerate Last Call Text">
Regenerate text
</button>
{% if user|has_role:"Secretariat" and can_make_last_call %}
<a class="btn btn-primary"
href="{% url 'ietf.doc.views_ballot.make_last_call' name=doc.name %}">Issue last call</a>
{% endif %}
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">
Back
</a>
</form>
{% endblock %}