Bug 33908: Improve translation of title tags: Acquisitions
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / cancelorder.tt
1 [% USE raw %]
2 [% PROCESS 'i18n.inc' %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>[% FILTER collapse %]
5     [% t("Cancel order") | html %] &rsaquo;
6     [% t("Acquisition") | html %] &rsaquo;
7     [% t("Koha") | html %]
8 [% END %]</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 </head>
11
12 <body id="acq_cancelorder" class="acq">
13 [% INCLUDE 'header.inc' %]
14
15 [% WRAPPER 'sub-header.inc' %]
16     [% WRAPPER breadcrumbs %]
17         [% WRAPPER breadcrumb_item %]
18             <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
19         [% END %]
20         [% WRAPPER breadcrumb_item %]
21             <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% basket.bookseller.id | uri %]">[% basket.bookseller.name | html %]</a>
22         [% END %]
23         [% WRAPPER breadcrumb_item %]
24             <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]">Basket [% basket.basketname | html %] ([% basket.basketno | html %]) for [% basket.bookseller.name | html %]</a>
25         [% END %]
26         [% WRAPPER breadcrumb_item bc_active= 1 %]
27             <span>Cancel order</span>
28         [% END %]
29     [% END #/ WRAPPER breadcrumbs %]
30 [% END #/ WRAPPER sub-header.inc %]
31
32 <div class="main container-fluid">
33     <div class="row">
34         <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
35
36       [% UNLESS ( confirmcancel ) %]
37       <form method="post" action="">
38         <div class="dialog alert">
39           <h1>Are you sure you want to cancel this order ([% ordernumber | html %])</h1>
40           <p>
41             [% IF (del_biblio) %]
42               <span>Bibliographic record will be deleted too.</span>
43             [% ELSE %]
44               <span>Bibliographic record will not be deleted.</span>
45             [% END %]
46           </p>
47           <p>
48             [% PROCESS 'av-build-dropbox.inc' name="reason", category="ORDER_CANCELLATION_REASON" default="0" %]
49           </p>
50           <input type="hidden" name="action" value="confirmcancel" />
51           <input type="hidden" value="[% ordernumber | html %]" name="ordernumber" />
52           <input type="hidden" value="[% biblionumber | html %]" name="biblionumber" />
53           <input type="hidden" value="[% basket.basketno | html %]" name="basketno" />
54           <input type="hidden" value="[% referrer | html %]" name="referrer" />
55           [% IF (del_biblio) %]
56             <input type="hidden" value="1" name="del_biblio" />
57           [% END %]
58           <button type="submit" class="approve" accesskey="y"><i class="fa fa-fw fa-check"></i> Yes, cancel (Y)</button>
59           <button class="deny" accesskey="n" onclick="window.location='[% referrer | html %]';return false;"><i class="fa fa-fw fa-times"></i> No, don't cancel (N)</button>
60         </div>
61       </form>
62       [% ELSE %]
63         [% IF ( success_cancelorder ) %]
64             <div class="dialog message">
65                 The order has been successfully cancelled
66         [% ELSE %]
67             <div class="dialog alert">
68                 An error has occurred.
69                 [% IF error_order_already_cancelled %]
70                     <p>The order has been cancelled already.</p>
71                 [% ELSIF error_order_not_found %]
72                     <p>The order could not be found.</p>
73                 [% END %]
74                 [% IF ( error_delitem ) %]
75                     <p>The order has been cancelled, although one or more items could not have been deleted.</p>
76                 [% END %]
77                 [% IF ( error_delbiblio ) %]
78                 <p>The order has been cancelled, although the record has not been deleted.</p>
79                 [% END %]
80         [% END %]
81                 <p><a href="[% referrer | url %]">OK</a></p>
82             </div>
83       [% END %]
84
85     </div>
86   </div>
87
88 [% INCLUDE 'intranet-bottom.inc' %]