This patch updates serials templates so that title tags can be more easily translated. Some templates have been updated for consistency as well: Harmonizing page title, breaddrumb navigation, and page headers; Adding "page-section" <div> where it was lacking. To test, apply the patch and confirm that the following pages have the correct title tags: - Serials home - Serials search results - Subscription details - Subscription edit - Search for vendor - Search for bibliographic record - Subscription renew - Serial collection - Create and modify routing list - Preview routing list - View routing slip - Claims - Check expiration - With a subscription which has manual history enabled, click the "Edit history" link under the "Planning" tab. - Select multiple serial search results and batch edit - New subscription - Manage frequencies: Create and edit - Manage numbering patterns: Create and edit Signed-off-by: Loïc Vassaux-Artur <loic.vassaux-artur@outlook.fr> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
74 lines
2.3 KiB
Text
74 lines
2.3 KiB
Text
[% USE raw %]
|
|
[% PROCESS 'i18n.inc' %]
|
|
[% SET footerjs = 1 %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% FILTER collapse %]
|
|
[% t("Vendor search results") | html %] ›
|
|
[% t("Serials") | html %] ›
|
|
[% t("Koha") | html %]
|
|
[% END %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body id="ser_acqui-search-result" class="ser">
|
|
|
|
<div class="main container-fluid">
|
|
|
|
<h1>Vendor search results</h1>
|
|
[% INCLUDE 'messages.inc' %]
|
|
[% UNLESS count %]
|
|
<h2>Your search returned no results.</h2>
|
|
[% ELSIF ( supplier.length < 1 ) %]
|
|
<h2>[% count | html %] result(s) found</h2>
|
|
[% ELSE %]
|
|
<h2>[% count | html %] result(s) found for '[% supplier | html %]'</h2>
|
|
[% END %]
|
|
|
|
[% IF ( loop_suppliers ) %]
|
|
<div class="page-section">
|
|
<table>
|
|
<tr>
|
|
<th>Vendor</th>
|
|
<th>Select</th>
|
|
</tr>
|
|
[% FOREACH loop_supplier IN loop_suppliers %]
|
|
<tr>
|
|
<td>[% loop_supplier.name | html %]</td>
|
|
<td><a class="btn btn-default btn-xs select_vendor" href="#" data-vendorid="[% loop_supplier.aqbooksellerid | html %]" data-vendorname="[% loop_supplier.name | html %]">Choose</a></td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div> <!-- /.page-section -->
|
|
[% END %]
|
|
|
|
<nav class="navbar navbar-default fixed-bottom">
|
|
<div class="container-fluid">
|
|
<fieldset class="action">
|
|
<form action="/cgi-bin/koha/serials/acqui-search.pl">
|
|
<button class="btn btn-default" type="submit"><i class="fa fa-arrow-left"></i> Perform a new search</button>
|
|
</form>
|
|
<button type="button" class="btn btn-default close_window">Close window</button>
|
|
</fieldset>
|
|
</div>
|
|
</nav>
|
|
|
|
[% MACRO jsinclude BLOCK %]
|
|
<script>
|
|
function GetIt(aqbooksellerid,name){
|
|
opener.document.f.aqbooksellerid.value = aqbooksellerid;
|
|
opener.document.f.aqbooksellername.value = name;
|
|
window.close();
|
|
}
|
|
|
|
$(document).ready(function(){
|
|
$(".select_vendor").on("click",function(e){
|
|
e.preventDefault();
|
|
var vendorname = $(this).data("vendorname");
|
|
var vendorid = $(this).data("vendorid");
|
|
GetIt( vendorid, vendorname );
|
|
});
|
|
});
|
|
</script>
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
|