Bugzilla – Attachment 3012 Details for
Bug 5575
3.4 BibLibre circ & members omnibus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrections for boraccount.tmpl
0001-bug_5575-Correcting-table-sort-columns-markup-correc.patch (text/plain), 4.48 KB, created by
Owen Leonard
on 2011-01-20 19:28:44 UTC
(
hide
)
Description:
Corrections for boraccount.tmpl
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-01-20 19:28:44 UTC
Size:
4.48 KB
patch
obsolete
>From 785eb9a3d733747b9580bbbb42d063d2d1ac0e38 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 20 Jan 2011 12:31:37 -0500 >Subject: [PATCH] [bug_5575] Correcting table sort columns, markup corrections >Content-Type: text/plain; charset="utf-8" > >--- > .../prog/en/modules/members/boraccount.tmpl | 41 +++++++++++--------- > 1 files changed, 23 insertions(+), 18 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tmpl >index a4e127a..9422173 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tmpl >@@ -3,9 +3,12 @@ > <!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> > <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script> > <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> >-<script type="text/javascript" id="js">$(document).ready(function() { >- $("#table_boracount").tablesorter({ >+<script type="text/javascript" id="js"> >+$(document).ready(function() { >+ $("#table_boracount").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" --> >+ dateFormat: 'uk',<!-- /TMPL_IF --> > sortList: [[0,0]], >+ headers: { 8:{sorter:false},9:{sorter:false} } > }).tablesorterPager({container: $("#pagertable_boracount"),positionFixed: false,size: 20}); > }); </script> > </head> >@@ -33,13 +36,13 @@ > </ul> > <div class="tabs-container"> > <!-- The table with the account items --> >-<span id="pagertable_boracount" class="pager"> >- <form class="formpager"> <strong>page(s)</strong> : >- <img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/> >- <img src="<!-- TMPL_VAR name="interface" -->/prog/img/prev.png" class="prev"/> >+<div id="pagertable_boracount" class="pager"> >+ <form class="formpager" action="/cgi-bin/koha/members/boraccount.pl"> <strong>page(s)</strong> : >+ <img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first" alt="" /> >+ <img src="<!-- TMPL_VAR name="interface" -->/prog/img/prev.png" class="prev" alt="" /> > <input type="text" size="5" class="pagedisplay"/> >- <img src="<!-- TMPL_VAR name="interface" -->/prog/img/next.png" class="next"/> >- <img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last"/> >+ <img src="<!-- TMPL_VAR name="interface" -->/prog/img/next.png" class="next" alt="" /> >+ <img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last" alt="" /> > , entries/page : > <select class="pagesize"> > <option value="10">10</option> >@@ -50,9 +53,10 @@ > <option value="100">100</option> > </select> > </form> >-</span> >+</div> > <table id="table_boracount"> > <thead> >+ <tr> > <th>Date</th> > <th style="padding:0.2em 14px">n°</th> > <th>Means of payment</th> >@@ -65,11 +69,17 @@ > <th> </th> > <th>Print</th> > <!-- /TMPL_IF --> >+ </tr> > </thead> >- >+<tfoot> >+ <tr> >+ <td colspan="6">Total due</td> >+ <!-- TMPL_IF NAME="totalcredit" --><td colspan="3" class="credit"><!-- TMPL_ELSE --><td colspan="4" class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="total" --></td> >+ </tr> >+ </tfoot> >+ <tbody> > <!-- FIXME: Shouldn't hardcode dollar signs, since Euro or Pound might be needed --> > <!-- TMPL_LOOP NAME="accounts" --> >- > <!-- TMPL_IF NAME="__odd__" --><tr><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> > <td><!-- TMPL_VAR NAME="date" --> <!-- TMPL_VAR NAME="time" --></td> > <td><!-- TMPL_VAR NAME="accountno" --></td> >@@ -82,7 +92,7 @@ > <!-- TMPL_IF NAME="reverse_col" --> > <td> > <!-- TMPL_IF NAME="payment" --> >- <a href="boraccount.pl?action=reverse&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&accountno=<!-- TMPL_VAR NAME="accountno" -->&accountlineid=<!-- TMPL_VAR NAME="id" -->">Reverse</a> >+ <a href="boraccount.pl?action=reverse&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&accountno=<!-- TMPL_VAR NAME="accountno" -->&accountlineid=<!-- TMPL_VAR NAME="id" -->">Reverse</a> > <!-- TMPL_ELSE --> > > <!-- /TMPL_IF --> >@@ -98,12 +108,7 @@ > </tr> > > <!-- /TMPL_LOOP --> >-<tfoot> >- <tr> >- <td colspan="6">Total due</td> >- <!-- TMPL_IF NAME="totalcredit" --><td colspan="3" class="credit"><!-- TMPL_ELSE --><td colspan="3" class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="total" --></td> >- </tr> >- </tfoot> >+</tbody> > </table> > </div></div> > >-- >1.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5575
:
3011
| 3012 |
3013
|
3037
|
3039
|
3041