Bugzilla – Attachment 162907 Details for
Bug 36274
OPAC suggestions form doesn't display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36274: Use right op on opac-suggestions.tt
Bug-36274-Use-right-op-on-opac-suggestionstt.patch (text/plain), 2.83 KB, created by
Lucas Gass (lukeg)
on 2024-03-07 15:30:31 UTC
(
hide
)
Description:
Bug 36274: Use right op on opac-suggestions.tt
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-03-07 15:30:31 UTC
Size:
2.83 KB
patch
obsolete
>From a89c4b73589d6dec2621709b5d5afe4ae675679f Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 7 Mar 2024 15:29:16 +0000 >Subject: [PATCH] Bug 36274: Use right op on opac-suggestions.tt > >To test: >1. click on "New suggestion", only an empty page comes up. The form is missing. >2. Apply patch and try again. >3. Play with suggestions making sure everything looks as excepted. >--- > .../opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 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 2be316bc6f..46bf965697 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -9,7 +9,7 @@ > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>[% IF ( op_add_form ) %]Enter a new purchase suggestion[% END %] >+<title>[% IF ( op_add ) %]Enter a new purchase suggestion[% END %] > [% IF ( op_else ) %]Purchase suggestions[% END %] › > [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -25,7 +25,7 @@ > <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a> > [% END %] > [% END %] >- [% IF ( op_add_form ) %] >+ [% IF ( op_add ) %] > [% WRAPPER breadcrumb_item %] > <a href="/cgi-bin/koha/opac-suggestions.pl">Purchase suggestions</a> > [% END %] >@@ -49,7 +49,7 @@ > <div class="col-md-12 col-lg-10 order-1"> > > <div id="usersuggestions" class="maincontent"> >- [% IF ( op_add_form ) %] >+ [% IF ( op_add ) %] > <h1>Your purchase suggestions</h1> > [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %] > <h2 class="TooManySuggestions">You cannot place any more suggestions</h2> >@@ -305,7 +305,7 @@ > </fieldset> > </form> > [% END %] >- [% END # IF op_add_form %] >+ [% END # IF op_add %] > > [% IF ( op_else ) %] > <h1> >-- >2.30.2
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 36274
:
162907
|
162935
|
162994
|
163166