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>
100 lines
3.1 KiB
Text
100 lines
3.1 KiB
Text
[% USE raw %]
|
|
[% PROCESS 'i18n.inc' %]
|
|
[% SET footerjs = 1 %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% FILTER collapse %]
|
|
[% t("Search results") | html %] ›
|
|
[% t("Serials") | html %] ›
|
|
[% t("Koha") | html %]
|
|
[% END %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body id="ser_result" class="ser">
|
|
|
|
<div class="main container-fluid">
|
|
[% INCLUDE 'messages.inc' %]
|
|
|
|
[% IF ( total ) %]
|
|
<h1>Search results from [% from | html %] to [% to | html %] of [% total | html %]</h1>
|
|
<div class="page-section">
|
|
<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">
|
|
[% INCLUDE 'biblio-title.inc' biblio=resultsloo %]
|
|
</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 | html %]" href="#" title="Choose this record">Choose</a></td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div>
|
|
[% ELSE %]
|
|
|
|
<div class="alert alert-info">
|
|
<p>No results found for <strong>[% query | html %]</strong></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>
|
|
|
|
<nav class="navbar navbar-default fixed-bottom">
|
|
<div class="container-fluid">
|
|
<fieldset class="action">
|
|
<form action="/cgi-bin/koha/serials/subscription-bib-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>
|
|
$(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 %]
|