From e954c98199548995ead5a839376971c1615cea9a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 5 Oct 2015 09:20:02 +0100 Subject: [PATCH] Bug 14739: Adapt wording in breadcrumbs if a new batch is created Don't display "Manage batch number 0" but "Create new batch" Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/labels/label-edit-batch.tt | 6 +++++- .../intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index a15ca7ee5f..532406a6ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -174,7 +174,11 @@ ToolsLabels homeManage label batches › - Manage batch number [% batch_id %] + [% IF batch_id %] + Manage batch number [% batch_id %] + [% ELSE %] + Create new batch + [% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index 5427f9c6c0..e360cf238b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -158,7 +158,11 @@ ToolsPatron card creatorManage patron card batches › - Manage batch number [% batch_id %] + [% IF batch_id %] + Manage batch number [% batch_id %] + [% ELSE %] + Create new batch + [% END %]
-- 2.39.5