From 767b9a512621691db81cb6951d18fddb4ce0f908 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 6 Sep 2023 10:53:55 +0000 Subject: [PATCH] Bug 34412: (follow-up) Clarify page heading, remove unused markup This patch updates the heading for the "modify" view so that it includes the name of the preference being modified. The patch also removes markup related to the "add_validate" state--a view confirming that a preference has been added--because that view doesn't exist. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../en/modules/admin/systempreferences.tt | 23 +++---------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt index 8d2deedd0c..be084497cf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt @@ -12,9 +12,6 @@ [% t("New preference") | html %] [% END %] › [% END %] - [% IF ( add_validate ) %] - [% t("Preference added") | html %] › - [% END %] [% IF ( delete_confirm ) %] [% tx("Confirm deletion of preference '{searchfield}'", { searchfield = searchfield }) | html %] › [% END %] @@ -39,7 +36,7 @@ Administration [% END %] - [% IF ( add_form || add_validate || delete_confirm || delete_confirmed ) %] + [% IF ( add_form || delete_confirm || delete_confirmed ) %] [% WRAPPER breadcrumb_item %] Local use system preferences [% END %] @@ -55,12 +52,6 @@ [% END %] [% END %] - [% IF ( add_validate ) %] - [% WRAPPER breadcrumb_item bc_active= 1 %] - Data added - [% END %] - [% END %] - [% IF ( delete_confirm ) %] [% WRAPPER breadcrumb_item %] [% searchfield | html %] @@ -92,7 +83,7 @@ [% IF ( add_form ) %]

[% IF ( modify ) %] - Modify a local use system preference + [% tx("Modify preference '{searchfield}'", { searchfield = searchfield }) | html %] [% ELSE %] New local use system preference [% END %] @@ -273,15 +264,7 @@ [% END %] - - [% IF ( add_validate ) %] -

Data recorded

- -
- -
- [% END %] - + [% IF ( delete_confirm ) %]

Confirm deletion of [% searchfield | html %]?