Bug 27846: modules and modules/acqui folders
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / cancelorder.tt
index 5c07c67..db75ce5 100644 (file)
@@ -3,20 +3,36 @@
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
 
-<body>
+<body id="acq_cancelorder" class="acq">
 [% INCLUDE 'header.inc' %]
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a> &rsaquo; Cancel order</div>
+<nav aria-label="Breadcrumb" class="breadcrumb">
+    <ol>
+        <li>
+            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
+        </li>
+        <li>
+            <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
+        </li>
+        <li>
+            <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% basket.bookseller.id | uri %]">[% basket.bookseller.name | html %]</a>
+        </li>
+        <li>
+            <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>
+        <li>
+            <a href="#" aria-current="page">Cancel order</a>
+        </li>
+    </ol>
+</nav>
 
-<div id="doc3" class="yui-t2">
+<div class="main container-fluid">
+    <div class="row">
+        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
 
-<div id="bd">
-  <div id="yui-main">
-    <div class="yui-b">
       [% UNLESS ( confirmcancel ) %]
       <form method="post" action="">
         <div class="dialog alert">
-          <h3>Are you sure you want to cancel this order ([% ordernumber %])</h3>
+          <h3>Are you sure you want to cancel this order ([% ordernumber | html %])</h3>
           <p>
             [% IF (del_biblio) %]
               Bibliographic record will be deleted too.
             [% PROCESS 'av-build-dropbox.inc' name="reason", category="ORDER_CANCELLATION_REASON" default="0" %]
           </p>
           <input type="hidden" name="action" value="confirmcancel" />
-          <input type="hidden" value="[% ordernumber %]" name="ordernumber" />
-          <input type="hidden" value="[% biblionumber %]" name="biblionumber" />
-          <input type="hidden" value="[% referrer %]" name="referrer" />
+          <input type="hidden" value="[% ordernumber | html %]" name="ordernumber" />
+          <input type="hidden" value="[% biblionumber | html %]" name="biblionumber" />
+          <input type="hidden" value="[% basket.basketno | html %]" name="basketno" />
+          <input type="hidden" value="[% referrer | html %]" name="referrer" />
           [% IF (del_biblio) %]
             <input type="hidden" value="1" name="del_biblio" />
           [% END %]
-          <input type="submit" class="approve" value="Yes, cancel" accesskey="y" />
-          <input type="submit" class="deny" value="No, don't cancel" accesskey="n" onclick="window.location='[% referrer %]';return false;" />
+          <button type="submit" class="approve" accesskey="y"><i class="fa fa-fw fa-check"></i> Yes, cancel (Y)</button>
+          <button class="deny" accesskey="n" onclick="window.location='[% referrer | html %]';return false;"><i class="fa fa-fw fa-remove"></i> No, don't cancel (N)</button>
         </div>
       </form>
       [% ELSE %]
                 <p>The order has been cancelled, although the record has not been deleted.</p>
                 [% END %]
         [% END %]
-                <p><a href="[% referrer %]">OK</a></p>
+                <p><a href="[% referrer | url %]">OK</a></p>
             </div>
       [% END %]
 
     </div>
   </div>
-</div>
+
 [% INCLUDE 'intranet-bottom.inc' %]