From 8d94235dc419069509ba54458d92d64eae0e49d5 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 --- .../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 af95d0acad..565fd00910 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -411,11 +411,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.2