Bug 23983: Contextualization of 'Order' (verb) vs 'Order' (noun)
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / newordersubscription.tt
index 3b138de..3e14e75 100644 (file)
@@ -3,10 +3,11 @@
 [% USE KohaDates %]
 [% USE Branches %]
 [% USE Koha %]
+[%# USE the plugin and define some macros %]
+[% PROCESS 'i18n.inc' %]
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Serials [% biblionumber | html %]</title>
-[% Asset.css("css/datatables.css") | $raw %]
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
 
@@ -45,7 +46,7 @@
                         [% FOREACH sub IN subs_loop %]
                             <tr data-reneweddate="[% sub.reneweddate | html %]" >
                                 <td>[% sub.issn | html %]</td>
-                                <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% sub.subscriptionid | html %]" class="button" title="subscription detail">[% IF (sub.title) %][% sub.title | html %][% ELSE %]
+                                <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% sub.subscriptionid | uri %]" class="button" title="subscription detail">[% IF (sub.title) %][% sub.title | html %][% ELSE %]
                                 ---
                             [% END %][% IF (sub.unititle) %], [% sub.unititle | html %][% END %]</a>
                                 </td>
                                         <span title="0000-00-00"></span>
                                     [% END %]
                                 </td>
-                                <td>
+                                <td class="actions">
                                     [% IF (sub.alreadyOnOrder) %]
                                         Outstanding order
                                     [% END %]
-                                    [% IF not sub.aqbooksellerid || booksellerid == sub.aqbooksellerid%]
-                                        <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;biblionumber=[% sub.biblionumber | uri %]&amp;from_subscriptionid=[% sub.subscriptionid | uri %]" title="Order this one">
-                                            Order
+                                    [% IF not sub.aqbooksellerid || booksellerid == sub.aqbooksellerid %]
+                                        <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;biblionumber=[% sub.biblionumber | uri %]&amp;from_subscriptionid=[% sub.subscriptionid | uri %]" title="Order this one" class="btn btn-default btn-xs">
+                                            <i class="fa fa-plus"></i> [% tp('verb', 'Order') | html %]
                                         </a>
                                     [% ELSE %]
                                         <a title="This subscription depends on another supplier" style="cursor:help">Cannot be ordered</a>
                     { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
                     { "sType": "title-string", "aTargets" : [ "title-string" ] }
                 ],
-                "sPaginationType": "four_button"
+                "sPaginationType": "full"
             }));
 
             $("#show_only_renewed").click(function(){