Bug 33136: Added class "page-section" to the result page table of serial record search
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / result.tt
index 1c0c97a..d46bd08 100644 (file)
@@ -1,17 +1,16 @@
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Serials &rsaquo; Search results</title>
+<title>Search results &rsaquo; Serials &rsaquo; Koha</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
 
 <body id="ser_result" class="ser">
 
-<div id="doc" class="yui-t7">
-   <div id="bd">
-       
+<div class="main container-fluid">
 
 [% IF ( total ) %]
-<h1>Search results from [% from %] to [% to %] of [% total %]</h1>
+<h1>Search results from [% from | html %] to [% to | html %] of [% total | html %]</h1>
+<div class="page-section">
 <table>
     <tr>
        <th>Title</th>
     </tr>
     [% FOREACH resultsloo IN resultsloop %]
         <tr>
-            <td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
+            <td class="title">
+                [% INCLUDE 'biblio-title.inc' biblio=resultsloo %]
             </td>
             <td>
-                [% resultsloo.author |html %]
+                [% resultsloo.author | html %]
             </td>
             <td>
-                [% resultsloo.publishercode |html %]
+                [% resultsloo.publishercode | html %]
             </td>
             <td>
-                [% resultsloo.publicationyear |html %]
+                [% resultsloo.publicationyear | html %]
             </td>
             <td>
-                [% resultsloo.issn |html %]
+                [% 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>
+            <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="dialog message">
-        <p>No results found for <b>[% query %]</b></p>
+        <p>No results found for <strong>[% query | html %]</strong></p>
     </div>
 
 [% END %]
 
 <div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div>
 
-</div>
-
 [% MACRO jsinclude BLOCK %]
-    <script type="text/javascript">
+    <script>
         $(document).ready(function(){
             $(".select_title").on("click",function(e){
                 e.preventDefault();
@@ -82,4 +81,4 @@
     </script>
 [% END %]
 
-[% INCLUDE 'intranet-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]