Bug 30733: Simplify translatable strings
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / linkitem.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Link to host record &rsaquo; Cataloging &rsaquo; Koha</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="catalog_linkitem" class="catalog">
6 [% INCLUDE 'header.inc' %]
7 [% INCLUDE 'cat-search.inc' %]
8
9 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
10     <ol>
11         <li>
12             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
13         </li>
14         <li>
15             <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
16         </li>
17         <li>
18             <a href="#" aria-current="page">
19                 Link a host record to <em>[% bibliotitle | html %]</em>
20             </a>
21         </li>
22     </ol>
23 </nav>
24
25 <div class="container-fluid">
26     <div class="row">
27         <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
28
29             <h1>Link a host record to [% bibliotitle | html %]</h1>
30
31 [% IF ( error ) %]
32     <div class="dialog alert">
33         [% IF ( errornomodbiblio ) %]ERROR: Unable to modify the bibliographic record.[% END %]
34         [% IF ( errornohostitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %]
35     </div>
36     <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
37         <input type="submit" value="OK" />
38         <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
39     </form>
40 [% ELSE %]
41     [% IF ( success ) %]
42     <div class="dialog message">The item has successfully been linked to <em>[% bibliotitle | html %]</em>.</div>
43         <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
44             <input type="submit" value="OK" />
45             <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
46         </form>
47     [% ELSE %]
48         [% IF ( missingparameter ) %]
49         <form method="post" action="/cgi-bin/koha/cataloguing/linkitem.pl">
50             [% IF ( missingbiblionumber ) %]
51             <fieldset id="biblionumber_fieldset">
52                 <label for="biblionumber_fieldset">Select the biblionumber to link the item to</label>
53                     <div class="hint">Enter biblionumber:</div>
54                     <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" /> 
55             </fieldset>
56             [% ELSE %]
57             <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblionumber | html %]" />
58             [% END %]
59
60             [% IF ( missingbarcode ) %]
61             <fieldset id="barcode_fieldset">
62         <label for="barcode_fieldset">
63             [% IF (bibliotitle ) %]
64                 <span>Select the host record to link to '[% bibliotitle | html %]'</span>
65             [% ELSE %]
66                 <span>Select the host record to link</span>
67             [% END %]
68         </label>
69                     <div class="hint">Enter item barcode:</div>
70                     <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> 
71             </fieldset>
72             [% ELSE %]
73             <input type="hidden" name="barcode" id="barcode" value="[% barcode | html %]" />
74             [% END %]
75
76             <input type="submit" value="Select" />
77
78         </form>
79         [% END %]
80     [% END %]
81 [% END %]
82 [% INCLUDE 'intranet-bottom.inc' %]