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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +5 lines)
Lines 404-410 Note that permanent location is a code, and location may be an authval. Link Here
404
                    <td class="dateaccessioned"><span title="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</span></td>
404
                    <td class="dateaccessioned"><span title="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</span></td>
405
                    <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | uri %]&amp;itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a></td>
405
                    <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | uri %]&amp;itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a></td>
406
                    [% IF ( itemdata_uri ) %]
406
                    [% IF ( itemdata_uri ) %]
407
                        <td class="uri"><a href="[% item.uri | url %]">[% item.uri | html %]</a></td>
407
                        [% IF Koha.Preference('URLLinkText') %]
408
                            <td class="uri"><a href="[% item.uri | url %]">[% Koha.Preference('URLLinkText') %]</a></td>
409
                        [% ELSE %]
410
                            <td class="uri"><a href="[% item.uri | url %]">Link to resource</a></td>
411
                        [% END %]
408
                    [% END %]
412
                    [% END %]
409
                    [% IF ( itemdata_copynumber ) %]
413
                    [% IF ( itemdata_copynumber ) %]
410
                        <td class="copynumber">[% item.copynumber | html %]</td>
414
                        <td class="copynumber">[% item.copynumber | html %]</td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-9 / +23 lines)
Lines 1345-1362 Link Here
1345
                    [% IF ( itemdata_uri ) %]
1345
                    [% IF ( itemdata_uri ) %]
1346
                        <td class="url">
1346
                        <td class="url">
1347
                            [% IF ITEM_RESULT.uri %]
1347
                            [% IF ITEM_RESULT.uri %]
1348
                                [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1348
                                [% IF Koha.Preference('URLLinkText') %]
1349
                                    [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1349
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1350
                                    <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | html %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1350
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1351
                                        <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | html %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1352
                                        [% ELSE %]
1353
                                        <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | uri %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1354
                                        [% END %]
1351
                                    [% ELSE %]
1355
                                    [% ELSE %]
1352
                                    <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | uri %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1356
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1357
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1358
                                        [% ELSE %]
1359
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1360
                                        [% END %]
1353
                                    [% END %]
1361
                                    [% END %]
1354
1355
                                [% ELSE %]
1362
                                [% ELSE %]
1356
                                    [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1363
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1357
                                    <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% ITEM_RESULT.uri | html %]</a>
1364
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1365
                                        <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | html %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">Link to resource</a>
1366
                                        [% ELSE %]
1367
                                        <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&amp;biblionumber=[% biblio.biblionumber | uri %]&amp;itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">Link to resource</a>
1368
                                        [% END %]
1358
                                    [% ELSE %]
1369
                                    [% ELSE %]
1359
                                    <a href="[% ITEM_RESULT.uri | url %]" property="url">[% ITEM_RESULT.uri | html %]</a>
1370
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1371
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1372
                                        [% ELSE %]
1373
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1374
                                        [% END %]
1360
                                    [% END %]
1375
                                    [% END %]
1361
                                [% END %]
1376
                                [% END %]
1362
                            [% END %]
1377
                            [% END %]
1363
- 

Return to bug 15352