Bugzilla – Attachment 16936 Details for
Bug 9877
Use DataTables on funds administration page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9877: Followup: FIX if the table is empty.
Bug-9877-Followup-FIX-if-the-table-is-empty.patch (text/plain), 1.60 KB, created by
Jonathan Druart
on 2013-03-27 15:04:30 UTC
(
hide
)
Description:
Bug 9877: Followup: FIX if the table is empty.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-03-27 15:04:30 UTC
Size:
1.60 KB
patch
obsolete
>From ffc3ca1e41cecd1a4e34b4d4ba5d4b38ac95a983 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 27 Mar 2013 16:02:36 +0100 >Subject: [PATCH] Bug 9877: Followup: FIX if the table is empty. > >If there is no data, we don't display the table. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index 6bd3606..95e4f8f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -230,6 +230,8 @@ > > [% INCLUDE 'budgets-active-currency.inc' %] > >+[% IF ( budget ) %] >+ > <table id="budgeth"> > <thead> > <tr> >@@ -257,7 +259,6 @@ > </tr> > </tfoot> > <tbody> >- [% IF ( budget ) %] > [% FOREACH budge IN budget %] > [% IF ( budge.toggle ) %] > <tr id="node-[% budge.budget_id %]" class="highlight[% IF ( budge.budget_parent_id ) %] child-of-node-[% budge.budget_parent_id %][% END %] tooltiped"> >@@ -303,13 +304,14 @@ > </td> > [% END %] > </tr> >- [% END %] >- [% ELSE %] >- <tr><td>No fund found</td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td class="tooltipcontent"> </td><td> </td></tr> > [% END %] > </tbody> > </table> > >+[% ELSE %] >+ No fund found >+[% END %] >+ > [% IF ( pagination_bar ) %]<div class="pages">[% pagination_bar %]</div>[% END %] > [% END %] <!-- else --> > >-- >1.7.10.4
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 9877
:
16557
|
16575
|
16581
|
16582
|
16818
|
16936
|
17148
|
17155
|
17156