Bugzilla – Attachment 73241 Details for
Bug 20345
Put saved report keyword search form on reports home
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20345: Put saved report keyword search form on reports home
Bug-20345-Put-saved-report-keyword-search-form-on-.patch (text/plain), 3.73 KB, created by
Katrin Fischer
on 2018-03-25 15:34:45 UTC
(
hide
)
Description:
Bug 20345: Put saved report keyword search form on reports home
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-03-25 15:34:45 UTC
Size:
3.73 KB
patch
obsolete
>From 9353d921ea5ba2b1ab414d0c3a2cb0955860373d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 6 Mar 2018 18:48:08 +0000 >Subject: [PATCH] Bug 20345: Put saved report keyword search form on reports > home > >This patch makes cosmetic changes to the reports home page in the staff >client following the pattern set on the Administration home page with >the system preferences search box. A reports keyword search form is >added, and reports actions have font-awesome icons. > >To test, apply the patch and view the reports home page. Confirm that >all affected links work correctly and that the search form works >correctly. > >Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/reports/reports-home.tt | 32 ++++++++++++++++------ > 1 file changed, 23 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >index f8b8067..527f7a3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >@@ -13,16 +13,30 @@ > <div class="row"> > <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> > >- <h2>Guided reports</h2> >- <div class="row"> >- <div class="col-xs-6"> >+ <div class="row"> >+ <div class="col-xs-6"> > >- <ul> >- <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a></li> >- [% IF ( CAN_user_reports_create_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build new</a></li>[% END %] >- [% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Use saved</a></li>[% END %] >- [% IF ( CAN_user_reports_create_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">Create from SQL</a></li>[% END %] >- </ul> >+ [% IF ( CAN_user_reports_execute_reports || CAN_user_reports_create_reports ) %] >+ <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get"> >+ <fieldset class="brief"> >+ <h2>Guided reports</h2> >+ <input name="phase" value="Use saved" type="hidden"> >+ <input name="filter_set" value="1" type="hidden"> >+ [% IF ( CAN_user_reports_create_reports ) %] >+ <p> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new"><i class="fa fa-code-fork"></i> Create guided report</a> >+ </p> >+ <p> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL"><i class="fa fa-plus"></i> Create from SQL</a> >+ </p> >+ [% END %] >+ <p> >+ <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved"><i class="fa fa-list"></i> Use saved</a> >+ </p> >+ <label for="filter_keyword">Search by keyword:</label> <input id="filter_keyword" name="filter_keyword" value="" size="16" type="text" /> <input value="Search" type="submit" /> >+ </fieldset> >+ </form> >+ [% END %] > > <h5>Reports dictionary</h5> > <ul> >-- >2.1.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 20345
:
72494
|
72628
| 73241