Bugzilla – Attachment 10235 Details for
Bug 8117
Divide budget periods into two tabs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8117: Followup Move the "no budget" string outside the table
SIGNED-OFF-Bug-8117-Followup-Move-the-no-budget-st.patch (text/plain), 8.12 KB, created by
Michael Davis
on 2012-06-11 16:17:38 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8117: Followup Move the "no budget" string outside the table
Filename:
MIME Type:
Creator:
Michael Davis
Created:
2012-06-11 16:17:38 UTC
Size:
8.12 KB
patch
obsolete
>From 449afd06cec94cb7496ea108f658c1ce39490b6d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 11 Jun 2012 17:28:13 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 8117: Followup Move the "no budget" string outside the table > >Signed-off-by: Michael Davis <m.r.davis@cranfield.ac.uk> >--- > .../prog/en/modules/admin/aqbudgetperiods.tt | 140 ++++++++++---------- > 1 files changed, 71 insertions(+), 69 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >index e6a9afc..efd3330 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >@@ -366,80 +366,82 @@ > > <div id="active"> > <h3>Active Budgets</h3> >- <table id="activeperiodst"> >- <thead> >- <tr> >- <th>Budget name</th> >- <th>Start date</th> >- <th>End date</th> >- <th>Locked</th> >- <th>Total</th> >- <th>Actions</th> >- </tr> >- </thead> >- <tbody> >- [% FOREACH period_active IN period_active_loop %] >- <tr> >- <td><a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% period_active.budget_period_id %]" title="View funds for [% period_active.budget_period_description %]">[% period_active.budget_period_description %]</a></td> >- <td>[% period_active.budget_period_startdate | $KohaDates %]</td> >- <td>[% period_active.budget_period_enddate | $KohaDates %]</td> >- <td> >- [% IF ( period_active.budget_period_locked ) %] >- <span style="color:green;">Locked</span> >- [% END %] >- </td> >- <td align='right'>[% period_active.budget_period_total %]</td> >- <td> >- <a href="[% script_name %]?op=add_form&budget_period_id=[% period_active.budget_period_id |html %]">Edit</a> >- <a href="[% script_name %]?op=delete_confirm&budget_period_id=[% period_active.budget_period_id %]">Delete</a> >- <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=[% period_active.budget_period_id %]">Add Fund</a> >- </td> >- </tr> >- [% END %] >- [% UNLESS ( period_active_loop ) %] >- <tr><td colspan="7">No budget</td></tr> >- [% END %] >- </tbody> >- </table> >- <div class="paginationBar">[% active_pagination_bar %]</div> >- </div> >- <div id="inactive"> >- <h3>Inactive Budgets</h3> >- <table id="inactiveperiodst"> >- <thead> >+ [% IF ( period_active_loop ) %] >+ <table id="activeperiodst"> >+ <thead> > <tr> >- <th>Budget name</th> >- <th>Start date</th> >- <th>End date</th> >- <th>Locked</th> >- <th>Total</th> >- <th>Actions</th> >+ <th>Budget name</th> >+ <th>Start date</th> >+ <th>End date</th> >+ <th>Locked</th> >+ <th>Total</th> >+ <th>Actions</th> > </tr> >- </thead> >- <tbody> >- [% FOREACH period_loo IN period_inactive_loop %] >- [% IF ( loop.odd ) %] >- <tr> >- [% ELSE %] >- <tr class="highlight"> >- [% END %] >- <td><a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% period_loo.budget_period_id %]" title="View funds for [% period_loo.budget_period_description %]">[% period_loo.budget_period_description %]</a></td> >- <td>[% period_loo.budget_period_startdate | $KohaDates %]</td> >- <td>[% period_loo.budget_period_enddate | $KohaDates %]</td> >- <td> [% IF ( period_loo.budget_period_locked ) %]<span style="color:green;">Locked</span> [% ELSE %][% END %] </td> >- <td align='right'>[% period_loo.budget_period_total %]</td> >+ </thead> >+ <tbody> >+ [% FOREACH period_active IN period_active_loop %] >+ <tr> >+ <td><a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% period_active.budget_period_id %]" title="View funds for [% period_active.budget_period_description %]">[% period_active.budget_period_description %]</a></td> >+ <td>[% period_active.budget_period_startdate | $KohaDates %]</td> >+ <td>[% period_active.budget_period_enddate | $KohaDates %]</td> >+ <td> >+ [% IF ( period_active.budget_period_locked ) %] >+ <span style="color:green;">Locked</span> >+ [% END %] >+ </td> >+ <td align='right'>[% period_active.budget_period_total %]</td> > <td> >- <a href="[% period_loo.script_name %]?op=add_form&budget_period_id=[% period_loo.budget_period_id |html %]">Edit</a> >- <a href="[% period_loo.script_name %]?op=delete_confirm&budget_period_id=[% period_loo.budget_period_id %]">Delete</a> >- <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=[% period_loo.budget_period_id %]">Add fund</a> >+ <a href="[% script_name %]?op=add_form&budget_period_id=[% period_active.budget_period_id |html %]">Edit</a> >+ <a href="[% script_name %]?op=delete_confirm&budget_period_id=[% period_active.budget_period_id %]">Delete</a> >+ <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=[% period_active.budget_period_id %]">Add Fund</a> > </td> > </tr> >- [% END %] >- [% UNLESS ( period_inactive_loop ) %] >- <tr><td colspan="7">No budget</td></tr> >- [% END %] >- </tbody> >- </table> >+ [% END %] >+ </tbody> >+ </table> >+ [% ELSE %] >+ No active budgets >+ [% END %] >+ <div class="paginationBar">[% active_pagination_bar %]</div> >+ </div> >+ <div id="inactive"> >+ <h3>Inactive Budgets</h3> >+ [% IF ( period_inactive_loop ) %] >+ <table id="inactiveperiodst"> >+ <thead> >+ <tr> >+ <th>Budget name</th> >+ <th>Start date</th> >+ <th>End date</th> >+ <th>Locked</th> >+ <th>Total</th> >+ <th>Actions</th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH period_loo IN period_inactive_loop %] >+ [% IF ( loop.odd ) %] >+ <tr> >+ [% ELSE %] >+ <tr class="highlight"> >+ [% END %] >+ <td><a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% period_loo.budget_period_id %]" title="View funds for [% period_loo.budget_period_description %]">[% period_loo.budget_period_description %]</a></td> >+ <td>[% period_loo.budget_period_startdate | $KohaDates %]</td> >+ <td>[% period_loo.budget_period_enddate | $KohaDates %]</td> >+ <td> [% IF ( period_loo.budget_period_locked ) %]<span style="color:green;">Locked</span> [% ELSE %][% END %] </td> >+ <td align='right'>[% period_loo.budget_period_total %]</td> >+ <td> >+ <a href="[% period_loo.script_name %]?op=add_form&budget_period_id=[% period_loo.budget_period_id |html %]">Edit</a> >+ <a href="[% period_loo.script_name %]?op=delete_confirm&budget_period_id=[% period_loo.budget_period_id %]">Delete</a> >+ <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=[% period_loo.budget_period_id %]">Add fund</a> >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ [% ELSE %] >+ No inactive budgets >+ [% END %] > <div class="pages">[% inactive_pagination_bar %]</div> > </div> > </div> >-- >1.7.2.5
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 8117
:
9634
|
9635
|
10138
|
10160
|
10161
|
10178
|
10179
|
10180
|
10231
|
10235
|
11047
|
11052
|
11325
|
13713
|
13727
|
13821