Bugzilla – Attachment 87286 Details for
Bug 22616
Update error text messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22616: Updating error text messages
Bug-22616-Updating-error-text-messages.patch (text/plain), 3.34 KB, created by
Liz Rea
on 2019-04-01 15:43:42 UTC
(
hide
)
Description:
Bug 22616: Updating error text messages
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-04-01 15:43:42 UTC
Size:
3.34 KB
patch
obsolete
>From 1aaae7ad9e9dc231d81622f1f11ce3a2f1c98656 Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Fri, 29 Mar 2019 16:31:14 +0000 >Subject: [PATCH] Bug 22616: Updating error text messages > >To test: > >Apply this patch >Go to a borrower that doesn't exist, check that the error message is >displayed and looks correct. (i.e. http://127.0.0.1:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=9999999999999999) >Go to an item, subscription, biblio that don't exist, check that the >error message is correct and the links work >Go to a borrower that the logged in user doesn't have permission to see, check that the error message is correct and the links work. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc | 12 ++++++------ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- > 2 files changed, 7 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc >index c73470694b..68eb5543c1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc >@@ -1,16 +1,16 @@ > [% IF blocking_error %] > [% SWITCH blocking_error %] > [% CASE 'unknown_patron' %] >- <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div> >- [% CASE 'cannot_see_patron_infos' %]You are not allowed to see the information of this patron. >+ <div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div> >+ [% CASE 'cannot_see_patron_infos' %]This account cannot view requested patron information. > [% CASE 'unknown_biblio' %] >- <div class="dialog message">This bibliographic record does not exist.</div> >+ <div class="dialog message">Bibliographic record not found.</div> > [% CASE 'unknown_item' %] >- <div class="dialog message">This item does not exist.</div> >+ <div class="dialog message">Item not found.</div> > [% CASE 'unknown_subscription' %] >- <div class="dialog message">This subscription does not exist.</div> >+ <div class="dialog message">Subscription not found.</div> > [% CASE 'unknown_basket' %] >- <div class="dialog message">This basket does not exist.</div> >+ <div class="dialog message">Basket not found.</div> > [% CASE 'wrong_csrf_token' %] > <div class="dialog message">The form submission failed (Wrong CSRF token). Try to come back, refresh the page, then try again.</div> > [% CASE %][% blocking_error | html %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 5490ea64f6..cc14610adb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -939,7 +939,7 @@ No patron matched <span class="ex">[% message | html %]</span> > [% END %] > > [% ELSIF borrowernumber %] >- <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div> >+ <div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div> > [% END %] > </div></div> > [% END %] >-- >2.11.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 22616
:
87286
|
87459
|
87553