Fix for Bug 4532, Use include file for bibliodefaultview logic
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / branchoverdues.tmpl
old mode 100755 (executable)
new mode 100644 (file)
index e629207..8458208
@@ -1,30 +1,30 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; Circulation</title>
+<title>Koha &rsaquo; Circulation &rsaquo; Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 </head>
 <body>
 <!-- TMPL_INCLUDE NAME="header.inc" -->
 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Library Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></div>
 
 <div id="doc" class="yui-t7">
-   
+
    <div id="bd">
        <div id="yui-main">
        <div class="yui-g">
 
 
-<h1>Circulation: Library Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></h1>
+<h1>Circulation: Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></h1>
 
 <!-- selector of location -->
 <!-- TMPL_IF NAME="location" -->
-<h4>location selected</h4>
+<h4>Location selected</h4>
 <form name="changelocation" action="branchoverdues.pl">
     <ul>
         <li>
             You are working actually on the overdues for the location : <b><!-- TMPL_VAR NAME="location" --></b>
-    <input type="submit" name="changelocation" class="button" value="change location" />
+    <input type="submit" name="changelocation" class="submit" value="change location" />
         </li>
     </ul>
 </form>
             <option value="<!-- TMPL_VAR NAME="authorised_value" -->"><!-- TMPL_VAR NAME="lib" --></option>
         <!-- /TMPL_LOOP -->
     </select>
-    <input type="submit" name="location" class="button" value="OK" />
+    <input type="submit" name="location" class="submit" value="OK" />
 </form>
 
 <!-- /TMPL_IF -->
     <!-- TMPL_IF name="overduesloop" -->
         <table style="width:100%;">
         <tr>
-            <th>Date_due</th>
+            <th>Date due</th>
             <th>Title</th>
             <th>Patron</th>
-            <th>Library</th>
+            <th>Location</th>
             <th>Overdue status</th>
             <th>Notified by</th>
         </tr>
             <!-- TMPL_LOOP NAME="overduesloop" -->
                 <tr>
                     <td>
-                        <p>
                         <!-- TMPL_VAR NAME="date_due" -->
-                        </p>
                     </td>
                     <td>
-                        <p>
-                            <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
+                    <!-- TMPL_INCLUDE NAME="biblio-default-view.inc" -->
                             &nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
                             <br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
-                        </p>
                     </td>
                     <td>
-                        <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
-                    <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">
+                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
+                    <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" ESCAPE="html" -->">
                     <!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
-                        </p>
                     </td>
-                    <td><p><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></p>
+                    <td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" -->
                     </td>
                     <td align="center">
                     <b>
                         <!-- TMPL_IF NAME="overdue1" -->
-                            first overdue
+                            First overdue
                         <!-- /TMPL_IF -->
                         <!-- TMPL_IF NAME="overdue2" -->
-                            second overdue
+                            Second overdue
                         <!-- /TMPL_IF -->
                         <!-- TMPL_IF NAME="overdue3" -->
                             Third overdue
                         <!-- TMPL_IF NAME="borroweremail" -->
                             <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=mail&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Mail</a>
                         <!-- TMPL_ELSE -->
-                            mail
+                            Mail
                         <!-- /TMPL_IF -->
                             &nbsp;|&nbsp;
                             <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=phone&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->
-                            ">phone</a>
+                            ">Phone</a>
                             &nbsp;|&nbsp;
                             <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=letter&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
                             &amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Notice</a>
                     <!-- /TMPL_IF -->
-                    
+
                     <!-- TMPL_IF NAME="overdue2" -->
                         <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=letter&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Notice</a>
                     <!-- /TMPL_IF -->
-                    
+
                     <!-- TMPL_IF NAME="overdue3" -->
                     <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=lost&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
                     &amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Considered lost</a>
                     <!-- /TMPL_IF -->
-                    
+
                     </td>
                 </tr>
             <!-- /TMPL_LOOP -->
         </table>
     <!-- TMPL_ELSE -->
-        There is no overdue for today
+        <div class="dialog message">There are no overdues for today.</div>
     <!-- /TMPL_IF -->
     <!-- TMPL_IF name="todayoverduesloop" -->
         <div id="branch_odues_today_odues">
             <table style="width:100%;">
                        <caption>Today's notifications</caption>
             <tr>
-                <th>Date_due</th>
+                <th>Date due</th>
                 <th>Title</th>
                 <th>Borrower</th>
-                <th>Localisation</th>
+                <th>Location</th>
                 <th>Overdue status</th>
                 <th>Notified by</th>
-                <th>Cancel</th>                        
+                <th>Cancel</th>
             </tr>
                 <!-- TMPL_LOOP NAME="todayoverduesloop" -->
                     <tr>
                         </td>
                         <td>
                             <p>
-                                <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
+                                <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
                                 &nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
                                 <br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
                             </p>
                         </td>
                         <td>
                             <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
-                        <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">
+                        <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" ESCAPE="html" -->">
                         <!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
                             </p>
                         </td>
                         <td align="center">
                             <b>
                                 <!-- TMPL_IF NAME="overdue1" -->
-                                    first overdue
+                                    First overdue
                                 <!-- /TMPL_IF -->
                                 <!-- TMPL_IF NAME="overdue2" -->
-                                    second overdue
+                                    Second overdue
                                 <!-- /TMPL_IF -->
                                 <!-- TMPL_IF NAME="overdue3" -->
-                                    considered lost
+                                    Considered lost
                                 <!-- /TMPL_IF -->
                             </b>
                         </td>
                         <td align="center">
                             <b><!-- TMPL_VAR NAME="notify_method" --></b>
                         </td>
-                    
+
                         <td>
                         <a href="branchoverdues.pl?action=remove&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=phone&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;notify_date=<!-- TMPL_VAR NAME="notify_date" -->">Cancel notification</a>
                         </td>