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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-12 / +15 lines)
Lines 4-10 Link Here
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Tools &rsaquo; MARC modification templates</title>
5
<title>Koha &rsaquo; Tools &rsaquo; MARC modification templates</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
<style type="text/css">
7
<style>
8
    #add_action { display: none; }
8
    #add_action { display: none; }
9
</style>
9
</style>
10
</head>
10
</head>
Lines 32-41 Link Here
32
    [% END %]
32
    [% END %]
33
</div>
33
</div>
34
34
35
<div id="doc3" class="yui-t2">
35
<div class="main container-fluid">
36
  <div id="bd">
36
    <div class="row">
37
    <div id="yui-main">
37
        <div class="col-sm-10 col-sm-push-2">
38
        <div class="yui-b">
38
            <main>
39
39
40
            <div id="toolbar" class="btn-toolbar">
40
            <div id="toolbar" class="btn-toolbar">
41
                <a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default btn-sm duplicate_template"><i class="fa fa-plus"></i> New template</a>
41
                <a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default btn-sm duplicate_template"><i class="fa fa-plus"></i> New template</a>
Lines 330-346 Link Here
330
                </div>
330
                </div>
331
                </div>
331
                </div>
332
            </div>
332
            </div>
333
        </div>
334
    </div>
335
333
336
    <div class="yui-b">
334
            </main>
337
        [% INCLUDE 'tools-menu.inc' %]
335
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
338
    </div>
336
339
  </div>
337
        <div class="col-sm-2 col-sm-pull-10">
338
            <aside>
339
                [% INCLUDE 'tools-menu.inc' %]
340
            </aside>
341
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
342
     </div> <!-- /.row -->
340
343
341
[% MACRO jsinclude BLOCK %]
344
[% MACRO jsinclude BLOCK %]
342
    [% Asset.js("js/tools-menu.js") | $raw %]
345
    [% Asset.js("js/tools-menu.js") | $raw %]
343
    <script type="text/javascript">
346
    <script>
344
        var MSG_MMT_SUBFIELDS_MATCH = _("Both subfield values should be filled or empty.");
347
        var MSG_MMT_SUBFIELDS_MATCH = _("Both subfield values should be filled or empty.");
345
        var MSG_MMT_DESTINATION_REQUIRED = _("The destination should be filled.");
348
        var MSG_MMT_DESTINATION_REQUIRED = _("The destination should be filled.");
346
        var MSG_MMT_CONTROL_FIELD_EMPTY = _("If the field is a control field, the subfield should be empty");
349
        var MSG_MMT_CONTROL_FIELD_EMPTY = _("If the field is a control field, the subfield should be empty");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-10 / +15 lines)
Lines 20-29 Link Here
20
    <a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a>
20
    <a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a>
21
</div>
21
</div>
22
22
23
<div id="doc3" class="yui-t2">
23
<div class="main container-fluid">
24
    <div id="bd">
24
    <div class="row">
25
        <div id="yui-main">
25
        <div class="col-sm-10 col-sm-push-2">
26
            <div class="yui-b">
26
            <main>
27
27
                [% IF ( op == 'show_form' ) %]
28
                [% IF ( op == 'show_form' ) %]
28
                <h1>Batch patron modification</h1>
29
                <h1>Batch patron modification</h1>
29
                <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/modborrowers.pl">
30
                <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/modborrowers.pl">
Lines 288-305 Link Here
288
                    <a href="/cgi-bin/koha/tools/modborrowers.pl" title="New batch patrons modification">New batch patron modification</a>
289
                    <a href="/cgi-bin/koha/tools/modborrowers.pl" title="New batch patrons modification">New batch patron modification</a>
289
                </p>
290
                </p>
290
                [% END %]
291
                [% END %]
291
            </div>
292
292
            </div>
293
            </main>
293
            <div class="yui-b">
294
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
295
296
        <div class="col-sm-2 col-sm-pull-10">
297
            <aside>
