Skip to content

Commit 725ff12

Browse files
committed
Clean up /doc/ page for charter slightly.
- Legacy-Id: 4264
1 parent 7e501c9 commit 725ff12

2 files changed

Lines changed: 15 additions & 18 deletions

File tree

ietf/templates/idrfc/document_charter.html

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@
4242

4343
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
4444
- <a href="{% url wg_change_state name=doc.group.acronym %}">Change state</a>
45+
46+
{% if chartering %}
47+
- <a href="{% url wg_startstop_process name=doc.group.acronym option='abandon' %}">Abandon effort</a>
48+
{% else %}
49+
- <a href="{% url wg_startstop_process name=doc.group.acronym option='recharter' %}">Recharter</a>
50+
{% endif %}
51+
4552
{% endif %}
4653
</td>
4754
</tr>
@@ -74,29 +81,17 @@
7481
</table>
7582

7683
<div class="actions">
77-
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
78-
79-
{% if chartering %}
80-
81-
{% if doc.group.state_id != "conclude" %}
82-
<a href="{% url wg_submit name=doc.group.acronym %}">Edit charter text</a>
83-
{% endif %}
84-
85-
<a href="{% url wg_startstop_process name=doc.group.acronym option='abandon' %}">Abandon effort</a>
86-
87-
{% else %}
88-
<a href="{% url wg_startstop_process name=doc.group.acronym option='recharter' %}">Recharter</a>
89-
{% endif %}
90-
91-
{% endif %}
92-
93-
<a href="/feed/wgcomments/{{ doc.group.acronym }}/">Atom feed</a>
84+
<a href="/feed/wgchanges/{{ doc.group.acronym }}/">Atom feed</a>
9485
</div>
9586
</div>
9687

9788
<p>Other versions: <a href="{{ txt_url }}">plain text</a></p>
9889

99-
<h3>Charter {{ doc.name }}-{{ doc.rev }}</h3>
90+
<h3>Charter {{ doc.name }}-{{ doc.rev }}
91+
{% if user|has_role:"Area Director,Secretariat" and chartering and doc.group.state_id != "conclude" %}
92+
<a class="edit" href="{% url wg_submit name=doc.group.acronym %}">Edit charter text</a>
93+
{% endif %}
94+
</h3>
10095

10196
<div class="markup_draft">
10297
{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}

static/css/doc.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@
2222

2323
.writeup pre.editable { background-color: #efefff; min-height: 3em; }
2424
.writeup a.edit { float: right; }
25+
26+
h3 a.edit { font-weight: normal; font-size: 13px; display: inline-block; margin-left: 0.5em;}

0 commit comments

Comments
 (0)