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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (-2 / +13 lines)
Lines 1-8 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% PROCESS 'i18n.inc' %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
    [% INCLUDE 'doc-head-open.inc' %]
5
    [% INCLUDE 'doc-head-open.inc' %]
5
    <title>[% IF batch_id %]Edit ([% batch_id | html %])[% ELSE %]New[% END %] &rsaquo; Batches &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>[% FILTER collapse %]
7
        [% IF ( batch_id ) %]
8
            [% t("Edit patron card batch") | html %] ([% batch_id | html %])
9
        [% ELSE %]
10
            [% t("New patron card batch") | html %]
11
        [% END %] &rsaquo;
12
        [% t("Batches") | html %] &rsaquo;
13
        [% t("Patron card creator") | html %] &rsaquo;
14
        [% t("Tools") | html %] &rsaquo;
15
        [% t("Koha") | html %]
16
    [% END %]</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
17
    [% INCLUDE 'doc-head-close.inc' %]
7
</head>
18
</head>
8
19
Lines 28-34 Link Here
28
                [% ELSIF batch_id %]
39
                [% ELSIF batch_id %]
29
                    <span>Edit ([% batch_id | html %])</span>
40
                    <span>Edit ([% batch_id | html %])</span>
30
                [% ELSE %]
41
                [% ELSE %]
31
                    <span>New</span>
42
                    <span>New patron card batch</span>
32
                [% END %]
43
                [% END %]
33
            [% END %]
44
            [% END %]
