From d96714d09c0eec4136d31993165daa6c541ec755 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 15 Feb 2024 13:13:12 -0100 Subject: [PATCH] Bug 32693: Update tab_items tab_items are now linktabs tab_items are now styled active depending if the URL param 'tab' matches the tab name or not Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index aff2468717..a218dc9de4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -33,14 +33,14 @@ [% WRAPPER tabs id= "abouttabs" %] [% WRAPPER tabs_nav %] - [% WRAPPER tab_item tabname= "about" bt_active= 1 %] Server information [% END %] - [% WRAPPER tab_item tabname= "perl" %] Perl modules [% END %] - [% WRAPPER tab_item tabname= "sysinfo" %] System information [% END %] - [% WRAPPER tab_item tabname= "team" %] Koha team [% END %] - [% WRAPPER tab_item tabname= "licenses" %] Licenses [% END %] - [% WRAPPER tab_item tabname= "translations" %] Translations [% END %] - [% WRAPPER tab_item tabname= "history" %] Timeline [% END %] - [% WRAPPER tab_item tabname= "dedications" %] Dedications [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "about" bt_active = tab == "about" %] Server information [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "perl" bt_active = tab == "perl" %] Perl modules [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "sysinfo" bt_active = tab == "sysinfo" %] System information [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "team" bt_active = tab == "team" %] Koha team [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "licenses" bt_active = tab == "licenses" %] Licenses [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "translations" bt_active = tab == "translations" %] Translations [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "history" bt_active = tab == "history" %] Timeline [% END %] + [% WRAPPER tab_item linktab = 1 tabname = "dedications" bt_active = tab == "dedications" %] Dedications [% END %] [% END %] [% WRAPPER tab_panels %] -- 2.39.5