From 4701ff89e1ac6d05639f8dd0ce7645d776221952 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 29 Aug 2024 12:41:27 +0200 Subject: [PATCH] Bug 37745: Remove more duplicated class attributes Found using `egrep 'class=[^>]+class=' **/*.tt **/*.inc` --- .../prog/en/includes/clubs-table.inc | 4 +-- .../prog/en/includes/patron-search.inc | 2 +- .../prog/en/includes/patron_messages.inc | 4 +-- .../prog/en/modules/acqui/parcel.tt | 6 ++-- .../prog/en/modules/admin/currency.tt | 2 +- .../prog/en/modules/admin/oai_sets.tt | 2 +- .../en/modules/authorities/authorities.tt | 4 +-- .../prog/en/modules/catalogue/itemsearch.tt | 4 +-- .../prog/en/modules/catalogue/results.tt | 6 ++-- .../prog/en/modules/cataloguing/addbiblio.tt | 4 +-- .../prog/en/modules/circ/curbside_pickups.tt | 2 +- .../prog/en/modules/members/housebound.tt | 4 +-- .../prog/en/modules/members/memberentrygen.tt | 2 +- .../en/modules/onboarding/onboardingstep3.tt | 2 +- .../modules/reports/guided_reports_start.tt | 28 +++++++++---------- .../bootstrap/en/modules/opac-illrequests.tt | 2 +- .../bootstrap/en/modules/opac-library.tt | 4 +-- 17 files changed, 41 insertions(+), 41 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc index 8648d7f9ff7..397a25d3940 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc @@ -96,14 +96,14 @@
  • - + Delete
  • [% END %] [% IF ( c.club_enrollments.count ) %]
  • - + Search to hold
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 714cec4e191..21f29ea7b37 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -935,7 +935,7 @@ Select all | Clear all - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc index 5c063e3d055..c2551b2e650 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc @@ -349,7 +349,7 @@ [% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %] [% IF moremember %] - Edit + Edit
    [% INCLUDE 'csrf-token.inc' %] @@ -359,7 +359,7 @@
    [% ELSE %] - Edit + Edit
    [% INCLUDE 'csrf-token.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index 70fb74b90d8..cb960e13c1c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -535,9 +535,9 @@ result += ''; result += ''; result += ''; return result; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt index 7098e8e3b9a..6eccd23962a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt @@ -122,7 +122,7 @@ [% currency.currency | html %] [% ELSE %] - Required + Required [% END %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt index 2d29d45d7d3..c3d6f60b7e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt @@ -73,7 +73,7 @@
  • [% IF ( spec == "" ) %] - + [% ELSE %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index dea2683962a..ea7034eed0b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -462,10 +462,10 @@ [% IF ( duplicateauthid ) %]

    Duplicate record suspected

    -

    Is this a duplicate of [% duplicateauthvalue | html %] ?

    +

    Is this a duplicate of [% duplicateauthvalue | html %] ?

    - Yes: Edit existing authority + Yes: Edit existing authority

    No: Save as new authority diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index 36bb4af8d54..feacce93622 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -499,11 +499,11 @@ + '

    ' diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 17765ebe5d8..46405ce2b84 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -144,7 +144,7 @@ [% FOREACH s IN add_to_some_public_shelves %] [% IF shelfnumber != s.shelfnumber %]
  • - [% s.shelfname | html %] + [% s.shelfname | html %]
  • [% SET number_of_public_shelves = number_of_public_shelves + 1 %] [% IF number_of_public_shelves == 10 %][% LAST %][% END %] @@ -154,11 +154,11 @@
  • [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
  • - More lists + More lists
  • [% END %]
  • - New list + New list
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 7ea0f716f47..1a79aee53ca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -970,7 +970,7 @@ $(document).ready(function(){ [% END %]
  • - + [% IF ( frameworkcode ) %]   [% ELSE %] @@ -981,7 +981,7 @@ $(document).ready(function(){
  • [% FOREACH framework IN frameworks%]
  • - + [% IF framework.frameworkcode == frameworkcode %] [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt index 011b5b6a221..f1d1e84efd7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt @@ -441,7 +441,7 @@
    Search a patron
    - +
    [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt index 51e5619ae62..eaf4af84efc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt @@ -24,7 +24,7 @@
    1. - Delivery day: + Delivery day: [% hpd = housebound_profile.day %] [% IF hpd == 'any' %]Any [% ELSIF hpd == 'monday' %]Monday @@ -37,7 +37,7 @@ [% END %]
    2. - Frequency: + Frequency: [% AuthorisedValues.GetByCode( 'HSBND_FREQ', housebound_profile.frequency, 0 ) || housebound_profile.frequency | html %]
    3. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index b9063a486da..f92e9be46b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -254,7 +254,7 @@ legend.collapsed i.fa.fa-caret-down::before { [% END %] [% IF op == 'add_form' %] - + [% ELSE %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt index 483d44ba9fe..3876246cba5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt @@ -61,7 +61,7 @@
    4. [% IF patrons && patrons > 1 %] - + [% ELSE %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 3a4ca5778c5..b0a5cdd31c4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -1128,11 +1128,11 @@ [% FOREACH l IN limits %] [% IF l == limit %]
    5. - [% l | html %] + [% l | html %]
    6. [% ELSE %]
    7. - [% l | html %] + [% l | html %]
    8. [% END %] [% END %] @@ -2552,18 +2552,18 @@ Insert runtime parameter
    [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt index 38ec0e07358..0e6b3d59321 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -277,7 +277,7 @@
    If you can't find what you are looking for, you can - or + or cancel your request
  • diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt index 09ed26ebe1c..5d1a3dc709b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt @@ -110,9 +110,9 @@

    Libraries

    [% FOREACH library IN libraries %] [% IF ( branchcode == library.branchcode ) %] -
    +
    [% ELSE %] -
    +
    [% END %]

    -- 2.34.1