From 78f14f02ed173b0df62a604c8a34a11e5867e7e2 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 22 Apr 2023 10:16:59 +0000 Subject: [PATCH] Bug 33167: Fix TT comment for better translatability We just figured out that multi-line TT comments show up weirdly in translations and fixed it on bug 33332. So this just follows the newly established pattern. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 8d94235dc419069509ba54458d92d64eae0e49d5) Signed-off-by: Matt Blenkinsop --- .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 79cf344d4c..30ba337034 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -404,11 +404,10 @@ [% Branches.GetName(item.homebranch) | html %] - [%# If permanent location is defined, show description or code and - display current location in parentheses. If not, display current location. - Note that permanent location is a code, and location may be an authval. - %] - [% IF item.permanent_location %] + [%# If permanent location is defined, show description or code and %] + [%# display current location in parentheses. If not, display current location. %] + [%# Note that permanent location is a code, and location may be an authval. %] + [% IF item.permanent_location %] [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %] [% permloc_authval | html %] [% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %] -- 2.39.5