fix(views): footer link only on the Respondage logo, not on the 'Proudly developed by' text

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-30 17:25:47 +01:00
commit 7e0b4c63a3

View file

@ -6,8 +6,8 @@
layout_errors.twig and layout_maintenance.twig (inherited from the parent vanilla layout_errors.twig and layout_maintenance.twig (inherited from the parent vanilla
theme); print/PDF pages skip the footer (layout_printanswers.twig checks printPdf). theme); print/PDF pages skip the footer (layout_printanswers.twig checks printPdf).
Text and logo sit in ONE link to https://www.respondage.nl, like the footer of Only the LOGO links to https://www.respondage.nl; the "Proudly developed by"
the options page (options/options.twig). Styling: default (body) font, base text is plain text (no link). Styling: default (body) font, base
font size + Color 2 for the text — emitted in the <style> block of font size + Color 2 for the text — emitted in the <style> block of
custom_header.twig; logo height 25px in css/custom.css. custom_header.twig; logo height 25px in css/custom.css.
@ -20,8 +20,8 @@
{% set respondageLogo = imageSrc('./files/respondage-logo.png') %} {% set respondageLogo = imageSrc('./files/respondage-logo.png') %}
{% if respondageLogo and (aSurveyInfo.include_content is not defined or aSurveyInfo.include_content != 'firstpage') %} {% if respondageLogo and (aSurveyInfo.include_content is not defined or aSurveyInfo.include_content != 'firstpage') %}
<footer role="contentinfo" class="respondage-theme-footer text-center"> <footer role="contentinfo" class="respondage-theme-footer text-center">
<a href="https://www.respondage.nl" target="_blank" rel="noopener noreferrer" title="Respondage">
{{ gT("Proudly developed by") }} {{ gT("Proudly developed by") }}
<a href="https://www.respondage.nl" target="_blank" rel="noopener noreferrer" title="Respondage">
<img src="{{ respondageLogo }}" alt="Respondage" class="respondage-theme-footer-logo"> <img src="{{ respondageLogo }}" alt="Respondage" class="respondage-theme-footer-logo">
</a> </a>
</footer> </footer>