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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt (-1 / +5 lines)
Lines 1-9 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% PROCESS 'i18n.inc' %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Access files</title>
7
<title>[% FILTER collapse %]
8
    [% t("Access files") | html %] &rsaquo;
9
    [% t("Koha") | html %]
10
[% END %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
12
</head>
9
<body id="tools_access_files" class="tools">
13
<body id="tools_access_files" class="tools">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-33 / +60 lines)
Lines 3-11 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% PROCESS 'i18n.inc' %]
6
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Additional contents &rsaquo; Tools &rsaquo; Koha</title>
9
[% BLOCK page_heading %]
10
    [% IF additional_content.idnew %]
11
        [% IF category == 'news' %]
12
            [% t("Modify news item") | html %]
13
        [% ELSIF category == 'pages' %]
14
            [% t("Modify page") | html %]
15
        [% ELSE %]
16
            [% t("Modify HTML customization") | html %]
17
        [% END %]
18
    [% ELSE %]
19
        [% IF category == 'news' %]
20
            [% t("New news item") | html %]
21
        [% ELSIF category == 'pages' %]
22
            [% t("New page") | html %]
23
        [% ELSE %]
24
            [% t("New HTML customization") | html %]
25
        [% END %]
26
    [% END %]
27
[% END %]
28
[% BLOCK page_section %]
29
    [% IF category == 'news' %]
30
        [% t("News") | html %]
31
    [% ELSIF category == 'pages' %]
32
        [% t("Pages") | html %]
33
    [% ELSE %]
34
        [% t("HTML customizations") | html %]
35
    [% END %]
36
[% END %]
37
<title>[% FILTER collapse %]
38
    [% IF op == 'add_form' %]
39
        [% PROCESS page_heading %] &rsaquo;
40
    [% END %]
41
    [% PROCESS page_section %] &rsaquo;
42
    [% t("Additional content") | html %] &rsaquo;
43
    [% t("Tools") | html %] &rsaquo;
44
    [% t("Koha") | html %]
