Bugzilla – Attachment 47138 Details for
Bug 15584
Staff client list errors are incorrectly styled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15584: Example
Bug-15584-Example.patch (text/plain), 1.86 KB, created by
Jonathan Druart
on 2016-01-21 15:35:18 UTC
(
hide
)
Description:
Bug 15584: Example
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-01-21 15:35:18 UTC
Size:
1.86 KB
patch
obsolete
>From 54a615c7b56dc8f8ba2ee68f57803a1f02202693 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Jan 2016 15:34:51 +0000 >Subject: [PATCH] Bug 15584: Example > >--- > .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index b0bdabc..01ab58b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -319,6 +319,12 @@ function placeHold () { > </div> > > [% FOR m IN messages %] >+ >+ [% IF m.code == 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] >+ <div class="dialog alert"> >+ <span>An error occurred when inserting this list. The name [% shelf.shelfname %] already exists.</span> >+ </div> >+ [% ELSE %] > <div class="dialog [% m.type %]"> > [% SWITCH m.code %] > [% CASE 'error_on_update' %] >@@ -353,8 +359,6 @@ function placeHold () { > <span>You do not have permission to add a biblio to this list.</span> > [% CASE 'no_biblio_removed' %] > <span>No biblio has been removed.</span> >- [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] >- <span>An error occurred when inserting this list. The name [% shelfname %] already exists.</span> > [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %] > <span>List could not be created. (Do not use the database administrator account.)</span> > [% CASE 'DBIx::Class::Exception' %] >@@ -363,6 +367,7 @@ function placeHold () { > [% m.code %] > [% END %] > </div> >+ [% END %] > [% END %] > > [% IF op == 'view' %] >-- >2.1.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 15584
:
46739
|
47078
|
47081
|
47138
|
59183
|
59661
|
59679