[Koha-patches] [PATCH] Bug 6080: Add id to total line in funds table

Katrin Fischer Katrin.Fischer.83 at web.de
Wed Jul 27 23:05:51 CEST 2011


Alternate patch for bug 6080.

Instead of removing the line altogether make it possible to hide it
easily by adding an id.

To test:
- apply patch
- check your funds table for the last line labelled 'Total'
- add to IntranetUserCss: #funds_total {display:none;}
- check again, line should be hidden now

Reason:
The totals is only confusing for multi-level funds, but not wrong.
If you are using only 1 level of funds, it works all ok.
---
 .../prog/en/modules/acqui/acqui-home.tt            |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
index a274365..86650eb 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
@@ -99,7 +99,7 @@ $(document).ready(function() {
             <th>Avail</th>
         </tr>
         </thead>
-        <tfoot>
+        <tfoot id="funds_total">
         <tr>
             <th>Total</th>
             <th>&nbsp;</th>
-- 
1.7.4.1



More information about the Koha-patches mailing list