Frédéric Demians
d7cbdd3d0b
This patch add a new syspref OpacNavBottom which is placed on all pages after OpacNav. On Patron pages, specif patron links are placed between OpacNav and OpacNavBottom, like this: OpacNav Patron links OpacNavBottom To test: 1 Apply this patch 2 For RM, modify kohaversion.pl and updatedatabase.pl appropriately 3 Test that OPAC pages are displayed as before, OpacNav on the left 4 Test OPAC patron pages: OpacNav is as before displayed after patron links 5 Split OpacNav between itself and OpacNavBottom 6 Patron pages display patron links between OpacNav and OpacNavBottom Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
61 lines
2.3 KiB
Text
61 lines
2.3 KiB
Text
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Account for [% FOREACH BORROWER_INF IN BORROWER_INFO %][% BORROWER_INF.firstname %] [% BORROWER_INF.surname %][% END %]
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="opac-account">
|
|
<div id="doc3" class="yui-t1">
|
|
<div id="bd">
|
|
[% INCLUDE 'masthead.inc' %]
|
|
|
|
<div id="yui-main">
|
|
<div class="yui-b"><div class="yui-g">
|
|
<div id="useraccount" class="container">
|
|
<!--CONTENT-->
|
|
[% FOREACH BORROWER_INF IN BORROWER_INFO %]
|
|
<h3><a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INF.firstname %] [% BORROWER_INF.surname %]'s account</a> <img src="[% themelang %]../../images/caret.gif" width="16" height="16" alt=">" border="0" /> Fines and Charges</h3>
|
|
[% END %]
|
|
|
|
[% IF ( ACCOUNT_LINES ) %]
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Description</th>
|
|
<th>Fine Amount</th>
|
|
<th>Amount Outstanding</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<th class="sum" colspan="3">Total Due</th>
|
|
<td class="sum">[% total %]</td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
[% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %]
|
|
[% IF ( ACCOUNT_LINE.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
|
|
<td>[% ACCOUNT_LINE.date %]</td>
|
|
<td>[% ACCOUNT_LINE.description %]
|
|
[% IF ( ACCOUNT_LINE.title ) %][% ACCOUNT_LINE.title |html %][% END %]</td>
|
|
[% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
|
|
[% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
|
|
</table>
|
|
[% ELSE %]
|
|
<h4>You have no Fines or Charges</h4>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<div id="leftmenus" class="container">
|
|
[% INCLUDE 'navigation.inc' IsPatronPage=1 %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'opac-bottom.inc' %]
|