feat!: rename theme respondage_vanilla -> vanilla_respondage, variants -> respondage_<client>
Prompt V (prompts.md rows 51-54). Mother theme folder + <name> renamed to vanilla_respondage (version 3.3.0); client variants renamed to respondage_defensie / respondage_erasmus (<extends>vanilla_respondage</extends>, auto-derived by build.php). export_public.sh now derives the release name from the theme dir and the leak-check glob matches ../respondage_* siblings, so the public-release leak check keeps working after the rename (sabotage-tested). All doc/tooling references updated; local-only files stay gitignored. Also includes the pending uncommitted theme work from this testing week (custom options page, header logos, sticky-header options, bundled OFL fonts, per-element font overrides, font-dropdown reordering, jsdom tests) that was verified locally but not yet pushed. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
37f28f08e6
commit
cffd3cefa6
1 changed files with 3701 additions and 898 deletions
27
views/subviews/footer/footer.twig
Normal file
27
views/subviews/footer/footer.twig
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{#
|
||||
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).
|
||||
|
||||
Text: "Theme Respondage Vanilla proudly developed by [Respondage logo]",
|
||||
the logo links to https://www.respondage.nl.
|
||||
|
||||
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') %}
|
||||
{% if respondageLogo %}
|
||||
<footer role="contentinfo" class="respondage-theme-footer text-center">
|
||||
<small class="text-muted">
|
||||
{{ gT("Theme Respondage Vanilla 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">
|
||||
</a>
|
||||
</small>
|
||||
</footer>
|
||||
{% endif %}
|
||||
Loading…
Reference in a new issue