Bugzilla – Attachment 49749 Details for
Bug 16183
Add confirm message for deleting patron messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16183: Confirm message upon deleting patron messages
Bug-16183-Confirm-message-upon-deleting-patron-mes.patch (text/plain), 1.94 KB, created by
Aleisha Amohia
on 2016-03-31 21:56:22 UTC
(
hide
)
Description:
Bug 16183: Confirm message upon deleting patron messages
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-03-31 21:56:22 UTC
Size:
1.94 KB
patch
obsolete
>From 5d69bb53700d718ca88d4a1ff4dcb00b8d7b3f02 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 31 Mar 2016 21:42:06 +0000 >Subject: [PATCH] Bug 16183: Confirm message upon deleting patron messages > >To test: >1) Go to a patron circulation page and add a message >2) Click '[Delete]' >3) Confirm that a confirm dialog shows up and 'Cancel' and 'OK' do what is expected. > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index aa7bbdb..f5e06ec 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -47,6 +47,7 @@ var relatives_borrowernumbers = new Array(); > > var MSG_ADD_MESSAGE = _("Add a new message"); > var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); >+var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone."); > > columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) %] > >@@ -844,7 +845,7 @@ No patron matched <span class="ex">[% message %]</span> > <i>"[% message.message %]"</i> > </span> > [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] >- <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&borrowernumber=[% message.borrowernumber %]">[Delete]</a> >+ <a href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id %]&borrowernumber=[% message.borrowernumber %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);">[Delete]</a> > [% END %] > </li> > [% END %] >-- >1.7.10.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 16183
:
49749
|
49867
|
49953