{% if ShowMenu %}
@@ -56,9 +79,9 @@ For the survey navigator ("Next", "Back", etc.), see: navigation/navigator.twig
{% endif %}
{# Left logo #}
- {% if( aSurveyInfo.options.brandlogo == "on" and imageSrc(aSurveyInfo.options.brandlogofile)) %}
-
- {{ image(aSurveyInfo.options.brandlogofile, aSurveyInfo.name, {"class": "logo img-fluid"}) }}
+ {% if showBrandLogo %}
+
+ {{ image(brandLogoFile, aSurveyInfo.name, {"class": "logo img-fluid"}) }}
{% else %}
@@ -66,9 +89,9 @@ For the survey navigator ("Next", "Back", etc.), see: navigation/navigator.twig
{% endif %}
{# Center logo (absolutely centered via CSS, see sass/plain.sass) #}
- {% if( aSurveyInfo.options.centerlogo == "on" and imageSrc(aSurveyInfo.options.centerlogofile)) %}
-
- {{ image(aSurveyInfo.options.centerlogofile, aSurveyInfo.name, {"class": "logo img-fluid"}) }}
+ {% if showCenterLogo %}
+
+ {{ image(centerLogoFile, aSurveyInfo.name, {"class": "logo img-fluid"}) }}
{% endif %}
{# RIGHT zone — always pushed to the far right (ms-auto on the wrapper).
@@ -82,8 +105,8 @@ For the survey navigator ("Next", "Back", etc.), see: navigation/navigator.twig
{# Right logo #}
{% if showRightLogo %}
-
- {{ image(aSurveyInfo.options.rightlogofile, aSurveyInfo.name, {"class": "logo img-fluid"}) }}
+
+ {{ image(rightLogoFile, aSurveyInfo.name, {"class": "logo img-fluid"}) }}
{% endif %}
{% if ShowMenu %}