From a50be4b1e731e12c65301f47933e851bb2773cf4 Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Sun, 29 Nov 2026 19:20:07 +0100 Subject: [PATCH] =?UTF-8?q?feat(views):=20row=20207=20=E2=80=94=20'Proudly?= =?UTF-8?q?=20developed=20by=20[logo]'=20footer=20below=20the=20survey=20b?= =?UTF-8?q?uttons,=20on=20all=20pages=20except=20the=20welcome=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - footer.twig: renders on every page except the welcome page (aSurveyInfo.include_content == 'firstpage'); text + logo now sit in ONE link to https://www.respondage.nl, like the options-page footer. Logo still uses the dedicated respondage-logo.png (falls through to the mother theme in variants). - custom_header.twig style block: .respondage-theme-footer gets the base font size (fontsize option) and Color 2 (secondarycolor); the text uses the default (body) font by inheritance. - css/custom.css: logo height 25px (was max-height 18px). - Only the mother theme is touched — variants inherit the view via and get no variant-specific values (per owner). - Fix along the way: footer.twig had mode 600 after a rewrite, so the web server could not read it and the footer silently compiled empty; chmod 664 restored. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- css/custom.css | 3 ++- views/subviews/footer/footer.twig | 29 ++++++++++++------------ views/subviews/header/custom_header.twig | 9 ++++++++ 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/css/custom.css b/css/custom.css index 5e48770..97ef28f 100644 --- a/css/custom.css +++ b/css/custom.css @@ -18,8 +18,9 @@ opacity: 0.75; } +/* row 207: logo height 25px (was max-height 18px) */ .respondage-theme-footer-logo { - max-height: 18px; + height: 25px; width: auto; vertical-align: middle; } \ No newline at end of file diff --git a/views/subviews/footer/footer.twig b/views/subviews/footer/footer.twig index 5d12580..259452c 100644 --- a/views/subviews/footer/footer.twig +++ b/views/subviews/footer/footer.twig @@ -1,12 +1,15 @@ {# - Theme footer of vanilla_respondage: a subtle credit line at the bottom of - every page of this theme. 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). + 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). - Text: "Theme Respondage Vanilla proudly developed by [Respondage logo]", - the logo links to https://www.respondage.nl. + 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