Bugzilla – Attachment 48773 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]
Bug 15962: Add messages on the currency admin page
Bug-15962-Add-messages-on-the-currency-admin-page.patch (text/plain), 1.75 KB, created by
Jonathan Druart
on 2016-03-08 10:51:20 UTC
(
hide
)
Description:
Bug 15962: Add messages on the currency admin page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-08 10:51:20 UTC
Size:
1.75 KB
patch
obsolete
>From fd1f78027114ada855d701260467217c3673e2d6 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] Bug 15962: Add messages on the currency admin page > >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. >--- > .../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.7.0
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