[SIGNED-OFF]Bug 2780 - Capitalize strings consistently (reports)
[koha_gimpoz] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / catalogue_out.tt
index 48ad8a3..281fa66 100644 (file)
@@ -5,7 +5,7 @@
        .sql {display: none;}
 </style>
 </head>
-<body>
+<body id="rep_catalogue_out" class="rep">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'cat-search.inc' %]
 
@@ -35,7 +35,7 @@
                [% IF ( mainloo.looptables ) %]
                        <h3><a name="summary" id="summary"></a>Summary</h3>
                        <table id="summary_table">
-                               <tr><th>Group</th><th>Call Number Range</th><th>Number of Items Displayed</th><th>Total Items in Group</th>
+                <tr><th>Group</th><th>Call number range</th><th>Number of items displayed</th><th>Total items in group</th>
                                </tr>
                        [% FOREACH looptable IN mainloo.looptables %]
                                <tr><td><a href="#table[% looptable.coltitle %]">[% looptable.coltitle %]</a></td>
                <table>
                        <tr>
                                <th>#</th>
-                               <th>Call Number</th>
+                <th>Call number</th>
                                <th>Barcode</th>
-                               <th>Item Details</th>
+                <th>Item details</th>
                        </tr>
                                [% IF ( looptable.looprow ) %]
                                [% FOREACH loopro IN looptable.looprow %]
-                    [% UNLESS ( loop.odd ) %]<tr class="highlight">
-                    [% ELSE %]<tr>[% END %]
+                               [% DEFAULT
+                    loopro.itemcallnumber="No call number"
+                    loopro.barcode="No barcode"
+                                   loopro.title="NO TITLE"
+                                   loopro.author=""
+                               %]
+                                   [% UNLESS ( loop.odd ) %]<tr class="highlight">
+                                   [% ELSE %]<tr>[% END %]
+                   
                                                <td>[% loop.count %]</td>
-                                               <td>[% DEFAULT loopro.itemcallnumber="No Call Number" %]</td>
-                                               <td>[% DEFAULT loopro.barcode="No Barcode" %]</td>
-                                               <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber %]">[% DEFAULT loopro.title="NO TITLE" %]</a></p>
-                                                       [% DEFAULT loopro.author="" %]
+                                               <td>[% loopro.itemcallnumber %]</td>
+                                               <td>[% loopro.barcode %]</td>
+                                               <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber %]">[% loopro.title %]</a></p>
+                                                       [% loopro.author %]
                                                        [% IF ( loopro.branch ) %]at [% loopro.branch %][% END %]
                                                </td>
                                        </tr>
                [% END %]
        [% END %]
 [% ELSE %]
-       <h1>Items with no checkouts</h1>
+    <h1>Items with no checkouts</h1>
        <form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
        
        <fieldset class="rows">
                <ol>
                        <li><label for="branch">Library: </label>
        <select name="Filter" id="branch">
-               <option value="">Any Library</option>
+        <option value="">Any library</option>
     [% FOREACH branchloo IN branchloop %]
         <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>  
      [% END %] 
     </select></li>
       <li> 
-        <label for="documenttype">Item Type: </label><select name="Filter" id="documenttype">
-               <option value="">Any Item Type</option>
+        <label for="documenttype">Item type: </label><select name="Filter" id="documenttype">
+        <option value="">Any item type</option>
     [% FOREACH itemtypeloo IN itemtypeloop %]
         <option value="[% itemtypeloo.value %]">[% itemtypeloo.description %]</option>  
      [% END %] 
                <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
                                                <option value ="" selected="selected">None</option>
                                                <option value ="homebranch">Library</option>
-                                               <option value ="itype">Itemtype</option>
+                        <option value ="itype">Item type</option>
                                        </select></li>
                </ol>
        </fieldset>