|
1 | | -{% extends "base.html" %} |
| 1 | +{% extends "idrfc/doc_main.html" %} |
| 2 | +{% comment extends "base.html" %} |
| 3 | +{% endcomment %} |
2 | 4 |
|
3 | 5 | {% load ietf_filters %} |
4 | 6 |
|
|
37 | 39 | <td><a href="/doc/help/state/charter/">Charter State</a>:</td> |
38 | 40 | <td> |
39 | 41 | <div> |
40 | | - <a title="{{ doc.get_state.desc }}"{% if not snapshot and user|has_role:"Area Director,Secretariat" %} href="{% url charter_change_state name=doc.name %}"{% endif %}>{{ doc.get_state.name }}</a> |
41 | | - {% if chartering == "initial" %}(Initial Chartering){% endif %} |
42 | | - {% if chartering == "rechartering" %}(Rechartering){% endif %} |
| 42 | + <a title="{{ doc.get_state.desc }}" |
| 43 | + {% if not snapshot and user|has_role:"Area Director,Secretariat" %} |
| 44 | + class="editlink" href="{% url charter_change_state name=doc.name %}" |
| 45 | + {% endif %}> |
| 46 | + {{ doc.get_state.name }} |
| 47 | + </a> |
| 48 | + {% if chartering == "initial" %} - (Initial Chartering){% endif %} |
| 49 | + {% if chartering == "rechartering" %} - (Rechartering){% endif %} |
43 | 50 |
|
44 | | - {% if not snapshot and user|has_role:"Area Director,Secretariat" %} |
45 | | - |
46 | | - |
47 | | - {% if chartering %} |
48 | | - - <a href="{% url charter_startstop_process name=doc.name option='abandon' %}">Abandon effort</a> |
49 | | - |
50 | | - {% if request.user|has_role:"Secretariat" %} |
51 | | - - <a href="{% url charter_approve name=doc.name %}">Approve charter</a> |
52 | | - {% endif %} |
53 | | - |
54 | | - {% else %} |
55 | | - {% if group.state_id == "proposed" or group.state_id == "bof" %} |
56 | | - - <a href="{% url charter_submit name=doc.name option='initcharter' %}">Start chartering</a> |
57 | | - {% else %} |
58 | | - - <a href="{% url charter_submit name=doc.name option='recharter' %}">Recharter</a> |
59 | | - {% endif %} |
60 | | - {% endif %} |
61 | | - |
62 | | - {% endif %} |
63 | 51 | </div> |
64 | 52 |
|
65 | 53 | {% if not snapshot and chartering %} |
66 | 54 | <div class="telechat"> |
67 | | - {% if not telechat %}Not on agenda of IESG telechat{% else %}On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat{% endif %} |
68 | | - {% if user|has_role:"Area Director,Secretariat" %} |
69 | | - - <a href="{% url charter_telechat_date name=doc.name %}">Change</a> |
70 | | - {% endif %} |
| 55 | + <a |
| 56 | + {% if user|has_role:"Area Director,Secretariat" %} |
| 57 | + class="editlink" href="{% url charter_telechat_date name=doc.name %}" |
| 58 | + {% endif %}> |
| 59 | + {% if not telechat %}Not on agenda of IESG telechat{% else %}On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat{% endif %} |
| 60 | + </a> |
71 | 61 | </div> |
72 | 62 |
|
73 | 63 | {% if ballot_summary %} |
|
88 | 78 | </tr> |
89 | 79 | {% endif %} |
90 | 80 |
|
| 81 | + <tr> |
| 82 | + <td>Responsible AD:</td> |
| 83 | + <td><a {% if request.user|has_role:"Area Director,Secretariat" %}class="editlink" href="{% url charter_edit_ad name=doc.name %}"{% endif %}>{{ doc.ad|default:"none" }}</a> </td> |
| 84 | + </tr> |
| 85 | + |
91 | 86 | <tr><td colspan='2'><hr size='1' noshade /></td></tr> |
92 | 87 |
|
93 | 88 | <tr> |
94 | 89 | <td>Send notices to:</td> |
95 | | - <td>{{ doc.notify|default:"none" }} |
96 | | - {% if user|has_role:"Area Director,Secretariat" %} |
97 | | - - <a href="{% url charter_edit_notify name=doc.name %}">Change</a> |
98 | | - {% endif %} |
| 90 | + <td><a {% if user|has_role:"Area Director,Secretariat" %} |
| 91 | + class="editlink" href="{% url charter_edit_notify name=doc.name %}" |
| 92 | + {% endif %}> |
| 93 | + {{ doc.notify|default:"none" }} |
| 94 | + </a> |
99 | 95 | </td> |
100 | 96 | </tr> |
101 | 97 |
|
|
107 | 103 | <div class="actions"> |
108 | 104 | <a href="/feed/group-changes/{{ group.acronym }}/">Atom feed</a> |
109 | 105 | </div> |
| 106 | + |
| 107 | + <div> |
| 108 | + {% if not snapshot and user|has_role:"Area Director,Secretariat" %} |
| 109 | + {% if chartering %} |
| 110 | + <span id="charter_abandon_effort_button" class="yui-button yui-link-button" style="margin-left:2px;margin-top:2px">{% url charter_startstop_process name=doc.name option='abandon' as abandon_url %}{% if abandon_url %}<span class="first-child"><a href="{{abandon_url}}">Abandon Effort</a></span>{% endif %}</span> |
| 111 | + |
| 112 | + {% if request.user|has_role:"Secretariat" %} |
| 113 | + <span id="charter_approve_button" class="yui-button yui-link-button" style="margin-left:2px;margin-top:2px">{% url charter_approve name=doc.name as approve_url %}{% if approve_url %}<span class="first-child"><a href="{{approve_url}}">Approve Charter</a></span>{% endif %}</span> |
| 114 | + {% endif %} |
| 115 | + |
| 116 | + {% else %} |
| 117 | + {% if group.state_id == "proposed" or group.state_id == "bof" %} |
| 118 | + <span id="charter_start_button" class="yui-button yui-link-button" style="margin-left:2px;margin-top:2px">{% url charter_submit name=doc.name option='initcharter' as start_url %}{% if start_url %}<span class="first-child"><a href="{{start_url}}">Start Chartering</a></span>{% endif %}</span> |
| 119 | + {% else %} |
| 120 | + <span id="charter_recharter_button" class="yui-button yui-link-button" style="margin-left:2px;margin-top:2px">{% url charter_submit name=doc.name option='recharter' as recharter_url %}{% if recharter_url %}<span class="first-child"><a href="{{recharter_url}}">Recharter</a></span>{% endif %}</span> |
| 121 | + {% endif %} |
| 122 | + {% endif %} |
| 123 | + |
| 124 | + {% endif %} |
| 125 | + </div> |
110 | 126 | </div> |
111 | 127 |
|
112 | 128 | <p>Other versions: <a href="{{ txt_url }}">plain text</a></p> |
|
0 commit comments