Bug 13055 - Show budget name when editing it
authorOwen Leonard <oleonard@myacpl.org>
Thu, 9 Oct 2014 14:54:28 +0000 (10:54 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 20 Nov 2014 00:42:30 +0000 (21:42 -0300)
This patch adds the budget name to the page heading when editing a
budget. The patch also similarly corrects the page title during edit
operations and fixes some inconsistency in the breadcrumbs.

To test, edit an existing budget (Adminitration -> Budgets) and confirm
that page title, breadcrumbs, and heading look correct.

Signed-off-by: Chris <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Nice improvement, works as described.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt

index b2184c5..a0a811a 100644 (file)
 
     [% IF ( add_form ) %]&rsaquo;
         [% IF ( budget_period_id ) %]
-            Modify budget'[% budget_period_id %]'
+            Modify budget [% budget_period_description %]
         [% ELSE %]
             Add budget
         [% END %]
     <!-- add or modify a budget period -->
     <!-- ####################################### -->
     [% IF ( add_form ) %]
-        <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budget</a> &rsaquo;
+        <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> &rsaquo;
         [% IF ( budget_period_id ) %]
-            Modify budget [% budget_period_description %]
+            Modify budget <i>[% budget_period_description %]</i>
 
         [% ELSE %]
             Add budget
     <!--  add or modify a budget period   -->
 
     [% IF ( budget_period_id ) %]
-        <h3>Modify budget</h3>
+        <h3>Modify budget <i>[% budget_period_description %]</i></h3>
     [% ELSE %]
         <h3>Add budget</h3>
        [% END %]