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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-1 / +1 lines)
Lines 220-226 Link Here
220
                        <em>"[% patron_message.message | html %]"</em>
220
                        <em>"[% patron_message.message | html %]"</em>
221
                    </span>
221
                    </span>
222
                    [% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %]
222
                    [% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %]
223
                        <a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% patron_message.message_id | html %]&amp;borrowernumber=[% patron_message.borrowernumber | html %]&amp;from=moremember" onclick='return confirm(_("Are you sure you want to delete this message? This cannot be undone."));'><i class="fa fa-trash"></i> Delete</a>
223
                        <a class="btn btn-link delete_message" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% patron_message.message_id | html %]&amp;borrowernumber=[% patron_message.borrowernumber | html %]&amp;from=moremember"><i class="fa fa-trash"></i> Delete</a>
224
                    [% END %]
224
                    [% END %]
225
                </li>
225
                </li>
226
            [% END %]
226
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/members-menu.js (-1 / +4 lines)
Lines 47-52 $(document).ready(function(){ Link Here
47
        });
47
        });
48
    }
48
    }
49
49
50
    $(".delete_message").click(function(){
51
        return window.confirm( __("Are you sure you want to delete this message? This cannot be undone.") );
52
    });
53
50
    $("#updatechild, #patronflags, #renewpatron, #deletepatron, #exportbarcodes").tooltip();
54
    $("#updatechild, #patronflags, #renewpatron, #deletepatron, #exportbarcodes").tooltip();
51
    $("#exportcheckins").click(function(){
55
    $("#exportcheckins").click(function(){
52
        export_barcodes();
56
        export_barcodes();
53
- 

Return to bug 30028