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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-7 / +6 lines)
Lines 343-357 Link Here
343
[% END %]
343
[% END %]
344
344
345
[%# BOOTSTRAP TAB WRAPPER USAGE
345
[%# BOOTSTRAP TAB WRAPPER USAGE
346
    [ WRAPPER tabs id= "tabs container id" ]
346
    [ WRAPPER tabs id= "tabs_container_id" ]
347
        [ WRAPPER tabs_nav ]
347
        [ WRAPPER tabs_nav ]
348
            [ WRAPPER tab_item tabname= "tab name 1" bt_active= 1 ] [ content ] [ END ]
348
            [ WRAPPER tab_item tabname= "tab_name_1" bt_active= 1 ] Tab text 1 [ END ]
349
            [ WRAPPER tab_item tabname= "tab name 2" ] [ content ] [ END ]
349
            [ WRAPPER tab_item tabname= "tab_name_2" ] Tab text 2 [ END ]
350
            ...
350
            ...
351
        [ END ]
351
        [ END ]
352
        [ WRAPPER tab_panels ]
352
        [ WRAPPER tab_panels ]
353
            [ WRAPPER tab_panel id="tab name 1" bt_active= 1 ] [ content ] [ END ]
353
            [ WRAPPER tab_panel tabname="tab_name_1" bt_active= 1 ] Panel contents 1 [ END ]
354
            [ WRAPPER tab_panel id="tab name 2"] [ content ] [ END ]
354
            [ WRAPPER tab_panel tabname="tab_name_2" ] Panel contents 2 [ END ]
355
            ...
355
            ...
356
        [ END ]
356
        [ END ]
357
    [ END ]
357
    [ END ]
Lines 382-388 Link Here
382
        <a href="#[% tabname | uri %]_panel" aria-controls="[% tabname | uri %]_panel" role="tab" data-toggle="tab">
382
        <a href="#[% tabname | uri %]_panel" aria-controls="[% tabname | uri %]_panel" role="tab" data-toggle="tab">
383
            [% content | $raw %]
383
            [% content | $raw %]
384
        </a>
384
        </a>
385
    <li>
385
    </li>
386
[% END %]
386
[% END %]
387
387
388
[% BLOCK tab_panels %]
388
[% BLOCK tab_panels %]
389
- 

Return to bug 33126