Skip to content

Commit

Permalink
fix: Remove "purpose" column, show purpose as badge (#5721)
Browse files Browse the repository at this point in the history
Fixes #5711
  • Loading branch information
larseggert authored May 31, 2023
1 parent f8e1899 commit 48dce85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ietf/templates/meeting/requests.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ <h2 class="mt-5" id="{% firstof area.grouper.acronym "other-groups" %}">
<th scope="col" data-sort="group">Group</th>
<th scope="col" class="d-none d-lg-table-cell" data-sort="count">Length</th>
<th scope="col" class="d-none d-lg-table-cell" data-sort="num">Size</th>
<th scope="col" class="d-none d-lg-table-cell" data-sort="num">Purpose</th>
<th scope="col" class="d-none d-lg-table-cell" data-sort="requester">Requester</th>
<th scope="col" class="d-none d-lg-table-cell" data-sort="ad">AD</th>
<th scope="col" data-sort="constraints">Constraints</th>
Expand All @@ -120,6 +119,9 @@ <h2 class="mt-5" id="{% firstof area.grouper.acronym "other-groups" %}">
<a href="{% url "ietf.secr.sreq.views.edit" num=meeting.number acronym=session.group.acronym %}">
{{ session.group.acronym }}
</a>
{% if session.purpose_id != "regular" %}
<br><span class="badge rounded-pill bg-info">{{session.purpose}}</span>
{% endif %}
{% if session.joint_with_groups.count %}joint with {{ session.joint_with_groups_acronyms|join:' ' }}{% endif %}
{% if session.requested_duration %}
<div class="d-lg-none">
Expand All @@ -139,7 +141,6 @@ <h2 class="mt-5" id="{% firstof area.grouper.acronym "other-groups" %}">
{% if session.requested_duration %}{{ session.requested_duration|stringformat:"s"|slice:"0:4" }}{% endif %}
</td>
<td class="d-none d-lg-table-cell">{{ session.attendees|default:"" }}</td>
<td class="d-none d-lg-table-cell">{% if session.purpose_id != "regular" %}{{session.purpose}}{% endif %}</td>
<td class="d-none d-lg-table-cell">{% person_link session.requested_by_person with_email=False %}</td>
<td class="d-none d-lg-table-cell">
{% if session.group.ad_role %}
Expand Down

0 comments on commit 48dce85

Please sign in to comment.