Skip to content

Commit 48dce85

Browse files
authored
fix: Remove "purpose" column, show purpose as badge (ietf-tools#5721)
Fixes ietf-tools#5711
1 parent f8e1899 commit 48dce85

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/templates/meeting/requests.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ <h2 class="mt-5" id="{% firstof area.grouper.acronym "other-groups" %}">
9898
<th scope="col" data-sort="group">Group</th>
9999
<th scope="col" class="d-none d-lg-table-cell" data-sort="count">Length</th>
100100
<th scope="col" class="d-none d-lg-table-cell" data-sort="num">Size</th>
101-
<th scope="col" class="d-none d-lg-table-cell" data-sort="num">Purpose</th>
102101
<th scope="col" class="d-none d-lg-table-cell" data-sort="requester">Requester</th>
103102
<th scope="col" class="d-none d-lg-table-cell" data-sort="ad">AD</th>
104103
<th scope="col" data-sort="constraints">Constraints</th>
@@ -120,6 +119,9 @@ <h2 class="mt-5" id="{% firstof area.grouper.acronym "other-groups" %}">
120119
<a href="{% url "ietf.secr.sreq.views.edit" num=meeting.number acronym=session.group.acronym %}">
121120
{{ session.group.acronym }}
122121
</a>
122+
{% if session.purpose_id != "regular" %}
123+
<br><span class="badge rounded-pill bg-info">{{session.purpose}}</span>
124+
{% endif %}
123125
{% if session.joint_with_groups.count %}joint with {{ session.joint_with_groups_acronyms|join:' ' }}{% endif %}
124126
{% if session.requested_duration %}
125127
<div class="d-lg-none">
@@ -139,7 +141,6 @@ <h2 class="mt-5" id="{% firstof area.grouper.acronym "other-groups" %}">
139141
{% if session.requested_duration %}{{ session.requested_duration|stringformat:"s"|slice:"0:4" }}{% endif %}
140142
</td>
141143
<td class="d-none d-lg-table-cell">{{ session.attendees|default:"" }}</td>
142-
<td class="d-none d-lg-table-cell">{% if session.purpose_id != "regular" %}{{session.purpose}}{% endif %}</td>
143144
<td class="d-none d-lg-table-cell">{% person_link session.requested_by_person with_email=False %}</td>
144145
<td class="d-none d-lg-table-cell">
145146
{% if session.group.ad_role %}

0 commit comments

Comments
 (0)