Warn when putting a charter in an unusual state onto a telechat agenda
- Legacy-Id: 4842
This commit is contained in:
parent
232652b8f9
commit
2ec91d3835
|
@ -8,12 +8,25 @@ Set Telechat Date for {{ doc.name }}
|
|||
form.telechat-date td.actions {
|
||||
padding-top: 1em;
|
||||
}
|
||||
.warning {
|
||||
font-size: 200%;
|
||||
color: red;
|
||||
padding-left: 2px;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% load ietf_filters %}
|
||||
<h1>Set Telechat Date for {{ doc.name }}</h1>
|
||||
|
||||
{% if not doc.get_state_slug in okstates %}
|
||||
<div class="warning">
|
||||
This charter is currently in the {{ doc.get_state.name }} state.
|
||||
<br/>
|
||||
Are you sure you want to put it on a telechat agenda?
|
||||
</div>
|
||||
{% endif %}
|
||||
<form class="telechat-date" action="" method="POST">
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
|
|
|
@ -222,7 +222,9 @@ def telechat_date(request, name):
|
|||
dict(doc=doc,
|
||||
form=form,
|
||||
user=request.user,
|
||||
login=login),
|
||||
login=login,
|
||||
okstates=['intrev','extrev','iesgrev'],
|
||||
),
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
class NotifyForm(forms.Form):
|
||||
|
|
Loading…
Reference in a new issue