34
        [% END #/ WRAPPER breadcrumbs %]
45
        [% END #/ WRAPPER breadcrumbs %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt (-8 / +21 lines)
Lines 1-7 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% PROCESS 'i18n.inc' %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
    [% INCLUDE 'doc-head-open.inc' %]
4
    [% INCLUDE 'doc-head-open.inc' %]
4
    <title>[% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %] &rsaquo; Layout &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
5
    <title>[% FILTER collapse %]
6
        [% IF( layout_id ) %]
7
            [% t("Edit patron card layout") | html %] ([% layout_id | html %])
8
        [% ELSE %]
9
            [% t("New patron card layout") | html %]
10
        [% END %] &rsaquo;
11
        [% t("Layout") | html %] &rsaquo;
12
        [% t("Patron card creator") | html %] &rsaquo;
13
        [% t("Tools") | html %] &rsaquo;
14
        [% t("Koha") | html %]
15
    [% END %]</title>
5
    [% INCLUDE 'doc-head-close.inc' %]
16
    [% INCLUDE 'doc-head-close.inc' %]
6
</head>
17
</head>
7
18
Lines 25-31 Link Here
25
                [% IF ( layout_id ) %]
36
                [% IF ( layout_id ) %]
26
                    <span>Edit ([% layout_id | html %])</span>
37
                    <span>Edit ([% layout_id | html %])</span>
27
                [% ELSE %]
38
                [% ELSE %]
28
                    <span>New</span>
39
                    <span>New patron card layout</span>
29
                [% END %]
40
                [% END %]
30
            [% END %]
41
            [% END %]
31
        [% END #/ WRAPPER breadcrumbs %]
42
        [% END #/ WRAPPER breadcrumbs %]
Lines 38-45 Link Here
38
49
39
                    [% INCLUDE 'patroncards-toolbar.inc' %]
50
                    [% INCLUDE 'patroncards-toolbar.inc' %]
40
51
41
                    <h1>[% IF ( layout_id ) %]<span>Edit patron card layout</span> [% layout_id | html %]
52
                    <h1>
42
                        [% ELSE %]<span>Create patron card layout</span>[% END %]
53
                        [% IF ( layout_id ) %]
54
                            <span>Edit patron card layout [% layout_id | html %]</span>
55
                        [% ELSE %]
56
                            <span>New patron card layout</span>
57
                        [% END %]
43
                    </h1>
58
                    </h1>
44
59
45
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
60
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
Lines 47-53 Link Here
47
                <div class="row">
62
                <div class="row">
48
                <div class="col-sm-6">
63
                <div class="col-sm-6">
49
                        <fieldset class="rows">
64
                        <fieldset class="rows">
50
                            <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</legend>
65
                            <legend>Patron card text layout</legend>
51
                            <ol>
66
                            <ol>
52
                                <li>
67
                                <li>
53
                                <fieldset>
68
                                <fieldset>
Lines 278-286 Link Here
278
                </div>
293
                </div>
279
                <div class="col-sm-6">
294
                <div class="col-sm-6">
280
                    <fieldset class="rows">
295
                    <fieldset class="rows">
281
                    <legend>[% IF ( layout_id ) %]<span>Edit patron card graphic layout</span>
296
                    <legend>Patron card graphic layout</legend>
282
                            [% ELSE %]<span>Create patron card graphic layout</span>[% END %]
283
                    </legend>
284
                    <ol>
297
                    <ol>
285
<!--
298
<!--
286
                            <li>
299
                            <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt (-6 / +16 lines)
Lines 1-7 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% PROCESS 'i18n.inc' %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
    [% INCLUDE 'doc-head-open.inc' %]
4
    [% INCLUDE 'doc-head-open.inc' %]
4
    <title>[% IF ( profile_id ) %]Edit ([% profile_id | html %])[% ELSE %]New[% END%] &rsaquo; Profiles &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
5
    <title>[% FILTER collapse %]
6
        [% IF( profile_id ) %]
7
            [% t("Edit printer profile") | html %] ([% profile_id | html %])
8
        [% ELSE %]
9
            [% t("New printer profile") | html %]
10
        [% END %] &rsaquo;
11
        [% t("Profiles") | html %] &rsaquo;
12
        [% t("Patron card creator") | html %] &rsaquo;
13
        [% t("Tools") | html %] &rsaquo;
14
        [% t("Koha") | html %]
15
    [% END %]</title>
5
    [% INCLUDE 'doc-head-close.inc' %]
16
    [% INCLUDE 'doc-head-close.inc' %]
6
</head>
17
</head>
7
18
Lines 23-31 Link Here
23
            [% END %]
34
            [% END %]
24
            [% WRAPPER breadcrumb_item bc_active= 1 %]
35
            [% WRAPPER breadcrumb_item bc_active= 1 %]
25
                [% IF ( profile_id ) %]
36
                [% IF ( profile_id ) %]
26
                    <span>Edit ([% profile_id | html %])</span>
37
                    <span>Edit printer profile ([% profile_id | html %])</span>
27
                [% ELSE %]
38
                [% ELSE %]
28
                    <span>New</span>
39
                    <span>New printer profile</span>
29
                [% END%]
40
                [% END%]
30
            [% END %]
41
            [% END %]
31
        [% END #/ WRAPPER breadcrumbs %]
42
        [% END #/ WRAPPER breadcrumbs %]
Lines 40-50 Link Here
40
51
41
                            <h1>
52
                            <h1>
42
                                [% IF (profile_id) %]
53
                                [% IF (profile_id) %]
43
                                    <span>Edit printer profile</span>
54
                                    <span>Edit printer profile ([% profile_id | html %])</span>
44
                                [% ELSE %]
55
                                [% ELSE %]
45
                                    <span>Create printer profile</span>
56
                                    <span>New printer profile</span>
46
                                [% END%]
57
                                [% END%]
47
                                [% IF (profile_id) %] ([% profile_id | html %])[% END %]
48
                            </h1>
58
                            </h1>
49
                                    <form name="input" action="/cgi-bin/koha/patroncards/edit-profile.pl" method="get">
59
                                    <form name="input" action="/cgi-bin/koha/patroncards/edit-profile.pl" method="get">
50
                                    <fieldset class="rows"><legend>Profile settings</legend>
60
                                    <fieldset class="rows"><legend>Profile settings</legend>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt (-4 / +15 lines)
Lines 1-8 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% PROCESS 'i18n.inc' %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
    [% INCLUDE 'doc-head-open.inc' %]
5
    [% INCLUDE 'doc-head-open.inc' %]
5
    <title>[% IF (template_id) %]Edit ([% template_id | html %])[% ELSE %]New[% END %] &rsaquo; Templates &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>[% FILTER collapse %]
7
        [% IF ( template_id ) %]
8
            [% t("Edit patron card template") | html %] ([% template_id | html %])
9
        [% ELSE %]
10
            [% t("New patron card template") | html %]
11
        [% END %] &rsaquo;
12
        [% t("Templates") | html %] &rsaquo;
13
        [% t("Patron card creator") | html %] &rsaquo;
14
        [% t("Tools") | html %] &rsaquo;
15
        [% t("Koha") | html %]
16
    [% END %]</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
17
    [% INCLUDE 'doc-head-close.inc' %]
7
</head>
18
</head>
8
19
Lines 24-32 Link Here
24
            [% END %]
35
            [% END %]
25
            [% WRAPPER breadcrumb_item bc_active= 1 %]
36
            [% WRAPPER breadcrumb_item bc_active= 1 %]
26
                [% IF (template_id) %]
37
                [% IF (template_id) %]
27
                    <span>Edit ([% template_id | html %])</span>
38
                    <span>Edit patron card template ([% template_id | html %])</span>
28
                [% ELSE %]
39
                [% ELSE %]
29
                    <span>New</span>
40
                    <span>New patron card template</span>
30
                [% END %]
41
                [% END %]
31
            [% END %]
42
            [% END %]
32
        [% END #/ WRAPPER breadcrumbs %]
43
        [% END #/ WRAPPER breadcrumbs %]
Lines 42-48 Link Here
42
                        [% IF (template_id) %]
53
                        [% IF (template_id) %]
43
                            <span>Edit patron card template</span>
54
                            <span>Edit patron card template</span>
44
                        [% ELSE %]
55
                        [% ELSE %]
45
                            <span>Create patron card template</span>
56
                            <span>New patron card template</span>
46
                        [% END %]
57
                        [% END %]
47
                        [% IF (template_id) %] ([% template_id | html %])[% END %]
58
                        [% IF (template_id) %] ([% template_id | html %])[% END %]
48
                    </h1>
59
                    </h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt (-1 / +6 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% PROCESS 'i18n.inc' %]
2
    [% INCLUDE 'doc-head-open.inc' %]
3
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
4
    <title>[% FILTER collapse %]
5
        [% t("Patron card creator") | html %] &rsaquo;
6
        [% t("Tools") | html %] &rsaquo;
7
        [% t("Koha") | html %]
8
    [% END %]</title>
4
    [% INCLUDE 'doc-head-close.inc' %]
9
    [% INCLUDE 'doc-head-close.inc' %]
5
</head>
10
</head>
6
<body id="pcard_home" class="tools pcard">
11
<body id="pcard_home" class="tools pcard">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt (-2 / +8 lines)
Lines 1-7 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% PROCESS 'i18n.inc' %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
    [% INCLUDE 'doc-head-open.inc' %]
4
    [% INCLUDE 'doc-head-open.inc' %]
4
    <title>Images &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
5
    <title>[% FILTER collapse %]
6
        [% t("Image manager") | html %] &rsaquo;
7
        [% t("Patron card creator") | html %] &rsaquo;
8
        [% t("Tools") | html %] &rsaquo;
9
        [% t("Koha") | html %]
10
    [% END %]</title>
5
    [% INCLUDE 'doc-head-close.inc' %]
11
    [% INCLUDE 'doc-head-close.inc' %]
6
</head>
12
</head>
7
13
Lines 20-26 Link Here
20
            <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a>
26
            <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a>
21
        [% END %]
27
        [% END %]
22
        [% WRAPPER breadcrumb_item bc_active= 1 %]
28
        [% WRAPPER breadcrumb_item bc_active= 1 %]
23
            <span>Images</span>
29
            <span>Image manager</span>
24
        [% END %]
30
        [% END %]
25
    [% END #/ WRAPPER breadcrumbs %]
31
    [% END #/ WRAPPER breadcrumbs %]
26
[% END #/ WRAPPER sub-header.inc %]
32
[% END #/ WRAPPER sub-header.inc %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt (-11 / +19 lines)
Lines 1-16 Link Here
1
[% USE raw %]
1
[% USE CGI %]
2
[% USE CGI %]
2
[% PROCESS 'i18n.inc' %]
3
[% PROCESS 'i18n.inc' %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% BLOCK translate_card_element %]
5
[% BLOCK translate_card_element %]
5
[%-  SWITCH element -%]
6
[%-  SWITCH element -%]
6
[%-  CASE 'layout'    -%][% t('layout') | html %]
7
[%-  CASE 'layout'    -%][% t('layout') | html %]
7
[%-  CASE 'Layouts'   -%][% t('Layouts') | html %]
8
[%-  CASE 'Layouts'   -%][% t('Patron card layouts') | html %]
8
[%-  CASE 'template'  -%][% t('template') | html %]
9
[%-  CASE 'template'  -%][% t('template') | html %]
9
[%-  CASE 'Templates' -%][% t('Templates') | html %]
10
[%-  CASE 'Templates' -%][% t('Patron card templates') | html %]
10
[%-  CASE 'profile'   -%][% t('profile') | html %]
11
[%-  CASE 'profile'   -%][% t('profile') | html %]
11
[%-  CASE 'Profiles'  -%][% t('Profiles') | html %]
12
[%-  CASE 'Profiles'  -%][% t('Patron card printer profiles') | html %]
12
[%-  CASE 'batch'     -%][% t('batch') | html %]
13
[%-  CASE 'batch'     -%][% t('batch') | html %]
13
[%-  CASE 'Batches'   -%][% t('Batches') | html %]
14
[%-  CASE 'Batches'   -%][% t('Patron card batches') | html %]
14
[%-  CASE 'Actions'   -%][% t('Actions') | html %]
15
[%-  CASE 'Actions'   -%][% t('Actions') | html %]
15
[%-  END -%]
16
[%-  END -%]
16
[% END %]
17
[% END %]
Lines 24-30 Link Here
24
[% END %]
25
[% END %]
25
26
26
    [% INCLUDE 'doc-head-open.inc' %]
27
    [% INCLUDE 'doc-head-open.inc' %]
27
    <title>[% PROCESS translate_card_element element=card_element_title %] &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
28
    <title>[% FILTER collapse %]
29
        [% PROCESS translate_card_element element=card_element_title %] &rsaquo;
30
        [% t("Patron card creator") | html %] &rsaquo;
31
        [% t("Tools") | html %] &rsaquo;
32
        [% t("Koha") | html %]
33
    [% END %]</title>
28
    [% INCLUDE 'doc-head-close.inc' %]
34
    [% INCLUDE 'doc-head-close.inc' %]
29
</head>
35
</head>
30
36
Lines 54-67 Link Here
54
60
55
                    [% INCLUDE 'patroncards-toolbar.inc' %]
61
                    [% INCLUDE 'patroncards-toolbar.inc' %]
56
62
57
                    <h1>Patron card templates</h1>
63
                    <h1>[% PROCESS translate_card_element element=card_element_title %]</h1>
58
64
59
                    [% INCLUDE 'patroncards-errors.inc' %]
65
                    [% INCLUDE 'patroncards-errors.inc' %]
60
                        <div id="manage-patroncards-layouts">
66
                        <div id="manage-patroncards-layouts">
61
                            [% IF ( table_loop ) %]
67
                            [% IF ( table_loop ) %]
62
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
68
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
63
                            <div class="page-section">
69
                            <div class="page-section">
64
                                <h2>Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]</h2>
65
                                <table>
70
                                <table>
66
                                    [% FOREACH table_loo IN table_loop %]
71
                                    [% FOREACH table_loo IN table_loop %]
67
                                        [% IF ( table_loo.header_fields ) %]
72
                                        [% IF ( table_loo.header_fields ) %]
Lines 105-117 Link Here
105
                                        [% END %]
110
                                        [% END %]
106
                                    [% END %]
111
                                    [% END %]
107
                                </table>
112
                                </table>
113
                            </div> <!-- /.page-section -->
114
                            [% IF ( print ) %]
108
                                <fieldset class="action">
115
                                <fieldset class="action">
109
                                    [% IF ( print ) %]<input type="button" id="print" value="Export selected batches" />[% END %]
116
                                    <input class="btn btn-primary" type="button" id="print" value="Export selected batches" />
110
                                </fieldset>
117
                                </fieldset>
111
                            </div> <!-- /.page-section -->
118
                            [% END %]
119
112
                            [% IF patron_lists %]
120
                            [% IF patron_lists %]
113
                            <fieldset class="rows">
121
                            <fieldset class="rows">
114
                                <legend>Or use a patron list</legend>
122
                                <legend>Export by patron list</legend>
115
                                <ol>
123
                                <ol>
116
                                    <li>
124
                                    <li>
117
                                        <label for="patron_list_id">Patron list: </label>
125
                                        <label for="patron_list_id">Patron list: </label>
Lines 125-131 Link Here
125
                                </ol>
133
                                </ol>
126
                            </fieldset>
134
                            </fieldset>
127
                            <fieldset class="action">
135
                            <fieldset class="action">
128
                                <input type="button" id="printlist" value="Export from patron list" />
136
                                <input class="btn btn-primary" type="button" id="printlist" value="Export from patron list" />
129
                            </fieldset>
137
                            </fieldset>
130
                            [% END %]
138
                            [% END %]
131
                            </form>
139
                            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt (-2 / +8 lines)
Lines 1-7 Link Here
1
[% USE raw %]
1
[% USE Asset %]
2
[% USE Asset %]
3
[% PROCESS 'i18n.inc' %]
2
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
4
    <title>Patron card printing/exporting &rsaquo; Patron cards &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>[% FILTER collapse %]
7
        [% t("Patron card printing/exporting") | html %] &rsaquo;
8
        [% t("Patron cards") | html %] &rsaquo;
9
        [% t("Tools") | html %] &rsaquo;
10
        [% t("Koha") | html %]
11
    [% END %]</title>
5
    [% INCLUDE 'doc-head-close.inc' popup => 1%]
12
    [% INCLUDE 'doc-head-close.inc' popup => 1%]
6
</head>
13
</head>
7
14
8
- 

Return to bug 33918