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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-13 / +13 lines)
Lines 268-286 Link Here
268
        </fieldset>
268
        </fieldset>
269
269
270
        [% IF languages.size %]
270
        [% IF languages.size %]
271
            <div id="tabs" class="toptabs">
271
            [% WRAPPER tabs id= "tabs" %]
272
                <ul class="nav nav-tabs" role="tablist">
272
                [% WRAPPER tabs_nav %]
273
                    [% FOR language IN languages %]
273
                    [% FOR language IN languages %]
274
                        [% IF language.lang == 'default' %]
274
                        [% IF language.lang == 'default' %]
275
                            <li role="presentation"><a href="#lang_default" aria-controls="lang_default" role="tab" data-toggle="tab">Default</a></li>
275
                            [% WRAPPER tab_item tabname= "lang_default" %] Default [% END %]
276
                        [% ELSE %]
276
                        [% ELSE %]
277
                            <li role="presentation"><a href="#lang_[% language.lang | uri %]" aria-controls="lang_[% language.lang | uri %]" role="tab" data-toggle="tab">[% language.description | html %]</a></li>
277
                            [% WRAPPER tab_item tabname= "lang_${language.lang}" %] [% language.description | html %] [% END %]
278
                        [% END %]
278
                        [% END %]
279
                    [% END %]
279
                    [% END %]
280
                </ul>
280
                [% END # /WRAPPER tabs_nav %]
281
                <div class="tab-content">
281
282
                [% WRAPPER tab_panels %]
282
                    [% FOR language IN languages %]
283
                    [% FOR language IN languages %]
283
                        <div id="lang_[% language.lang | uri %]" class="lang clearfix tab-pane" data-lang="[% language.description | html %]">
284
                        [% WRAPPER tab_panel tabname="lang_${language.lang}" %]
284
                            <fieldset>
285
                            <fieldset>
285
                                <ol>
286
                                <ol>
286
                                    <li>
287
                                    <li>
Lines 294-310 Link Here
294
                                    </li>
295
                                    </li>
295
                                </ol>
296
                                </ol>
296
                            </fieldset>
297
                            </fieldset>
297
                        </div>
298
                        [% END # /WRAPPER tab_panel#lang %]
298
                    [% END %]
299
                    [% END # /FOR language %]
299
                </div> <!-- /.tab-content -->
300
                [% END # /WRAPPER tab_panels %]
300
            </div>
301
            [% END # /WRAPPER tabs %]
301
        [% ELSE %]
302
        [% ELSE %]
302
            <div id="lang_default">
303
            <div id="lang_default">
303
                <div class="clearfix">
304
                <div class="clearfix">
304
                    <textarea name="content" id="content_default" data-lang="[% language.lang | html %]"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
305
                    <textarea name="content" id="content_default" data-lang="[% language.lang | html %]"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
305
                </div>
306
                </div>
306
            </div>
307
            </div>
307
        [% END %]
308
        [% END # /IF languages.size %]
308
    </form>
309
    </form>
309
[% END %]
310
[% END %]
310
311
311
- 

Return to bug 32956