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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-9 / +8 lines)
Lines 1249-1261 Link Here
1249
                    </td>
1249
                    </td>
1250
                [% END %]
1250
                [% END %]
1251
                [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1251
                [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1252
                    <td class="location" property="seller" data-order="[% ITEM_RESULT.branchname| html %]">
1252
                    [%# Show opac_info or branchurl from holding library %]
1253
                    [% SET holding_library_name = Branches.GetName( ITEM_RESULT.holdingbranch ) %]
1254
                    [% SET holding_library_url = Branches.GetURL( ITEM_RESULT.holdingbranch ) %]
1255
                    <td class="location" property="seller" data-order="[% holding_library_name | html %]">
1253
                        <link property="itemOffered" href="#record" />
1256
                        <link property="itemOffered" href="#record" />
1254
                        <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1257
                        <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1255
1258
1256
                        [%# Show opac_info or branchurl from holding library %]
1257
                        [% SET holding_library_name = Branches.GetName( ITEM_RESULT.holdingbranch ) %]
1258
                        [% SET holding_library_url = Branches.GetURL( ITEM_RESULT.holdingbranch ) %]
1259
                        [% IF ( ITEM_RESULT.holding_library_info ) %]
1259
                        [% IF ( ITEM_RESULT.holding_library_info ) %]
1260
                            <a href="[% holding_library_url | url %]" class="library_info" data-info="[% ITEM_RESULT.holding_library_info | html %]" data-name="[% holding_library_name | html %]">
1260
                            <a href="[% holding_library_url | url %]" class="library_info" data-info="[% ITEM_RESULT.holding_library_info | html %]" data-name="[% holding_library_name | html %]">
1261
                                <i class="fa fa-info-circle" aria-hidden="true"></i> [% holding_library_name | html %]
1261
                                <i class="fa fa-info-circle" aria-hidden="true"></i> [% holding_library_name | html %]
Lines 1276-1288 Link Here
1276
                [% END %]
1276
                [% END %]
1277
1277
1278
                [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1278
                [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1279
                    <td class="location" property="seller">
1279
                    [%# Show opac_info or branchurl from home library %]
1280
                    [% SET home_library_name = Branches.GetName( ITEM_RESULT.homebranch ) %]
1281
                    [% SET home_library_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1282
                    <td class="location" property="seller" data-order="[% home_library_name | html %]">
1280
                        <link property="itemOffered" href="#record" />
1283
                        <link property="itemOffered" href="#record" />
1281
                        <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1284
                        <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1282
1285
1283
                        [%# Show opac_info or branchurl from home library %]
1284
                        [% SET home_library_name = Branches.GetName( ITEM_RESULT.homebranch ) %]
1285
                        [% SET home_library_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1286
                        [% IF ( ITEM_RESULT.home_library_info ) %]
1286
                        [% IF ( ITEM_RESULT.home_library_info ) %]
1287
                            <a href="[% home_library_url | url %]" class="library_info" data-info="[% ITEM_RESULT.home_library_info | html %]" data-name="[% home_library_name | html %]">
1287
                            <a href="[% home_library_url | url %]" class="library_info" data-info="[% ITEM_RESULT.home_library_info | html %]" data-name="[% home_library_name | html %]">
1288
                                <i class="fa fa-info-circle" aria-hidden="true"></i> [% home_library_name | html %]
1288
                                <i class="fa fa-info-circle" aria-hidden="true"></i> [% home_library_name | html %]
1289
- 

Return to bug 35006