From bfabf09d7051c12ccab6b361b04d4b95c9deac57 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 28 Jan 2021 12:45:09 +0000 Subject: [PATCH] Bug 27493: (follow-up) Remove redundant class This patch modifies the templates so that instances of "class='select selectcol' are replaced with "class='selectcol'". I could find no instances of the "select" class being used in CSS or JS. Signed-off-by: Jonathan Druart --- .../opac-tmpl/bootstrap/en/modules/opac-basket.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 10 +++++----- .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- .../bootstrap/en/modules/opac-search-history.tt | 8 ++++---- .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt index 89932cb36b..72969e98d5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt @@ -268,7 +268,7 @@ [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] - + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt index f6766b2d8f..ef0b7af5d5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -85,7 +85,7 @@ [% END %] [% IF ( SMSSendDriver ) %] [% IF ( messaging_preference.transport_sms ) %] - + [% IF ( messaging_preference.transports_sms ) %] [% ELSE %] @@ -98,7 +98,7 @@ [% END %] [% IF Koha.Preference('PhoneNotification') %] [% IF ( messaging_preference.transport_phone ) %] - + [% IF ( messaging_preference.transports_phone ) %] + [% IF ( messaging_preference.transports_itiva ) %] + [% IF ( messaging_preference.transports_email ) %] [% ELSE %] @@ -148,7 +148,7 @@ [% END %] [% IF ( messaging_preference.has_digest ) %] - + [% IF ( messaging_preference.digest ) %] [% ELSE %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 188af083bd..b5f84eb01d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -253,7 +253,7 @@ [% ELSE %] [% check_title = SEARCH_RESULT.biblionumber %] [% END %] - + [% IF Koha.Preference( 'opacbookbag' ) == 1 %] [% ELSE %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt index 5c4d6fe8f5..6d8e9e3f71 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt @@ -80,7 +80,7 @@ [% FOREACH s IN current_biblio_searches %] - + [% s.time |$KohaDates with_hours => 1 %] @@ -125,7 +125,7 @@ [% FOREACH s IN previous_biblio_searches %] - + [% s.time |$KohaDates with_hours => 1 %] @@ -177,7 +177,7 @@ [% FOREACH s IN current_authority_searches %] - + [% s.time |$KohaDates with_hours => 1 %] [% s.query_desc | html %] [% s.total | html %] @@ -214,7 +214,7 @@ [% FOREACH s IN previous_authority_searches %] - + [% s.time |$KohaDates with_hours => 1 %] [% s.query_desc | html %] [% s.total | html %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index 4ee6813fc7..85d27922e2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -369,7 +369,7 @@ [% ELSE %] [% check_title = itemsloo.biblionumber %] [% END %] - + [% UNLESS ( item_level_itypes ) %] [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index 8249a03ef0..92b1a4fd47 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -354,7 +354,7 @@ [% FOREACH suggestions_loo IN suggestions_loop %] [% IF ( loggedinusername ) %] - + [% IF ( suggestions_loo.showcheckbox ) %] [% SET can_delete_suggestion = 1 %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt index 41f8962a66..5e926ce77c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt @@ -138,7 +138,7 @@ [% FOREACH MY_TAG IN MY_TAGS %] [% IF MY_TAG.visible %] - + -- 2.39.5