From 7e4db79ce66b296de822b7d49b5a302d2dd0d0a6 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` Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- .../intranet-tmpl/prog/en/includes/patron_messages.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 6 +++--- koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt | 2 +- .../prog/en/modules/authorities/authorities.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/catalogue/results.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/housebound.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- .../prog/en/modules/onboarding/onboardingstep3.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt | 4 ++-- 15 files changed, 25 insertions(+), 25 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 c2db426cf3..ccf055d465 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 714cec4e19..21f29ea7b3 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 5c063e3d05..c2551b2e65 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 70fb74b90d..cb960e13c1 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 7098e8e3b9..6eccd23962 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 2d29d45d7d..c3d6f60b7e 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 dea2683962..ea7034eed0 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 3e8215a0af..241606d311 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 542232c49f..e2dcdb6ff8 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/circ/curbside_pickups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt index 011b5b6a22..f1d1e84efd 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 51e5619ae6..eaf4af84ef 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 c3a7512b7e..ca4a298717 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 483d44ba9f..3876246cba 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/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt index 38ec0e0735..0e6b3d5932 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 @@
    5. 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 09ed26ebe1..5d1a3dc709 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.39.5