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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-8 / +12 lines)
Lines 385-397 Link Here
385
                        <td>[% IF ( c.author) %][% INCLUDE 'patron-title.inc' patron=c.author %][% END %]</td>
385
                        <td>[% IF ( c.author) %][% INCLUDE 'patron-title.inc' patron=c.author %][% END %]</td>
386
                        [% IF category == 'pages' %]
386
                        [% IF category == 'pages' %]
387
                            <td class="actions">
387
                            <td class="actions">
388
                                [% IF c.location == 'opac_only' %]
388
                                [% IF c.location == 'opac_only' OR c.location == 'staff_and_opac' %]
389
                                <strong>OPAC</strong>: <a target="_blank" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.idnew | uri %]" title="View on OPAC">[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.idnew | uri %]</a>
389
                                    <strong>OPAC</strong>:
390
                                [% ELSIF c.location == 'staff_only' %]
390
                                    <a target="_blank" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.idnew | url %]" title="View on OPAC">Default</a>
391
                                <strong>Librarian interface</strong>: <a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.idnew | uri %]" title="View on librarian interface">[% Koha.Preference('staffClientBaseURL') | url %]/cgi-bin/koha/tools/page.pl?page_id=[% c.idnew | uri %]</a>
391
                                    OR
392
                                [% ELSIF c.location == 'staff_and_opac' %]
392
                                    <a target="_blank" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?code=[% c.code | url %]" title="View on OPAC">Current language</a>
393
                                <strong>OPAC</strong>: <a target="_blank" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.idnew | uri %]" title="View on OPAC">[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.idnew | uri %]</a><br>
393
                                [% END %]
394
                                <strong>Librarian interface</strong>: <a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.idnew | uri %]" title="View on librarian interface">[% Koha.Preference('staffClientBaseURL') | url %]/cgi-bin/koha/tools/page.pl?page_id=[% c.idnew | uri %]</a>
394
                                [% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %]
395
                                    [% IF c.location == 'staff_and_opac' %]<br/>[% END %]
396
                                    <strong>Librarian interface</strong>:
397
                                    <a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.idnew | url %]" title="View on librarian interface">Default</a>
398
                                    OR
399
                                    <a href="/cgi-bin/koha/tools/page.pl?code=[% c.code | url %]" title="View on librarian interface">Current language</a>
395
                                [% END %]
400
                                [% END %]
396
                            </td>
401
                            </td>
397
                        [% END %]
402
                        [% END %]
398
- 

Return to bug 31385