Bugzilla – Attachment 49204 Details for
Bug 16029
Do not show patron toolbar when showing the "patron does not exist" message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16029: Hide patron toolbar if patron does not exist
Bug-16029-Hide-patron-toolbar-if-patron-does-not-e.patch (text/plain), 1.99 KB, created by
Jonathan Druart
on 2016-03-16 09:38:33 UTC
(
hide
)
Description:
Bug 16029: Hide patron toolbar if patron does not exist
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-16 09:38:33 UTC
Size:
1.99 KB
patch
obsolete
>From 8c6fea8d0e366472a6390b6b7203c7b65cf637ee Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Sun, 13 Mar 2016 23:40:53 +0000 >Subject: [PATCH] Bug 16029: Hide patron toolbar if patron does not exist >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1) Create a patron, take note of the borrower number >2) Delete the patron >3) Navigate to the page of the patron you just deleted by typing the url (ie /cgi-bin/koha/members/moremember.pl?borrowernumber=X) >4) Confirm that the patron toolbar is not showing on the page >5) The message now has a link that says 'Find another patron?'. Click this link and confirm you are taken to the member home pgae. > >Sponsored-by: Catalyst IT > >Followed test plan, works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 591dbfa..8355bf5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -141,7 +141,10 @@ function validate1(date) { > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >+ >+[% UNLESS ( unknowuser ) %] > [% INCLUDE 'members-toolbar.inc' %] >+[% END %] > > [% IF ( error ) %] > <div class="dialog alert"> >@@ -166,7 +169,7 @@ function validate1(date) { > <div class="yui-g"> > > [% IF ( unknowuser ) %] >- <div class="dialog message">This patron does not exist.</div> >+ <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div> > [% ELSE %] > [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry | $KohaDates %]</div>[% END %] > >-- >2.7.0
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 16029
:
49078
|
49183
| 49204