Bug 13055 - Show budget name when editing it

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>
This commit is contained in:
Owen Leonard 2014-10-09 10:54:28 -04:00 committed by Tomas Cohen Arazi
parent 955e836c9b
commit 9958cce551

View file

@ -182,7 +182,7 @@
[% IF ( add_form ) %]&rsaquo; [% IF ( add_form ) %]&rsaquo;
[% IF ( budget_period_id ) %] [% IF ( budget_period_id ) %]
Modify budget'[% budget_period_id %]' Modify budget [% budget_period_description %]
[% ELSE %] [% ELSE %]
Add budget Add budget
[% END %] [% END %]
@ -221,9 +221,9 @@
<!-- add or modify a budget period --> <!-- add or modify a budget period -->
<!-- ####################################### --> <!-- ####################################### -->
[% IF ( add_form ) %] [% 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 ) %] [% IF ( budget_period_id ) %]
Modify budget [% budget_period_description %] Modify budget <i>[% budget_period_description %]</i>
[% ELSE %] [% ELSE %]
Add budget Add budget
@ -323,7 +323,7 @@
<!-- add or modify a budget period --> <!-- add or modify a budget period -->
[% IF ( budget_period_id ) %] [% IF ( budget_period_id ) %]
<h3>Modify budget</h3> <h3>Modify budget <i>[% budget_period_description %]</i></h3>
[% ELSE %] [% ELSE %]
<h3>Add budget</h3> <h3>Add budget</h3>
[% END %] [% END %]