From 92f10fa3dd50f0b3225dcd3e1160744cc726af13 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 8 Jan 2025 17:28:25 +0000 Subject: [PATCH] Bug 38714: Fix OPAC registration confirmation templates opac-registration-confirmation.tt opac-registration-email-sent.tt opac-registration-invalid.tt Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../en/modules/opac-registration-confirmation.tt | 10 +++++----- .../en/modules/opac-registration-email-sent.tt | 13 ++++++++----- .../en/modules/opac-registration-invalid.tt | 13 ++++++++----- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt index e03bccd6cc..8521c2c228 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt @@ -35,17 +35,17 @@ [% END %] + [% SET column_class = "col order-md-1 maincontent" %] [% IF ( OpacNav || OpacNavBottom && OpacNavRight ) %] [% # Three-column layout with right and left sidebars %] -
+ [% column_class = "col-12 col-lg-7 order-md-1 maincontent" %] [% ELSIF ( OpacNavRight ) %] [% # Two-column layout with right sidebar %] -
+ [% column_class = "col-12 col-lg-9 order-md-1 maincontent" %] [% ELSIF ( OpacNav || OpacNavBottom ) %] -
- [% ELSE %] -
+ [% column_class = "col-12 col-lg-10 order-md-1 maincontent" %] [% END %] +
[% IF ( ! confirmed ) %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt index abbd92032a..b54f9aee24 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt @@ -20,14 +20,17 @@
- [% IF ( OpacNav ) %] + [% SET column_class = "col order-first order-md-first order-lg-2" %] + [% IF ( OpacNav || OpacNavBottom ) %] + [% column_class = "col-10 order-first order-md-first order-lg-2" %]
- [% INCLUDE 'navigation.inc' %] +
-
- [% ELSE %] -
[% END %] + +

Please confirm your registration

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt index 3ee11b637c..c7fe1e9dbf 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-invalid.tt @@ -23,14 +23,17 @@
- [% IF ( OpacNav ) %] + [% SET column_class = "col order-first order-md-first order-lg-2" %] + [% IF ( OpacNav || OpacNavBottom ) %] + [% column_class = "col-10 order-first order-md-first order-lg-2" %]
- [% INCLUDE 'navigation.inc' %] +
-
- [% ELSE %] -
[% END %] + +

Registration invalid!