294
                [% INCLUDE 'tools-menu.inc' %]
298
                [% INCLUDE 'tools-menu.inc' %]
295
            </div>
299
            </aside>
296
        </div>
300
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
301
     </div> <!-- /.row -->
297
302
298
[% MACRO jsinclude BLOCK %]
303
[% MACRO jsinclude BLOCK %]
299
    [% INCLUDE 'calendar.inc' %]
304
    [% INCLUDE 'calendar.inc' %]
300
    [% INCLUDE 'datatables.inc' %]
305
    [% INCLUDE 'datatables.inc' %]
301
    [% Asset.js("js/tools-menu.js") | $raw %]
306
    [% Asset.js("js/tools-menu.js") | $raw %]
302
    <script type="text/javascript">
307
    <script>
303
        var patron_attributes_lib = new Array();
308
        var patron_attributes_lib = new Array();
304
        var patron_attributes_values = new Array();
309
        var patron_attributes_values = new Array();
305
        $(document).ready(function() {
310
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt (-12 / +15 lines)
Lines 14-24 Link Here
14
14
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Overdue notice/status triggers</div>
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Overdue notice/status triggers</div>
16
16
17
<div id="doc3" class="yui-t2">
17
<div class="main container-fluid">
18
   
18
    <div class="row">
19
   <div id="bd">
19
        <div class="col-sm-10 col-sm-push-2">
20
    <div id="yui-main">
20
            <main>
21
    <div class="yui-b">
22
21
23
        <h1>Defining [% IF ( branch ) %]overdue actions for [% Branches.GetName( branch ) | html %][% ELSE %]default overdue actions[% END %]</h1>
22
        <h1>Defining [% IF ( branch ) %]overdue actions for [% Branches.GetName( branch ) | html %][% ELSE %]default overdue actions[% END %]</h1>
24
        <div class="help">
23
        <div class="help">
Lines 150-165 Link Here
150
                <div class="warning">You don't have patron categories defined, or the patron categories are not set to receive overdue notices.</div>
149
                <div class="warning">You don't have patron categories defined, or the patron categories are not set to receive overdue notices.</div>
151
                <div class="warning">If this is not what you were expecting, go to <a href="../admin/categories.pl">patron categories</p></div>
150
                <div class="warning">If this is not what you were expecting, go to <a href="../admin/categories.pl">patron categories</p></div>
152
            [% END %]
151
            [% END %]
153
    </div>
152
154
    </div>
153
            </main>
155
    <div class="yui-b noprint">
154
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
156
        [% INCLUDE 'tools-menu.inc' %]
155
157
    </div>
156
        <div class="col-sm-2 col-sm-pull-10">
158
</div>
157
            <aside>
158
                [% INCLUDE 'tools-menu.inc' %]
159
            </aside>
160
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
161
     </div> <!-- /.row -->
159
162
160
[% MACRO jsinclude BLOCK %]
163
[% MACRO jsinclude BLOCK %]
161
    [% Asset.js("js/tools-menu.js") | $raw %]
164
    [% Asset.js("js/tools-menu.js") | $raw %]
162
    <script type="text/javascript">
165
    <script>
163
        var tab_map = { "1" : _("First"), "2" : _("Second"), "3" : _("Third")};
166
        var tab_map = { "1" : _("First"), "2" : _("Second"), "3" : _("Third")};
164
        $(document).ready(function() {
167
        $(document).ready(function() {
165
            $('#selectlibrary').find("input:submit").hide();
168
            $('#selectlibrary').find("input:submit").hide();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt (-14 / +16 lines)
Lines 13-23 Link Here
13
13
14
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; [% IF ( TOTAL ) %]<a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a> &rsaquo; Results[% ELSE %]Upload patron images[% END %] </div>
14
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; [% IF ( TOTAL ) %]<a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a> &rsaquo; Results[% ELSE %]Upload patron images[% END %] </div>
15
15
16
<div id="doc3" class="yui-t2">
16
<div class="main container-fluid">
17
    <div id="bd">
17
    <div class="row">
18
        <div id="yui-main">
18
        <div class="col-sm-10 col-sm-push-2">
19
            <main>
20
19
[% IF ( TOTAL ) %]
21
[% IF ( TOTAL ) %]
20
    <div class="yui-b">
21
            [% IF ( ERRORS ) %]
22
            [% IF ( ERRORS ) %]
22
				[% IF ( TCOUNTS ) %]
23
				[% IF ( TCOUNTS ) %]
23
					<div class="dialog alert">
24
					<div class="dialog alert">
Lines 81-89 Link Here
81
                    <li><a id="uploadmore" href="/cgi-bin/koha/tools/picture-upload.pl">Upload more images</a></li>
82
                    <li><a id="uploadmore" href="/cgi-bin/koha/tools/picture-upload.pl">Upload more images</a></li>
82
                    <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to tools</a></li>
83
                    <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to tools</a></li>
83
                [% END %]</ul>
84
                [% END %]</ul>
84
            </div>
85
[% ELSE %]
85
[% ELSE %]
86
    <div class="yui-b">
87
                <h1>Upload patron images</h1>
86
                <h1>Upload patron images</h1>
88
                [% IF ( ERRORS ) %]
87
                [% IF ( ERRORS ) %]
89
                <div class="dialog alert">
88
                <div class="dialog alert">
Lines 132-151 Link Here
132
						<a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">Cancel</a>
131
						<a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">Cancel</a>
133
                    </fieldset>
132
                    </fieldset>
134
                </form>
133
                </form>
135
	
136
            </div>	
137
[% END %]
134
[% END %]
138
</div>
135
139
<div class="yui-b noprint">
136
            </main>
140
    [% INCLUDE 'tools-menu.inc' %]
137
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
141
</div>
138
142
</div>
139
        <div class="col-sm-2 col-sm-pull-10">
140
            <aside>
141
                [% INCLUDE 'tools-menu.inc' %]
142
            </aside>
143
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
144
     </div> <!-- /.row -->
143
145
144
[% MACRO jsinclude BLOCK %]
146
[% MACRO jsinclude BLOCK %]
145
    [% Asset.js("js/tools-menu.js") | $raw %]
147
    [% Asset.js("js/tools-menu.js") | $raw %]
146
    [% INCLUDE 'str/members-menu.inc' %]
148
    [% INCLUDE 'str/members-menu.inc' %]
147
    [% Asset.js("js/members-menu.js") | $raw %]
149
    [% Asset.js("js/members-menu.js") | $raw %]
148
    <script type="text/javascript">
150
    <script>
149
        $(document).ready(function() {
151
        $(document).ready(function() {
150
            $("#zipfile").click(function(){
152
            $("#zipfile").click(function(){
151
                $("#cardnum").hide();
153
                $("#cardnum").hide();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt (-11 / +16 lines)
Lines 15-24 Link Here
15
15
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a> &rsaquo; Quote uploader</div>
16
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a> &rsaquo; Quote uploader</div>
17
17
18
<div id="doc3" class="yui-t2">
18
<div class="main container-fluid">
19
    <div id="bd">
19
    <div class="row">
20
        <div id="yui-main">
20
        <div class="col-sm-10 col-sm-push-2">
21
            <div class="yui-b">
21
            <main>
22
22
                [% INCLUDE 'quotes-upload-toolbar.inc' %]
23
                [% INCLUDE 'quotes-upload-toolbar.inc' %]
23
                <h2>Quote uploader</h2>
24
                <h2>Quote uploader</h2>
24
                <div id="instructions">
25
                <div id="instructions">
Lines 67-84 Link Here
67
                </table>
68
                </table>
68
                <fieldset id="footer" class="action" style="visibility: hidden;">
69
                <fieldset id="footer" class="action" style="visibility: hidden;">
69
                </fieldset>
70
                </fieldset>
70
            </div>
71
71
        </div>
72
            </main>
72
    <div class="yui-b noprint">
73
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
73
        [% INCLUDE 'tools-menu.inc' %]
74
74
    </div>
75
        <div class="col-sm-2 col-sm-pull-10">
75
</div>
76
            <aside>
77
                [% INCLUDE 'tools-menu.inc' %]
78
            </aside>
79
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
80
     </div> <!-- /.row -->
76
81
77
[% MACRO jsinclude BLOCK %]
82
[% MACRO jsinclude BLOCK %]
78
    [% Asset.js("js/tools-menu.js") | $raw %]
83
    [% Asset.js("js/tools-menu.js") | $raw %]
79
    [% INCLUDE 'datatables.inc' %]
84
    [% INCLUDE 'datatables.inc' %]
80
    [% Asset.js("lib/jquery/plugins/jquery.jeditable.mini.js") | $raw %]
85
    [% Asset.js("lib/jquery/plugins/jquery.jeditable.mini.js") | $raw %]
81
    <script type="text/javascript">
86
    <script>
82
        var oTable; //DataTable object
87
        var oTable; //DataTable object
83
        $(document).ready(function() {
88
        $(document).ready(function() {
84
89
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-12 / +16 lines)
Lines 14-23 Link Here
14
14
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Quote editor</div>
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Quote editor</div>
16
16
17
<div id="doc3" class="yui-t2">
17
<div class="main container-fluid">
18
    <div id="bd">
18
    <div class="row">
19
        <div id="yui-main">
19
        <div class="col-sm-10 col-sm-push-2">
20
            <div class="yui-b">
20
            <main>
21
21
                [% INCLUDE 'quotes-toolbar.inc' %]
22
                [% INCLUDE 'quotes-toolbar.inc' %]
22
                <h2>Quote editor</h2>
23
                <h2>Quote editor</h2>
23
                <div id="instructions">
24
                <div id="instructions">
Lines 55-73 Link Here
55
                </table>
56
                </table>
56
                <fieldset id="footer" class="action">
57
                <fieldset id="footer" class="action">
57
                </fieldset>
58
                </fieldset>
58
            </div>
59
59
        </div>
60
            </main>
60
    <div class="yui-b noprint">
61
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
61
        [% INCLUDE 'tools-menu.inc' %]
62
62
    </div>
63
        <div class="col-sm-2 col-sm-pull-10">
63
</div>
64
            <aside>
65
                [% INCLUDE 'tools-menu.inc' %]
66
            </aside>
67
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
68
     </div> <!-- /.row -->
64
69
65
[% MACRO jsinclude BLOCK %]
70
[% MACRO jsinclude BLOCK %]
66
    [% Asset.js("js/tools-menu.js") | $raw %]
71
    [% Asset.js("js/tools-menu.js") | $raw %]
67
    [% INCLUDE 'datatables.inc' %]
72
    [% INCLUDE 'datatables.inc' %]
68
    [% Asset.js("lib/jquery/plugins/dataTables.fnReloadAjax.js") | $raw %]
73
    [% Asset.js("lib/jquery/plugins/dataTables.fnReloadAjax.js") | $raw %]
69
    [% Asset.js("lib/jquery/plugins/jquery.jeditable.mini.js") | $raw %]
74
    [% Asset.js("lib/jquery/plugins/jquery.jeditable.mini.js") | $raw %]
70
    <script type="text/javascript">
75
    <script>
71
        var oTable; /* oTable needs to be global */
76
        var oTable; /* oTable needs to be global */
72
        var sEmptyTable = _("No quotes available. Please use the 'Add quote' button to add a quote."); /* override the default message in datatables.inc */
77
        var sEmptyTable = _("No quotes available. Please use the 'Add quote' button to add a quote."); /* override the default message in datatables.inc */
73
        $(document).ready(function() {
78
        $(document).ready(function() {
74
- 

Return to bug 19945