From 3025c141ed5c41f4429425bdef3922f11ce3d20f Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Wed, 13 Jun 2018 19:44:37 +0200 Subject: [PATCH] Replace empty paragraph with linebreak While not a violation of the specification, an empty paragraph is not recommended in HTML5 and browsers are to discard it. Rendering as whitespace is only supported in IE7-9, with Chrome and Firefox dropping it. The intention was most likely to induce some vertical whitespace so replace with a linebreak tag instead (which indeed makes the page nicer to look at). --- template/confsponsor/admin_dashboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/confsponsor/admin_dashboard.html b/template/confsponsor/admin_dashboard.html index be84515..1298e36 100644 --- a/template/confsponsor/admin_dashboard.html +++ b/template/confsponsor/admin_dashboard.html @@ -77,7 +77,7 @@ This matrix gives a quick overview of the status of the different benefits for e
  • Confirmed - fully confirmed benefit
  • Declined - sponsor chose to decline this benefit.
  • -

    +
    {%for levelname, level in benefitmatrix.items %} @@ -99,7 +99,7 @@ This matrix gives a quick overview of the status of the different benefits for e {%endfor%}
    {{levelname}}
    -

    +
    {%endfor%} {%if eu_vat and user.is_superuser %} -- 2.39.5