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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-31 / +2 lines)
Lines 479-517 Item types › Administration › Koha Link Here
479
                [% END %]
479
                [% END %]
480
            <td>
480
            <td>
481
                [% IF itemtype.parent_type %]
481
                [% IF itemtype.parent_type %]
482
                    [% IF itemtype.parent.translated_descriptions.size %]
482
                    [% itemtype.parent.description | html %]
483
                        [% itemtype.parent.description | html %] <span>(default)</span><br/>
484
                    [% ELSE %]
485
                        [% itemtype.parent.description | html %]
486
                    [% END %]
487
                    </br>
483
                    </br>
488
                    [% IF itemtype.translated_descriptions.size %]
489
                        [% itemtype.description | html %] <span>(default)</span><br/>
490
                        [% FOR description IN itemtype.translated_descriptions %]
491
                            [% IF description.translation == itemtype.translated_description %]
492
                            --    <strong>[% description.translation | html %]</strong>
493
                            [% ELSE %]
494
                            --    [% description.translation | html %] ([% description.lang | html %])
495
                            [% END %]
496
                            <br/>
497
                        [% END %]
498
                    [% ELSE %]
499
                    --    [% itemtype.description | html %]
484
                    --    [% itemtype.description | html %]
500
                    [% END %]
501
                [% ELSE %]
485
                [% ELSE %]
502
                    [% IF itemtype.translated_descriptions.size %]
486
                    [% itemtype.description | html %]
503
                        [% itemtype.description | html %] <span>(default)</span><br/>
504
                        [% FOR description IN itemtype.translated_descriptions %]
505
                            [% IF description.translation == itemtype.translated_description %]
506
                                <strong>[% description.translation | html %]</strong>
507
                            [% ELSE %]
508
                                [% description.translation | html %] ([% description.lang | html %])
509
                            [% END %]
510
                            <br/>
511
                        [% END %]
512
                    [% ELSE %]
513
                        [% itemtype.description | html %]
514
                    [% END %]
515
                [% END %]
487
                [% END %]
516
            </td>
488
            </td>
517
            <td>
489
            <td>
518
- 

Return to bug 24975