Bug 29609: Centralized code to build the link to a biblio detail page
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / neworderempty_duplicate.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Duplicate warning &rsaquo; Basket [% basketno | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="acq_neworderempty_duplicate" class="acq">
6
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'acquisitions-search.inc' %]
9
10
11 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12     <ol>
13         <li>
14             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
15         </li>
16         <li>
17             <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
18         </li>
19         <li>
20             <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno | html %]</a>
21         </li>
22         <li>
23             <a href="#" aria-current="page">
24                 Duplicate warning
25             </a>
26         </li>
27     </ol>
28 </nav>
29
30 <div class="main container-fluid">
31     <div class="row">
32         <div class="col-sm-10 col-sm-push-2">
33             <main>
34
35 <div class="dialog alert">
36 <h4>Duplicate warning</h4>
37 <p>You selected a record from an external source that matches an existing record in your catalog: <a target="_blank" title="Open in new window" href="[% PROCESS biblio_a_href biblionumber => biblionumber %]"><i class="fa fa-window-restore"></i> [% duplicatetitle | html %]</a></p>
38 </div>
39
40 <div class="row">
41 <div class="col-sm-4">
42 <div style="border: 1px solid #DDD; padding:1em;">
43 <form action="/cgi-bin/koha/acqui/neworderempty.pl">
44 <h4>Use existing record</h4>
45 <p>Do not create a duplicate record. Add an order from the existing record in your catalog.</p>
46 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
47 <input type="hidden" name="basketno" value="[% basketno | html %]" />
48 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
49 <input type="submit" value="Use existing" />
50 </form>
51 </div>
52 </div>
53
54 <div class="col-sm-4">
55 <div style="border: 1px solid #DDD; padding:1em;">
56 <form action="/cgi-bin/koha/acqui/basket.pl">
57 <h4>Cancel and return to order</h4>
58 <p>Return to the basket without making a new order.</p>
59 <input type="hidden" name="basketno" value="[% basketno | html %]" />
60 <input type="submit" value="Cancel" />
61 </form>
62 </div>
63 </div>
64
65 <div class="col-sm-4">
66 <div style="border: 1px solid #DDD; padding:1em;">
67 <form action="/cgi-bin/koha/acqui/neworderempty.pl">
68 <h4>Create new record</h4>
69 <p>Create a new record by importing the external (duplicate) record.</p>
70 <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
71 <input type="hidden" name="basketno" value="[% basketno | html %]" />
72 <input type="hidden" name="breedingid" value="[% breedingid | html %]" />
73 <input type="hidden" name="use_external_source" value="1" />
74 <input type="submit" value="Create new" />
75 </form>
76 </div>
77 </div>
78
79 </div>
80
81 </main>
82 </div> <!-- /.col-sm-10.col-sm-push-2 -->
83
84 <div class="col-sm-2 col-sm-pull-10">
85     <aside>
86         [% INCLUDE 'acquisitions-menu.inc' %]
87     </aside>
88 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
89 </div> <!-- /.row -->
90
91 [% INCLUDE 'intranet-bottom.inc' %]