From 3ebb3a0efa6a1e725e1629f2ca7018658df9c908 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 --- .../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 970bb853c2e..6d832f52464 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 @@ -397,17 +397,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.25.1