Bugzilla – Attachment 177049 Details for
Bug 38713
Incorrect HTML structures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38713: Fix opac-suggestions.tt
Bug-38713-Fix-opac-suggestionstt.patch (text/plain), 4.27 KB, created by
Jonathan Druart
on 2025-01-23 14:54:10 UTC
(
hide
)
Description:
Bug 38713: Fix opac-suggestions.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-23 14:54:10 UTC
Size:
4.27 KB
patch
obsolete
>From 6d50e15d4921f5da13a2a273956b65f5d4877bf7 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 9 Jan 2025 13:39:19 +0000 >Subject: [PATCH] Bug 38713: Fix opac-suggestions.tt > >Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >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 1a9c43bc12a..accaea12873 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -379,7 +379,8 @@ > [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %] > <p class="TooManySuggestionsText">You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.</p> > [% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %] >- <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]).</br>Once the library has processed those suggestions you will be able to place more.</p> >+ <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]).</p> >+ <p>Once the library has processed those suggestions you will be able to place more.</p> > [% ELSE %] > <a class="btn btn-link new" href="/cgi-bin/koha/opac-suggestions.pl?op=add_form"><i class="fa fa-plus" aria-hidden="true"></i> New purchase suggestion</a> > [% END %] >@@ -402,7 +403,7 @@ > > [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 || loggedinusername %] > <table id="suggestt" class="table table-bordered tabled"> >- <caption class="sr-only">Your purchase suggestions<caption> >+ <caption class="sr-only">Your purchase suggestions</caption> > <thead> > <tr> > [% IF ( loggedinusername ) %]<th> </th>[% END %] >@@ -514,7 +515,8 @@ > [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %] > <p class="TooManySuggestionsText">You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.</p> > [% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %] >- <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time.</br>Once the library has processed those suggestions you will be able to place more.</p> >+ <p class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time.</p> >+ <p>Once the library has processed those suggestions you will be able to place more.</p> > [% ELSE %] > <p><a class="btn btn-link new" href="/cgi-bin/koha/opac-suggestions.pl?op=add_form"><i class="fa fa-plus" aria-hidden="true"></i> New purchase suggestion</a></p> > [% END %] >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38713
:
176973
|
176974
|
176975
|
176976
|
176977
|
176978
|
176979
|
176980
|
176981
|
176982
|
176983
|
176984
|
176985
|
176986
|
176987
|
176988
|
176989
|
176990
|
176991
|
176992
|
176993
|
176994
|
176995
|
176996
|
176997
|
176998
|
176999
|
177000
|
177001
|
177002
|
177003
|
177004
|
177005
|
177006
|
177007
|
177008
|
177009
|
177010
|
177011
|
177012
|
177013
|
177014
|
177015
|
177016
|
177017
|
177018
|
177019
|
177020
|
177021
|
177022
|
177023
|
177024
|
177025
|
177026
|
177027
|
177028
|
177029
|
177030
|
177031
|
177032
|
177033
|
177034
|
177035
|
177036
|
177037
|
177038
|
177039
|
177040
|
177041
|
177042
|
177043
|
177044
|
177045
|
177046
|
177047
|
177048
| 177049 |
177050
|
177051
|
177052
|
177053
|
177054
|
177055
|
177056
|
177057
|
177058
|
177059
|
177060