From e0098b4b58dae7d509326157de39457d2b6aa774 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 21 Aug 2023 12:34:43 +0000 Subject: [PATCH] Bug 34307: (follow-up) Use template wrapper for title tag This patch updates the title tag to use a wrapper too, since Bug 33906 is in the process of getting fixed. The patch also removes an extra tag: Only the translatable string needs the span, not the entire line. Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 62a757acd1d370f442f49992933f998bb5b3702e) Signed-off-by: Fridolin Somers --- .../en/includes/wrapper-staff-tool-plugin.inc | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc index f1edb79495..cc25eebf6e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc @@ -1,19 +1,22 @@ [% USE raw %] +[% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( ! method ) %] -[% method = 'tool'; %] + [% method = 'tool'; %] [% END %] - - [% IF ( plugin_title ) %][% plugin_title | html %] › [% END %] - Plugins › +<title>[% FILTER collapse %] + [% IF ( plugin_title ) %] + [% plugin_title | html %] › + [% END %] + [% t("Plugins") | html %] › [% IF ( method == 'tool' ) %] - Tools + [% t("Tools") | html %] [% ELSE %] - Administration - [% END %] - › Koha - + [% t("Administration") | html %] + [% END %] › + [% t("Koha") | html %] + [% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -35,7 +38,7 @@ Plugins [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] - [% IF ( plugin_title ) %][% plugin_title | html %][% ELSE %]Plugin[% END %] + [% IF ( plugin_title ) %][% plugin_title | html %][% ELSE %]Plugin[% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] -- 2.39.5