From ce967e72043d522bcbb4631247f23a82970af3d9 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 26 Aug 2024 01:22:12 +0000 Subject: [PATCH] Bug 37724: Remove Koha version number from OPAC This change removes the Koha version number from the OPAC generator metadata. Test plan: 0. Apply patch 1. Enable syspref SelfCheckInModule 2. Visit /cgi-bin/koha/opac-main.pl and confirm meta tag doesn't include version number 3. Visit /cgi-bin/koha/sci/sci-main.pl and confirm meta tag doesn't include version number 4. Visit /cgi-bin/koha/sco/sco-main.pl) and confirm meta tag doesn't include version number 5. Click "Help" and confirm meta tag doesn't include version number Signed-off-by: Victor Grousset/tuxayo --- koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc index 40cc332fba..2c16b8c6aa 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc @@ -4,7 +4,7 @@ [%- USE KohaPlugins -%] [% USE Asset %] - + [% Asset.css("lib/jquery/responsive.dataTables.min.css") | $raw %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt index bc5d1affeb..6be4c01d65 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt @@ -28,7 +28,7 @@ Self check-in › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] - + [% IF ( Koha.Preference('OpacFavicon') ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt index 6cac354725..2024e00d1a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/help.tt @@ -8,7 +8,7 @@ [% SET SelfCheckHelpMessage = AdditionalContents.get( location => "SelfCheckHelpMessage", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] Self checkout help › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] - + [% Asset.css("lib/fontawesome/css/fontawesome.min.css") | $raw %] [% Asset.css("lib/fontawesome/css/brands.min.css") | $raw %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index c57c2cadff..2201abaa0b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -11,7 +11,7 @@ [% INCLUDE 'doc-head-open.inc' %] Self checkout › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] - + [% IF ( Koha.Preference('OpacFavicon') ) %] [% ELSE %] -- 2.46.2