diff --git a/bijoe/templates/bijoe/cube.html b/bijoe/templates/bijoe/cube.html index c91ce0c..b0b7845 100644 --- a/bijoe/templates/bijoe/cube.html +++ b/bijoe/templates/bijoe/cube.html @@ -46,6 +46,15 @@ {% endblock %} + {% if cube.warnings %} + {% block warnings %} + + {% endblock %} + {% endif %}
{% if visualization %} {% if visualization.representation == 'table' %} diff --git a/tests/test_schema1.py b/tests/test_schema1.py index 6f53b16..ffe7cda 100644 --- a/tests/test_schema1.py +++ b/tests/test_schema1.py @@ -14,6 +14,8 @@ def test_simple(schema1, app, admin): response = app.get('/').follow() response = response.click('Facts 1') assert 'big-msg-info' in response + assert u'le champ « pouët »' in response + assert 'warning2' in response form = response.form form.set('representation', 'table') form.set('measure', 'simple_count')