From ad815321da10cb39d2654e4127055d38254389ac Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 5 Jun 2012 12:54:52 -0400 Subject: [PATCH] Bug 8184 - Duplicate budget page lacks heading and breadcrumbs Adding title, heading, and breadcrumbs for "duplicate a budget" operation. Also: - adding cancel link for duplicate and edit - correcting the CSS so that the "edit" menu button is styled like an edit button. operations. Signed-off-by: Martin Renvoize Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 5 +++-- .../prog/en/modules/admin/aqbudgetperiods.tt | 12 ++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 26589648ed..0fc678ca1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -897,7 +897,7 @@ fieldset.rows .inputnote { visibility:visible; /* you propably don't need to change this one */ display:block; } -#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newlabelbatch a, #newpatroncardbatch a, #newprofile a, #newsubscription a, #newdictionary a, #newbasket a, #newrootbudget-button, #budgets_menuc .first-child, #periods_menuc .first-child { +#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newlabelbatch a, #newpatroncardbatch a, #newprofile a, #newsubscription a, #newdictionary a, #newbasket a, #newrootbudget-button, #budgets_menuc .first-child { padding-left : 34px; background-image: url("../../img/toolbar-new.gif"); background-position : center left; @@ -935,7 +935,8 @@ fieldset.rows .inputnote { #managelabel a, #managetemplate a, #managelabelbatch a, -#manageprofile a { +#manageprofile a, +#periods_menuc .first-child { padding-left : 34px; background-image: url("../../img/toolbar-edit.gif"); background-position : center left; 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 aae5925ccd..4b2599227f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -89,7 +89,7 @@ Add budget [% END %] [% END %] - + [% IF ( duplicate_form ) %]› Duplicate budget[% END %] [% IF ( delete_confirm ) %]› Delete budget '[% budget_period_description %]'? [% END %] @@ -136,7 +136,10 @@ Delete budget '[% budget_period_description %]'? [% END %] [% END %] - + + [% IF ( duplicate_form ) %] + Budgets › Duplicate budget + [% END %] [% IF ( else ) %] @@ -152,6 +155,7 @@ [% INCLUDE 'budgets-admin-toolbar.inc' %] [% IF ( duplicate_form ) %] +

Duplicate budget

@@ -195,7 +199,7 @@
- + Cancel
@@ -287,7 +291,7 @@ - + [% IF ( budget_period_id ) %]Cancel[% END %] -- 2.39.5