From 84368f6d390dcfae26c5d03bcff39dbae9ed4bf2 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 22 Jun 2023 13:31:10 +0000 Subject: [PATCH] Bug 31383: Fix URLs on staff AC detail view No real need anymore for showing a Default and Current language link. They could be made with the language parameter (not lang), but just changing the language allows you to test easily. Would you really like to see Default when you added content for all enabled languages? You can still add language=default to the URL. Test plan: Test the page URLs. Experiment with changing language in the regular way and via URL parameter. Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/tools/additional-contents.tt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index 1cada49bac..f9cfb6768d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -426,17 +426,11 @@ [% IF category == 'pages' %] [% IF c.location == 'opac_only' OR c.location == 'staff_and_opac' %] - OPAC: - Default - OR - Current language + OPAC [% END %] [% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %] [% IF c.location == 'staff_and_opac' %]
[% END %] - Staff interface: - Default - OR - Current language + Staff [% END %] [% END %] -- 2.39.5