From 7e83fe86432ae11c63b467e2f51c799f9014fa3b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 7 Jun 2023 13:44:40 +0200 Subject: [PATCH] Bug 33938: Don't tell the DB is not up-to-date when it is If you hit /cgi-bin/koha/installer/install.pl and that the DB is up-to-date already, the screen shows "We are upgrading from Koha 23.06.00.002 to 23.06.00.002". We should just say that everything is ok Test plan: Have an up-to-date DB, then hit /cgi-bin/koha/installer/install.pl Notice that the message changed and is more correct with the patch applied. Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/installer/step3.tt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt index 4462deb523..fdbddf58a3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt @@ -314,8 +314,13 @@ [% IF ( default ) %] [% IF ( upgrading ) %]

Web installer › Update database

-

We are upgrading from Koha [% dbversion | html %] to [% kohaversion | html %]

-

Update your database

+ [% IF dbversion != kohaversion %] +

We are upgrading from Koha [% dbversion | html %] to [% kohaversion | html %]

+

Update your database

+ [% ELSE %] +

The database is up-to-date already (Koha [% kohaversion | html %])

+

Continue to log in to Koha

+ [% END %] [% ELSE %]

Web installer › Install basic configuration settings

-- 2.30.2