Skip to content

Commit

Permalink
feat: shorten long agenda filter button labels (#3602)
Browse files Browse the repository at this point in the history
Sessions with long names lead to poor rendering of the agenda filter buttons
on the 'customize the agenda view' page. This truncates those labels at 3 words.
  • Loading branch information
jennifer-richards authored Mar 10, 2022
1 parent 2493fd0 commit bd8638e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ietf/templates/meeting/agenda_filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ <h4 class="panel-title">
{% if button.toggled_by %}data-filter-keywords="{{ button.toggled_by|join:"," }}"{% endif %}
data-filter-item="{{ button.keyword }}">
{% if button.is_bof %}
<i>{{ button.label }}</i>
<i>{{ button.label|truncatewords:"3" }}</i>
{% else %}
{{ button.label }}
{{ button.label|truncatewords:"3" }}
{% endif %}
</button>
</div>
Expand Down

0 comments on commit bd8638e

Please sign in to comment.