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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +3 lines)
Lines 406-413 Note that permanent location is a code, and location may be an authval. Link Here
406
                    [% IF ( itemdata_uri ) %]
406
                    [% IF ( itemdata_uri ) %]
407
                        [% IF Koha.Preference('URLLinkText') %]
407
                        [% IF Koha.Preference('URLLinkText') %]
408
                            <td class="uri"><a href="[% item.uri | url %]">[% Koha.Preference('URLLinkText') %]</a></td>
408
                            <td class="uri"><a href="[% item.uri | url %]">[% Koha.Preference('URLLinkText') %]</a></td>
409
                        [% ELSE %]
409
                        [% ELSIF item.uri %]
410
                            <td class="uri"><a href="[% item.uri | url %]">Link to resource</a></td>
410
                            <td class="uri"><a href="[% item.uri | url %]">Link to resource</a></td>
411
                        [% ELSE %]
412
                            <td></td>
411
                        [% END %]
413
                        [% END %]
412
                    [% END %]
414
                    [% END %]
413
                    [% IF ( itemdata_copynumber ) %]
415
                    [% IF ( itemdata_copynumber ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-5 / +4 lines)
Lines 1349-1361 Link Here
1349
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1349
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1350
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
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') | html %]</a>
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') | html %]</a>
1352
                                        [% ELSE %]
1352
                                        [% ELSIF ITEM_RESULT.uri %]
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') | html %]</a>
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') | html %]</a>
1354
                                        [% END %]
1354
                                        [% END %]
1355
                                    [% ELSE %]
1355
                                    [% ELSE %]
1356
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1356
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1357
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1357
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1358
                                        [% ELSE %]
1358
                                        [% ELSIF ITEM_RESULT.uri %]
1359
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1359
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1360
                                        [% END %]
1360
                                        [% END %]
1361
                                    [% END %]
1361
                                    [% END %]
Lines 1363-1375 Link Here
1363
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1363
                                    [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1364
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
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>
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 %]
1366
                                        [% ELSIF ITEM_RESULT.uri %]
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>
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 %]
1368
                                        [% END %]
1369
                                    [% ELSE %]
1369
                                    [% ELSE %]
1370
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1370
                                        [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1371
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1371
                                        <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1372
                                        [% ELSE %]
1372
                                        [% ELSIF ITEM_RESULT.uri %]
1373
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1373
                                        <a href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1374
                                        [% END %]
1374
                                        [% END %]
1375
                                    [% END %]
1375
                                    [% END %]
1376
- 

Return to bug 15352