Skip to content

Commit b35d0e2

Browse files
committed
Get rid of hardcoded column width setting in group popup, it does not appear to have any effect and removing it relieves us from the mathfilters dependency - also put the popup inside a spaceless to free some space up
- Legacy-Id: 8524
1 parent 41cb195 commit b35d0e2

2 files changed

Lines changed: 5 additions & 15 deletions

File tree

ietf/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ def skip_unreadable_post(record):
238238
'widget_tweaks',
239239
'typogrify',
240240
'bootstrap3',
241-
'mathfilters',
242241
)
243242

244243
# Settings for django-bootstrap3

ietf/templates/base/menu_wg_modal.html

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
{# widthratio rounds up, is useless #}
2-
{% load mathfilters %}
3-
4-
{% with cols=areas|length|add:1 %}
5-
{% with colw=100|div:cols %}
61
<div class="table-responsive">
7-
<table class="table table-condensed">
2+
{% spaceless %}
3+
<table class="table table-condensed">
84
<thead>
95
<tr>
106
{% for area in areas %}
11-
<th class="text-center" style="width:{{colw}}%">
12-
{{area.acronym|upper}}
13-
</th>
7+
<th class="text-center">{{area.acronym|upper}}</th>
148
{% endfor %}
15-
<th class="text-center" style="width:{{colw}}%">
16-
IRTF
17-
</th>
9+
<th class="text-center">IRTF</th>
1810
</tr>
1911
</thead>
2012
<tbody>
@@ -46,6 +38,5 @@
4638
</tr>
4739
</tbody>
4840
</table>
41+
{% endspaceless %}
4942
</div>
50-
{% endwith %}
51-
{% endwith %}

0 commit comments

Comments
 (0)