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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-9 / +2 lines)
Lines 397-413 Link Here
397
                            [% IF category == 'pages' %]
397
                            [% IF category == 'pages' %]
398
                                <td class="actions">
398
                                <td class="actions">
399
                                    [% IF c.location == 'opac_only' OR c.location == 'staff_and_opac' %]
399
                                    [% IF c.location == 'opac_only' OR c.location == 'staff_and_opac' %]
400
                                        <strong>OPAC</strong>:
400
                                        <a target="_blank" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.id | uri %]" title="View on OPAC"><strong>OPAC</strong></a>
401
                                        <a target="_blank" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.id | uri %]&lang=default" title="View on OPAC">Default</a>
402
                                        OR
403
                                        <a target="_blank" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-page.pl?page_id=[% c.id | uri %]&lang=[% lang | uri %]" title="View on OPAC">Current language</a>
404
                                    [% END %]
401
                                    [% END %]
405
                                    [% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %]
402
                                    [% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %]
406
                                        [% IF c.location == 'staff_and_opac' %]<br/>[% END %]
403
                                        [% IF c.location == 'staff_and_opac' %]<br/>[% END %]
407
                                        <strong>Staff interface</strong>:
404
                                        <a target="_blank" href="/cgi-bin/koha/tools/page.pl?page_id=[% c.id | uri %]" title="View on staff interface"><strong>Staff</strong></a>
408
                                        <a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.id | uri %]&lang=default" title="View on staff interface">Default</a>
409
                                        OR
410
                                        <a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.id | uri %]&lang=[% lang | uri %]" title="View on staff interface">Current language</a>
411
                                    [% END %]
405
                                    [% END %]
412
                                </td>
406
                                </td>
413
                            [% END %]
407
                            [% END %]
414
- 

Return to bug 31383