From 0745e3cdd83b5b340d8c3b3cf998c79c5e1cca9c Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Wed, 12 Oct 2016 16:52:31 +0200 Subject: [PATCH] debian jinja doesn't have set block statement --- templates/macros.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/templates/macros.html b/templates/macros.html index 12876d7..8b4a7ea 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -196,14 +196,10 @@ $('#embedcodebtn').popover( {% set permlogos = '<span class="fa fa-lock" aria-hidden="true"></span>' %} {% endif %} {% if permdescription[0] == 'l2p' %} - {% set permlogos %} - <span class="fa" aria-hidden="true" style="width: 12px; height: 14px; background-size: cover; background-image: url('/static/l2p-logo.gif');"></span> - {% endset %} + {% set permlogos = '<span class="fa" aria-hidden="true" style="width: 12px; height: 14px; background-size: cover; background-image: url(\'/static/l2p-logo.gif\');"></span>' %} {% endif %} {% if permdescription[0] == 'rwth' %} - {% set permlogos %} - <span class="fa" aria-hidden="true" style="width: 25px; height: 20px; background-size: cover; background-image: url('/static/rwth.png');"></span> - {% endset %} + {% set permlogos = '<span class="fa" aria-hidden="true" style="width: 25px; height: 20px; background-size: cover; background-image: url(\'/static/rwth.png\');"></span>' %} {% endif %} {% if ismod() %} -- GitLab