Bugzilla – Attachment 49047 Details for
Bug 15962
Currency deletion doesn't correctly identify currencies in use
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 15962: Add messages on the currency admin page
SIGNED-OFF-Bug-15962-Add-messages-on-the-currency-.patch (text/plain), 1.85 KB, created by
Owen Leonard
on 2016-03-11 16:33:38 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 15962: Add messages on the currency admin page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-03-11 16:33:38 UTC
Size:
1.85 KB
patch
obsolete
>From 0476a1996b7261e0a9d9659b31ca6ab2f3ad618d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 8 Mar 2016 10:38:37 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 15962: Add messages on the currency admin > page >Content-Type: text/plain; charset="utf-8" > >Bug 15084 rewrote the currency admin page but forgot to add the messages >block. > >Test plan: >Add/update/delete vendors. >You should get information messages. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/admin/currency.tt | 23 ++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >index 8fb7152..8de224f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >@@ -65,6 +65,29 @@ > </div> > [% END %] > >+[% FOR m IN messages %] >+ <div class="dialog [% m.type %]"> >+ [% SWITCH m.code %] >+ [% CASE 'error_on_update' %] >+ An error occurred when updating this currency. Perhaps it already exists. >+ [% CASE 'error_on_insert' %] >+ An error occurred when adding this currency. The currency code might already exist. >+ [% CASE 'error_on_delete' %] >+ An error occurred when deleting this currency. Check the logs. >+ [% CASE 'success_on_update' %] >+ Currency updated successfully. >+ [% CASE 'success_on_insert' %] >+ Currency added successfully. >+ [% CASE 'success_on_delete' %] >+ Currency deleted successfully. >+ [% CASE %] >+ [% m.code %] >+ [% END %] >+ </div> >+[% END %] >+ >+ >+ > [% IF op == 'add_form' %] > > <form action="/cgi-bin/koha/admin/currency.pl" name="Aform" method="post" class="validated"> >-- >2.1.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 15962
:
48773
|
48774
|
49047
|
49048
|
49374
|
49375
|
49376
|
50232