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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt (-5 / +20 lines)
Lines 1-3 Link Here
1
[% BLOCK translate_label_types %]
2
[%  SWITCH type %]
3
[%   CASE 'BIB'    %]Biblio
4
[%   CASE 'BARBIB' %]Barcode/Biblio
5
[%   CASE 'BIBBAR' %]Biblio/Barcode
6
[%   CASE 'ALT'    %]Alternating
7
[%   CASE 'BAR'    %]Barcode
8
[%  END %]
9
[% END %]
1
    [% INCLUDE 'doc-head-open.inc' %]
10
    [% INCLUDE 'doc-head-open.inc' %]
2
    <title>Koha &rsaquo; Tools &rsaquo; Labels</title>
11
    <title>Koha &rsaquo; Tools &rsaquo; Labels</title>
3
    [% INCLUDE 'doc-head-close.inc' %]
12
    [% INCLUDE 'doc-head-close.inc' %]
Lines 19-24 Link Here
19
        //]]>
28
        //]]>
20
    </script>
29
    </script>
21
</head>
30
</head>
31
[% BLOCK translate_justification_types %]
32
[%  SWITCH type %]
33
[%   CASE 'L' %]Left
34
[%   CASE 'C' %]Center
35
[%   CASE 'R' %]Right
36
[%  END %]
37
[% END %]
22
<body id="labels_label-edit-layout" class="tools labels">
38
<body id="labels_label-edit-layout" class="tools labels">
23
    [% INCLUDE 'header.inc' %]
39
    [% INCLUDE 'header.inc' %]
24
    [% INCLUDE 'cat-search.inc' %]
40
    [% INCLUDE 'cat-search.inc' %]
Lines 58-66 Link Here
58
                                    <select name="printing_type" id="printing_type">
74
                                    <select name="printing_type" id="printing_type">
59
                                    [% FOREACH label_type IN label_types %]
75
                                    [% FOREACH label_type IN label_types %]
60
                                    [% IF ( label_type.selected ) %]
76
                                    [% IF ( label_type.selected ) %]
61
                                    <option value="[% label_type.type %]" selected="selected">[% label_type.name %]</option>
77
                                    <option value="[% label_type.type %]" selected="selected">[% PROCESS translate_label_types type=label_type.type %]</option>
62
                                    [% ELSE %]
78
                                    [% ELSE %]
63
                                    <option value="[% label_type.type %]">[% label_type.name %]</option>
79
                                    <option value="[% label_type.type %]">[% PROCESS translate_label_types type=label_type.type %]</option>
64
                                    [% END %]
80
                                    [% END %]
65
                                    [% END %]
81
                                    [% END %]
66
                                    </select>
82
                                    </select>
Lines 132-140 Link Here
132
                                    <select name="text_justify" id="text_justify">
148
                                    <select name="text_justify" id="text_justify">
133
                                        [% FOREACH text_justification_type IN text_justification_types %]
149
                                        [% FOREACH text_justification_type IN text_justification_types %]
134
                                        [% IF ( text_justification_type.selected ) %]
150
                                        [% IF ( text_justification_type.selected ) %]
135
                                        <option value="[% text_justification_type.type %]" selected="selected">[% text_justification_type.name %]</option>
151
                                        <option value="[% text_justification_type.type %]" selected="selected">[% PROCESS translate_justification_types type=text_justification_type.type %]</option>
136
                                        [% ELSE %]
152
                                        [% ELSE %]
137
                                        <option value="[% text_justification_type.type %]">[% text_justification_type.name %]</option>
153
                                        <option value="[% text_justification_type.type %]">[% PROCESS translate_justification_types type=text_justification_type.type %]</option>
138
                                        [% END %]
154
                                        [% END %]
139
                                        [% END %]
155
                                        [% END %]
140
                                    </select>
156
                                    </select>
141
- 

Return to bug 11364