Bugzilla – Attachment 37803 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]
Bug 13994 - Add a back link to error message in Reports
Bug-13994---Add-a-back-link-to-error-message-in-Re.patch (text/plain), 1.48 KB, created by
Marc Véron
on 2015-04-14 09:54:57 UTC
(
hide
)
Description:
Bug 13994 - Add a back link to error message in Reports
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-04-14 09:54:57 UTC
Size:
1.48 KB
patch
obsolete
>From 248067e5eeec3cf74fa9498ff27448585d19d6e3 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] 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" >--- > .../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..e946ffe 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.10.4
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