From b36ba788e906a830f4e9204ee04d1cfe64f7a3a4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 2 Oct 2023 15:43:29 +0000 Subject: [PATCH] Bug 34389: Fix inconsistencies in debit types titles, breadcrumbs, and header This patch fixes a couple of inconsistencies in the debit types administration page, making sure the page title, breadcrumb navigation, and page headers are consistent with each other. To test, apply the patch and go to Administration -> Debit types. Test each variation of the page: - Main page - New debit type - Modify debit type --- .../intranet-tmpl/prog/en/modules/admin/debit_types.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt index c28a95cc8e..66766287c6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt @@ -9,7 +9,7 @@ [% FILTER collapse %] [% IF op =='add_form' %] [% IF debit_type.code %] - [% t("Modify debit type") | html %] + [% tx("Modify debit type '{debit_type}'", { debit_type = debit_type.code }) | html %] [% ELSE %] [% t("New debit type") | html %] [% END %] › @@ -38,7 +38,7 @@ [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% IF debit_type.code %] - <span>Modify debit type</span> + [% tx("Modify debit type '{debit_type}'", { debit_type = debit_type.code }) | html %] [% ELSE %] <span>New debit type</span> [% END %] @@ -76,7 +76,7 @@ [% IF op == 'add_form' %] [% IF debit_type %] - <h1>Modify a debit type</h1> + <h1>[% tx("Modify debit type '{debit_type}'", { debit_type = debit_type.code }) | html %]</h1> [% ELSE %] <h1>New debit type</h1> [% END %] @@ -159,7 +159,7 @@ <a class="btn btn-default" id="newdebittype" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form"><i class="fa fa-plus"></i> New debit type</a> </div> - <h1>Account debit types</h1> + <h1>Debit types</h1> [% IF debit_types.count %] <div class="page-section"> <table id="table_debit_types"> -- 2.30.2