From b35d0e20ff02a3394d8ea6d6eac64aeb54521ef4 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Thu, 30 Oct 2014 16:50:44 +0000 Subject: [PATCH] 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 --- ietf/settings.py | 1 - ietf/templates/base/menu_wg_modal.html | 19 +++++-------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/ietf/settings.py b/ietf/settings.py index d52464b65..e1ce68d31 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -238,7 +238,6 @@ INSTALLED_APPS = ( 'widget_tweaks', 'typogrify', 'bootstrap3', - 'mathfilters', ) # Settings for django-bootstrap3 diff --git a/ietf/templates/base/menu_wg_modal.html b/ietf/templates/base/menu_wg_modal.html index 377bbe1f8..85a033db7 100644 --- a/ietf/templates/base/menu_wg_modal.html +++ b/ietf/templates/base/menu_wg_modal.html @@ -1,20 +1,12 @@ -{# widthratio rounds up, is useless #} -{% load mathfilters %} - -{% with cols=areas|length|add:1 %} -{% with colw=100|div:cols %}
- + {% spaceless %} +
{% for area in areas %} - + {% endfor %} - + @@ -46,6 +38,5 @@
- {{area.acronym|upper}} - {{area.acronym|upper}} - IRTF - IRTF
+ {% endspaceless %}
-{% endwith %} -{% endwith %}