From 502d50830d231bc57cc64f84fec5d9a2fbdf87ab Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Mon, 14 Sep 2009 15:56:28 +0200 Subject: [PATCH] [biblibre-newacq] (bug #3611) improve aqbudgetperiods Adds New Budget button periods list. Show "Budgets" and "Budget Planning" menus only if we're in a budget period --- koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin.inc | 6 +++--- .../prog/en/modules/admin/aqbudgetperiods.tmpl | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin.inc index 79dc4516b3..0071f99f84 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin.inc @@ -28,10 +28,10 @@ ] // IF THERE IS NO BUDGETS DEFINED YET, THEN DISPLAY PERIOD BUTTON *ONLY* - + var budgets_menu = [ - { text: _("Display budgets"), url: "/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=" }, + { text: _("Display budgets"), url: "/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=" }, { text: _("New budget for ''"), url: "/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=" , id:'disabled' , id:'disabled' @@ -67,7 +67,7 @@ - + new YAHOO.widget.Button({ type: "menu", diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl index b3c3e5c5b9..7232ea9474 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl @@ -297,6 +297,7 @@ ?op=add_form&budget_period_id=">Edit ?op=delete_confirm&budget_period_id=">Delete ">Budgets + ">Add Budget -- 2.39.5