nomenclature cleanup in the OPAC detail and user pages
authorJoshua Ferraro <jmf@liblime.com>
Sun, 23 Dec 2007 21:46:31 +0000 (16:46 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 23 Dec 2007 21:48:04 +0000 (15:48 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl
opac/opac-detail.pl

index 4a3bef6..44d82dd 100755 (executable)
 <!-- TMPL_IF NAME="reviews" -->
         <!--TMPL_LOOP NAME="reviews"-->
             <h5>
-                Review by
+                Comment by
                 <!--TMPL_VAR NAME="title"-->
                 <!--TMPL_VAR NAME="firstname"-->
                 <!--TMPL_VAR NAME="surname"-->
index 93c6220..5335db6 100644 (file)
 
     <div id="opac-user-checkouts"><!-- TMPL_IF NAME="issues_count" -->
         <table>
-               <caption>Issues (<!-- TMPL_VAR NAME="issues_count" --> total)</caption>
+               <caption><!-- TMPL_VAR NAME="issues_count" --> Items</caption>
         <!-- ISSUES TABLE ROWS --><tr>
         <th colspan="2">Title</th>
         <th>Call No.</th>
                </form>
     <!-- TMPL_ELSE -->
         <table>
-            <caption>Issues</caption>
             <tr><td>You have nothing checked out</td></tr>
         </table>
     <!-- /TMPL_IF --></div>
@@ -261,13 +260,13 @@ No renewals left
                     <!-- TMPL_IF Name="wait" -->
                         <!-- TMPL_IF NAME="atdestination" -->
                             <!-- TMPL_IF name="found" -->
-                            Document waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b>
+                            Item waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b>
                             <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
                         <!-- TMPL_ELSE -->
-                            Waiting to be pulled
+                            Item waiting to be pulled
                         <!-- /TMPL_IF -->
                         <!-- TMPL_ELSE -->
-                        Document being transfered to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
+                            Item being transfered to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
                         <!-- /TMPL_IF -->
                     <!-- TMPL_ELSE -->
                         Not ready
@@ -276,7 +275,7 @@ No renewals left
             </tr>
             <!-- /TMPL_LOOP -->
         </table>
-        <p>If you no longer want a reserve, please send us an e-mail, or go to the circulation desk at your library to get it removed.</p></div>
+       </div>
     <!-- /TMPL_IF -->
        </div><!-- /opac-user views -->
        
index 46e257b..92628be 100755 (executable)
@@ -26,6 +26,7 @@ use C4::Koha;
 use C4::Serials;    #uses getsubscriptionfrom biblionumber
 use C4::Output;
 use C4::Biblio;
+use C4::Dates qw/format_date/;
 use C4::XISBN qw(get_xisbns get_biblio_from_xisbn);
 use C4::Amazon;
 use C4::Review;
@@ -125,6 +126,7 @@ foreach ( @$reviews ) {
     $_->{title}     = $borrowerData->{'title'};
     $_->{surname}   = $borrowerData->{'surname'};
     $_->{firstname} = $borrowerData->{'firstname'};
+    $_->{datereviewed} = format_date($_->{datereviewed});
 }
 
 $template->param(