Bug 15421: Show 'Duplicate' and 'Schedule' on Reports toolbar
To test: 1) Go to Reports -> Use saved 2) Click 'Show' on the dropdown for any report 3) Confirm that 'Duplicate and 'Schedule' are now on the toolbar and work as expected Sponsored-by: Catalyst IT Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
parent
98a9e30f04
commit
a9d7292a10
|
|
@ -10,14 +10,19 @@
|
|||
[% END %]
|
||||
|
||||
[% IF ( showsql || execute || editsql || save_successful ) %]
|
||||
[% UNLESS ( editsql ) # Do not show edit button on edit page %]
|
||||
[% IF ( CAN_user_reports_create_reports ) %]
|
||||
[% IF ( CAN_user_reports_create_reports ) %]
|
||||
[% UNLESS ( editsql ) # Do not show edit button on edit page %]
|
||||
<div class="btn-group">
|
||||
<a id="editreport" class="btn btn-small" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Edit%20SQL">
|
||||
<i class="fa fa-pencil"></i> Edit
|
||||
</a>
|
||||
</div>
|
||||
[% END %]
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-small" title="Duplicate this saved report" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create report from SQL&sql=[% sql %]&reportname=[% reportname %]&notes=[% notes %]">
|
||||
<i class="fa fa-copy"></i> Duplicate
|
||||
</a>
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
[% IF ( CAN_user_reports_create_reports ) %]
|
||||
|
|
@ -34,6 +39,11 @@
|
|||
<i class="fa fa-play"></i> Run report
|
||||
</a>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-small" href="/cgi-bin/koha/tools/scheduler.pl?id=[% id %]">
|
||||
<i class="fa fa-clock-o"></i> Schedule
|
||||
</a>
|
||||
</div>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue