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 426-442 Link Here
426
                            [% IF category == 'pages' %]
426
                            [% IF category == 'pages' %]
427
                                <td class="actions">
427
                                <td class="actions">
428
                                    [% IF c.location == 'opac_only' OR c.location == 'staff_and_opac' %]
428
                                    [% IF c.location == 'opac_only' OR c.location == 'staff_and_opac' %]
429
                                        <strong>OPAC</strong>:
429
                                        <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>
430
                                        <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>
431
                                        OR
432
                                        <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>
433
                                    [% END %]
430
                                    [% END %]
434
                                    [% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %]
431
                                    [% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %]
435
                                        [% IF c.location == 'staff_and_opac' %]<br/>[% END %]
432
                                        [% IF c.location == 'staff_and_opac' %]<br/>[% END %]
436
                                        <strong>Staff interface</strong>:
433
                                        <a target="_blank" href="/cgi-bin/koha/tools/page.pl?page_id=[% c.id | uri %]" title="View on staff interface"><strong>Staff</strong></a>
437
                                        <a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.id | uri %]&lang=default" title="View on staff interface">Default</a>
438
                                        OR
439
                                        <a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.id | uri %]&lang=[% lang | uri %]" title="View on staff interface">Current language</a>
440
                                    [% END %]
434
                                    [% END %]
441
                                </td>
435
                                </td>
442
                            [% END %]
436
                            [% END %]
443
- 

Return to bug 31383