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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-5 / +4 lines)
Lines 410-426 function Changefwk(FwkList) { Link Here
410
    <!-- show duplicate warning on tab 0 only -->
410
    <!-- show duplicate warning on tab 0 only -->
411
        [% IF ( duplicatebiblionumber ) %]
411
        [% IF ( duplicatebiblionumber ) %]
412
                    <div class="dialog alert">
412
                    <div class="dialog alert">
413
                        <h4>Duplicate record suspected</h4>
413
                        <h3>Duplicate record suspected</h3>
414
                        <p>Is this a duplicate of <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]" onclick="openWindow('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]&amp;popup=1', 'DuplicateBiblio','800','600'); return false;">[% duplicatetitle %]</a>?</p>
414
                        <p>Is this a duplicate of <a class="popup" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]" onclick="openWindow('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]&amp;popup=1', 'DuplicateBiblio','800','600'); return false;">[% duplicatetitle %]</a> ?</p>
415
                        [% IF ( CAN_user_editcatalogue_edit_items ) %]<form action="/cgi-bin/koha/cataloguing/additem.pl" method="get">
415
                        [% IF ( CAN_user_editcatalogue_edit_items ) %]<form action="/cgi-bin/koha/cataloguing/additem.pl" method="get">
416
                                                    <input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" />
416
                                                    <input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" />
417
                                                    <input type="submit" class="edit" value="Yes: Edit existing items" />
417
                                                    <button type="submit" class="new"><i class="fa fa-fw fa-pencil"></i> Yes, edit existing items</button>
418
                                                </form>[% ELSE %]<form action="/cgi-bin/koha/catalogue/detail.pl" method="get">
418
                                                </form>[% ELSE %]<form action="/cgi-bin/koha/catalogue/detail.pl" method="get">
419
                                                    <input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" />
419
                                                    <input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" />
420
                                                    <input type="submit" value="Yes: View existing items" />
420
                                                    <input type="submit" value="Yes: View existing items" />
421
                                                </form>[% END %]
421
                                                </form>[% END %]
422
                        <form action="/cgi-bin/koha/cataloguing/addbiblio.pl" method="get">
422
                        <form action="/cgi-bin/koha/cataloguing/addbiblio.pl" method="get">
423
                        [% IF ( CAN_user_editcatalogue_edit_items ) %]<input type="button" class="save" onclick="confirmnotdup('items'); return false;" value="No: Save as new record" />[% ELSE %]<input type="button" class="save" onclick="confirmnotdup('view'); return false;" value="No: Save as new record" />[% END %]
423
                            [% IF ( CAN_user_editcatalogue_edit_items ) %]<button type="submit" class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-fw fa-save"></i> No, save as new record</button>[% ELSE %]<button type="submit" class="new" onclick="confirmnotdup('view'); return false;"><i class="fa fa-fw fa-save"></i> No, save as new record</button>[% END %]
424
                        </form>
424
                        </form>
425
                    </div>
425
                    </div>
426
        [% END %]
426
        [% END %]
427
- 

Return to bug 16059