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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-3 / +7 lines)
Lines 319-324 function placeHold () { Link Here
319
   </div>
319
   </div>
320
320
321
[% FOR m IN messages %]
321
[% FOR m IN messages %]
322
323
    [% IF m.code == 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
324
        <div class="dialog alert">
325
            <span>An error occurred when inserting this list. The name [% shelf.shelfname %] already exists.</span>
326
        </div>
327
    [% ELSE %]
322
    <div class="dialog [% m.type %]">
328
    <div class="dialog [% m.type %]">
323
        [% SWITCH m.code %]
329
        [% SWITCH m.code %]
324
        [% CASE 'error_on_update' %]
330
        [% CASE 'error_on_update' %]
Lines 353-360 function placeHold () { Link Here
353
            <span>You do not have permission to add a biblio to this list.</span>
359
            <span>You do not have permission to add a biblio to this list.</span>
354
        [% CASE 'no_biblio_removed' %]
360
        [% CASE 'no_biblio_removed' %]
355
            <span>No biblio has been removed.</span>
361
            <span>No biblio has been removed.</span>
356
        [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
357
            <span>An error occurred when inserting this list. The name [% shelfname %] already exists.</span>
358
        [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
362
        [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
359
            <span>List could not be created. (Do not use the database administrator account.)</span>
363
            <span>List could not be created. (Do not use the database administrator account.)</span>
360
        [% CASE 'DBIx::Class::Exception' %]
364
        [% CASE 'DBIx::Class::Exception' %]
Lines 363-368 function placeHold () { Link Here
363
            [% m.code %]
367
            [% m.code %]
364
        [% END %]
368
        [% END %]
365
    </div>
369
    </div>
370
    [% END %]
366
[% END %]
371
[% END %]
367
372
368
[% IF op == 'view' %]
373
[% IF op == 'view' %]
369
- 

Return to bug 15584