Owen Leonard
b86a9ee984
This patch updates several single-column Serials module templates to use the Bootstrap grid. In addition to grid changes, some templates have been modified to include the footer with the correct popup parameter. - serials\acqui-search.tt - Go to Serials -> New subscription. Click "Search for a vendor." - serials\acqui-search-result.tt - Vendor search results - serials\result.tt - Click "Search for record." - serials\subscription-bib-search.tt - Catalog search results. Each of these pages should look correct. Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
81 lines
2.6 KiB
Text
81 lines
2.6 KiB
Text
[% SET footerjs = 1 %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Serials › Search results</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body id="ser_result" class="ser">
|
|
|
|
<div class="main container-fluid">
|
|
|
|
[% IF ( total ) %]
|
|
<h1>Search results from [% from %] to [% to %] of [% total %]</h1>
|
|
<table>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<th>Publisher</th>
|
|
<th>Publication year</th>
|
|
<th>ISSN</th>
|
|
<th> </th>
|
|
</tr>
|
|
[% FOREACH resultsloo IN resultsloop %]
|
|
<tr>
|
|
<td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
|
|
</td>
|
|
<td>
|
|
[% resultsloo.author |html %]
|
|
</td>
|
|
<td>
|
|
[% resultsloo.publishercode |html %]
|
|
</td>
|
|
<td>
|
|
[% resultsloo.publicationyear |html %]
|
|
</td>
|
|
<td>
|
|
[% resultsloo.issn |html %]
|
|
</td>
|
|
<td><a class="btn btn-default btn-xs select_title" data-biblionumber="[% resultsloo.biblionumber %]" href="#" title="Choose this record">Choose</a></td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
[% ELSE %]
|
|
|
|
<div class="dialog message">
|
|
<p>No results found for <b>[% query %]</b></p>
|
|
</div>
|
|
|
|
[% END %]
|
|
|
|
<div class="pages">
|
|
[% IF ( displayprev ) %]
|
|
<a class="nav" href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&type=intranet&startfrom=[% startfromprev |url %]&q=[% query |url %]"><< Previous</a>
|
|
[% END %]
|
|
[% IF ( displaynext ) %]
|
|
<a class="nav" href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&type=intranet&startfrom=[% startfromnext |url %]&q=[% query |url %]">Next >></a>
|
|
[% END %]
|
|
</div>
|
|
|
|
<p><a href="subscription-bib-search.pl">Search for another record</a></p>
|
|
|
|
<div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div>
|
|
|
|
[% MACRO jsinclude BLOCK %]
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$(".select_title").on("click",function(e){
|
|
e.preventDefault();
|
|
var biblionumber = $(this).data("biblionumber");
|
|
GetIt( biblionumber, $(this) );
|
|
});
|
|
});
|
|
function GetIt(bibno,title) {
|
|
title = title.parents('tr').find('.title').text();
|
|
opener.document.f.biblionumber.value = bibno;
|
|
opener.document.f.title.value = title;
|
|
window.close();
|
|
}
|
|
</script>
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
|