From 0d8de48bf56ae977cff2d0cee3fee62d3fc632a4 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 27 Oct 2015 15:15:16 -0300 Subject: [PATCH] Bug 15072: Breadcrumbs and titles inconsistent in Label creator This patch makes the page title and breadcrumbs more consistent. It does so by removing some text (Manage...) and using Edit (id) and Create on building both the breadcrumbs and titles. To test: - Traverse all the Label creator options => FAIL: the texts are not consistent and don't match what we use in the patron card creator. - Apply the patch => SUCCESS: Terminology is consistent, titles and breadcrumbs show the same information - Sign off :-D Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/labels/label-edit-batch.tt | 8 ++++---- .../en/modules/labels/label-edit-layout.tt | 8 ++++---- .../en/modules/labels/label-edit-profile.tt | 6 +++--- .../en/modules/labels/label-edit-template.tt | 6 +++--- .../prog/en/modules/labels/label-manage.tt | 16 ++++++++++++++-- .../prog/en/modules/patroncards/manage.tt | 1 + labels/label-manage.pl | 18 ++++++++++++------ 7 files changed, 41 insertions(+), 22 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 61485a95a9..27fb318e2a 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 @@ -1,6 +1,6 @@ [% USE ItemTypes %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Manage label batches + Koha › Tools › Label creator › Batches › [% IF batch_id %]Edit ([% batch_id %])[% ELSE %]Create[% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'greybox.inc' %] @@ -160,11 +160,11 @@ HomeToolsLabel creator › - Manage label batches › + Batches › [% IF batch_id %] - Manage batch number [% batch_id %] + Edit ([% batch_id %]) [% ELSE %] - Create new batch + Create [% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt index f36bdab618..5e813a090a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt @@ -8,7 +8,7 @@ [% END %] [% END %] [% INCLUDE 'doc-head-open.inc' %] - Koha › Tools › Label creator › Manage label layouts + Koha › Tools › Label creator › Layouts › [% IF ( layout_id ) %]Edit ([% layout_id %])[% ELSE %]Create[% END %] [% INCLUDE 'doc-head-close.inc' %]