View | Details | Raw Unified | Return to bug 15321
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc (+8 lines)
Lines 20-25 Link Here
20
            [% END %]
20
            [% END %]
21
        [% END %]
21
        [% END %]
22
22
23
        [% IF ( CAN_user_reports_create_reports ) %]
24
            <div class="btn-group">
25
                <a class="confirmdelete btn btn-small" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Delete%20Saved">
26
                    <i class="fa fa-remove"></i> Delete
27
                </a>
28
            </div>
29
        [% END %]
30
23
        [% UNLESS ( errors ) # Unless there are errors saving a report %]
31
        [% UNLESS ( errors ) # Unless there are errors saving a report %]
24
            <div class="btn-group">
32
            <div class="btn-group">
25
                <a id="runreport" class="btn btn-small" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&amp;phase=Run%20this%20report">
33
                <a id="runreport" class="btn btn-small" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&amp;phase=Run%20this%20report">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-2 / +1 lines)
Lines 157-163 $(document).ready(function(){ Link Here
157
        $(this).select();
157
        $(this).select();
158
    });
158
    });
159
[% END %]
159
[% END %]
160
[% IF ( saved1 ) %]
160
[% IF ( saved1 || showsql || execute || editsql || save_successful ) %]
161
    $(".confirmdelete").click(function(){
161
    $(".confirmdelete").click(function(){
162
        $(this).parents('tr').attr("class","warn");
162
        $(this).parents('tr').attr("class","warn");
163
        if(confirm(_("Are you sure you want to delete this saved report?"))){
163
        if(confirm(_("Are you sure you want to delete this saved report?"))){
164
- 

Return to bug 15321