Revert "Bug 33167: Fix TT comment for better translatability"

This reverts commit 78f14f02ed.
This commit is contained in:
Matt Blenkinsop 2023-05-30 10:06:02 +00:00
parent b70ad361aa
commit 1feace3abd
1 changed files with 5 additions and 4 deletions

View File

@ -404,10 +404,11 @@
<td class="homebranch">
<span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
<span class="shelvingloc">
[%# 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 ) %]