View | Details | Raw Unified | Return to bug 33167
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-6 / +4 lines)
Lines 411-421 Link Here
411
                    <td class="homebranch">
411
                    <td class="homebranch">
412
                        <span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
412
                        <span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
413
                        <span class="shelvingloc">
413
                        <span class="shelvingloc">
414
                    [%# If permanent location is defined, show description or code and
414
                        [%# If permanent location is defined, show description or code and             %]
415
                        display current location in parentheses. If not, display current location.
415
                        [%# display current location in parentheses. If not, display current location. %]
416
                        Note that permanent location is a code, and location may be an authval.
416
                        [%# Note that permanent location is a code, and location may be an authval.    %]
417
                    %]
417
                                [% IF item.permanent_location %]
418
                            [% IF item.permanent_location %]
419
                                [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %]
418
                                [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %]
420
                                [% permloc_authval | html %]
419
                                [% permloc_authval | html %]
421
                                [% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %]
420
                                [% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %]
422
- 

Return to bug 33167