Bugzilla – Attachment 38027 Details for
Bug 13994
Add a back link to error message in Reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13994 - Add a back link to error message in Reports
PASSED-QA-Bug-13994---Add-a-back-link-to-error-mes.patch (text/plain), 1.60 KB, created by
Kyle M Hall (khall)
on 2015-04-17 10:44:35 UTC
(
hide
)
Description:
[PASSED QA] Bug 13994 - Add a back link to error message in Reports
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-17 10:44:35 UTC
Size:
1.60 KB
patch
obsolete
>From 9ff2acf45c2427186d6bb66b1ba8d7a0da2ddf0b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 14 Apr 2015 11:50:14 +0200 >Subject: [PATCH] [PASSED QA] Bug 13994 - Add a back link to error message in Reports > >To reproduce: >- Go to Home > Reports >- Create from SQL >- Do something that results in an error message, e.g. by entering an UPDATE statement > >Result: You get an error message with title "The follwing error was encountered" >But there is now link to go directly back to fix it. > >To test: >- Apply patch >- Repeat steps above >- Verify that a link appears (and works): "Back to previous page" > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../en/modules/reports/guided_reports_start.tt | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index d2420a0..73b4980 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -1006,6 +1006,9 @@ Sub report:<select name="subreport"> > [% ELSIF ( error.cache_expiry ) %]Please select a cache expiry less than 30 days. > [% ELSE %] > [% END %] >+ <div id="onerror_actions"> >+ <a href="javascript:window.history.back()" class="button">Back to previous page</a> >+ </div> > [% END %] > </div> > <fieldset class="action"><input type="hidden" name="phase" value="Use saved" /> >-- >1.7.2.5
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 13994
:
37803
|
37928
| 38027 |
38028