[% 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 › Serials [% biblionumber | html %]</title>
-[% Asset.css("css/datatables.css") | $raw %]
[% INCLUDE 'doc-head-close.inc' %]
</head>
[% 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 %]&basketno=[% basketno | uri %]&biblionumber=[% sub.biblionumber | uri %]&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 %]&basketno=[% basketno | uri %]&biblionumber=[% sub.biblionumber | uri %]&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(){