45
[% END %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
46
[% INCLUDE 'doc-head-close.inc' %]
10
[% IF ( wysiwyg ) %]
47
[% IF ( wysiwyg ) %]
11
    [% SET editmode = "wysiwyg" %]
48
    [% SET editmode = "wysiwyg" %]
Lines 24-33 Link Here
24
        .syspref-link::before {
61
        .syspref-link::before {
25
            content: " | ";
62
            content: " | ";
26
        }
63
        }
27
        .customisation-link::before {
64
        .customization-link::before {
28
            content: " | ";
65
            content: " | ";
29
        }
66
        }
30
        .customisation-link:first-child::before {
67
        .customization-link:first-child::before {
31
            content: none;
68
            content: none;
32
        }
69
        }
33
        label[for^="title_"],
70
        label[for^="title_"],
Lines 47-53 Link Here
47
        [% WRAPPER breadcrumb_item %]
84
        [% WRAPPER breadcrumb_item %]
48
            <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
85
            <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
49
        [% END %]
86
        [% END %]
50
87
        [% WRAPPER breadcrumb_item %]
88
            <a href="/cgi-bin/koha/tools/additional-contents.pl">Additional content</a>
89
        [% END %]
51
        [% IF op == 'add_form' %]
90
        [% IF op == 'add_form' %]
52
            [% WRAPPER breadcrumb_item %]
91
            [% WRAPPER breadcrumb_item %]
53
                [% IF category == 'news' %]
92
                [% IF category == 'news' %]
Lines 58-86 Link Here
58
                    <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
97
                    <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
59
                [% END %]
98
                [% END %]
60
            [% END %]
99
            [% END %]
61
                [% WRAPPER breadcrumb_item bc_active= 1 %]
100
            [% WRAPPER breadcrumb_item bc_active= 1 %]
62
                    [% IF additional_content.idnew %]
101
                [% PROCESS page_heading %]
63
                        <span>Modify additional content</span>
64
                    [% ELSE %]
65
                        <span>Add additional content</span>
66
                    [% END %]
67
                    [% IF category == 'news' %]
68
                        <span>(News)</span>
69
                    [% ELSIF category == 'pages' %]
70
                        <span>(Pages)</span>
71
                    [% ELSE %]
72
                        <span>(HTML customizations)</span>
73
                    [% END %]
74
            [% END %]
102
            [% END %]
75
        [% ELSE %]
103
        [% ELSE %]
76
            [% WRAPPER breadcrumb_item bc_active= 1 %]
104
            [% WRAPPER breadcrumb_item bc_active= 1 %]
77
                [% IF category == 'news' %]
105
                [% PROCESS page_section %]
78
                    <span>News</span>
79
                [% ELSIF category == 'pages' %]
80
                    <span>Pages</span>
81
                [% ELSE %]
82
                    <span>HTML customizations</span>
83
                [% END %]
84
            [% END %]
106
            [% END %]
85
        [% END %]
107
        [% END %]
86
    [% END #/ WRAPPER breadcrumbs %]
108
    [% END #/ WRAPPER breadcrumbs %]
Lines 175-185 Link Here
175
</div> <!-- /.main.container-fluid -->
197
</div> <!-- /.main.container-fluid -->
176
198
177
[% BLOCK add_form %]
199
[% BLOCK add_form %]
178
    [% IF additional_content %]
200
    <h1>[% PROCESS page_heading %]</h1>
179
        <h1>Modify an additional content</h1>
180
    [% ELSE %]
181
        <h1>New additional content ([% IF category == 'news' %]News[% ELSIF category == 'pages' %]Pages[% ELSE %]HTML customizations[% END %])</h1>
182
    [% END %]
183
201
184
    <div id="toolbar" class="btn-toolbar">
202
    <div id="toolbar" class="btn-toolbar">
185
        <div class="btn-group">
203
        <div class="btn-group">
Lines 327-338 Link Here
327
        </div>
345
        </div>
328
    </div>
346
    </div>
329
347
330
    <h2>Additional contents ([% IF category == 'news' %]News[% ELSIF category == 'pages' %]Pages[% ELSE %]HTML customizations[% END %])</h2>
348
    <h2>
349
        Additional content:
350
        [% IF category == 'news' %]
351
            [% t("News") | html %]
352
        [% ELSIF category == 'pages' %]
353
            [% t("Pages") | html %]
354
        [% ELSE %]
355
            [% t("HTML customizations") | html %]
356
        [% END %]
357
    </h2>
331
    <span id="additional_contents_links">
358
    <span id="additional_contents_links">
332
        See
359
        See
333
        <a class="customisation-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a>
360
        <a class="customization-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a>
334
        <a class="customisation-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
361
        <a class="customization-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
335
        <a class="customisation-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a>
362
        <a class="customization-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a>
336
        [% IF ( CAN_user_parameters_manage_sysprefs ) %]
363
        [% IF ( CAN_user_parameters_manage_sysprefs ) %]
337
            <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS'>OPACUserJS</a>
364
            <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS'>OPACUserJS</a>
338
            <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS'>OPACUserCSS</a>
365
            <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS'>OPACUserCSS</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt (-14 / +25 lines)
Lines 1-17 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>
6
<title>[% FILTER collapse %]
6
    [% IF op == 'add_form' %]
7
    [% IF op == 'add_form' %]
7
        [% IF csv_profile %]
8
        [% IF csv_profile %]
8
            Modify a CSV profile &rsaquo;
9
            [% tx("Modify CSV profile '{csv_profile_name}'", {csv_profile_name = csv_profile.profile }) | html %] &rsaquo;
9
        [% ELSE %]
10
        [% ELSE %]
10
            New CSV profile &rsaquo;
11
            [% t("New CSV profile") | html %] &rsaquo;
11
        [% END %]
12
        [% END %]
13
    [% ELSIF ( op == 'delete_confirm' ) %]
14
        [% tx("Confirm deletion of CSV profile '{csv_profile_name}'", {csv_profile_name = csv_profile.profile }) | html %] &rsaquo;
12
    [% END %]
15
    [% END %]
13
    CSV export profiles &rsaquo; Tools &rsaquo; Koha
16
    [% t("CSV profiles") | html %] &rsaquo;
14
</title>
17
    [% t("Tools") | html %] &rsaquo;
18
    [% t("Koha") | html %]
19
[% END %]</title>
15
[% INCLUDE 'doc-head-close.inc' %]
20
[% INCLUDE 'doc-head-close.inc' %]
16
</head>
21
</head>
17
22
Lines 25-47 Link Here
25
        [% WRAPPER breadcrumb_item %]
30
        [% WRAPPER breadcrumb_item %]
26
            <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
31
            <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
27
        [% END %]
32
        [% END %]
28
        [% IF op == 'add_form' %]
33
        [% IF op == 'add_form' || op == 'delete_confirm' %]
29
            [% WRAPPER breadcrumb_item %]
34
            [% WRAPPER breadcrumb_item %]
30
                <a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a>
35
                <a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a>
31
            [% END %]
36
            [% END %]
37
        [% END %]
38
        [% IF op == 'add_form' %]
32
            [% IF csv_profile %]
39
            [% IF csv_profile %]
33
                [% WRAPPER breadcrumb_item bc_active= 1 %]
40
                [% WRAPPER breadcrumb_item bc_active= 1 %]
34
                    <span>Modify a CSV profile</span>
41
                    [% tx("Modify CSV profile '{csv_profile_name}'", {csv_profile_name = csv_profile.profile }) | html %]
35
                [% END %]
42
                [% END %]
36
            [% ELSE %]
43
            [% ELSE %]
37
                [% WRAPPER breadcrumb_item bc_active= 1 %]
44
                [% WRAPPER breadcrumb_item bc_active= 1 %]
38
                    <span>New CSV profile</span>
45
                    <span>New CSV profile</span>
39
                [% END %]
46
                [% END %]
40
            [% END %]
47
            [% END %]
48
        [% ELSIF ( op == 'delete_confirm') %]
49
            [% WRAPPER breadcrumb_item bc_active= 1 %]
50
                [% tx("Confirm deletion of CSV profile '{csv_profile_name}'", {csv_profile_name = csv_profile.profile }) | html %]
51
            [% END %]
41
        [% ELSE %]
52
        [% ELSE %]
42
        [% WRAPPER breadcrumb_item bc_active= 1 %]
53
            [% WRAPPER breadcrumb_item bc_active= 1 %]
43
            <span>CSV profiles</span>
54
                <span>CSV profiles</span>
44
        [% END %]
55
            [% END %]
45
        [% END %]
56
        [% END %]
46
    [% END #/ WRAPPER breadcrumbs %]
57
    [% END #/ WRAPPER breadcrumbs %]
47
[% END #/ WRAPPER sub-header.inc %]
58
[% END #/ WRAPPER sub-header.inc %]
Lines 131-137 Link Here
131
142
132
[% IF op == 'add_form' %]
143
[% IF op == 'add_form' %]
133
    [% IF csv_profile %]
144
    [% IF csv_profile %]
134
        <h1>Modify a CSV profile</h1>
145
        <h1>[% tx("Modify CSV profile '{csv_profile_name}'", {csv_profile_name = csv_profile.profile }) | html %]</h1>
135
    [% ELSE %]
146
    [% ELSE %]
136
        <h1>New CSV profile</h1>
147
        <h1>New CSV profile</h1>
137
    [% END %]
148
    [% END %]
Lines 263-276 Link Here
263
[% IF op == 'delete_confirm' %]
274
[% IF op == 'delete_confirm' %]
264
    <div class="dialog alert">
275
    <div class="dialog alert">
265
        [% IF csv_profile %]
276
        [% IF csv_profile %]
266
            <h1>Delete CSV Profile "[% csv_profile.profile | html %]?"</h1>
277
            <h1>[% tx("Delete CSV profile '{csv_profile_name}'?", {csv_profile_name = csv_profile.profile }) | html %]</h1>
267
            <form action="/cgi-bin/koha/tools/csv-profiles.pl" method="post">
278
            <form action="/cgi-bin/koha/tools/csv-profiles.pl" method="post">
268
                <input type="hidden" name="op" value="delete_confirmed" />
279
                <input type="hidden" name="op" value="delete_confirmed" />
269
                <input type="hidden" name="export_format_id" value="[% csv_profile.export_format_id | html %]" />
280
                <input type="hidden" name="export_format_id" value="[% csv_profile.export_format_id | html %]" />
270
                <input type="submit" class="approve" value="Yes, delete" />
281
                <button type="submit" class="approve"><i class="fa fa-check" aria-hidden="true"></i> Yes, delete</button>
271
            </form>
282
            </form>
272
            <form action="/cgi-bin/koha/tools/csv-profiles.pl" method="get">
283
            <form action="/cgi-bin/koha/tools/csv-profiles.pl" method="get">
273
                <input type="submit" class="deny" value="No, do not Delete" />
284
                <button type="submit" class="deny"><i class="fa fa-remove" aria-hidden="true"></i> No, do not delete</button>
274
            </form>
285
            </form>
275
        [% ELSE %]
286
        [% ELSE %]
276
            This CSV Profile does not exist.
287
            This CSV Profile does not exist.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-3 / +8 lines)
Lines 2-10 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% PROCESS 'i18n.inc' %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>[% Branches.GetName( branch ) | html %] calendar &rsaquo; Tools &rsaquo; Koha</title>
8
<title>[% FILTER collapse %]
9
    [% tx("{library} calendar", { library = Branches.GetName( branch ) }) | html %] &rsaquo;
10
    [% t("Tools") | html %] &rsaquo;
11
    [% t("Koha") | html %]
12
[% END %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
9
[% Asset.css("css/calendar.css") | $raw %]
14
[% Asset.css("css/calendar.css") | $raw %]
10
</head>
15
</head>
Lines 19-25 Link Here
19
            <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
24
            <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
20
        [% END %]
25
        [% END %]
21
        [% WRAPPER breadcrumb_item bc_active= 1 %]
26
        [% WRAPPER breadcrumb_item bc_active= 1 %]
22
            <span>[% Branches.GetName( branch ) | html %] calendar</span>
27
            [% tx("{library} calendar", { library = Branches.GetName( branch ) }) | html %]
23
        [% END %]
28
        [% END %]
24
    [% END #/ WRAPPER breadcrumbs %]
29
    [% END #/ WRAPPER breadcrumbs %]
25
[% END #/ WRAPPER sub-header.inc %]
30
[% END #/ WRAPPER sub-header.inc %]
Lines 29-35 Link Here
29
        <div class="col-sm-10 col-sm-push-2">
34
        <div class="col-sm-10 col-sm-push-2">
30
            <main>
35
            <main>
31
36
32
                <h1>[% Branches.GetName( branch ) | html %] calendar</h1>
37
                <h1>[% tx("{library} calendar", { library = Branches.GetName( branch ) }) | html %]</h1>
33
38
34
                <div class="row">
39
                <div class="row">
35
                    <div class="col-sm-6">
40
                    <div class="col-sm-6">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/page.tt (-1 / +10 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 page %][% page.title | html %][% ELSE %]Page error[% END %] &rsaquo; Tools &rsaquo; Koha</title>
6
<title>[% FILTER collapse %]
7
    [% IF ( page ) %]
8
        [% page.title | html %]
9
    [% ELSE %]
10
        [% t("Page error") | html %]
11
    [% END %] &rsaquo;
12
    [% t("Tools") | html %] &rsaquo;
13
    [% t("Koha") | html %]
14
[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
16
</head>
8
17
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt (-1 / +6 lines)
Lines 2-10 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% PROCESS 'i18n.inc' %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>OPAC problem reports &rsaquo; Administration &rsaquo; Koha</title>
8
<title>[% FILTER collapse %]
9
    [% t("OPAC problem reports") | html %] &rsaquo;
10
    [% t("Tools") | html %] &rsaquo;
11
    [% t("Koha") | html %]
12
[% END %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
14
</head>
10
15
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt (-1 / +7 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>Quote uploader &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>[% FILTER collapse %]
7
        [% t("Quote uploader") | html %] &rsaquo;
8
        [% t("Quote editor") | html %] &rsaquo;
9
        [% t("Tools") | html %] &rsaquo;
10
        [% t("Koha") | html %]
11
    [% END %]</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
12
    [% INCLUDE 'doc-head-close.inc' %]
7
    [% Asset.css("css/uploader.css") | $raw %]
13
    [% Asset.css("css/uploader.css") | $raw %]
8
    <style>
14
    <style>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-2 / +18 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>Quote editor &rsaquo; Tools &rsaquo; Koha</title>
6
<title>[% FILTER collapse %]
7
    [% IF op == 'add_form' %]
8
        [% IF ( quote ) %]
9
            [% t("Modify quote") | html %]
10
        [% ELSE %]
11
            [% t("New quote") | html %]
12
        [% END %] &rsaquo;
13
    [% END %]
14
    [% t("Quote editor") | html %] &rsaquo;
15
    [% t("Tools") | html %] &rsaquo;
16
    [% t("Koha") | html %]
17
[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
18
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
19
</head>
8
20
Lines 21-27 Link Here
21
                <a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a>
33
                <a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a>
22
            [% END %]
34
            [% END %]
23
            [% WRAPPER breadcrumb_item bc_active= 1 %]
35
            [% WRAPPER breadcrumb_item bc_active= 1 %]
24
                <span>Add quote</span>
36
                [% IF ( quote ) %]
37
                    [% t("Modify quote") | html %]
38
                [% ELSE %]
39
                    [% t("New quote") | html %]
40
                [% END %]
25
            [% END %]
41
            [% END %]
26
        [% ELSE %]
42
        [% ELSE %]
27
            [% WRAPPER breadcrumb_item bc_active= 1 %]
43
            [% WRAPPER breadcrumb_item bc_active= 1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt (-3 / +8 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>Task scheduler &rsaquo; Tools &rsaquo; Koha</title>
6
<title>[% FILTER collapse %]
7
    [% t("Task scheduler") | html %] &rsaquo;
8
    [% t("Tools") | html %] &rsaquo;
9
    [% t("Koha") | html %]
10
[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
12
</head>
8
13
Lines 74-80 Link Here
74
<fieldset class="action"><input class="btn btn-primary" type="submit" value="Save" /></fieldset>
79
<fieldset class="action"><input class="btn btn-primary" type="submit" value="Save" /></fieldset>
75
</form>
80
</form>
76
81
77
[% IF ( JOBS ) %]<h2>Jobs already entered</h2>
82
[% IF ( JOBS ) %]<h2>Scheduled tasks</h2>
78
<table>
83
<table>
79
<tr>
84
<tr>
80
<th>Date/Time</th>
85
<th>Date/Time</th>
Lines 88-94 Link Here
88
<tr>
93
<tr>
89
<td>[% JOB.TIME | html %]</td>
94
<td>[% JOB.TIME | html %]</td>
90
<td>[% JOB.TAG | html %]</td>
95
<td>[% JOB.TAG | html %]</td>
91
<td><input type="submit" name="delete" class="btn btn-primary" value="Delete" /></td>
96
<td><input type="submit" name="delete" class="btn btn-xs btn-default" value="Delete" /></td>
92
</tr>
97
</tr>
93
<input type="hidden" name="jobid" value="[% JOB.JOBID | html %]" />
98
<input type="hidden" name="jobid" value="[% JOB.JOBID | html %]" />
94
</form>
99
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-19 / +29 lines)
Lines 5-17 Link Here
5
[% USE TablesSettings %]
5
[% USE TablesSettings %]
6
[% USE AuthorisedValues %]
6
[% USE AuthorisedValues %]
7
[%- USE KohaSpan -%]
7
[%- USE KohaSpan -%]
8
[% PROCESS 'i18n.inc' %]
8
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
9
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
10
[% IF plugin %]
11
<title>[% FILTER collapse %]
11
    <title>Upload plugin</title>
12
    [% IF mode == 'new' || mode == 'deleted' %]
12
[% ELSE %]
13
        [% t("Uploads") | html %] &rsaquo;
13
    <title>Upload &rsaquo; Tools &rsaquo; Koha</title>
14
    [% ELSE %]
14
[% END %]
15
    [% END %]
16
    [% IF mode == 'report' %]
17
        [% t("Results") | html %] &rsaquo;
18
        [% t("Uploads") | html %] &rsaquo;
19
    [% END %]
20
    [% t("Tools") | html %] &rsaquo;
21
    [% t("Koha") | html %]
22
[% END %]</title>
15
[% INCLUDE 'doc-head-close.inc' %]
23
[% INCLUDE 'doc-head-close.inc' %]
16
24
17
[% BLOCK plugin_pars %]
25
[% BLOCK plugin_pars %]
Lines 75-81 Link Here
75
        </fieldset>
83
        </fieldset>
76
        <fieldset class="action">
84
        <fieldset class="action">
77
            <button id="fileuploadbutton" class="btn btn-primary">Upload</button>
85
            <button id="fileuploadbutton" class="btn btn-primary">Upload</button>
78
            <button id="fileuploadcancel">Cancel</button>
86
            <button id="fileuploadcancel" class="btn btn-link">Cancel</button>
79
        </fieldset>
87
        </fieldset>
80
        <div id="fileuploadpanel">
88
        <div id="fileuploadpanel">
81
            <div id="fileuploadstatus" class="progress_panel">Upload progress:
89
            <div id="fileuploadstatus" class="progress_panel">Upload progress:
Lines 156-162 Link Here
156
    [% IF !plugin %]
164
    [% IF !plugin %]
157
        <form id="back">
165
        <form id="back">
158
            <fieldset class="action">
166
            <fieldset class="action">
159
                <button class="submit">Back</button>
167
                <button class="btn btn-default">Back</button>
160
            </fieldset>
168
            </fieldset>
161
        </form>
169
        </form>
162
    [% END %]
170
    [% END %]
Lines 165-171 Link Here
165
[% BLOCK newsearch %]
173
[% BLOCK newsearch %]
166
    <form id="newsearch">
174
    <form id="newsearch">
167
        <fieldset class="action">
175
        <fieldset class="action">
168
            <button id="new_search">New search</button>
176
            <button id="new_search" class="btn btn-default">New search</button>
169
        </fieldset>
177
        </fieldset>
170
    </form>
178
    </form>
171
    [% IF plugin %]
179
    [% IF plugin %]
Lines 249-265 Link Here
249
            [% WRAPPER breadcrumb_item %]
257
            [% WRAPPER breadcrumb_item %]
250
                <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
258
                <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
251
            [% END %]
259
            [% END %]
252
            [% WRAPPER breadcrumb_item %]
260
            [% IF mode == 'new' || mode == 'deleted' %]
253
                <a href="/cgi-bin/koha/tools/upload.pl">Upload</a>
261
                [% WRAPPER breadcrumb_item bc_active= 1 %]
262
                    <span>Uploads</span>
263
                [% END %]
264
            [% ELSE %]
265
                [% WRAPPER breadcrumb_item %]
266
                    <a href="/cgi-bin/koha/tools/upload.pl">Uploads</a>
267
                [% END %]
254
            [% END %]
268
            [% END %]
255
            [% WRAPPER breadcrumb_item %]
269
            [% IF mode == 'report' %]
256
                <a href="#" aria-current="page">
270
                [% WRAPPER breadcrumb_item bc_active= 1 %]
257
                    [% IF mode=='new' || mode =='deleted'%]
271
                    <span>Results</span>
258
                        <span>Add new upload or search</span>
272
                [% END %]
259
                    [% ELSE %]
260
                        <span>Results</span>
261
                    [% END %]
262
                </a>
263
            [% END %]
273
            [% END %]
264
        [% END #/ WRAPPER breadcrumbs %]
274
        [% END #/ WRAPPER breadcrumbs %]
265
    [% END #/ WRAPPER sub-header.inc %]
275
    [% END #/ WRAPPER sub-header.inc %]
Lines 270-276 Link Here
270
                <main>
280
                <main>
271
[% END %]
281
[% END %]
272
282
273
<h1>Upload</h1>
283
<h1>Uploads</h1>
274
<div class="dialog alert" id="myalerts" style="display:none;"></div>
284
<div class="dialog alert" id="myalerts" style="display:none;"></div>
275
285
276
[% PROCESS submitter %]
286
[% PROCESS submitter %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-9 / +11 lines)
Lines 5-18 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% PROCESS 'i18n.inc' %]
8
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
9
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
10
<title>
11
<title>[% FILTER collapse %]
11
    [% IF ( do_it ) %]
12
    [% IF ( do_it ) %]
12
        Results &rsaquo; [% END %]
13
        [% t("Results") | html %] &rsaquo;
13
14
    [% END %]
14
    Logs &rsaquo; Tools &rsaquo; Koha
15
    [% t("Log viewer") | html %] &rsaquo;
15
</title>
16
    [% t("Tools") | html %] &rsaquo;
17
    [% t("Koha") | html %]
18
[% END %]</title>
16
[% INCLUDE 'doc-head-close.inc' %]
19
[% INCLUDE 'doc-head-close.inc' %]
17
[% Asset.css("css/humanmsg.css") | $raw %]
20
[% Asset.css("css/humanmsg.css") | $raw %]
18
[% FILTER collapse %]
21
[% FILTER collapse %]
Lines 174-187 Link Here
174
        [% END %]
177
        [% END %]
175
        [% IF ( do_it ) %]
178
        [% IF ( do_it ) %]
176
            [% WRAPPER breadcrumb_item %]
179
            [% WRAPPER breadcrumb_item %]
177
                <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a>
180
                <a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a>
178
            [% END %]
181
            [% END %]
179
            [% WRAPPER breadcrumb_item bc_active= 1 %]
182
            [% WRAPPER breadcrumb_item bc_active= 1 %]
180
                <span>Results</span>
183
                <span>Results</span>
181
            [% END %]
184
            [% END %]
182
        [% ELSE %]
185
        [% ELSE %]
183
            [% WRAPPER breadcrumb_item bc_active= 1 %]
186
            [% WRAPPER breadcrumb_item bc_active= 1 %]
184
                <span>Logs</span>
187
                <span>Log viewer</span>
185
            [% END %]
188
            [% END %]
186
        [% END %]
189
        [% END %]
187
    [% END #/ WRAPPER breadcrumbs %]
190
    [% END #/ WRAPPER breadcrumbs %]
Lines 192-198 Link Here
192
        <div class="col-sm-10 col-sm-push-2">
195
        <div class="col-sm-10 col-sm-push-2">
193
            <main>
196
            <main>
194
197
195
				<h1>Browse system logs</h1>
198
                <h1>Log viewer</h1>
196
				<form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
199
				<form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
197
					[% IF ( do_it ) %]
200
					[% IF ( do_it ) %]
198
						<input type="hidden" name="do_it" value="[% do_it | html %]" />
201
						<input type="hidden" name="do_it" value="[% do_it | html %]" />
199
- 

Return to bug 34796