From 0d29fce9fd624fdb04461aa57ca0eeca9254bef1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 6 Nov 2023 19:40:06 +0000 Subject: [PATCH] Bug 35262: Improve OPAC self registration confirmation page This patch corrects logic in the OPAC self registration confirmation template so that the right column markup is shown when various combinations of OpacNav, OpacNavBottom, and OpacNavRight are displayed. To test, apply the patch and enable the PatronSelfRegistration system preference, and deactivate the PatronSelfRegistrationVerifyByEmail preference. - Go to the OPAC and start the process of registering online. - Fill in the form and submit it. - On the registration confirmation page, check that the layout looks correct. - Test with the presence of various combinations of OpacNav, OpacNavBottom, and OpacNavRight HTML customizations. Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- .../en/modules/opac-registration-confirmation.tt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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 6d904f4f2e..e720be4322 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 @@ -29,15 +29,19 @@ [% END %] - [% IF ( OpacNav || OpacNavBottom ) %] + [% IF ( OpacNav || OpacNavBottom && OpacNavRight ) %] [% # Three-column layout with right and left sidebars %]
[% ELSIF ( OpacNavRight ) %] [% # Two-column layout with right sidebar %]
+ [% ELSIF ( OpacNav || OpacNavBottom ) %] +
+ [% ELSE %] +
[% END %] -
+

Registration complete!

You have successfully registered your new account.

-- 2.30.2