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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-3 / +2 lines)
Lines 349-355 Link Here
349
                    </span>
349
                    </span>
350
                    [% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %]
350
                    [% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %]
351
                        [% IF moremember %]
351
                        [% IF moremember %]
352
                            <a id="#edit_message_form_[% patron_message.message_id | html %]" class="btn btn-default btn-link edit_message" href="#edit_message_form_[% patron_message.message_id | uri %]" data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" data-bs-toggle="modal"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
352
                            <a id="#edit_message_form_[% patron_message.message_id | html %]" class="btn btn-link edit_message" href="#edit_message_form_[% patron_message.message_id | uri %]" data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" data-bs-toggle="modal"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
353
                            <form action="/cgi-bin/koha/circ/del_message.pl" method="post">
353
                            <form action="/cgi-bin/koha/circ/del_message.pl" method="post">
354
                                [% INCLUDE 'csrf-token.inc' %]
354
                                [% INCLUDE 'csrf-token.inc' %]
355
                                <input type="hidden" name="op" value="cud-delete">
355
                                <input type="hidden" name="op" value="cud-delete">
Lines 359-365 Link Here
359
                                <button type="submit" class="btn btn-link delete_message"><i class="fa fa-trash-can"></i> Delete</button>
359
                                <button type="submit" class="btn btn-link delete_message"><i class="fa fa-trash-can"></i> Delete</button>
360
                            </form>
360
                            </form>
361
                        [% ELSE %]
361
                        [% ELSE %]
362
                            <a id="#edit_message_form_[% patron_message.message_id | html %]" class="btn btn-default btn-link edit_message" href="#edit_message_form_[% patron_message.message_id | uri %]" data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" data-bs-toggle="modal"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
362
                            <a id="#edit_message_form_[% patron_message.message_id | html %]" class="btn btn-link edit_message" href="#edit_message_form_[% patron_message.message_id | uri %]" data-bs-target="#edit_message_form_[% patron_message.message_id | html %]" data-bs-toggle="modal"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
363
                            <form action="/cgi-bin/koha/circ/del_message.pl" method="post">
363
                            <form action="/cgi-bin/koha/circ/del_message.pl" method="post">
364
                                [% INCLUDE 'csrf-token.inc' %]
364
                                [% INCLUDE 'csrf-token.inc' %]
365
                                <input type="hidden" name="op" value="cud-delete">
365
                                <input type="hidden" name="op" value="cud-delete">
366
- 

Return to bug 37745