[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-user.tmpl [dev_week]
From: |
Owen Leonard |
Subject: |
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-user.tmpl [dev_week] |
Date: |
Wed, 20 Sep 2006 20:22:03 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Owen Leonard <oleonard> 06/09/20 20:22:03
Modified files:
koha-tmpl/opac-tmpl/npl/en: opac-user.tmpl
Log message:
First swing at reformatting opac-user information. Moving sections into
tabs.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-user.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.11.2.6&r2=1.1.2.11.2.7
Patches:
Index: opac-user.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-user.tmpl,v
retrieving revision 1.1.2.11.2.6
retrieving revision 1.1.2.11.2.7
diff -u -b -r1.1.2.11.2.6 -r1.1.2.11.2.7
--- opac-user.tmpl 19 Sep 2006 13:13:21 -0000 1.1.2.11.2.6
+++ opac-user.tmpl 20 Sep 2006 20:22:03 -0000 1.1.2.11.2.7
@@ -16,35 +16,37 @@
/TMPL_IF -->
<!-- TMPL_IF NAME="gonenoaddress" --><li><strong>Please note:</strong>
According to our records, we don't have up-to-date <a
href="/cgi-bin/koha/opac-userdetails.pl">contact information</a> on file.
Please contact your librarian, or use the <a
href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit
current information (<em>Please note:</em> there may be a delay in restoring
your account if you submit online)</li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="lost" --><li><strong>Please note: </strong> Your library
card has been marked as lost or stolen. If this is an error, please take your
card to the circulation desk at your local library and the error will be
corrected.</li><!-- /TMPL_IF --></ul></div><!-- /TMPL_IF -->
+
+<ul class="link-tabs">
+<li id="issues_tab"<!-- TMPL_IF name="showissues" --> class="on"<!-- TMPL_ELSE
--> class="off"<!-- /TMPL_IF -->><a
href="/cgi-bin/koha/opac-user.pl?display=issues" onclick="changeView('issues');
return false;">Issues</a></li> <!-- TMPL_IF NAME="overdues_count" --><li
id="overdues_tab"<!-- TMPL_IF name="showoverdues" --> class="on"<!-- TMPL_ELSE
--> class="off"<!-- /TMPL_IF -->><a
href="/cgi-bin/koha/opac-user.pl?display=overdues"
onclick="changeView('overdues'); return false;">Overdues</a></li><!-- /TMPL_IF
-->
+<!-- TMPL_IF NAME="amountoverfive" --><li id="fines_tab"<!-- TMPL_IF
name="showfines" --> class="on"<!-- TMPL_ELSE --> class="off"<!-- /TMPL_IF
-->><a class="debit" href="/cgi-bin/koha/opac-user.pl?display=fines"
onclick="changeView('fines'); return false;">Fines</a></li><!-- TMPL_ELSE
--><!-- TMPL_IF NAME="amountoverzero" --><li id="fines_tab"<!-- TMPL_IF
name="showfines" --> class="on"<!-- TMPL_ELSE --> class="off"<!-- /TMPL_IF
-->><a href="/cgi-bin/koha/opac-user.pl?display=fines"
onclick="changeView('fines'); return false;">Fines</a></li><!-- TMPL_ELSE
--><!-- TMPL_IF NAME="amountlessthanzero" --><li id="fines_tab"<!-- TMPL_IF
name="showfines" --> class="on"<!-- TMPL_ELSE --> class="off"<!-- /TMPL_IF
-->><a href="/cgi-bin/koha/opac-user.pl?display=fines"
onclick="changeView('fines'); return false;">Credits</a></li><!-- /TMPL_IF
--><!-- /TMPL_IF --><!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="waiting_count" --><li id="waiting_tab"<!-- TMPL_IF
name="showwaiting" --> class="on"<!-- TMPL_ELSE --> class="off"<!-- /TMPL_IF
-->><a href="/cgi-bin/koha/opac-user.pl?display=waiting"
onclick="changeView('waiting'); return false;">Waiting</a></li><!-- /TMPL_IF -->
+
+
+<li id="reserves_tab"<!-- TMPL_IF name="showreserves" --> class="on"<!--
TMPL_ELSE --> class="off"<!-- /TMPL_IF -->><a
href="/cgi-bin/koha/opac-user.pl?display=reserves"
onclick="changeView('reserves'); return false;">Reserves</a></li>
+</ul>
+
+
<!-- FINES BOX -->
<!-- TMPL_IF NAME="amountoverfive" -->
-<div class="table"><table>
-<caption>Fines and Charges</caption>
-<tr><th colspan="2">Amount</th></tr>
-<tr><td>You currently owe fines and charges amounting to:</td><td><a
href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding"
--></a></td></tr>
-</table></div>
+<div id="fines"<!-- TMPL_IF name="showfines" --> style="display:block;"<!--
TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->><h4>Fines and Charges</h4>
+<div class="error">You currently owe fines and charges amounting to: <a
href="/cgi-bin/koha/opac-account.pl">$<!-- TMPL_VAR NAME="amountoutstanding"
--></a></div>
+</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="amountoverzero" -->
-<table>
-<caption>Fines and Charges</caption>
-<tr><th colspan="2">Amount</th></tr>
-<tr><td>You currently owe fines and charges amounting to:</td>
- <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR
NAME="amountoutstanding" --></a></td></tr>
-</table>
+<div id="fines"<!-- TMPL_IF name="showfines" --> style="display:block;"<!--
TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->><h4>Fines and Charges</h4>
+<p>You currently owe fines and charges amounting to: <a
href="/cgi-bin/koha/opac-account.pl">$<!-- TMPL_VAR NAME="amountoutstanding"
--></a></p></div>
<!-- /TMPL_IF -->
-<!-- TMPL_IF NAME"amountlessthanzero" -->
-<table>
-<caption>Credits</caption>
-<tr><th colspan="2">Amount</th></tr>
-<tr><td>You have a credit of:</td><td><a
href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding"
--></a></td></tr>
-</table>
+<!-- TMPL_IF NAME="amountlessthanzero" -->
+<div id="fines"<!-- TMPL_IF name="showfines" --> style="display:block;"<!--
TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->><h4>Credits</h4>
+<p>Your account has a credit of: <a href="/cgi-bin/koha/opac-account.pl">$<!--
TMPL_VAR NAME="amountoutstanding" --></a></p></div>
<!-- /TMPL_IF -->
-
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="waiting_count" -->
+<div id="waiting"<!-- TMPL_IF name="showwaiting" -->
style="display:block;"<!-- TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->>
<table>
<caption>Reserved Items Waiting <span class="count">(<!--
TMPL_VAR NAME="waiting_count" -->)</span></caption>
<tr>
@@ -65,12 +67,43 @@
</tr><!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</table>
+</div>
<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="overdues_count" -->
+<div id="overdues"<!-- TMPL_IF name="showoverdues" -->
style="display:block;"<!-- TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF
-->><table>
+<caption>Overdues <span class="count">(<!-- TMPL_VAR NAME="overdues_count" -->
total)</span></caption>
+<!-- OVERDUES TABLE ROWS -->
+<tr>
+<th colspan="2">Title</th><th>Call No.</th>
+<th>Due</th>
+<th>Renew</th>
+<!-- <th>Fine to Date</th> -->
+<!-- <th>Status</th> --></tr>
+
+<!-- TMPL_LOOP NAME="OVERDUES" -->
+<tr>
+<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR
NAME="ccode" -->.gif" alt="<!-- TMPL_VAR NAME="ccode" -->" title="<!-- TMPL_VAR
NAME="ccode" -->" /></td>
+<td><!-- TMPL_IF NAME="AmazonContent" --><!-- TMPL_IF NAME="isbn" --><a
href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
ESCAPE="URL" -->"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR
name="isbn" -->.01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail"
/></a><!-- /TMPL_IF --><!-- /TMPL_IF --> <a
href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
-->"><!-- TMPL_VAR NAME="title" --></a><span class="item-details">
+<!-- TMPL_VAR NAME="author" --></span></td>
+<td><!-- TMPL_VAR NAME="classification" --></td>
+<td><!-- TMPL_VAR NAME="date_due" --></td>
+<td>
+<!-- TMPL_IF NAME="status" -->
+<a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<!-- TMPL_VAR
NAME="itemnumber" -->&bornum=<!-- TMPL_VAR NAME="borrowernumber"
-->">Renew</a>
+<!-- TMPL_ELSE -->
+Not renewable
+<!-- /TMPL_IF -->
+</td>
+<!-- <td><!-- TMPL_VAR NAME="charges" --></td> -->
+</tr>
+<!-- /TMPL_LOOP -->
+</table></div>
+<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="issues_count" -->
-<table>
+<div id="issues"<!-- TMPL_IF name="showissues" --> style="display:block;"<!--
TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->><table>
<caption>Issues <span class="count">(<!-- TMPL_VAR NAME="issues_count" -->
total)</span></caption>
<!-- ISSUES TABLE ROWS --><tr>
<th colspan="2">Title</th>
@@ -98,17 +131,17 @@
<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF
--></td>
</tr>
<!-- /TMPL_LOOP -->
-</table>
+</table></div>
<!-- TMPL_ELSE -->
- <table>
+<div id="issues"<!-- TMPL_IF name="showissues" --> style="display:block;"<!--
TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->> <table>
<caption>Issues</caption>
<tr><td>You have nothing checked out</td></tr>
- </table>
+ </table></div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="reserves_count" -->
-
+<div id="reserves"<!-- TMPL_IF name="showreserves" -->
style="display:block;"<!-- TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->>
<!-- TMPL_IF NAME="RESERVES" --><table>
<caption>Reserves <span class="count">(<!-- TMPL_VAR NAME="reserves_count" -->
total)</span></caption>
<!-- RESERVES TABLE ROWS -->
@@ -125,13 +158,13 @@
<td><!-- TMPL_VAR NAME="reservedate" --></td>
<td><!-- TMPL_VAR Name="branch" --></td>
<td><!-- TMPL_IF NAME="atdestination" -->
- <strong>Waiting</strong> at <!-- TMPL_VAR
Name="branch" --><!-- TMPL_ELSE --><!-- TMPL_IF NAME="holdingbranch" -->In
transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR
Name="branch" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --><!-- /TMPL_IF --></td>
+ <strong>Waiting</strong> at <!-- TMPL_VAR
Name="branch" --><!-- TMPL_ELSE --><!-- TMPL_IF NAME="holdingbranch" -->In
transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR
Name="branch" --><!-- TMPL_ELSE -->Pending<!-- /TMPL_IF --><!-- /TMPL_IF
--></td>
</tr>
<!-- /TMPL_LOOP -->
</table><!-- /TMPL_IF -->
<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>
<!-- /TMPL_IF -->
</div>
</div>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-user.tmpl [dev_week],
Owen Leonard <=