Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt
Lucas Gass 3b273de577 Bug 25744: replace <b> with <strong> in the staff interface
This patch set attempts to replace all the <i> tags with <em> and all
the <b> tags with <strong> in the staff interface.
I attempted to get all the templates, includes, and xslt files.

To test:

1. Review the changes as best as possible, looking for mistakes.
2. grep for <i> and <b> in the modules, includes, and xslt folders. You should get nothing/
3. If you grep '<\/i>' you should only see instances of Font Awesome.
4. If you grep '<\/b>' you should only see instances where caret is used.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-18 11:08:35 +02:00

82 lines
2.6 KiB
Text

[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Serials &rsaquo; 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 | html %] to [% to | html %] of [% total | html %]</h1>
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>Publisher</th>
<th>Publication year</th>
<th>ISSN</th>
<th>&nbsp;</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>
[% ELSE %]
<div class="dialog message">
<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&amp;type=intranet&amp;startfrom=[% startfromprev |url %]&amp;q=[% query |url %]">&lt;&lt; Previous</a>
[% END %]
[% IF ( displaynext ) %]
<a class="nav" href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=[% startfromnext |url %]&amp;q=[% query |url %]">Next &gt;&gt;</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 %]