Skip to content

Commit 2e4ceb5

Browse files
committed
Fixup special init charter/recharter pages to make the process more self-explanatory.
- Legacy-Id: 4403
1 parent 79b4c08 commit 2e4ceb5

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

ietf/templates/wgcharter/change_state.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
{% block content %}
2121
<h1>{{ title }}</h1>
2222

23-
{% if "Change state" in title %}<p class="helptext">For help on the states, see the <a href="{% url help_charter_states %}">state table</a>.</p>{% endif %}
23+
{% if not option %}
24+
<p class="helptext">For help on the states, see the <a href="{% url help_charter_states %}">state table</a>.</p>
25+
{% endif %}
2426

2527
<form class="change-state" action="" method="post">
2628
<table>
@@ -60,9 +62,10 @@ <h1>{{ title }}</h1>
6062
{% endif %}
6163
<tr>
6264
<td colspan="2" class="actions">
63-
{% if option %}
64-
<input type="submit" value="Submit"/>
65-
{% else %}
65+
{% if option == "initcharter" or option == "recharter" %}
66+
<input type="submit" value="Save and continue to submission of charter text"/>
67+
{% endif %}
68+
{% if not option or option == "abandon" %}
6669
<a href="{% url doc_view name=doc.name %}">Back</a>
6770
<input type="submit" value="Save and (possibly) notify Secretariat"/>
6871
{% endif %}

ietf/wgcharter/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ def change_state(request, name, option=None):
141141
init = dict()
142142
elif option == "initcharter":
143143
hide = ['charter_state']
144-
init = dict(initial_time=1, message="%s has initiated chartering of the proposed WG %s (%s)" % (login.plain_name(), wg.name, wg.acronym))
144+
init = dict(initial_time=1, message="%s has initiated chartering of the proposed WG %s (%s)." % (login.plain_name(), wg.name, wg.acronym))
145145
elif option == "abandon":
146146
hide = ['initial_time', 'charter_state']
147-
init = dict(message="%s has abandoned the chartering effort on the WG %s (%s)" % (login.plain_name(), wg.name, wg.acronym))
147+
init = dict(message="%s has abandoned the chartering effort on the WG %s (%s)." % (login.plain_name(), wg.name, wg.acronym))
148148
else:
149149
hide = ['initial_time']
150150
s = charter.get_state()

0 commit comments

Comments
 (0)