[Koha-patches] [PATCH 08/92] [MT2343] Hide "Edit budget period" in the menu if no root budget selected

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Tue Dec 22 01:20:01 CET 2009


From: Jean-André Santoni <jeanandre.santoni at biblibre.com>

---
 .../prog/en/includes/budgets-admin.inc             |    2 ++
 1 files changed, 2 insertions(+), 0 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 fb57f88..27cbccb 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin.inc
@@ -23,7 +23,9 @@
                 var periods_menu = [
                         { text: _("Display all root budgets"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl" },
                         { text: _("New root budget"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form" },
+                        <!-- TMPL_IF NAME="budget_period_id" -->
                         { text: _("Edit root budget '<!-- TMPL_VAR NAME="budget_period_description" -->'"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&budget_period_id=<!-- TMPL_VAR NAME="budget_period_id" -->" },
+                        <!-- /TMPL_IF -->
                         { text: _("Duplicate root budget"),  },
                 ]
 
-- 
1.6.3.3




More information about the Koha-patches mailing list