2026-11-24 22:04:11 +01:00
|
|
|
{#
|
2026-11-29 19:20:07 +01:00
|
|
|
Theme footer of vanilla_respondage: "Proudly developed by [Respondage logo]"
|
|
|
|
|
below the survey buttons, on every page EXCEPT the welcome page (the welcome
|
|
|
|
|
page is the content view 'firstpage' — aSurveyInfo.include_content). This file
|
|
|
|
|
is included via {% block footer %} in layout_global.twig, layout_survey_list.twig,
|
|
|
|
|
layout_errors.twig and layout_maintenance.twig (inherited from the parent vanilla
|
|
|
|
|
theme); print/PDF pages skip the footer (layout_printanswers.twig checks printPdf).
|
2026-11-24 22:04:11 +01:00
|
|
|
|
2026-11-29 19:20:07 +01:00
|
|
|
Text and logo sit in ONE link to https://www.respondage.nl, like the footer of
|
|
|
|
|
the options page (options/options.twig). Styling: default (body) font, base
|
|
|
|
|
font size + Color 2 for the text — emitted in the <style> block of
|
|
|
|
|
custom_header.twig; logo height 25px in css/custom.css.
|
2026-11-24 22:04:11 +01:00
|
|
|
|
|
|
|
|
The logo uses the dedicated file name respondage-logo.png (NOT logo.png) on
|
|
|
|
|
purpose: variants may ship their own files/logo.png as client logo, and
|
|
|
|
|
imageSrc() resolves './files/...' in the variant first — with this name it
|
|
|
|
|
falls through to the mother theme, so the footer always shows the Respondage
|
|
|
|
|
logo (same trick as the footer in options/options.twig).
|
|
|
|
|
#}
|
|
|
|
|
{% set respondageLogo = imageSrc('./files/respondage-logo.png') %}
|
2026-11-29 19:20:07 +01:00
|
|
|
{% if respondageLogo and (aSurveyInfo.include_content is not defined or aSurveyInfo.include_content != 'firstpage') %}
|
2026-11-24 22:04:11 +01:00
|
|
|
<footer role="contentinfo" class="respondage-theme-footer text-center">
|
2026-11-29 19:20:07 +01:00
|
|
|
<a href="https://www.respondage.nl" target="_blank" rel="noopener noreferrer" title="Respondage">
|
|
|
|
|
{{ gT("Proudly developed by") }}
|
|
|
|
|
<img src="{{ respondageLogo }}" alt="Respondage" class="respondage-theme-footer-logo">
|
|
|
|
|
</a>
|
2026-11-24 22:04:11 +01:00
|
|
|
</footer>
|
|
|
|
|
{% endif %}
|