Bugzilla – Attachment 37928 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]
[SIGNED OFF] Bug 13994 - Add a back link to error message in Reports
SIGNED-OFF-Bug-13994---Add-a-back-link-to-error-me.patch (text/plain), 1.54 KB, created by
Nick Clemens (kidclamp)
on 2015-04-15 21:35:13 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 13994 - Add a back link to error message in Reports
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2015-04-15 21:35:13 UTC
Size:
1.54 KB
patch
obsolete
>From 4ba1760f2b403a9cee017f37d2fb254161896d78 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] [SIGNED OFF] 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> >--- > .../intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 3 +++ > 1 file changed, 3 insertions(+) > >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.9.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 13994
:
37803
|
37928
|
38027
|
38028