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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-2 / +4 lines)
Lines 64-69 Link Here
64
        }
64
        }
65
    </style>
65
    </style>
66
[% END %]
66
[% END %]
67
[% IF category == 'record_display' %]
68
    [% editmode = "text" %]
69
[% END %]
67
<style>
70
<style>
68
    .syspref-link::before {
71
    .syspref-link::before {
69
        content: " | ";
72
        content: " | ";
Lines 348-354 Link Here
348
            ><button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> </button>
351
            ><button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> </button>
349
            <ul class="dropdown-menu">
352
            <ul class="dropdown-menu">
350
                <li>
353
                <li>
351
                    [% IF ( wysiwyg ) %]
354
                    [% IF ( wysiwy || category == 'record_display' ) %]
352
                        <a class="dropdown-item" href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=text">New entry using text editor</a>
355
                        <a class="dropdown-item" href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=text">New entry using text editor</a>
353
                    [% ELSE %]
356
                    [% ELSE %]
354
                        <a class="dropdown-item" href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=wysiwyg">New entry using WYSIWYG editor</a>
357
                        <a class="dropdown-item" href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=wysiwyg">New entry using WYSIWYG editor</a>
355
- 

Return to bug 39860