Skip to content

Commit e89302c

Browse files
authored
feat: Add "IESG Statements" and "IESG Appeals" as menu items to Document menu (#9174)
* Add IESG nested drop-down menu * Remove aria id to please Python tests * More suitable menu ordering
1 parent aae03d9 commit e89302c

File tree

1 file changed

+36
-16
lines changed

1 file changed

+36
-16
lines changed

ietf/templates/base/menu.html

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -99,35 +99,55 @@
9999
Submit an Internet-Draft
100100
</a>
101101
</li>
102+
{% if user and user.is_authenticated %}
102103
<li>
103104
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
104-
href="{% url 'ietf.doc.views_search.ad_workload' %}">
105-
IESG dashboard
105+
href="{% url "ietf.community.views.view_list" user.username %}">
106+
My tracked docs
106107
</a>
107108
</li>
108-
{% if user and user.is_authenticated %}
109+
{% if user|has_role:"Area Director,Secretariat" %}
110+
{% if flavor == 'top' %}<li><hr class="dropdown-divider"></li>{% endif %}
109111
<li>
110112
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
111-
href="{% url "ietf.community.views.view_list" user.username %}">
112-
My tracked docs
113+
href="{% url 'ietf.doc.views_status_change.rfc_status_changes' %}">
114+
RFC status changes
113115
</a>
114116
</li>
115-
{% if user|has_role:"Area Director,Secretariat" %}
116-
{% if flavor == 'top' %}<li><hr class="dropdown-divider"></li>{% endif %}
117+
{% endif %}
118+
{% if flavor == 'top' %}<li><hr class="dropdown-divider"></li>{% endif %}
119+
<li class="dropend">
120+
<a class="dropdown-item dropdown-toggle" href="#">
121+
IESG
122+
</a>
123+
<ul class="dropdown-menu">
117124
<li>
118125
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
119-
href="{% url 'ietf.doc.views_status_change.rfc_status_changes' %}">
120-
RFC status changes
126+
href="{% url 'ietf.group.views.appeals' acronym='iesg' %}">
127+
IESG appeals
121128
</a>
122129
</li>
123-
{% endif %}
124-
{% if flavor == 'top' %}<li><hr class="dropdown-divider"></li>{% endif %}
125-
<li>
126-
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
127-
href="{% url 'ietf.doc.views_ballot.irsg_ballot_status' %}">
128-
IRSG ballot status
129-
</a>
130+
<li>
131+
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
132+
href="{% url 'ietf.doc.views_search.ad_workload' %}">
133+
IESG dashboard
134+
</a>
135+
</li>
136+
<li>
137+
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
138+
href="{% url 'ietf.group.views.statements' acronym='iesg' %}">
139+
IESG statements
140+
</a>
141+
</li>
142+
</ul>
130143
</li>
144+
<li><hr class="dropdown-divider"></li>
145+
<li>
146+
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
147+
href="{% url 'ietf.doc.views_ballot.irsg_ballot_status' %}">
148+
IRSG ballot status
149+
</a>
150+
</li>
131151
{% if user|has_role:"WG Chair,RG Chair" %}
132152
{% if flavor == 'top' %}<li><hr class="dropdown-divider"></li>{% endif %}
133153
<li {% if flavor == 'top' %}class="dropdown-header"{% else %}class="nav-item fw-bolder"{% endif %}>Manage</li>

0 commit comments

Comments
 (0)