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 270-288 Link Here
270
        </fieldset>
270
        </fieldset>
271
271
272
        [% IF languages.size %]
272
        [% IF languages.size %]
273
            <div id="tabs" class="toptabs">
273
            [% WRAPPER tabs id= "tabs" %]
274
                <ul class="nav nav-tabs" role="tablist">
274
                [% WRAPPER tabs_nav %]
275
                    [% FOR language IN languages %]
275
                    [% FOR language IN languages %]
276
                        [% IF language.lang == 'default' %]
276
                        [% IF language.lang == 'default' %]
277
                            <li role="presentation"><a href="#lang_default" aria-controls="lang_default" role="tab" data-toggle="tab">Default</a></li>
277
                            [% WRAPPER tab_item tabname= "lang_default" %] <span>Default</span> [% END %]
278
                        [% ELSE %]
278
                        [% ELSE %]
279
                            <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>
279
                            [% WRAPPER tab_item tabname= "lang_${language.lang}" %] [% language.description | html %] [% END %]
280
                        [% END %]
280
                        [% END %]
281
                    [% END %]
281
                    [% END %]
282
                </ul>
282
                [% END # /WRAPPER tabs_nav %]
283
                <div class="tab-content">
283
284
                [% WRAPPER tab_panels %]
284
                    [% FOR language IN languages %]
285
                    [% FOR language IN languages %]
285
                        <div id="lang_[% language.lang | uri %]" class="lang clearfix tab-pane" data-lang="[% language.description | html %]">
286
                        [% WRAPPER tab_panel tabname="lang_${language.lang}" %]
286
                            <fieldset>
287
                            <fieldset>
287
                                <ol>
288
                                <ol>
288
                                    <li>
289
                                    <li>
Lines 296-312 Link Here
296
                                    </li>
297
                                    </li>
297
                                </ol>
298
                                </ol>
298
                            </fieldset>
299
                            </fieldset>
299
                        </div>
300
                        [% END # /WRAPPER tab_panel#lang %]
300
                    [% END %]
301
                    [% END # /FOR language %]
301
                </div> <!-- /.tab-content -->
302
                [% END # /WRAPPER tab_panels %]
302
            </div>
303
            [% END # /WRAPPER tabs %]
303
        [% ELSE %]
304
        [% ELSE %]
304
            <div id="lang_default">
305
            <div id="lang_default">
305
                <div class="clearfix">
306
                <div class="clearfix">
306
                    <textarea name="content" id="content_default" data-lang="[% language.lang | html %]"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
307
                    <textarea name="content" id="content_default" data-lang="[% language.lang | html %]"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
307
                </div>
308
                </div>
308
            </div>
309
            </div>
309
        [% END %]
310
        [% END # /IF languages.size %]
310
    </form>
311
    </form>
311
[% END %]
312
[% END %]
312
313
313
- 

Return to bug 32956