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

(-)a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css (-15 / +15 lines)
Lines 6-13 div#toolbar { Link Here
6
    border: 0;
6
    border: 0;
7
}
7
}
8
8
9
#addbibliotabs .ui-tabs-nav,
9
#addbibliotabs .ui-tabs-nav {
10
#authoritytabs .ui-tabs-nav {
11
    display: none;
10
    display: none;
12
}
11
}
13
12
Lines 223-232 a.tagnum { Link Here
223
    width: 31em;
222
    width: 31em;
224
}
223
}
225
224
226
#cat_addbiblio .field_marceditor .flatpickr_wrapper {
227
    display: none;
228
}
229
230
.mandatory_marker {
225
.mandatory_marker {
231
	color: red;
226
	color: red;
232
}
227
}
Lines 277-282 tbody tr.active td { Link Here
277
272
278
.toolbar-tabs-container {
273
.toolbar-tabs-container {
279
    margin: 3em -5px -5px -5px;
274
    margin: 3em -5px -5px -5px;
275
    width: -webkit-fill-available;
280
}
276
}
281
277
282
.toolbar-tabs {
278
.toolbar-tabs {
Lines 299-328 tbody tr.active td { Link Here
299
}
295
}
300
296
301
.toolbar-tabs li a {
297
.toolbar-tabs li a {
302
    border: 1px solid #EDF4F6;
298
    border: 1px solid #71B443;
303
    border-left: 0;
299
    border-left: 0;
304
    border-right: 1px solid #EDF4F6;
300
    background-color: #71B443;
305
    border-bottom-right-radius: 5px;
301
    border-right: 1px solid #71B443;
306
    border-bottom-left-radius: 5px;
302
    border-radius: 5px;
303
    margin: 5px;
304
    /* border-bottom-left-radius: 5px; */
307
    display: block;
305
    display: block;
306
    color: #fff;
308
    font-weight: bold;
307
    font-weight: bold;
309
    padding: .3em 1.5em;
308
    padding: .3em 1.5em;
310
    width: 100%;
309
    width: 100%;
311
}
310
}
312
311
313
.toolbar-tabs li.selected a {
312
.toolbar-tabs li.selected a {
314
    background-color: #EDF4F6;
313
    background-color: #418940;
315
    border-right: 1px solid #C3D6DB;
314
    border-right: 1px solid #418940;
316
    border-bottom: 1px solid #C3D6DB;
315
    border-bottom: 1px solid #418940;
317
    font-weight: bold;
316
    font-weight: bold;
318
}
317
}
319
318
320
.toolbar-tabs li.selected a:hover {
319
.toolbar-tabs li.selected a:hover {
321
    background-color: #EDF4F6;
320
    background-color: #418940;
322
}
321
}
323
322
324
.toolbar-tabs li a:hover {
323
.toolbar-tabs li a:hover {
325
    background-color: #F4F8F9;
324
    background-color: #418940;
325
    text-decoration: none;
326
}
326
}
327
327
328
.toolbar-tabs li:first-child a {
328
.toolbar-tabs li:first-child a {
(-)a/koha-tmpl/intranet-tmpl/prog/css/login.css (-4 / +14 lines)
Lines 20-26 a:hover { Link Here
20
}
20
}
21
21
22
body	{
22
body	{
23
	background: #f5f5f5;
23
	background: #f3f4f4;
24
}
24
}
25
25
26
form, label input {
26
form, label input {
Lines 42-48 label { Link Here
42
42
43
#login {
43
#login {
44
	background: #fff;
44
	background: #fff;
45
	border: 1px solid #a2a2a2;
45
	border: none;
46
	box-shadow: 8px 8px 12px rgb(170 170 170);
46
	margin: 4em auto;
47
	margin: 4em auto;
47
	padding: 1.5em;
48
	padding: 1.5em;
48
	position : relative;
49
	position : relative;
Lines 107-112 label { Link Here
107
#login #submit-button, #login .button {
108
#login #submit-button, #login .button {
108
	font-size: 1.4em;
109
	font-size: 1.4em;
109
	padding : .3em .6em;
110
	padding : .3em .6em;
111
	background: rgba(254, 195, 44, 1);
112
    border: none;
113
    color: #000;
114
}
115
116
#login #submit-button:hover, #login #submit-button:focus, #login #submit-button:active{
117
	background: rgba(254, 195, 44, 0.7) !important;
118
    border: none;
110
}
119
}
111
120
112
#login #onerror_actions {
121
#login #onerror_actions {
Lines 145-151 label { Link Here
145
}
154
}
146
155
147
.submit input:active, .button:active {
156
.submit input:active, .button:active {
148
	background: #f4f4f4;
157
	background: #fff;
149
	border: 1px solid #999;
158
	border: 1px solid #999;
150
	border-left-color: #999;
159
	border-left-color: #999;
151
	border-top-color: #999;
160
	border-top-color: #999;
Lines 155-162 label { Link Here
155
	text-align: right;
164
	text-align: right;
156
}
165
}
157
166
167
158
textarea, input, select {
168
textarea, input, select {
159
    background: #f4f4f4;
169
    background: #fff;
160
    border: 1px solid #b2b2b2;
170
    border: 1px solid #b2b2b2;
161
    color: #000;
171
    color: #000;
162
    font:  13px Verdana, Arial, Helvetica, sans-serif;
172
    font:  13px Verdana, Arial, Helvetica, sans-serif;
(-)a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css (-3 / +3 lines)
Lines 13-21 Link Here
13
13
14
#container-main {
14
#container-main {
15
    /* Contains the news + both columns of links + pending box + userblock box */
15
    /* Contains the news + both columns of links + pending box + userblock box */
16
    background-image:url('../img/background_koha_logo.png');
16
    /*background-image:url('../img/background_koha_logo.png');*/
17
    background-repeat:no-repeat;
17
    /*background-repeat:no-repeat;*/
18
    background-position:left top;
18
    /*background-position:left top;*/
19
    padding: 1em 0;
19
    padding: 1em 0;
20
}
20
}
21
21
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/_flatpickr.scss (-1 / +7 lines)
Lines 945-951 span.flatpickr-weekday { Link Here
945
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='#369' class='bi bi-calendar3'%3E%3Cg stroke-width='1.333'%3E%3Cpath d='M10.5 0h-9A1.5 1.5 0 0 0 0 1.5v9A1.5 1.5 0 0 0 1.5 12h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 10.5 0zM.75 2.893c0-.355.336-.643.75-.643h9c.414 0 .75.288.75.643v7.714c0 .355-.336.643-.75.643h-9c-.414 0-.75-.288-.75-.643z'/%3E%3Cpath d='M4.875 5.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zM2.625 7.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm-6.75 2.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z'/%3E%3C/g%3E%3C/svg%3E");
945
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='#369' class='bi bi-calendar3'%3E%3Cg stroke-width='1.333'%3E%3Cpath d='M10.5 0h-9A1.5 1.5 0 0 0 0 1.5v9A1.5 1.5 0 0 0 1.5 12h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 10.5 0zM.75 2.893c0-.355.336-.643.75-.643h9c.414 0 .75.288.75.643v7.714c0 .355-.336.643-.75.643h-9c-.414 0-.75-.288-.75-.643z'/%3E%3Cpath d='M4.875 5.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zM2.625 7.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm-6.75 2.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z'/%3E%3C/g%3E%3C/svg%3E");
946
    border-style: inset;
946
    border-style: inset;
947
    border-width: 1px;
947
    border-width: 1px;
948
    padding: 3px 3px 3px 20px;
948
    padding: 5px;
949
    font-style: italic;
950
951
    font-size: 90%;
952
    vertical-align: middle;
953
    width: 225px;
954
    height: 25px;
949
955
950
    &:focus {
956
    &:focus {
951
        border-radius: 0;
957
        border-radius: 0;
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss (-45 / +90 lines)
Lines 1-6 Link Here
1
table {
1
table {
2
    border-collapse: collapse;
2
    border-collapse: collapse;
3
    border-right: 1px solid $table-border-color;
3
    //border-right: 1px solid $table-border-color;
4
    border-top: 1px solid $table-border-color;
4
    border-top: 1px solid $table-border-color;
5
5
6
    .btn-group {
6
    .btn-group {
Lines 70-75 table { Link Here
70
70
71
    &.dataTable {
71
    &.dataTable {
72
        border-collapse: collapse;
72
        border-collapse: collapse;
73
        border: none;
74
        margin-top: .5em;
75
        margin-bottom: .5em;
76
73
77
74
        tfoot {
78
        tfoot {
75
            td,
79
            td,
Lines 79-93 table { Link Here
79
        }
83
        }
80
84
81
        thead {
85
        thead {
86
87
82
            th,
88
            th,
83
            td {
89
            td {
84
                border-bottom: 1px solid $table-border-color;
90
                //border-bottom: 1px solid $table-border-color;
85
                border-left: 1px solid $table-border-color;
91
                border-top: none;
92
                border-left: none;
93
                border-right: none;
94
                border: none;
86
                padding: .5em;
95
                padding: .5em;
87
96
88
            }
97
            }
89
98
90
            tr {
99
            tr {
100
            background-color: #fff;
91
                &.columnFilter {
101
                &.columnFilter {
92
                    th {
102
                    th {
93
                        padding: 0;
103
                        padding: 0;
Lines 95-103 table { Link Here
95
                }
105
                }
96
            }
106
            }
97
107
98
            .sorting_asc {
108
            .sorting_asc { 
99
                background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iMi4zODRtbSIgdmlld0JveD0iMCAwIDYuMDAwMDAwMiAyLjM4NDAzODkiPjxnPjxwYXRoIGZpbGw9IiMwMDZhY2MiIGQ9Ik00LjA1IDEuNzRoLTIuMUwzIC42NHoiLz48L2c+PC9zdmc+") no-repeat scroll right center $table-header-background;
109
                //background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iMi4zODRtbSIgdmlld0JveD0iMCAwIDYuMDAwMDAwMiAyLjM4NDAzODkiPjxnPjxwYXRoIGZpbGw9IiMwMDZhY2MiIGQ9Ik00LjA1IDEuNzRoLTIuMUwzIC42NHoiLz48L2c+PC9zdmc+") no-repeat scroll right center $table-header-background;
100
                padding-right: 19px;
110
                //padding-right: 19px;
101
111
102
                &.fixed_sort {
112
                &.fixed_sort {
103
                    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iOS4wMSIgdmlld0JveD0iMCAwIDYgMi4zODQiPjxwYXRoIGZpbGw9IiM5NDk0OTQiIGQ9Ik00LjA1IDEuNzRoLTIuMUwzIC42NHoiLz48L3N2Zz4=") no-repeat scroll right center $table-header-background;
113
                    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iOS4wMSIgdmlld0JveD0iMCAwIDYgMi4zODQiPjxwYXRoIGZpbGw9IiM5NDk0OTQiIGQ9Ik00LjA1IDEuNzRoLTIuMUwzIC42NHoiLz48L3N2Zz4=") no-repeat scroll right center $table-header-background;
Lines 107-113 table { Link Here
107
117
108
            .sorting_desc {
118
            .sorting_desc {
109
                background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iMi4zODRtbSIgdmlld0JveD0iMCAwIDYuMDAwMDAwMiAyLjM4NDAzODkiPjxnPjxwYXRoIGZpbGw9IiMwMDZhY2MiIGQ9Ik00LjA1LjY0aC0yLjFMMyAxLjc0eiIvPjwvZz48L3N2Zz4=") no-repeat scroll right center $table-header-background;
119
                background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iMi4zODRtbSIgdmlld0JveD0iMCAwIDYuMDAwMDAwMiAyLjM4NDAzODkiPjxnPjxwYXRoIGZpbGw9IiMwMDZhY2MiIGQ9Ik00LjA1LjY0aC0yLjFMMyAxLjc0eiIvPjwvZz48L3N2Zz4=") no-repeat scroll right center $table-header-background;
110
                padding-right: 19px;
120
                //padding-right: 19px;
111
121
112
                &.fixed_sort {
122
                &.fixed_sort {
113
                    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iOS4wMSIgdmlld0JveD0iMCAwIDYgMi4zODQiPjxwYXRoIGZpbGw9IiM5NDk0OTQiIGQ9Ik00LjA1LjY0aC0yLjFMMyAxLjc0eiIvPjwvc3ZnPg==") no-repeat scroll right center $table-header-background;
123
                    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iOS4wMSIgdmlld0JveD0iMCAwIDYgMi4zODQiPjxwYXRoIGZpbGw9IiM5NDk0OTQiIGQ9Ik00LjA1LjY0aC0yLjFMMyAxLjc0eiIvPjwvc3ZnPg==") no-repeat scroll right center $table-header-background;
Lines 116-132 table { Link Here
116
            }
126
            }
117
127
118
            .sorting {
128
            .sorting {
119
                background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iMi41NTFtbSIgdmlld0JveD0iMCAwIDYuMDAwMDAwMyAyLjU1MDY2MTQiPjxwYXRoIGZpbGw9IiNhY2FjYWMiIGQ9Ik00LjA1IDEuNDVoLTIuMUwzIDIuNTV6Ii8+PHBhdGggZmlsbD0iI2FjYWNhYyIgZD0iTTQuMDUgMS4xaC0yLjFMMyAweiIvPjwvc3ZnPg==") no-repeat scroll right center $table-header-background;
129
                //background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iMi41NTFtbSIgdmlld0JveD0iMCAwIDYuMDAwMDAwMyAyLjU1MDY2MTQiPjxwYXRoIGZpbGw9IiNhY2FjYWMiIGQ9Ik00LjA1IDEuNDVoLTIuMUwzIDIuNTV6Ii8+PHBhdGggZmlsbD0iI2FjYWNhYyIgZD0iTTQuMDUgMS4xaC0yLjFMMyAweiIvPjwvc3ZnPg==") no-repeat scroll right center $table-header-background;
120
                padding-right: 19px;
130
                //padding-right: 19px;
121
            }
131
            }
122
        }
132
        }
123
133
124
        tbody {
134
        tbody {
135
            border-top: 2px solid #A19B9E;
136
125
            td {
137
            td {
126
                padding: .5em;
138
                padding: .5em;
139
                border: none;
127
            }
140
            }
128
        }
129
141
142
            .dropdown-menu{
143
                background-color: #F3F4F4;
144
                
145
                a{
146
                    color: #000;
147
148
                    &:hover,
149
                    &:focus{
150
                        background-image: none;
151
                        background-color: #F3F4F4;
152
                    }
153
                }
154
            }
155
        }
130
    }
156
    }
131
157
132
    /* Row grouping */
158
    /* Row grouping */
Lines 154-167 table { Link Here
154
180
155
td,
181
td,
156
th {
182
th {
157
    border-bottom: 1px solid $table-border-color;
183
    //border-bottom: 1px solid $table-border-color;
158
    border-left: 1px solid $table-border-color;
184
    //border-left: 1px solid $table-border-color;
159
    padding: .2em .3em;
185
    padding: .2em .9em;
160
}
186
}
161
187
162
td {
188
td {
163
    background-color: #FFFFFF;
189
    background-color: #FFFFFF;
164
    vertical-align: top;
190
    vertical-align: top;
191
    text-align: center;
165
192
166
    &.actions {
193
    &.actions {
167
        white-space: nowrap;
194
        white-space: nowrap;
Lines 197-203 td { Link Here
197
224
198
225
199
th {
226
th {
200
    background-color: $table-header-background;
201
    font-weight: bold;
227
    font-weight: bold;
202
    text-align: center;
228
    text-align: center;
203
229
Lines 354-378 caption { Link Here
354
380
355
tbody {
381
tbody {
356
    tr {
382
    tr {
383
357
        &:nth-child(odd):not(.dtrg-group) {
384
        &:nth-child(odd):not(.dtrg-group) {
358
            td {
385
            td {
359
                border-right: 1px solid $table-border-color;
386
                //border-right: 1px solid $table-border-color;
387
                border: none;
360
            }
388
            }
361
        }
389
        }
362
        &:nth-child(odd):not(.dtrg-group):not(.active) {
390
        &:nth-child(odd):not(.dtrg-group):not(.active) {
363
            td {
391
            td {
364
                &:not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-success):not(.bg-primary) {
392
                &:not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-success):not(.bg-primary) {
365
                    background-color: $table-odd-row;
393
                    background-color: $table-odd-row;
394
        margin: 1em;
366
                }
395
                }
367
            }
396
            }
368
        }
397
        }
369
    }
398
    }
399
    .dropdown-menu{
400
401
        background-color: #fff;
402
        color: #000;
403
        top: 100%;
404
405
        a{
406
            color: #000;
407
408
            &:hover,
409
            &:focus{
410
                background-image: none;
411
                background-color: #fff;
412
                color: #000;
413
                padding: 3px 20px;
414
                text-decoration: underline;
415
            }
416
        }
417
    }
370
}
418
}
371
419
372
.dataTables_wrapper {
420
.dataTables_wrapper {
373
    .dataTables_processing {
421
    .dataTables_processing {
374
        background-color: #F4F8F9;
422
        background-color: #F4F8F9;
375
        border: 2px solid #82B4BE;
423
        border: 2px solid #538200;
376
        border-radius: 3px;
424
        border-radius: 3px;
377
        box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, .2);
425
        box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, .2);
378
        color: #333;
426
        color: #333;
Lines 419-461 tbody { Link Here
419
        }
467
        }
420
468
421
        .paginate_button {
469
        .paginate_button {
422
            color: #004D99 !important;
423
            padding-bottom: 0;
470
            padding-bottom: 0;
424
            padding-top: 0;
471
            padding-top: 0;
425
472
473
474
            &.current,
426
            &:hover,
475
            &:hover,
427
            &:active {
476
            &:active {
428
                background: #FFC none;
477
                //background: #E6FCB7 none;
429
                border: 1px solid transparent;
478
                //border: 0;
430
                box-shadow: none;
479
                border-radius: 4px;
431
                color: #222BAC !important;
480
                color: #666 !important;
432
            }
433
434
            &.current {
435
                background: #E6FCB7 none;
436
                border: 0;
437
                color: #666;
438
                font-weight: bold;
481
                font-weight: bold;
439
482
                background: #fff;
440
                &:hover,
441
                &:active {
442
                    background: #E6FCB7 none;
443
                    border: 0;
444
                    box-shadow: none;
445
                    color: #666;
446
                    cursor: default;
447
                }
448
            }
483
            }
449
484
450
            &.first,
485
            &.first,
451
            &.previous,
486
            &.previous,
452
            &.next,
487
            &.next,
453
            &.last {
488
            &.last {
489
                padding: 0;
490
454
                &::before,
491
                &::before,
455
                &::after {
492
                &::after {
456
                    display: inline-block;
493
                    display: inline-block;
457
                    font-family: FontAwesome;
494
                    font-family: FontAwesome;
458
                    width: 1em;
495
                    //width: 1em;
459
                }
496
                }
460
            }
497
            }
461
498
Lines 464-484 tbody { Link Here
464
501
465
                &::before {
502
                &::before {
466
                    content: "\f100";
503
                    content: "\f100";
467
                    padding-right: .5em;
468
                }
504
                }
469
            }
505
            }
470
506
471
            &.previous {
507
            &.previous {
472
                &::before {
508
                &::before {
473
                    content: "\f104";
509
                    content: "\f104";
474
                    padding-right: .5em;
475
                }
510
                }
476
            }
511
            }
477
512
478
            &.next {
513
            &.next {
479
                &::after {
514
                &::after {
480
                    content: "\f105";
515
                    content: "\f105";
481
                    padding-left: .5em;
482
                }
516
                }
483
            }
517
            }
484
518
Lines 487-493 tbody { Link Here
487
521
488
                &::after {
522
                &::after {
489
                    content: "\f101";
523
                    content: "\f101";
490
                    padding-left: .5em;
491
                }
524
                }
492
            }
525
            }
493
        }
526
        }
Lines 498-510 tbody { Link Here
498
    font-size: 90%;
531
    font-size: 90%;
499
532
500
    &.top {
533
    &.top {
501
        border-top: 1px solid $table-border-color;
534
        //border-top: 1px solid $table-border-color;
502
        padding-top: 1em;
535
        padding: 1em 0;
536
        margin-top: 1em;
537
        margin-bottom:  17px;
503
    }
538
    }
504
539
505
    &.bottom {
540
    &.bottom {
506
        border-bottom: 1px solid $table-border-color;
541
        //border-bottom: 1px solid $table-border-color;
507
        padding-bottom: 1em;
542
        padding-bottom: 1em;
543
        display: none;
544
    }
545
546
    div{
547
        &.dt-buttons {
548
            position: relative;
549
            float: right;
550
        }
508
    }
551
    }
509
552
510
    button,
553
    button,
Lines 513-523 tbody { Link Here
513
        &.dt-button {
556
        &.dt-button {
514
            background: transparent none;
557
            background: transparent none;
515
            border: 0;
558
            border: 0;
516
            color: #000;
559
            color: #696969;
517
            font-size: 1em;
560
            font-size: 1em;
518
            line-height: 1.7em;
561
            line-height: 1.7em;
519
            margin: 3px 3px 0;
562
            margin: 3px 3px 0;
520
            padding: 0 .5em;
563
            padding: 0 .5em;
564
            position: relative;
565
            float: right;
521
566
522
            &::before {
567
            &::before {
523
                content: '';
568
                content: '';
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/calendar.scss (-6 / +19 lines)
Lines 94-106 $selected: #B9DB88; Link Here
94
}
94
}
95
95
96
.panel {
96
.panel {
97
    border: 1px solid #B9D8D9;
97
    //border: 1px solid #B9D8D9;
98
    border-radius: 4px;
98
    //border-radius: 4px;
99
    box-shadow: none;
99
    //box-shadow: none;
100
    padding: 0;
100
    //padding: 0;
101
    display: none;
101
    display: none;
102
    margin: 1em 0;
102
    //margin: 1em 0;
103
    z-index: 1;
103
    z-index: 1;
104
105
106
    height: 100%;
107
    width: 100%;
108
    background-color: #FFF;
109
    position: relative;
110
    color: #696969;
111
    left: 0px;
112
    top: 0px;
113
    margin: 0em 1em 1em 0em;
114
    padding: 1em;
115
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
116
    //display: inline-block;
104
}
117
}
105
118
106
fieldset.brief {
119
fieldset.brief {
Lines 140-146 fieldset.brief li.radio { Link Here
140
153
141
.flatpickr-calendar {
154
.flatpickr-calendar {
142
    border-radius: 0;
155
    border-radius: 0;
143
    border: 1px solid #B9D8D9;
156
    border: 1px solid #71B344;
144
    box-shadow: none;
157
    box-shadow: none;
145
}
158
}
146
159
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-309 / +2311 lines)
Lines 3-33 Link Here
3
@import "flatpickr";
3
@import "flatpickr";
4
4
5
::selection {
5
::selection {
6
    background: #538200;
6
    background: #418940;
7
    color: #FFFFFF;
7
    color: #fff;
8
}
8
}
9
9
10
a {
10
a {
11
    &:link,
11
    &:link,
12
    &:visited {
12
    &:visited {
13
        color: #004D99;
13
        color: #000;
14
        text-decoration: none;
14
        text-decoration: none;
15
    }
15
    }
16
16
17
    &:hover,
17
    &:hover,
18
    &:active {
18
    &:active {
19
        color: #538200;
19
        color: #000;
20
        text-decoration: none;
20
        text-decoration: underline;
21
    }
21
    }
22
22
23
    &:hover {
23
    &:hover {
24
        .term {
24
        .term {
25
            color: #FF9090;
25
            color: #000;
26
            text-decoration: underline;
26
        }
27
        }
27
    }
28
    }
28
29
29
    &.authlink {
30
    &.authlink {
30
        background-color: #e6f0f2;
31
        background-color: #e3f1df;
31
        border-radius: 5px;
32
        border-radius: 5px;
32
        display: inline-block;
33
        display: inline-block;
33
        padding: 2px 4px;
34
        padding: 2px 4px;
Lines 36-58 a { Link Here
36
    &.btn {
37
    &.btn {
37
        &:link,
38
        &:link,
38
        &:visited {
39
        &:visited {
39
            color: #333333;
40
            //color: #71B443;
41
           // padding: 6px 25px;
40
        }
42
        }
41
43
42
        &.btn-link {
44
        &.btn-link {
43
            &:link,
45
            &:link,
44
            &:visited {
46
            &:visited {
45
                color: #004D99;
47
                color: #71B443;
46
            }
48
            }
47
49
48
            &:hover {
50
            &:hover {
49
                color: #538200;
51
                text-decoration: underline;
52
                font-weight: bold;
50
            }
53
            }
51
        }
54
        }
55
        
56
    }
57
58
    &.lientype{
59
        color: #71B443;
60
    padding: .3em;
61
    border: none;
62
    background-color: transparent;
63
    border: none;
64
    box-shadow: none;
65
    font-size: 100%;
66
67
    &:hover, &:focus, &:active, &:active:hover, &:active:focus{
68
        text-decoration: underline;
69
        color: #71B443;
70
        padding: .3em;
71
        border: none;
72
        background-color: transparent;
73
        border: none;
74
        box-shadow: none;
75
        font-size: 100%;
76
        }
52
    }
77
    }
53
78
54
    &.cancel {
79
    &.cancel {
55
        padding-left: 1em;
80
81
        background-color: transparent;
82
        color: #696969;
83
        border: #696969 double 1px;
84
        margin: 5px;
85
86
        //font-family: $font-main;
87
        font-family: 'Poppins', sans-serif;
88
        //box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
89
        display: inline-block;
90
        font-weight: normal;
91
        text-align: center;
92
        white-space: nowrap;
93
        vertical-align: middle;
94
        touch-action: manipulation;
95
        width: 90px;
96
        cursor: pointer;
97
        background-image: none;
98
        padding: 6px 12px;
99
        font-size: 12px;
100
        line-height: 1.42857143;
101
        border-radius: 4px;
102
        user-select: none; 
103
104
        &:hover{
105
            font-weight: bold;
106
            background-color: #f1f1f1;
107
            border: #696969 double 1px;
108
            text-decoration: none;
109
        }
56
    }
110
    }
57
111
58
    &.cartRemove {
112
    &.cartRemove {
Lines 63-79 a { Link Here
63
    }
117
    }
64
118
65
    &.clear_date {
119
    &.clear_date {
66
        color: #C33;
120
        color: #418940;
67
        font-size: 130%;
121
        font-size: 130%;
122
        vertical-align: middle;
68
123
69
        &:hover {
124
        &:hover {
70
            color: #FF9090;
125
            color: #71B443;
126
            text-decoration: none;
71
        }
127
        }
72
    }
128
    }
73
129
74
    &.close {
130
    &.close {
75
        &:hover {
131
        &:hover {
76
            color: #538200;
132
            //color: #418940;
77
        }
133
        }
78
    }
134
    }
79
135
Lines 138-158 a { Link Here
138
        background-image: url("../img/famfamfam/silk/page_white_code.png");
194
        background-image: url("../img/famfamfam/silk/page_white_code.png");
139
    }
195
    }
140
196
197
    &.pat{
198
        font-family: 'Poppins', sans-serif;
199
        font-weight: normal;
200
        text-align: center;
201
        white-space: nowrap;
202
        vertical-align: middle;
203
        -ms-touch-action: manipulation;
204
        touch-action: manipulation;
205
        cursor: pointer;
206
        background-image: none;
207
        padding: 6px 12px;
208
        font-size: 12px;
209
        //line-height: 1.42857143;
210
        border-radius: 4px;
211
        -webkit-user-select: none;
212
        -moz-user-select: none;
213
        -ms-user-select: none;
214
        user-select: none;
215
        font-size: 105%;
216
        background-color: transparent;
217
        border: none;
218
        display: inline-block;
219
        margin: 5px 10px;
220
        color: #696969;
221
    
222
        &:hover{
223
            text-decoration: none;
224
        }
225
    
226
        &:active{
227
            border: none;
228
        }
229
    }
141
}
230
}
231
232
233
#resetZ3950Search{
234
    font-size: 110%;
235
    color: #71B443;
236
}
237
238
#plus{
239
    color: #71B443;
240
    background-color: transparent;
241
242
    display: block;
243
    position: absolute;
244
    right: 45px;
245
    bottom: 10px;
246
    line-height: 15px;
247
248
    &:hover{
249
        text-decoration: none;
250
        color:#71B443;
251
        background-color: transparent;
252
    }
253
}
254
142
a.ctrl_link {
255
a.ctrl_link {
143
    display: inline-block;
256
    display: inline-block;
144
    padding-right: 1rem;
257
    padding-right: 1rem;
145
}
258
}
146
259
    
147
aside {
260
aside {
148
    h5 {
261
    h5 {
149
        font-size: 100%;
262
        font-size: 100%;
150
        margin: .5em 0;
263
        margin: .5em 0;
151
    }
264
    }
152
265
266
    .radio, .checkbox {
267
        margin: 0;
268
    }
269
270
    p{
271
        margin: 0;
272
    }
273
153
    fieldset {
274
    fieldset {
154
        &.brief {
275
        &.brief {
155
            padding: .4em .7em;
276
            padding: 1.4em 1.7em;
277
            //height: auto;
278
            width: 100%;
279
            left: 0px;
280
281
            overflow: auto;
282
            //white-space: nowrap;
283
            height: auto;
284
            max-height: 500px;
285
286
287
            &::-webkit-scrollbar {
288
                width: 12px;
289
            }
290
            
291
            &::-webkit-scrollbar-track {
292
                background: #eeeeee;
293
                //border-color: #696969;
294
                //border-radius: 20px;
295
                
296
            }
297
            
298
            &::-webkit-scrollbar-thumb {
299
                background: #696969;
300
                border-radius: 20px;
301
                border: 3px solid #eeeeee;
302
            }
156
303
157
            button + button,
304
            button + button,
158
            input + input {
305
            input + input {
Lines 168-173 aside { Link Here
168
                legend {
315
                legend {
169
                    font-size: 95%;
316
                    font-size: 95%;
170
                    margin: 0;
317
                    margin: 0;
318
                    border-bottom: none;
171
                }
319
                }
172
320
173
                &.action {
321
                &.action {
Lines 182-187 aside { Link Here
182
330
183
            label {
331
            label {
184
                margin: .5em 0 0 0;
332
                margin: .5em 0 0 0;
333
                border-top : 1px inset #999999;
185
            }
334
            }
186
335
187
            li {
336
            li {
Lines 205-211 aside { Link Here
205
                }
354
                }
206
355
207
                &.radio {
356
                &.radio {
208
                    padding: .7em 0;
357
                    padding: .3em 0;
209
358
210
                    input {
359
                    input {
211
                        padding: .3em 0;
360
                        padding: .3em 0;
Lines 246-253 aside { Link Here
246
    }
395
    }
247
}
396
}
248
397
398
div {
399
    display: block;
400
401
    &.menuspe{
402
        display: inline;
403
        //align-items: center;
404
        //justify-content: center;
405
    }
406
407
408
    &.menuspebas{
409
        ///display: inline;
410
        display: flex;
411
        //-webkit-box-align: center;
412
        //-ms-flex-align: center;
413
        align-items: center;
414
        //-webkit-box-pack: center;
415
        //-ms-flex-pack: center;
416
        justify-content: center;
417
    }
418
419
    &.vert{
420
        display: block;
421
        float: right;
422
        top: 0px;
423
        right: 0;
424
        position: absolute;
425
        width: 160px;
426
        margin-right: 100px;
427
428
        li{
429
            list-style-type: none;
430
            height: 150px;
431
            margin-right: auto;
432
            margin-left: auto;
433
        }
434
    }
435
436
    &.bas{
437
        background: transparent url(../img/koha-logo-medium.png) no-repeat center;
438
        width: 150px;
439
        background-size: 70%;
440
        height: 50px;
441
        margin: 25px;
442
       // position: inherit;
443
        bottom: 0px;
444
        text-align: center;
445
        display: flex;
446
        align-items: center;
447
        justify-content: center;
448
        position: fixed;
449
        //right: 0;
450
        //left: 0;
451
        z-index: 1030;
452
453
        a{
454
            width: 100%;
455
            height: 100%;
456
        }
457
    }
458
459
   /* &.plus{
460
        display: block;
461
        background-color: #352C2E;
462
        padding: 10px;
463
        border-radius: 4px;
464
        padding: 10px;
465
        border-radius: 4px;
466
        position: absolute;
467
        text-align: center;
468
        right: 0px;
469
        bottom: -80px;
470
    
471
        label{
472
            color: #fff;
473
            font-weight: bold;
474
        }
475
    }*/
476
}
477
478
#filters{
479
    width: 100%;
480
    display: block;
481
    position: absolute;
482
    left: 0px;
483
    height: 500px;
484
}
485
486
#filtres{
487
    width: 100%;
488
    display: block;
489
    position: absolute;
490
    left: 0px;
491
    height: 500px;
492
}
493
249
button {
494
button {
250
    @include default-button;
495
    //@include default-button;
251
496
252
    &:active {
497
    &:active {
253
        border: 1px inset #999999;
498
        border: 1px inset #999999;
Lines 265-270 button { Link Here
265
    }
510
    }
266
}
511
}
267
512
513
#add_to_patron_list_submit{
514
    color: #71B443;
515
516
    &:hover{
517
        border: none;
518
    }
519
}
520
268
main {
521
main {
269
    &::after {
522
    &::after {
270
        clear: both;
523
        clear: both;
Lines 274-284 main { Link Here
274
}
527
}
275
528
276
body {
529
body {
277
    font-family: $font-main;
530
    //font-family: $font-main;
531
    font-family: 'Poppins', sans-serif;
278
    font-size: 13px;
532
    font-size: 13px;
279
    line-height: 1.22;
533
    line-height: 1.22;
280
    padding: 0 0 4em;
534
    padding: 0 0 4em;
281
    text-align: left;
535
    text-align: left;
536
    background-color: #F3F4F4;
282
537
283
    &.nobackdrop {
538
    &.nobackdrop {
284
        .modal-backdrop {
539
        .modal-backdrop {
Lines 356-368 h1 { Link Here
356
}
611
}
357
612
358
h2 {
613
h2 {
359
    font-size: 146.5%;
614
    font-size: 150%;
360
    font-weight: bold;
615
    font-weight: bold;
616
    color: #696969;
361
}
617
}
362
618
363
h3 {
619
h3 {
364
    font-size: 131%;
620
    font-size: 131%;
365
    font-weight: bold;
621
    font-weight: bold;
622
    color: #696969;
366
}
623
}
367
624
368
h4 {
625
h4 {
Lines 372-378 h4 { Link Here
372
629
373
h5 {
630
h5 {
374
    font-size: 100%;
631
    font-size: 100%;
375
    font-weight: bold;
632
    //font-weight: bold;
376
}
633
}
377
634
378
h6 {
635
h6 {
Lines 380-392 h6 { Link Here
380
    font-weight: bold;
637
    font-weight: bold;
381
}
638
}
382
639
640
h7 {
641
    font-size: 93%;
642
    font-weight: bold;
643
    text-align: center;
644
    //padding: 5px;
645
    position: relative;
646
    left: 0px;
647
    bottom: 0px;
648
}
649
650
383
h1,
651
h1,
384
h2,
652
h2,
385
h3,
653
h3,
386
h4,
654
h4,
387
h5,
655
h5,
388
h6 {
656
h6,
389
    margin: .3em 0;
657
h7 {
658
    margin: .5em 0;
390
}
659
}
391
660
392
hr {
661
hr {
Lines 395-401 hr { Link Here
395
}
664
}
396
665
397
p {
666
p {
398
    margin: .5em 0;
667
    margin: .7em 0;
668
669
    &.plus{
670
        background-color: #352C2E;
671
        height: 100% !important;
672
        top: 30px;
673
        border-bottom-left-radius: 17px;
674
        border-bottom-right-radius: 17px;
675
676
        input{
677
            outline-offset: 0px;
678
            outline: 1px black;
679
            float: right;
680
            height: 30px;
681
            border-radius: 17px;
682
            padding-left: 2em;
683
            padding-right: 1.5em;
684
            border: none;
685
            margin-left: 0px;
686
            position: absolute;
687
            top: -5px;
688
            right: 30px;
689
            z-index: 100;
690
            display: inline-block !important;
691
            letter-spacing: normal;
692
            word-spacing: normal;
693
            text-transform: none;
694
            text-indent: 0px;
695
            text-shadow: none;
696
            text-align: start;
697
            cursor: text;
698
            font: 400 13.3333px Arial;
699
        }
700
    }
701
702
    &.plusdessous{
703
        background-color: #352C2E;
704
        height: auto !important;
705
        padding: 0 5px 10px 5px;
706
        top: 30px;
707
        border-bottom-left-radius: 17px;
708
        border-bottom-right-radius: 17px;
709
710
        input{
711
            outline-offset: 0px;
712
            outline: 1px black;
713
            height: 20px;
714
            border-radius: 17px;
715
            padding-left: 2em;
716
            padding-right: 1.5em;
717
            border: none;
718
            margin-top: 5px;
719
            margin-left: 0px;
720
            width: 100%;
721
            z-index: 100;
722
            display: inline-block !important;
723
            letter-spacing: normal;
724
            word-spacing: normal;
725
            text-transform: none;
726
            text-indent: 0px;
727
            text-shadow: none;
728
            text-align: start;
729
            cursor: text;
730
            font: 400 13.3333px Arial;
731
        }
732
    }
399
}
733
}
400
734
401
strong {
735
strong {
Lines 420-426 cite { Link Here
420
input,
754
input,
421
textarea {
755
textarea {
422
    &:focus {
756
    &:focus {
423
        border-color: #538200;
757
        border-color: #418940;
424
        border-radius: 4px;
758
        border-radius: 4px;
425
    }
759
    }
426
}
760
}
Lines 434-448 input { Link Here
434
768
435
    &[type="submit"],
769
    &[type="submit"],
436
    &[type="button"] {
770
    &[type="button"] {
437
        &:active {
771
        border: none;
438
            border: 1px inset #999999;
772
        background-color: #FEC32C;
439
        }
773
        color: #000;
774
        //font-family: $font-main;
775
        font-family: 'Poppins', sans-serif;
776
        text-shadow: 0 1px 0 #fff;
777
        //box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
778
        display: inline-block;
779
        margin-bottom: 0;
780
        font-weight: normal;
781
        text-align: center;
782
        white-space: nowrap;
783
        vertical-align: middle;
784
        touch-action: manipulation;
785
        min-width: 90px;
786
        width: auto;
787
        cursor: pointer;
788
        background-image: none;
789
        padding: 6px 12px;
790
        font-size: 12px;
791
        line-height: 1.42857143;
792
        border-radius: 4px;
793
        user-select: none;
440
    }
794
    }
441
795
442
    &[type="submit"],
796
    &[type="submit"],
443
    &[type="reset"],
797
    &[type="reset"],
444
    &[type="button"] {
798
    &[type="button"] {
445
        @include default-button;
799
        border-radius: 4px;
800
        border-width: 1px;
801
        color: #333333;
802
        display: inline-block;
803
        font-size: inherit;
804
        line-height: 1.42857143;
805
        //padding: .3em .8em;
806
        margin: 5px;
807
        text-align: center;
808
        text-shadow: 0 1px 0 #fff;
809
        vertical-align: middle;
810
        white-space: nowrap;
446
811
447
        &:active {
812
        &:active {
448
            border: 1px inset #999999;
813
            border: 1px inset #999999;
Lines 471-476 input { Link Here
471
    border-color: #900;
836
    border-color: #900;
472
}
837
}
473
838
839
840
//a suppr
474
label,
841
label,
475
.label {
842
.label {
476
    color: #000;
843
    color: #000;
Lines 517-540 label, Link Here
517
    padding-top: 10px;
884
    padding-top: 10px;
518
}
885
}
519
886
887
.col-sm-3 {
888
    width: 25%;
889
}
890
891
.col-sm-6 {
892
    width: 100%;
893
}
894
895
#area-news{
896
    background-color: #FFF;
897
    color: #696969;
898
    margin: 0em 0em 1em 0em;
899
    display: block;
900
    padding: 1em;
901
902
    h3{
903
        background-color: #fff;
904
    }
905
}
906
907
.col-sm-9 {
908
    width: 75%;
909
}
910
911
912
.biglinks-list{
913
    padding: 0px;
914
    margin: 10px 30px;
915
    align-items: center;
916
    height: 150px;
917
918
    li{
919
        list-style-type: none;
920
        display: flex;
921
        float: left;
922
        text-align: center;
923
        margin-bottom: 5px;
924
        padding: 10px;
925
        //display: flex;
926
        align-items: center;
927
        justify-content: center;
928
        flex-wrap: wrap;
929
        width: 200px;
930
        height: 150px;
931
        margin-right: auto;
932
        margin-left: auto;
933
    }
934
}
935
936
.accueil{
937
    text-align: center;
938
    //display: block;
939
    text-decoration: none;
940
    font-family: verdana, arial;
941
    
942
    h1 {
943
        font-size: 150%;
944
        font-weight: normal;
945
    }
946
947
    i{
948
        text-align: center;
949
        //max-height: 100%;
950
        //max-width: 100%;
951
        color: #fff;
952
        border: solid 3px #71B443;
953
        border-radius: 50%;
954
        background-color: #71B443;
955
        width: 40px;
956
        height: 40px;
957
        margin-bottom: 5px;
958
        margin-left: auto;
959
        margin-right: auto;
960
        padding: 5px;
961
        align-items: center;
962
        justify-content: center;
963
        -webkit-box-sizing: content-box;
964
        box-sizing: content-box;
965
        //font-weight: bold;
966
        //font-size: large;
967
        display: flex;
968
969
    }
970
971
    &:hover{
972
        color: #418940;
973
        //border-color: #418940;
974
        text-decoration: none;
975
        //font-weight: bold;
976
977
        i{
978
            background-color: #418940;
979
            border-color: #418940;
980
        }
981
982
    }
983
}
984
985
#reglages{
986
    i, img{
987
        text-align: center;
988
        //max-height: 100%;
989
        //max-width: 100%;
990
        color: #71B443;
991
        border: solid 3px #71B443;
992
        border-radius: 50%;
993
        background-color: transparent;
994
        width: 40px;
995
        height: 40px;
996
        margin-bottom: 5px;
997
        margin-left: auto;
998
        margin-right: auto;
999
        padding: 5px;
1000
        align-items: center;
1001
        justify-content: center;
1002
        -webkit-box-sizing: content-box;
1003
        box-sizing: content-box;
1004
        //font-weight: bold;
1005
        //font-size: large;
1006
        display: flex;
1007
        
1008
    }
1009
1010
    &:hover{
1011
        color: #418940;
1012
        //border-color: #418940;
1013
        text-decoration: none;
1014
        font-weight: bold;
1015
1016
        i, img{
1017
            border-color: #418940;
1018
            color: #418940;
1019
        }
1020
        
1021
    }
1022
1023
    img{
1024
        max-width: 30px;
1025
        height: auto;
1026
        padding: 10px;
1027
    }
1028
}
1029
1030
1031
520
#navmenulist {
1032
#navmenulist {
521
    li {
1033
    background-color: #e6e6e6;
522
        border-bottom: 1px solid #EEE;
1034
    width: 100%;
523
        list-style: $nav-menu-bullet;
1035
    overflow: auto;
524
        padding: .2em 0;
1036
    //white-space: nowrap;
1037
    display: block;
1038
    position: absolute;
1039
    left: 0px;
1040
    max-height: 700px;
1041
    height: auto;
525
1042
526
        a {
1043
    &::-webkit-scrollbar {
527
            text-decoration: none;
1044
        width: 12px;
1045
      }
1046
      
1047
    &::-webkit-scrollbar-track {
1048
        background: #eeeeee;
1049
        //border-color: #696969;
1050
        //border-radius: 20px;
1051
        
1052
    }
1053
      
1054
    &::-webkit-scrollbar-thumb {
1055
        background: #696969;
1056
        border-radius: 20px;
1057
        border: 3px solid #eeeeee;
1058
    }
528
1059
529
            &.current {
1060
530
                font-weight: bold;
1061
1062
1063
    ul {
1064
        margin-bottom: 8.5px;
1065
        margin-left: 0;
1066
        margin-right: 0;
1067
        padding-left: 0px;
1068
       // position: relative;
1069
       // top: 30px;
1070
        
1071
        h5{
1072
            padding-left: 0.5em;
1073
            padding-bottom: 0.5em;
1074
            font-size: 120%;
1075
            margin-top: 15px;
1076
            margin-left: 0;
1077
            margin-right: 0;
1078
            margin-bottom: 5px;
1079
            color: #696969;
1080
1081
            border-bottom: 1px solid #696969;
1082
            //position: absolute;
1083
            //top: 0px;
1084
        }   
1085
        
1086
        &.sousmenu{
1087
            margin-bottom: 13px;
1088
            margin-left: 0;
1089
            margin-right: 0;
1090
            padding-left: 0px;
1091
            position: relative;
1092
            top: 0px;
1093
1094
            li{
1095
                a{
1096
                    font-size: 75%;
1097
                }
1098
            }
1099
        }
1100
1101
        li {
1102
            //border-bottom: 1px solid #352C2E;
1103
            list-style: $nav-menu-bullet;
1104
            list-style: none;
1105
            //padding: .2em 0;
1106
            //background-color: #a8a8a8;
1107
            //position: block;
1108
            //position: absolute;
1109
            left: 0px;
1110
            flex-direction: row;
1111
            width: 100%;
1112
            height: auto;
1113
1114
            a {
1115
                //text-decoration: none;
1116
                color: #000;
1117
                width: 100%;
1118
                display: block;
1119
                //margin: .5em 0;
1120
                //padding: .4em .3em;
1121
                text-decoration: none;
1122
                padding: 0.5em 0.3em 0.5em 1.2em;
1123
1124
                &.current, &:hover {
1125
                    background-color: #F3F4F4;
1126
                    color: #418940;
1127
                    border-left: solid 5px #418940;
1128
                    font-weight: bold;
1129
                }
1130
1131
                &.titre{
1132
                    width: 100%;
1133
                    font-size: 146.5%;
1134
                    font-weight: bold;
1135
                    text-align: center;
1136
                    color: #000;
1137
1138
                    &:hover, &.current{
1139
                        background-color: #e6e6e6;
1140
                        color: #000;
1141
                        border-left: none;
1142
                        font-weight: bold;
1143
                    }
1144
                }
531
            }
1145
            }
532
        }
1146
        }
533
    }
1147
    }
534
}
1148
}
535
1149
1150
536
.main {
1151
.main {
537
    margin-bottom: $language-footer-min-height * 1.5;
1152
    margin-bottom: $language-footer-min-height * 1.5;
1153
    //display: block;
538
    margin-top: 1em;
1154
    margin-top: 1em;
539
}
1155
}
540
1156
Lines 546-554 label, Link Here
546
1162
547
ul {
1163
ul {
548
    padding-left: 1.1em;
1164
    padding-left: 1.1em;
1165
    //height: 50px;
549
1166
550
    li {
1167
    li {
551
        list-style-type: disc;
1168
        list-style-type: none;
552
1169
553
        input {
1170
        input {
554
            &.submit {
1171
            &.submit {
Lines 566-572 ul { Link Here
566
        padding-left: 0;
1183
        padding-left: 0;
567
1184
568
        button {
1185
        button {
569
            font-family: $font-main;
1186
            //font-family: $font-main;
1187
            font-family: 'Poppins', sans-serif;
570
            padding-bottom: 2px;
1188
            padding-bottom: 2px;
571
        }
1189
        }
572
1190
Lines 576-581 ul { Link Here
576
        }
1194
        }
577
    }
1195
    }
578
1196
1197
    &.nav-tabs {
1198
        border-bottom: 1px solid transparent;
1199
        padding: .2em 1.4em 0 1.4em;
1200
    }
1201
    
1202
    
1203
579
    &.budget_hierarchy {
1204
    &.budget_hierarchy {
580
        margin-left: 0;
1205
        margin-left: 0;
581
        padding-left: 0;
1206
        padding-left: 0;
Lines 628-640 ol { Link Here
628
    }
1253
    }
629
}
1254
}
630
1255
631
632
.gradient {
633
    background-image: linear-gradient(to bottom, rgb(230, 240, 242) 1%, rgb(255, 255, 255) 99%);
634
    align-items: flex-start;
635
    display: flex;
636
}
637
638
.cart-controls {
1256
.cart-controls {
639
    border-top: 1px solid #E8E8E8;
1257
    border-top: 1px solid #E8E8E8;
640
    padding: 7px 0;
1258
    padding: 7px 0;
Lines 653-658 ol { Link Here
653
    font-weight: bold;
1271
    font-weight: bold;
654
}
1272
}
655
1273
1274
1275
1276
656
.strong {
1277
.strong {
657
    font-weight: bold;
1278
    font-weight: bold;
658
}
1279
}
Lines 663-672 ol { Link Here
663
}
1284
}
664
1285
665
fieldset {
1286
fieldset {
666
    background-color: #F4F8F9;
1287
    //overflow: auto;
667
    border: 2px solid #B9D8D9;
1288
    background-color: #FFF;
668
    border-radius: 5px;
1289
    position: relative;
669
    margin: 1em 1em 1em 0;
1290
    color: #696969;
1291
    left: 0px;
1292
    top: 0px;
1293
    //border: 2px solid #bfd9b9;
1294
    //border-radius: 5px;
1295
    margin: 0em 1em 1em 0em;
1296
    //display: block;
670
    padding: 1em;
1297
    padding: 1em;
671
1298
672
    + fieldset {
1299
    + fieldset {
Lines 684-690 fieldset { Link Here
684
    }
1311
    }
685
1312
686
    .standard {
1313
    .standard {
687
        background-color:#f4f8f9 !important;
1314
        background-color:#F4F8F9 !important;
688
    }
1315
    }
689
1316
690
    .contrast {
1317
    .contrast {
Lines 701-708 fieldset { Link Here
701
        width: auto;
1328
        width: auto;
702
    }
1329
    }
703
1330
1331
    &.briefgr {
1332
        box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
1333
        display: inline-block;
1334
    }
1335
1336
704
    &.brief {
1337
    &.brief {
705
        border: 2px solid #B9D8D9;
1338
        //border: 2px solid #bfd9b9;
1339
        width: 50%;
1340
        box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
1341
        overflow: visible;
706
1342
707
        div {
1343
        div {
708
            &.hint {
1344
            &.hint {
Lines 711-717 fieldset { Link Here
711
        }
1347
        }
712
1348
713
        label {
1349
        label {
714
            display: block;
1350
            //display: block;
715
            font-weight: bold;
1351
            font-weight: bold;
716
            padding: .3em 0;
1352
            padding: .3em 0;
717
1353
Lines 752-757 fieldset { Link Here
752
        ol,
1388
        ol,
753
        li {
1389
        li {
754
            list-style-type: none;
1390
            list-style-type: none;
1391
            //margin-bottom: 1.9em;
755
        }
1392
        }
756
1393
757
        span {
1394
        span {
Lines 768-781 fieldset { Link Here
768
        }
1405
        }
769
    }
1406
    }
770
1407
1408
    ol{
1409
        li{
1410
            list-style-type: none;
1411
            padding: .3em 0;
1412
        }
1413
    }
1414
771
    &.rows {
1415
    &.rows {
772
        border: 2px solid #B9D8D9;
1416
        border: none;
773
        border-width: 1px;
1417
        box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
774
        clear: left;
1418
        clear: left;
775
        float: left;
1419
        float: left;
776
        font-size: 90%;
1420
        font-size: 90%;
777
        margin: .9em 0 0;
778
        padding: 0;
779
        width: 100%;
1421
        width: 100%;
780
1422
781
        fieldset {
1423
        fieldset {
Lines 849-855 fieldset { Link Here
849
            font-weight: bold;
1491
            font-weight: bold;
850
            margin-right: 1rem;
1492
            margin-right: 1rem;
851
            text-align: right;
1493
            text-align: right;
852
            width: 9rem;
1494
            width: auto;
1495
            min-width: 9rem;
853
1496
854
            &.error {
1497
            &.error {
855
                float: none;
1498
                float: none;
Lines 916-922 fieldset { Link Here
916
            }
1559
            }
917
1560
918
            fieldset {
1561
            fieldset {
919
                margin-left: 10em;
1562
                //margin-left: 10em;
920
1563
921
                label {
1564
                label {
922
                    width: 6em;
1565
                    width: 6em;
Lines 1033-1038 fieldset { Link Here
1033
            margin: 1em;
1676
            margin: 1em;
1034
        }
1677
        }
1035
    }
1678
    }
1679
1680
}
1681
1682
#select-libs{
1683
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
1684
}
1685
1686
#searchterms{
1687
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
1036
}
1688
}
1037
1689
1038
#multi_receiving {
1690
#multi_receiving {
Lines 1045-1060 fieldset { Link Here
1045
    }
1697
    }
1046
}
1698
}
1047
1699
1700
1701
/*
1048
legend {
1702
legend {
1049
    background-color: #FFFFFF;
1703
    background-color: #FFFFFF;
1050
    border: 2px solid #B9D8D9;
1704
    border: 2px solid #bfd9b9;
1051
    border-radius: 3px;
1705
    border-radius: 3px;
1052
    font-size: 123.1%;
1706
    font-size: 123.1%;
1053
    font-weight: bold;
1707
    font-weight: bold;
1054
    margin-bottom: 0;
1708
    margin-bottom: 0;
1055
    padding: .2em .5em;
1709
    padding: .2em .5em;
1056
    width: auto;
1710
    width: auto;
1057
}
1711
}*/
1058
1712
1059
details {
1713
details {
1060
    > summary {
1714
    > summary {
Lines 1093-1099 details[open] { Link Here
1093
}
1747
}
1094
1748
1095
#breadcrumbs {
1749
#breadcrumbs {
1096
    background-color: #E6F0F2;
1750
    background-color: transparent;//derrière la maison
1097
    clear: both;
1751
    clear: both;
1098
    margin: 0;
1752
    margin: 0;
1099
    padding: .8em .5em .8em 10px;
1753
    padding: .8em .5em .8em 10px;
Lines 1128-1133 div { Link Here
1128
1782
1129
    .renew_formfield {
1783
    .renew_formfield {
1130
        margin-bottom: 1em;
1784
        margin-bottom: 1em;
1785
        //itemtype
1131
    }
1786
    }
1132
1787
1133
    .circmessage {
1788
    .circmessage {
Lines 1183-1189 div { Link Here
1183
1838
1184
    &.rule {
1839
    &.rule {
1185
        background-color: #F4F8F9;
1840
        background-color: #F4F8F9;
1186
        border: 2px solid #B9D8D9;
1841
        border: 2px solid #bfd9b9;
1187
        border-radius: 5px;
1842
        border-radius: 5px;
1188
        margin: .3em;
1843
        margin: .3em;
1189
        padding: .3em;
1844
        padding: .3em;
Lines 1316-1327 div { Link Here
1316
    }
1971
    }
1317
1972
1318
    .browse {
1973
    .browse {
1319
        margin: .5em 0;
1974
        margin: .5em 50px;
1975
        font-weight: bold;
1976
1977
        a{
1978
            color: #71B443;
1979
            font-weight: normal;
1980
1981
            &:hover, &:active{
1982
                font-weight: bold;
1983
                color: #418940;
1984
            }
1985
        }
1320
    }
1986
    }
1321
}
1987
}
1322
1988
1989
1990
/*
1323
#header_search {
1991
#header_search {
1324
    background-position: .5em .5em;
1992
    //position : relative;
1993
    //right : - 500px;
1994
    //top: -45px;
1995
    //line-height: 40px;
1996
    //width: 500px;
1997
    padding: 0px 50px;
1998
    border-radius: 28px;
1999
    background-color: #71B443;
2000
    height: 2.2em;
2001
    background-position: .2em .5em;
1325
    background-repeat: no-repeat;
2002
    background-repeat: no-repeat;
1326
    float: left;
2003
    float: left;
1327
    margin: .3em 0 .5em;
2004
    margin: .3em 0 .5em;
Lines 1330-1342 div { Link Here
1330
        &[type="submit"] {
2007
        &[type="submit"] {
1331
            border-radius: 3px;
2008
            border-radius: 3px;
1332
            padding: .2em .8em;
2009
            padding: .2em .8em;
2010
            position: relative;
2011
            right: .2em;
2012
1333
        }
2013
        }
1334
    }
2014
    }
1335
2015
1336
    div {
2016
    div {
1337
        &.residentsearch {
2017
        &.residentsearch {
1338
            border: 0;
2018
            border: 0;
1339
            border-bottom: 1px solid #85CA11;
2019
            //border-bottom: 1px solid #85CA11;
1340
            padding: 0 0 .2em;
2020
            padding: 0 0 .2em;
1341
        }
2021
        }
1342
    }
2022
    }
Lines 1345-1356 div { Link Here
1345
        &.ui-tabs-nav {
2025
        &.ui-tabs-nav {
1346
            margin-left: 1em;
2026
            margin-left: 1em;
1347
            padding-top: 0;
2027
            padding-top: 0;
2028
            
1348
2029
1349
            li {
2030
            li {
2031
1350
                &.ui-state-default {
2032
                &.ui-state-default {
1351
                    background: transparent none;
2033
                    //background: transparent none;
1352
                    border: 0;
2034
                    //border: 0;
2035
                    //top: 0;
2036
2037
                    //position: absolute;
2038
                   // line-height: 40px;
1353
                    top: 0;
2039
                    top: 0;
2040
                    left: 0;
2041
                    display: flex;
2042
                    justify-content: space-around;
2043
                    align-items: center;
2044
                    color: white;
2045
                    box-shadow: 0px 0px 3px 0px #0000004d;
2046
2047
                    //padding: 10px 20px;
2048
                    border-radius: 28px;
2049
                    background: #71B443;
2050
                    height: 1.5em;
1354
2051
1355
                    a {
2052
                    a {
1356
                        padding: .3em .6em;
2053
                        padding: .3em .6em;
Lines 1394-1406 div { Link Here
1394
2091
1395
    .head-searchbox {
2092
    .head-searchbox {
1396
        font-size: 1.3em;
2093
        font-size: 1.3em;
1397
        width: 30em;
2094
        //width: 30em;
2095
        
2096
        //min-height: 2.5em;
2097
        border-radius: 17px;
2098
        padding-left: 1.5em;
2099
        border: none;
2100
        margin-left: 0px;
2101
        transition: 0.5s;
2102
2103
        //-webkit-writing-mode: horizontal-tb !important;
2104
        text-rendering: auto;
2105
        //color: -internal-light-dark(black, white);
2106
        letter-spacing: normal;
2107
        word-spacing: normal;
2108
        text-transform: none;
2109
        text-indent: 10px;
2110
        text-shadow: none;
2111
        display: inline-block;
2112
        text-align: start;
2113
        appearance: auto;
2114
        //background-color: -internal-light-dark(rgb(255, 255, 255), rgb(59, 59, 59));
2115
        -webkit-rtl-ordering: logical;
2116
        cursor: text;
2117
        margin: 0em;
2118
        font: 400 13.3333px Arial;
2119
        padding: 1px 2px;
1398
    }
2120
    }
1399
}
2121
}
1400
2122
2123
*/
2124
1401
#reserves,
2125
#reserves,
1402
#checkouts {
2126
#checkouts {
1403
    border: 1px solid #B9D8D9;
2127
    //border-top: 3px solid #418940;
1404
    padding: 1em;
2128
    padding: 1em;
1405
}
2129
}
1406
2130
Lines 1433-1453 dd { Link Here
1433
2157
1434
#toolbar,
2158
#toolbar,
1435
.btn-toolbar {
2159
.btn-toolbar {
1436
    background-color: #EDF4F6;
2160
    background-color: #f3F4F4;
1437
    border: 1px solid #E6F0F2;
2161
    border: none;
1438
    border-radius: 5px 5px 0 0;
2162
    border-radius: 5px 5px 0 0;
1439
    margin: 0;
2163
    margin: 0;
1440
    padding: 5px;
2164
    padding: 5px;
2165
    //height: 50px;
2166
    display: block;
1441
2167
1442
    .dropdown-menu {
2168
    div{
1443
        border-top-width: 1px;
2169
        display: inline-block;
1444
        font-size: 13px;
2170
        position: relative;
2171
        float: right;
2172
        height: 100%;
2173
     //   padding: 0.3em;
2174
2175
        .dropdown-menu {
2176
            /*border-top-width: 1px;
2177
            font-size: 13px;
2178
            background-color: #F3F4F4;
2179
            border: none;
2180
            box-shadow: none;
2181
            position: absolute;*/
2182
            //right: 10px;
2183
            //top: 30px;
2184
2185
            border-top-width: 1px;
2186
            text-align: center;
2187
            padding: 0;
2188
            width: auto;
2189
            font-size: 12px;
2190
            line-height: 1.42857143;
2191
            border-radius: 0px;
2192
            border: 0.5px solid lightgray;
2193
            font-size: 100%;
2194
            background-color: #fff;
2195
            margin: 5px 0 0 0;
2196
            box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, .5);
2197
            position: absolute;
2198
            text-decoration: none;
2199
            top: 30px;
2200
            
2201
            
2202
            left: auto;
2203
            right: 0;
2204
2205
            a{
2206
                //color: #696969;
2207
                //float: right;
2208
                //padding: .2em .5em;
2209
                //border-bottom: 1px solid #000;
2210
                color: #000;
2211
                display: block;
2212
                padding: 3px 20px;
2213
                clear: both;
2214
                font-weight: normal;
2215
                line-height: 1.42857143;
2216
                white-space: nowrap;
2217
                border-bottom: none;
2218
                float: left;
2219
2220
                &:hover,
2221
                &:focus{
2222
                    //text-decoration: none;
2223
                    //background-color: #F3F4F4;
2224
                    //background-image: none;
2225
                    //font-weight: bold;
2226
                    //border: 1px solid #696969;
2227
                    //border-radius: 4px;
2228
2229
                    
2230
2231
                    text-decoration: none;
2232
                    font-weight: bold;
2233
                    background-color: #fff;
2234
                    background-image: none;
2235
2236
                }
2237
            }
2238
        }
2239
2240
        #up{
2241
            display: table;
2242
        }
2243
2244
        #down{
2245
            display: table;
2246
        }
2247
2248
        #patdrop{
2249
            border-top-width: 1px;
2250
            text-align: center;
2251
            padding: 0;
2252
            width: auto;
2253
            font-size: 12px;
2254
            line-height: 1.42857143;
2255
            border-radius: 0px;
2256
            border: 0.5px solid lightgray;
2257
            font-size: 100%;
2258
            background-color: #fff;
2259
            margin: 0;
2260
            box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, .5);
2261
            position: absolute;
2262
            text-decoration: none;
2263
            top: 30px;
2264
            left: -20px;
2265
            right: auto;
2266
2267
            a{
2268
                color: #000;
2269
                display: block;
2270
                padding: 3px 20px;
2271
                clear: both;
2272
                font-weight: normal;
2273
                line-height: 1.42857143;
2274
                white-space: nowrap;
2275
                border-bottom: none;
2276
                float: left;
2277
2278
                &:hover{
2279
                    font-weight: bold;
2280
                    background-color: #fff;
2281
                }
2282
            }
2283
            
2284
        }
1445
    }
2285
    }
1446
2286
1447
    &.floating {
2287
    &.floating {
1448
        border-radius: 0;
2288
        border-radius: 0;
1449
        margin-top: 0;
2289
        margin-top: 0;
1450
        z-index: 300;
2290
        z-index: 300;
2291
        left: auto !important;
2292
        width: 851px;
1451
    }
2293
    }
1452
2294
1453
    a.addtocart {
2295
    a.addtocart {
Lines 1469-1474 dd { Link Here
1469
    }
2311
    }
1470
}
2312
}
1471
2313
2314
.btn-toolbar-pat{
2315
    border: none;
2316
    background-color: transparent;
2317
    position: relative;
2318
    right: 0px;
2319
    height: 50px;
2320
    line-height: 25px;
2321
}
2322
1472
#disabled {
2323
#disabled {
1473
    a {
2324
    a {
1474
        color: #999;
2325
        color: #999;
Lines 1487-1517 dd { Link Here
1487
2338
1488
2339
1489
.patroninfo {
2340
.patroninfo {
1490
    margin-top: -.5em;
2341
    //margin-top: -.5em;
2342
    margin-right: .5em;
2343
    //padding-bottom: 2em;
2344
    padding-top: 1em;
2345
    background-color: #e6e6e6;
2346
    //position: absolute;
2347
    left: -10px;
2348
    width: 100%;
2349
    padding-bottom: 25px;
1491
2350
1492
    h5 {
2351
    h5 {
1493
        border-right: 1px solid #B9D8D9;
2352
        //border-right: 1px solid #bfd9b9;
1494
        margin-bottom: 0;
2353
        margin-bottom: 0;
1495
        padding-bottom: .5em;
2354
        padding: .5em .9em;
1496
        padding-left: 0em;
2355
        font-weight: bold;
1497
        padding-top: .5em;
2356
        color: #000;
1498
2357
1499
        &:empty {
2358
        &:empty {
1500
            border-right: 0;
2359
            border-right: 0;
1501
        }
2360
        }
2361
2362
        li{
2363
            &.patrondateofbirth{
2364
                font-size: 75%;
2365
                font-weight: normal;
2366
                list-style-type: none;
2367
                //display: table;
2368
                text-align: center;
2369
            }
2370
        }
1502
    }
2371
    }
1503
2372
1504
    ul {
2373
    ul {
1505
        border: 0;
2374
        border: 0;
1506
        border-bottom: 0;
1507
        border-right: 1px solid #B9D8D9;
1508
        border-top: 0;
1509
        margin: 0;
2375
        margin: 0;
1510
        padding: 0;
2376
        padding: 0 .9em;
1511
2377
1512
        li {
2378
        li {
1513
            list-style-type: none;
2379
            list-style-type: none;
1514
            margin: 0;
2380
            margin: 0;
2381
1515
        }
2382
        }
1516
    }
2383
    }
1517
2384
Lines 1520-1532 dd { Link Here
1520
    }
2387
    }
1521
2388
1522
    > div {
2389
    > div {
1523
        border-right: 1px solid #B9D8D9;
2390
        //border-right: 1px solid #bfd9b9;
1524
        width: 100%;
2391
        width: 100%;
1525
    }
2392
    }
1526
2393
1527
    &.is-staff {
2394
    &.is-staff {
1528
        h5 {
2395
        h5 {
1529
            background-color: #EEE;
2396
            //background-color: #EEE;
1530
        }
2397
        }
1531
    }
2398
    }
1532
}
2399
}
Lines 1541-1547 dd { Link Here
1541
}
2408
}
1542
2409
1543
.patroninfo-heading {
2410
.patroninfo-heading {
1544
    background-color: rgba(237, 244, 246, .4);
2411
  //  background-color: rgba(237, 244, 246, .4);
1545
    padding: .5em;
2412
    padding: .5em;
1546
    margin-bottom: .3em;
2413
    margin-bottom: .3em;
1547
    clear: both;
2414
    clear: both;
Lines 1623-1637 dd { Link Here
1623
}
2490
}
1624
2491
1625
.dropdown-menu {
2492
.dropdown-menu {
2493
    position: absolute;
2494
    top: 50px;
2495
    background-color: #F3F4F4;
1626
    li {
2496
    li {
1627
        list-style-type: none;
2497
        list-style-type: none;
2498
2499
        a{
2500
            color: #000;
2501
2502
            &:hover{
2503
                background-color: #F3F4F4;
2504
                color: #000;
2505
                text-decoration: underline;
2506
                background-image: none;
2507
            }
2508
        }
1628
    }
2509
    }
2510
1629
}
2511
}
1630
2512
1631
.btn-toolbar {
2513
.btn-toolbar {
1632
    fieldset {
2514
    fieldset {
1633
        &.action {
2515
        &.action {
1634
            margin-top: 0;
2516
            margin-top: 0;
2517
            float: left;
1635
        }
2518
        }
1636
    }
2519
    }
1637
2520
Lines 1717-1723 i { Link Here
1717
    }
2600
    }
1718
2601
1719
    &.success {
2602
    &.success {
1720
        color: #008000;
2603
        color: #418940;
1721
    }
2604
    }
1722
2605
1723
    &.warn {
2606
    &.warn {
Lines 1727-1733 i { Link Here
1727
2610
1728
.circ-setting {
2611
.circ-setting {
1729
    font-size: 85%;
2612
    font-size: 85%;
1730
    padding-top: .3em;
2613
    padding-top: .9em;
2614
    padding-bottom: .9em;
1731
2615
1732
    input {
2616
    input {
1733
        vertical-align: middle;
2617
        vertical-align: middle;
Lines 1740-1748 i { Link Here
1740
}
2624
}
1741
2625
1742
.circ-settings {
2626
.circ-settings {
1743
    background-color: #F4F8F9;
2627
    //background-color: #F4F8F9;
1744
    border-radius: 0;
2628
    border-radius: 0;
1745
    border-top: 2px solid #B9D8D9;
2629
    //border-top: 2px solid #bfd9b9;
1746
    display: none;
2630
    display: none;
1747
    margin-left: -1em;
2631
    margin-left: -1em;
1748
    margin-right: -1em;
2632
    margin-right: -1em;
Lines 1752-1757 i { Link Here
1752
2636
1753
#show-circ-settings {
2637
#show-circ-settings {
1754
    margin-top: .5em;
2638
    margin-top: .5em;
2639
    display: inline;
2640
    background: transparent url("../img/UIKit/setting.svg") no-repeat scroll 0%;
2641
    background-size: 100%;
2642
    position: relative;
2643
    margin: 3px;
2644
    align-items: center;
2645
    right: 25px;
2646
    opacity: 0.3;
2647
2648
    &:hover{
2649
        opacity: 1;
2650
    }
2651
2652
    a{
2653
        width: 100%;
2654
2655
        &:hover{
2656
            text-decoration: none;
2657
        }
2658
    }
1755
}
2659
}
1756
2660
1757
.checkin-active-setting {
2661
.checkin-active-setting {
Lines 1759-1764 i { Link Here
1759
    border-radius: 3px;
2663
    border-radius: 3px;
1760
    box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, .5);
2664
    box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, .5);
1761
    margin: .5em;
2665
    margin: .5em;
2666
    width: fit-content;
1762
    padding: .5em;
2667
    padding: .5em;
1763
}
2668
}
1764
2669
Lines 1796-1802 i { Link Here
1796
}
2701
}
1797
2702
1798
.dialog {
2703
.dialog {
1799
    border: 1px solid #BCBCBC;
2704
    //border: 1px solid #BCBCBC;
1800
    border-radius: 2px;
2705
    border-radius: 2px;
1801
    margin: 1em auto;
2706
    margin: 1em auto;
1802
    padding: .5em;
2707
    padding: .5em;
Lines 1838-1846 i { Link Here
1838
2743
1839
    input {
2744
    input {
1840
        background-color: #FFFFFF;
2745
        background-color: #FFFFFF;
1841
        border: 1px solid #BCBCBC;
2746
        //border: 1px solid #BCBCBC;
1842
        margin: .4em;
2747
        margin: .4em;
1843
        padding: .4em .4em .4em 25px;
2748
        padding: .4em;
1844
2749
1845
        &:hover {
2750
        &:hover {
1846
            background-color: #FFC;
2751
            background-color: #FFC;
Lines 1848-1853 i { Link Here
1848
2753
1849
        &[type="submit"] {
2754
        &[type="submit"] {
1850
            background: #FFF none;
2755
            background: #FFF none;
2756
2757
            &.approve{
2758
                background-color: #FEC32C;
2759
                color: #000;
2760
                text-shadow: 0 1px 0 #fff;
2761
                border: none;
2762
                background-image: none;
2763
                margin-top: 5px;
2764
2765
                &:hover,
2766
                &:active,
2767
                &:focus{
2768
                    background-color: #fec22c9f;
2769
                }
2770
            }
2771
2772
            &.deny{
2773
                background-color: transparent;
2774
                color: #696969;
2775
                border: #696969 double 1px;
2776
                margin-top: 5px;
2777
                margin-left: 5px;
2778
2779
                //font-family: $font-main;
2780
                font-family: 'Poppins', sans-serif;
2781
                //box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
2782
                display: inline-block;
2783
                margin-bottom: 0;
2784
                font-weight: normal;
2785
                text-align: center;
2786
                white-space: nowrap;
2787
                vertical-align: middle;
2788
                touch-action: manipulation;
2789
                //width: 90px;
2790
                cursor: pointer;
2791
                background-image: none;
2792
                padding: 6px 12px;
2793
                font-size: 12px;
2794
                line-height: 1.42857143;
2795
                border-radius: 4px;
2796
                user-select: none; 
2797
2798
                &:hover{
2799
                    font-weight: bold;
2800
                    background-color: #f1f1f1;
2801
                    border: #696969 double 1px;
2802
                    text-decoration: none;
2803
                }
2804
            }
1851
        }
2805
        }
1852
2806
1853
        &.flatpickr-input {
2807
        &.flatpickr-input {
Lines 1879-1887 i { Link Here
1879
    }
2833
    }
1880
2834
1881
    &.message {
2835
    &.message {
1882
        background: linear-gradient(to bottom, #FFFFFF 0%, #F4F6FA 2%, #EAEEF5 23%, #E8EDF6 94%, #CDDBF2 100%);
2836
        //background: linear-gradient(to bottom, #FFFFFF 0%, #F4F6FA 2%, #EAEEF5 23%, #E8EDF6 94%, #CDDBF2 100%);
1883
        border: 1px solid #BCBCBC;
2837
        //border: 1px solid #BCBCBC;
2838
        color: #000000;
1884
        text-align: center;
2839
        text-align: center;
2840
        background-color: transparent;
2841
      //  box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
2842
1885
2843
1886
        ul,
2844
        ul,
1887
        h5 {
2845
        h5 {
Lines 1896-1904 i { Link Here
1896
2854
1897
    &.alert,
2855
    &.alert,
1898
    &.error {
2856
    &.error {
1899
        background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%);
2857
        //background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%);
1900
        border: 1px solid #E0C726;
2858
        //border: 1px solid #E0C726;
1901
        color: inherit;
2859
        color: inherit;
2860
        background-color: #fff;
1902
        text-align: center;
2861
        text-align: center;
1903
        text-shadow: none;
2862
        text-shadow: none;
1904
2863
Lines 1922-1930 i { Link Here
1922
2881
1923
.approve,
2882
.approve,
1924
.success {
2883
.success {
2884
    background-color: #FEC32C;    
1925
    i {
2885
    i {
1926
        &.fa {
2886
        &.fa {
1927
            color: #008000;
2887
            color: #418940;
1928
        }
2888
        }
1929
    }
2889
    }
1930
}
2890
}
Lines 1974-1980 i { Link Here
1974
}
2934
}
1975
2935
1976
#menu {
2936
#menu {
1977
    border-right: 1px solid #B9D8D9;
2937
    border-right: 1px solid #bfd9b9;
1978
    margin-right: .5em;
2938
    margin-right: .5em;
1979
    padding-bottom: 2em;
2939
    padding-bottom: 2em;
1980
    padding-top: 1em;
2940
    padding-top: 1em;
Lines 1982-1988 i { Link Here
1982
    li {
2942
    li {
1983
        a {
2943
        a {
1984
            background: linear-gradient(to bottom, #E8F0F6 0%, #E8F0F6 96%, #C1C1C1 100%);
2944
            background: linear-gradient(to bottom, #E8F0F6 0%, #E8F0F6 96%, #C1C1C1 100%);
1985
            border: 1px solid #B9D8D9;
2945
            border: 1px solid #bfd9b9;
1986
            border-bottom-left-radius: 5px;
2946
            border-bottom-left-radius: 5px;
1987
            border-top-left-radius: 5px;
2947
            border-top-left-radius: 5px;
1988
            display: block;
2948
            display: block;
Lines 2013-2019 i { Link Here
2013
2973
2014
                &:hover {
2974
                &:hover {
2015
                    background-color: #FFFFFF;
2975
                    background-color: #FFFFFF;
2016
                    color: #538200;
2976
                    color: #418940;
2977
                }
2978
            }
2979
        }
2980
    }
2981
2982
    ul {
2983
        li {
2984
            list-style-type: none;
2985
        }
2986
    }
2987
}
2988
2989
2990
2991
           /* a {
2992
                //text-decoration: none;
2993
                color: #000;
2994
                width: 100%;
2995
                display: block;
2996
                margin: .5em 0;
2997
                //padding: .4em .3em;
2998
                text-decoration: none;
2999
                padding: 0.5em 0.3em 0.5em 1.2em;
3000
3001
                
3002
3003
                &.current, &.hover {
3004
                    background-color: #F3F4F4;
3005
                    color: #418940;
3006
                    border-left: solid 5px #418940;
3007
                    font-weight: bold;
3008
                }
3009
            }*/
3010
3011
3012
3013
3014
3015
3016
3017
3018
#menu-side {
3019
    //border-right: 1px solid #B9D8D9;
3020
    margin-right: .5em;
3021
    padding-bottom: 2em;
3022
    padding-top: 1em;
3023
    background-color: #e6e6e6;
3024
    position: absolute;
3025
    left: 0px;
3026
3027
    li {
3028
        a {
3029
            display: block;
3030
            font-size: 111%;
3031
            margin: .5em 0;
3032
            margin-right: -1px;
3033
            padding: .4em .3em;
3034
            text-decoration: none;
3035
3036
            left: 0px;
3037
            color: #000;
3038
            display: block;
3039
            //margin: .5em 0;
3040
            //padding: .4em .3em;
3041
            //padding: 0.5em 0.3em 0.5em 1.2em;
3042
            //flex-direction: row;
3043
            //width: 100%;
3044
            //height: 2.1em;
3045
3046
            &:hover {
3047
                background-color: #F3F4F4;
3048
                color: #418940;
3049
                border-left: solid 5px #418940;
3050
                font-weight: bold;
3051
            }
3052
        }
3053
3054
        &.active {
3055
            a {
3056
                background-color: #F3F4F4;
3057
                color: #418940;
3058
                border-left: solid 5px #418940;
3059
                font-weight: bold;
3060
3061
                &:hover {
3062
                    background-color: #F3F4F4;
3063
                    color: #418940;
3064
                    border-left: solid 5px #418940;
3065
                    font-weight: bold;
2017
                }
3066
                }
2018
            }
3067
            }
2019
        }
3068
        }
Lines 2026-2031 i { Link Here
2026
    }
3075
    }
2027
}
3076
}
2028
3077
3078
2029
#closewindow {
3079
#closewindow {
2030
    margin-top: 2em;
3080
    margin-top: 2em;
2031
    text-align: center;
3081
    text-align: center;
Lines 2036-2043 i { Link Here
2036
}
3086
}
2037
3087
2038
.barcode {
3088
.barcode {
2039
    font-size: 200%;
3089
    font-size: 100%;
3090
    vertical-align: middle;
3091
    font-style: italic;
3092
3093
    //background: transparent url("../img/UIKit/arrow.svg") no-repeat scroll 0%;
3094
    //position: absolute;20px
3095
    //right : 0px; 
3096
    //top: 0px;
3097
    width: 250px;
3098
    height: 30px;
3099
    //border: none;
3100
    padding-left: 5px;
3101
    padding-right: 30px;
3102
    border-radius: 0;
3103
}
3104
3105
.petit-barcode{
3106
    background-repeat: no-repeat;
3107
    background-position: 3px;
3108
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='#369' class='bi bi-calendar3'%3E%3Cg stroke-width='1.333'%3E%3Cpath d='M10.5 0h-9A1.5 1.5 0 0 0 0 1.5v9A1.5 1.5 0 0 0 1.5 12h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 10.5 0zM.75 2.893c0-.355.336-.643.75-.643h9c.414 0 .75.288.75.643v7.714c0 .355-.336.643-.75.643h-9c-.414 0-.75-.288-.75-.643z'/%3E%3Cpath d='M4.875 5.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zM2.625 7.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm-6.75 2.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm2.25 0a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z'/%3E%3C/g%3E%3C/svg%3E");
3109
    border-style: inset;
3110
    border-width: 1px;
3111
    padding: 5px;
3112
    font-style: italic;
3113
    border-radius: 0;
3114
3115
    font-size: 90%;
2040
    vertical-align: middle;
3116
    vertical-align: middle;
3117
    height: 25px;
3118
    margin-right: 5px;
2041
}
3119
}
2042
3120
2043
li {
3121
li {
Lines 2108-2121 li { Link Here
2108
    }
3186
    }
2109
}
3187
}
2110
3188
3189
#catalogue_stats_wrapper, #tbl_cash_register_stats_wrapper, #resulttable_wrapper, #numberpatternst_wrapper{
3190
    background-color: #fff;
3191
    margin-top: 20px;
3192
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3193
    padding: 20px;
3194
}
3195
2111
#searchresults {
3196
#searchresults {
3197
    background-color: #fff;
3198
    margin-top: 20px;
3199
    min-width: 100%;
3200
    width: fit-content;
3201
  //  overflow: auto;
3202
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3203
    padding: 20px;
3204
3205
    h3{
3206
        padding-bottom: .7em;
3207
        margin: 0;
3208
        color: #696969;
3209
    }
3210
2112
    td {
3211
    td {
3212
        border: none;
3213
2113
        ul {
3214
        ul {
2114
            li {
3215
            li {
2115
                clear: left;
3216
                clear: left;
2116
                font-size: 90%;
3217
                font-size: 90%;
2117
                list-style: url("../img/item-bullet.svg");
3218
                list-style: url("../img/item-bullet.svg");
2118
                padding: .2em 0;
3219
                padding: .2em 0;
3220
                color: #000;
3221
                top: 100%;
2119
3222
2120
                &.result_itype_image {
3223
                &.result_itype_image {
2121
                    list-style: none;
3224
                    list-style: none;
Lines 2147-2152 li { Link Here
2147
    table {
3250
    table {
2148
        td {
3251
        td {
2149
            vertical-align: top;
3252
            vertical-align: top;
3253
            text-align: center;
2150
        }
3254
        }
2151
    }
3255
    }
2152
3256
Lines 2172-2186 li { Link Here
2172
            }
3276
            }
2173
        }
3277
        }
2174
    }
3278
    }
3279
3280
    .dropdown-menu {
3281
        //position: absolute;
3282
        //top: 50px;
3283
        background-color: #fff;
3284
        color: #000;
3285
        height: fit-content;
3286
        top: 100%;
3287
3288
        a{
3289
            color: #000;
3290
3291
            &:hover{
3292
                background-image: none;
3293
                color: #000;
3294
                text-decoration: underline;
3295
                background-color: #fff;
3296
            }
3297
        }
3298
    }
2175
}
3299
}
2176
3300
2177
.searchheader {
3301
.searchheader {
2178
    background-color: #E6F0F2;
3302
    background-color: transparent;
2179
    border: 1px solid #B9D8D9;
3303
    border: 1px solid #696969;
2180
    border-radius: 5px 5px 0 0;
3304
    border-radius: 5px 5px 5px 5px;
2181
    font-size: 80%;
3305
    font-size: 80%;
2182
    margin: 0 0 .5em -1px;
3306
    margin-top: .5em;
2183
    padding: .4em 0 .4em 1em;
3307
    margin-bottom: .5em;
3308
    padding: 5px;
3309
    width: 100%;
3310
    //padding: .4em 1em .4em 1em;
3311
    color: #696969;
3312
    display: block;
2184
3313
2185
    &.floating {
3314
    &.floating {
2186
        border-radius: 0;
3315
        border-radius: 0;
Lines 2213-2227 li { Link Here
2213
    }
3342
    }
2214
}
3343
}
2215
3344
3345
.mini-inp{
3346
    height: 12px;
3347
    width: 30px;
3348
}
3349
3350
3351
2216
#search-facets {
3352
#search-facets {
2217
    border: 1px solid #B9D8D9;
3353
    //border: 3px solid #71B443;
2218
    border-radius: 5px 5px 0 0;
3354
    //border-radius: 4px;
2219
3355
2220
    h4 {
3356
    h4 {
2221
        background-color: #E6F0F2;
3357
        background-color: #71B443;
2222
        border-bottom: 1px solid #B9D8D9;
3358
        border-bottom: 1px solid #71B443;
2223
        border-radius: 5px 5px 0 0;
3359
        border-radius: 4px 4px 0 0;
2224
        font-size: 90%;
3360
        font-size: 90%;
3361
        color: #fff;
2225
        margin: 0;
3362
        margin: 0;
2226
        padding: .4em .2em;
3363
        padding: .4em .2em;
2227
        text-align: center;
3364
        text-align: center;
Lines 2231-2236 li { Link Here
2231
        margin: 0;
3368
        margin: 0;
2232
        padding: .3em;
3369
        padding: .3em;
2233
3370
3371
        &.cadre{
3372
            border: 3px solid #71B443;
3373
        }
3374
2234
        li {
3375
        li {
2235
            font-weight: bold;
3376
            font-weight: bold;
2236
            list-style-type: none;
3377
            list-style-type: none;
Lines 2267-2273 li { Link Here
2267
}
3408
}
2268
3409
2269
#biblio-cover-slider {
3410
#biblio-cover-slider {
2270
    border: 1px solid #b9d8d9;
3411
    border: 1px solid #bfd9b9;
2271
    border-radius: 3px;
3412
    border-radius: 3px;
2272
    margin: 5px;
3413
    margin: 5px;
2273
    padding: 10px 5px 5px 5px;
3414
    padding: 10px 5px 5px 5px;
Lines 2318-2323 td { Link Here
2318
    }
3459
    }
2319
}
3460
}
2320
3461
3462
#lientype, #add, #merge-patrons, #btn_batchremove, #doedit, #show_invoice_adjustment, #cancel_invoice_adjustment, #show_active_vendors, #add-contact, #multi_hold_submit, #show-picture-upload, #edit_suggester, #expand_all, #collapse_all, #hide_inactive, #show_inactive, #addnewmessageLabel, #results_batch_ops, #highlight_toggle_off, #selectall, #clearall, #highlight_toggle_on, #addColumn, #remove_from_cart, #place_hold, #add_to_list, #batch_modify, #batch_delete, #delColumn, #edit_manager, #unset, #UncheckAll, #check-all, #results_batch_ops #uncheck-all, #frameworkactions, #authtypeactions, #modify_sru_fields, #cartsubmit, #add_manual_restriction{
3463
    color: #71B443;
3464
    padding: .3em;
3465
    border: none;
3466
    background-color: transparent;
3467
    border: none;
3468
    box-shadow: none;
3469
    font-size: 100%;
3470
3471
    &:hover, &:active, &:focus, &:active:hover, &:active:focus{
3472
        text-decoration: underline;
3473
    }
3474
}
3475
3476
.highlight_toggle{
3477
    color: #71B443;
3478
    padding: .3em;
3479
    border: none;
3480
    background-color: transparent;
3481
    border: none;
3482
    box-shadow: none;
3483
    font-size: 100%;
3484
3485
    &:hover{
3486
        text-decoration: underline;
3487
    }
3488
}
3489
3490
2321
.cover-image {
3491
.cover-image {
2322
    display: none;
3492
    display: none;
2323
3493
Lines 2346-2351 td { Link Here
2346
#CheckPending {
3516
#CheckPending {
2347
    font-weight: normal;
3517
    font-weight: normal;
2348
    margin: 0 .5em 0 0;
3518
    margin: 0 .5em 0 0;
3519
    color: #71B443;
2349
}
3520
}
2350
3521
2351
.lost,
3522
.lost,
Lines 2461-2470 td { Link Here
2461
}
3632
}
2462
3633
2463
#cartDetails {
3634
#cartDetails {
2464
    background-color: #FFFFFF;
3635
    background-color: #352C2E;
2465
    border: 1px solid #739ACF;
3636
    //border: 1px solid #739ACF;
2466
    box-shadow: 1px 1px 3px 0 #666;
3637
    box-shadow: 1px 1px 3px 0 #666;
2467
    color: #000;
3638
    color: #fff;
2468
    display: none;
3639
    display: none;
2469
    margin: 0;
3640
    margin: 0;
2470
    padding: 10px;
3641
    padding: 10px;
Lines 2474-2484 td { Link Here
2474
}
3645
}
2475
3646
2476
#cartmenulink {
3647
#cartmenulink {
2477
    padding-left: 15px;
3648
    //padding-left: 15px;
3649
    position: relative;
3650
    left: 0px;
3651
    top: 0px;
2478
3652
2479
    i.fa.fa-shopping-cart {
3653
   /* i.fa.fa-shopping-cart {
2480
        padding-right: 7px;
3654
        //padding-right: 7px;
2481
    }
3655
    }*/
2482
}
3656
}
2483
3657
2484
#basketcount {
3658
#basketcount {
Lines 2629-2635 td { Link Here
2629
}
3803
}
2630
3804
2631
.advsearch {
3805
.advsearch {
2632
    margin: 0;
3806
    //margin: 0;
3807
    //box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
3808
    margin: 0em 1em 1em 0em;
2633
3809
2634
    table {
3810
    table {
2635
        border-collapse: separate;
3811
        border-collapse: separate;
Lines 2748-2760 td { Link Here
2748
// Override core jQueryUI widgets
3924
// Override core jQueryUI widgets
2749
.ui-widget-content {
3925
.ui-widget-content {
2750
    background: #FFFFFF none;
3926
    background: #FFFFFF none;
2751
    border: 1px solid #B9D8D9;
3927
    border-radius: 4px;
3928
    border: 3px solid #418940;
2752
    color: #222222;
3929
    color: #222222;
2753
}
3930
}
2754
3931
2755
.ui-widget-header {
3932
.ui-widget-header {
2756
    background: #E6F0F2 none;
3933
    background: #b5dbad none;
2757
    border: 1px solid #B9D8D9;
3934
    border: 1px solid #bfd9b9;
2758
    color: #222222;
3935
    color: #222222;
2759
    font-weight: bold;
3936
    font-weight: bold;
2760
}
3937
}
Lines 2762-2769 td { Link Here
2762
.ui-state-default,
3939
.ui-state-default,
2763
.ui-widget-content .ui-state-default,
3940
.ui-widget-content .ui-state-default,
2764
.ui-widget-header .ui-state-default {
3941
.ui-widget-header .ui-state-default {
2765
    background: #F4F8F9 none;
3942
   // background: #F4F8F9 none;
2766
    border: 1px solid #B9D8D9;
3943
    border: 1px solid #bfd9b9;
2767
    color: #555555;
3944
    color: #555555;
2768
    font-weight: normal;
3945
    font-weight: normal;
2769
}
3946
}
Lines 2774-2781 td { Link Here
2774
.ui-state-focus,
3951
.ui-state-focus,
2775
.ui-widget-content .ui-state-focus,
3952
.ui-widget-content .ui-state-focus,
2776
.ui-widget-header .ui-state-focus {
3953
.ui-widget-header .ui-state-focus {
2777
    background: #E6F0F2 none;
3954
    background: #cad8c6 none;
2778
    border: 1px solid #B9D8D9;
3955
    border: 1px solid #bfd9b9;
2779
    color: #212121;
3956
    color: #212121;
2780
    font-weight: normal;
3957
    font-weight: normal;
2781
}
3958
}
Lines 2817-2823 td { Link Here
2817
                padding: 3px 1em 3px .4em;
3994
                padding: 3px 1em 3px .4em;
2818
3995
2819
                &:hover {
3996
                &:hover {
2820
                    background: #E6F0F2 none;
3997
                    background: #e3f1df none;
2821
                    color: #212121;
3998
                    color: #212121;
2822
                    font-weight: normal;
3999
                    font-weight: normal;
2823
                }
4000
                }
Lines 2852-2857 td { Link Here
2852
}
4029
}
2853
4030
2854
.ui-tabs-nav {
4031
.ui-tabs-nav {
4032
4033
    
2855
    .ui-tabs-active a,
4034
    .ui-tabs-active a,
2856
    a:hover,
4035
    a:hover,
2857
    a:focus,
4036
    a:focus,
Lines 2864-2930 td { Link Here
2864
    &.ui-widget-header {
4043
    &.ui-widget-header {
2865
        background: none;
4044
        background: none;
2866
        border: 0;
4045
        border: 0;
4046
        padding: .2em .9em 0 .9em;
2867
    }
4047
    }
2868
}
4048
}
2869
4049
2870
.ui-tabs {
4050
.ui-tabs {
4051
    .ui-tabs-panel {
4052
        background: #FFF none;
4053
        border-radius: 4px;
4054
        border: 3px solid #418940;
4055
4056
        fieldset{
4057
            box-shadow: none;
4058
        }
4059
    }
2871
    .ui-tabs-nav {
4060
    .ui-tabs-nav {
2872
        li {
4061
        li {
2873
            background: #E6F0F2 none;
4062
            background: #71B443;
2874
            border: 1px solid #B9D8D9;
4063
            border: none;
2875
            margin-right: .4em;
4064
            margin-right: .4em;
2876
            top: 1px;
4065
            //top: 1px;
4066
            border-radius: 4px 4px 0 0;
2877
4067
2878
            &.ui-tabs-active {
4068
            &.ui-tabs-active, &.ui-state-hover {
2879
                background-color: #FFFFFF;
4069
                background-color: #418940;
2880
                border: 1px solid #B9D8D9;
4070
                border-radius: 4px 4px 0 0;
4071
                border: none;
2881
                border-bottom-width: 0;
4072
                border-bottom-width: 0;
4073
                padding-bottom: 0;
2882
4074
2883
                a {
4075
                a {
2884
                    color: #000;
4076
                    color: #FFF;
2885
                    font-weight: bold;
4077
                    //font-weight: bold;
2886
                }
4078
                }
2887
4079
2888
                &.ui-state-hover {
2889
                    background: #FFF none;
2890
                }
2891
            }
2892
4080
2893
            &.ui-state-default {
2894
                &.ui-state-hover {
2895
                    background: #EDF4F5 none;
2896
                }
2897
            }
4081
            }
2898
        }
4082
        }
2899
    }
4083
    }
2900
4084
2901
    .ui-tabs-panel {
2902
        border: 1px solid #B9D8D9;
2903
    }
2904
2905
    &.ui-widget-content {
4085
    &.ui-widget-content {
2906
        background: transparent none;
4086
        background: transparent none;
2907
        border: 0;
4087
        border: 0;
2908
    }
4088
    }
2909
4089
2910
    .ui-state-default {
4090
    .ui-state-default {//le menu de la barre de recherche du haut
2911
        a {
4091
        a {
2912
            color: #004D99;
4092
            color: #fff;
2913
4093
2914
            &:link,
4094
            &:link,
2915
            &:visited {
4095
            &:visited {
2916
                color: #004D99;
4096
                color: #fff;
2917
            }
4097
            }
2918
        }
4098
        }
2919
    }
4099
    }
2920
4100
2921
    .ui-state-hover {
4101
    .ui-state-hover {
2922
        a {
4102
        a {
2923
            color: #538200;
4103
            color: #418940;
2924
4104
2925
            &:link,
4105
            &:link,
2926
            &:visited {
4106
            &:visited {
2927
                color: #538200;
4107
                color: #418940;
2928
            }
4108
            }
2929
        }
4109
        }
2930
    }
4110
    }
Lines 2945-2957 td { Link Here
2945
}
4125
}
2946
4126
2947
.statictabs {
4127
.statictabs {
4128
4129
    background-color: #fff;
4130
    margin-top: 20px;
4131
    box-shadow: 8px 8px 12px rgba(170, 170, 170, 0.356);
4132
    padding: 20px;
4133
4134
    h3{
4135
        padding-bottom: .7em;
4136
        margin: 0;
4137
        color: #696969;
4138
    }
4139
4140
    td {
4141
        border: none;
4142
4143
        ul {
4144
            li {
4145
                clear: left;
4146
                font-size: 90%;
4147
                list-style: url("../img/item-bullet.svg");
4148
                padding: .2em 0;
4149
4150
                &.result_itype_image {
4151
                    list-style: none;
4152
                    list-style-type: none;
4153
                }
4154
4155
                img {
4156
                    float: left;
4157
                    margin: 3px 5px 3px -5px;
4158
                    max-width: 25px;
4159
                }
4160
            }
4161
        }
4162
    }
4163
4164
    span {
4165
        &.status {
4166
            clear: left;
4167
            color: #900;
4168
            display: block;
4169
        }
4170
4171
        &.unavailable {
4172
            clear: left;
4173
            display: block;
4174
        }
4175
    }
4176
4177
2948
    > ul {
4178
    > ul {
2949
        background: none repeat scroll 0 0 transparent;
4179
        background: none repeat scroll 0 0 transparent;
2950
        border: 0 none;
4180
        border: 0 none;
2951
        border-bottom-left-radius: 4px;
4181
    //    border-bottom-left-radius: 4px;
2952
        border-bottom-right-radius: 4px;
4182
      //  border-bottom-right-radius: 4px;
2953
        border-top-left-radius: 4px;
4183
        //border-top-left-radius: 4px;
2954
        border-top-right-radius: 4px;
4184
       // border-top-right-radius: 4px;
2955
        color: #222222;
4185
        color: #222222;
2956
        font-size: 100%;
4186
        font-size: 100%;
2957
        font-weight: bold;
4187
        font-weight: bold;
Lines 2973-2984 td { Link Here
2973
        }
4203
        }
2974
4204
2975
        li {
4205
        li {
2976
            background: none repeat scroll 0 0 #E6F0F2;
4206
            //background: none repeat scroll 0 0 #e3f1df;
2977
            border: 1px solid #B9D8D9;
4207
            //border: 1px solid #bfd9b9;
2978
            border-bottom: 0 none;
4208
        //    border-bottom: 0 none;
2979
            border-top-left-radius: 4px;
4209
            border-top-left-radius: 4px;
2980
            border-top-right-radius: 4px;
4210
            border-top-right-radius: 4px;
2981
            color: #555555;
4211
            border-bottom-right-radius: 0;
4212
            border-bottom-left-radius: 0;
4213
           // border-radius: 0;
4214
            //color: #555555;
2982
            float: left;
4215
            float: left;
2983
            font-weight: normal;
4216
            font-weight: normal;
2984
            list-style: none outside none;
4217
            list-style: none outside none;
Lines 2989-3022 td { Link Here
2989
            top: 1px;
4222
            top: 1px;
2990
            white-space: nowrap;
4223
            white-space: nowrap;
2991
4224
2992
            &.active {
4225
            background: #71B443;
2993
                background-color: #FFFFFF;
4226
         //   border: none;
2994
                color: #212121;
4227
            //margin-right: .4em;
4228
            //top: 1px;
4229
          //  border-radius: 4px;
4230
4231
            &.active, &:hover {
4232
                //background-color: #FFFFFF;
4233
                //color: #212121;
2995
                font-weight: normal;
4234
                font-weight: normal;
2996
                padding-bottom: 1px;
4235
                padding-bottom: 1px;
2997
4236
4237
                background-color: #418940;
4238
                border: none;
4239
                border-bottom-width: 0;
4240
                //padding-bottom: 0;
4241
2998
                a {
4242
                a {
2999
                    background: none repeat scroll 0 0 transparent;
4243
                    background: none repeat scroll 0 0 transparent;
3000
                    color: #000000;
4244
                    color: #fff;
3001
                    cursor: text;
4245
                  //  cursor: text;
3002
                    font-weight: bold;
4246
                    //font-weight: bold;
3003
                    outline: 0 none;
4247
                    outline: 0 none;
3004
                    top: 1px;
4248
                    top: 1px;
3005
                }
4249
                }
3006
            }
4250
            }
3007
4251
3008
            a {
4252
            a {
3009
                color: #004D99;
4253
                color: #fff;
3010
                cursor: pointer;
4254
                cursor: pointer;
3011
                float: left;
4255
                float: left;
3012
                padding: .5em 1em;
4256
                padding: .5em 1em;
3013
                text-decoration: none;
4257
                text-decoration: none;
3014
4258
3015
                &:hover {
4259
                &:hover {
3016
                    background-color: #EDF4F5;
4260
                    //background-color: #EDF4F5;
3017
                    border-top-left-radius: 4px;
4261
                    border-top-left-radius: 4px;
3018
                    border-top-right-radius: 4px;
4262
                    border-top-right-radius: 4px;
3019
                    color: #538200;
4263
                    //color: #418940;
3020
                }
4264
                }
3021
            }
4265
            }
3022
        }
4266
        }
Lines 3024-3032 td { Link Here
3024
4268
3025
    .tabs-container {
4269
    .tabs-container {
3026
        background: none repeat scroll 0 0 transparent;
4270
        background: none repeat scroll 0 0 transparent;
3027
        border: 1px solid #B9D8D9;
4271
        border: 3px solid #418940;
3028
        border-bottom-left-radius: 4px;
4272
        border-radius: 4px;
3029
        border-bottom-right-radius: 4px;
3030
        color: #222222;
4273
        color: #222222;
3031
        display: block;
4274
        display: block;
3032
        padding: 1em 1.4em;
4275
        padding: 1em 1.4em;
Lines 3037-3042 td { Link Here
3037
    margin-top: 5px;
4280
    margin-top: 5px;
3038
        .ui-tabs-panel {
4281
        .ui-tabs-panel {
3039
            background: #FFF none;
4282
            background: #FFF none;
4283
            border-radius: 4px;
4284
            border: 3px solid #418940;
4285
4286
            fieldset{
4287
                box-shadow: none;
4288
            }
3040
        }
4289
        }
3041
}
4290
}
3042
4291
Lines 3139-3145 td { Link Here
3139
}
4388
}
3140
4389
3141
.pluginname {
4390
.pluginname {
3142
    background-color: #E6F0F2;
4391
    background-color: #e3f1df;
3143
    cursor: move;
4392
    cursor: move;
3144
    margin: .3em;
4393
    margin: .3em;
3145
    padding-bottom: 4px;
4394
    padding-bottom: 4px;
Lines 3187-3258 video { Link Here
3187
    &:first-child {
4436
    &:first-child {
3188
        border-top: 0;
4437
        border-top: 0;
3189
    }
4438
    }
3190
}
4439
}
4440
4441
nav {
4442
    border: 0;
4443
    display: block;
4444
4445
    &.breadcrumb {
4446
        background-color: transparent;
4447
        clear: both;
4448
        margin: 0;
4449
        //padding: .8em .5em .8em 10px;
4450
        position: absolute;
4451
        top: 0px;
4452
        left: Opx;
4453
4454
        ol {
4455
            margin: 0;
4456
            padding-left: 0;
4457
            list-style: none;
4458
        }
4459
4460
        li {
4461
            display: inline;
4462
            color : #418940;
4463
            font-style: italic;
4464
4465
            &+li::before {
4466
                content: '/';
4467
                display: inline-block;
4468
                height: .8em;
4469
                width: .8em;
4470
            }
4471
4472
        }
4473
4474
        a {
4475
            color : #008000;
4476
        }
4477
4478
        [aria-current="page"] {
4479
            color: #696969;
4480
            //font-weight: 700;
4481
            text-decoration: none;
4482
        }
4483
    }
4484
}
4485
4486
.navbar{
4487
    background-color: #352C2E;
4488
    //display: inline-block;
4489
   // float: left;
4490
    width: 100%;
4491
   // overflow: hidden;
4492
}
4493
4494
.navbar-header, .collapse{
4495
  /*  //background-image: linear-gradient(to right, #352C2E , #3A4F2A);
4496
    //background-color: #352C2E;
4497
    box-shadow: none;
4498
    height: 50px;
4499
   // width: 100%;*/
4500
    padding-left: 10px;
4501
    padding-right: 10px;
4502
    /*display: inline-block;*/
4503
    float: left;
4504
4505
    a{
4506
        color: #fff;
4507
      //  display: inline-block;
4508
      line-height: 40px;
4509
    }
4510
}
4511
4512
.navbar-head{
4513
   // top: 0px;
4514
    //position: absolute;
4515
    //right: 5px;
4516
    //overflow-x: hidden;
4517
    //overflow-y: visible;
4518
    display: block !important;
4519
    height: auto !important;
4520
}
4521
4522
#logo {
4523
    background: transparent url("../img/UIKit/picto-koha.svg") no-repeat scroll 0%;
4524
    margin: .75em 0em .75em 0em;
4525
    background-size: 85%;
4526
    width: 20px;
4527
    height: 30px;
4528
    float: left;
4529
    position: relative;
4530
    top: 0px;
4531
    left: 0px;
4532
4533
    a {
4534
        border: 0;
4535
        cursor: pointer;
4536
        width: 100%;
4537
        height: 100%;
4538
        padding: 50px 0 0;
4539
        text-decoration: none;
4540
        position: absolute;
4541
        top: -10px;
4542
        left: 0px;
4543
    }
4544
}
4545
4546
#toplevelmenu{
4547
    background-color: transparent;
4548
    box-shadow: none;
4549
    //height: 50px;
4550
    position: relative;
4551
    left: 0px;
4552
    top: 0px;
4553
}
4554
4555
.navbar-nav {
4556
    li {
4557
        list-style: none;
4558
4559
        .haut{
4560
            position: relative;
4561
            bottom: 3px;
4562
            left: 300px;
4563
        }
4564
4565
        .filteraction{
4566
            position: absolute;
4567
            right: 30px;
4568
            top: -5px;
4569
            width: 25px;
4570
            height: 30px;
4571
            border: none;
4572
            padding-left: 5px;
4573
            padding-right: 5px;
4574
            margin: 0;
4575
            display: inline;
4576
4577
            a{
4578
                color: #71B443;
4579
                vertical-align: middle;
4580
4581
                &:hover, &:active{
4582
                    background-color: transparent;
4583
                    //font-weight: bold;
4584
                    text-decoration: none;
4585
                    color: #71B443;
4586
                }
4587
            }
4588
4589
        }
4590
4591
        .residentsearch {
4592
            border: 0;
4593
            //border-bottom: 1px solid #85CA11;
4594
            cursor: text;
4595
            padding: 0 0 .2em;
4596
            background-color: transparent;
4597
        }
4598
4599
        .inactive{
4600
            display: none;
4601
        }
4602
4603
        #buttonssearch,#header_search{
4604
            padding: 10px;
4605
            border-radius: 28px;
4606
            //height: 2.2em;
4607
            height: 30px;
4608
            background-image: linear-gradient(to right, #418940, #71B443);
4609
            z-index: 1;
4610
        }
4611
    
4612
        #header_search{
4613
            //position: relative;
4614
            //top : 10px;
4615
            //left: 0px; 
4616
4617
            position: relative;
4618
            left: 0px;
4619
            top: 0px;
4620
            width: 500px;
4621
            //line-height: 40px;
4622
           // overflow: hidden;
4623
            display: block;
4624
            margin: 10px 0;
4625
        }
4626
4627
        #submit, #autocsubmit{
4628
            background: transparent url("../img/UIKit/arrow.svg") no-repeat scroll 0%;
4629
            position: absolute;
4630
            min-width: 7px;
4631
            right: 0;
4632
            top: 0px;
4633
            width: 25px;
4634
            height: 30px;
4635
            border: none;
4636
            padding-left: 5px;
4637
            padding-right: 5px;
4638
            margin: 0;
4639
            display: inline;
4640
        }
4641
    
4642
        #header_search{
4643
            width: 500px;
4644
        }
4645
 
4646
4647
4648
4649
4650
4651
4652
        .ui-tabs-nav {
4653
            background-image: linear-gradient(to right, #418940, #71B443);
4654
            border-radius: 28px;
4655
            position: absolute;
4656
            top: 0;
4657
            left: 0;
4658
            height: 100%;
4659
            display: flex;
4660
            justify-content: space-around;
4661
            align-items: center;
4662
            color: white;
4663
            box-shadow: 0px 0px 3px 0px #0000004d;
4664
4665
            li {
4666
                background: transparent;
4667
                border: none;
4668
               // margin-right: .4em;
4669
                //top: 1px;
4670
                border-radius: 0;
4671
    
4672
                &.ui-tabs-active, &.ui-state-hover {
4673
                    background-color: transparent;
4674
                    border-radius: 4px 4px 0 0;
4675
                    border: none;
4676
                    border-bottom-width: 0;
4677
                    padding-bottom: 0;
4678
    
4679
                    a {
4680
                        color: #FFF;
4681
                        //font-weight: bold;
4682
                        cursor: pointer;
4683
                        padding: 3px;
4684
                        font-size: .9em;
4685
                    }
4686
    
4687
    
4688
                }
4689
            }
4690
        }
4691
4692
        &.ui-widget-content {
4693
            background: transparent none;
4694
            border: 0;
4695
        }
4696
    
4697
        .ui-state-default {//le menu de la barre de recherche du haut
4698
            a {
4699
                color: #fff;
4700
                cursor: pointer;
4701
                padding: 3px;
4702
                font-size: .9em;
4703
    
4704
                &:link,
4705
                &:visited {
4706
                    color: #fff;
4707
                    padding: 3px;
4708
                    background-color: transparent;
4709
                }
4710
            }
4711
        }
4712
    
4713
        .ui-state-hover, .ui-state-active {
4714
            a {
4715
                font-size: 1em;
4716
               // box-shadow: inset 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
4717
                cursor: pointer;
4718
                padding: 3px;
4719
                font-size: .9em;
4720
                background-color: transparent;
4721
4722
                i{
4723
                    border-bottom: 2px solid #fff;
4724
                    padding-bottom: 2px;
4725
                }
4726
            }
4727
        }
4728
    
4729
    
4730
    .ui-widget {
4731
        font-family: inherit;
4732
        font-size: inherit;
4733
    
4734
        input,
4735
        select,
4736
        textarea,
4737
        button {
4738
            font-family: inherit;
4739
            font-size: inherit;
4740
        }
4741
    }
3191
4742
3192
nav {
3193
    background: #E6F0F2 none;
3194
    border: 0;
3195
4743
3196
    &.breadcrumb {
3197
        background-color: #E6F0F2;
3198
        clear: both;
3199
        margin: 0;
3200
        padding: .8em .5em .8em 10px;
3201
        position: relative;
3202
4744
3203
        ol {
3204
            margin: 0;
3205
            padding-left: 0;
3206
            list-style: none;
3207
        }
3208
4745
3209
        li {
3210
            display: inline;
3211
4746
3212
            &+li::before {
4747
3213
                background: transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hldnJvbi1yaWdodCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNy4zNyAwbDUuMzUgNy4zYy4yLjIuMi41MSAwIC43bC01LjM4IDhoLTQuMmw1LjY0LTguMzVMMy4xMy4wMXoiLz48L3N2Zz4=") 50% 50% no-repeat;
4748
3214
                background-size: 8px;
4749
3215
                content: '';
4750
4751
        
4752
        .buttonsearch{
4753
            display: none;
4754
        }
4755
    
4756
        .buttonsearch:hover,
4757
        .buttonsearch.active{
4758
          //  border-bottom: 2px solid white;
4759
            margin-right: 0;
4760
            font-size: 0.85em;
4761
            cursor: text;
4762
            padding: 0.25em;
4763
            //border-bottom: 2px solid transparent;
4764
            margin: 0;
4765
          //  transition: 0.25s;
4766
            display: inline-block;
4767
            overflow: hidden;
4768
            opacity: 1;
4769
        }
4770
    
4771
        input{
4772
            display: none;
4773
        }
4774
    
4775
        input{ 
4776
              
4777
4778
            &.focus{
4779
                outline-offset: 0px;
4780
                outline: 1px black;
4781
                float: right;
4782
               // width: calc(301px);
4783
4784
4785
            //  width: 0%;
4786
                height: 30px;
4787
                border-radius: 17px;
4788
                padding-left: 2em;
4789
                padding-right: 1.5em;
4790
                border: none ;
4791
                margin-left: 0px;
4792
              //  transition: 0.5s;
4793
4794
                position:absolute;
4795
                top: 0px;
4796
                right: 30px;
4797
                z-index	: -2;
3216
                display: inline-block;
4798
                display: inline-block;
3217
                height: .8em;
4799
3218
                width: .8em;
4800
                letter-spacing: normal;
4801
                word-spacing: normal;
4802
                text-transform: none;
4803
                text-indent: 0px;
4804
                text-shadow: none;
4805
                text-align: start;
4806
                cursor: text;
4807
                font: 400 13.3333px Arial;
4808
4809
                &::placeholder{
4810
                    font-size: 85%;
4811
                }
4812
            }
4813
            
4814
            &.titre{
4815
                float: none;
4816
                position: relative;
4817
                width: 170px;
4818
                bottom: 15px;
4819
                right: -115px;
3219
            }
4820
            }
4821
        
4822
        }
3220
4823
4824
    
4825
        #header_search.fold .buttonsearch:not(.active){
4826
            width: 0px;
4827
            opacity: 0;
4828
            margin: 0;
4829
            padding: 0;
3221
        }
4830
        }
4831
    
4832
        #backsearch{
4833
            display: none;
4834
            font-size: 1em;
3222
4835
3223
        [aria-current="page"] {
3224
            color: #000;
3225
            font-weight: 700;
3226
            text-decoration: none;
3227
        }
4836
        }
3228
    }
3229
4837
4838
       /* .iconsearch{
4839
            display: none;
4840
            font-size: 1em;
4841
        }*/
4842
    
4843
        #header_search.fold #backsearch{
4844
            display: inline-block;
4845
            cursor: pointer;
4846
        }
3230
4847
3231
}
4848
     /*   .iconsearch{
4849
            display: inline-block;
4850
            cursor: pointer;
4851
            padding: 3px;
4852
            font-size: .9em;
3232
4853
3233
.navbar-collapse {
4854
            &:hover{
3234
    background: #E6F0F2 none;
4855
                font-size: 1em;
3235
    box-shadow: none;
4856
                box-shadow: inset 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
3236
}
4857
             //   border: 1px solid #fff;
4858
                // border-radius: 50%;
3237
4859
3238
.navbar-nav {
4860
            }
3239
    li {
4861
        }*/
3240
        list-style: none;
4862
4863
        .description{
4864
            opacity: 0.6;
4865
            max-width: 50em;
4866
            display: block;
4867
            width: 100%;
4868
        }
4869
        .description.hidden{
4870
            opacity: 0;
4871
        }
3241
4872
3242
        &.open {
4873
        &.open {
3243
            li {
4874
            li {
4875
                background-color: #352C2E;
4876
                //padding: 2px;
4877
3244
                a {
4878
                a {
3245
                    font-weight: normal;
4879
                    font-weight: normal;
4880
                    padding: 0 15px;
4881
                    font-size: 13px;
4882
                    
4883
                    &:hover,
4884
                    &:focus{
4885
                        background-color: #352C2E;
4886
                        background-image: none;
4887
                        text-decoration: underline;
4888
                    }
3246
                }
4889
                }
3247
            }
4890
            }
3248
        }
4891
        }
3249
4892
3250
        a {
4893
        a {
3251
            font-weight: bold;
4894
            //font-weight: bold;
3252
            padding-bottom: .4em;
4895
            //padding-bottom: .4em;
3253
            padding-top: .4em;
4896
            //padding-top: .4em;
4897
            line-height: 40px;
4898
            overflow: hidden;
4899
            color: #fff;
4900
4901
            &:hover, &:active{
4902
                background-color: #352C2E;
4903
                border-bottom: 1px 5px #fff;
4904
                color: #fff;
4905
            }
3254
        }
4906
        }
3255
    }
4907
    }
4908
4909
    ul{
4910
        background-color: #352C2E;
4911
    }
4912
}
4913
4914
4915
4916
#logged-in-menu{
4917
   // background-color: #352C2E;
4918
    //z-index: 999;
4919
    position: relative;
4920
    left: 0px;
4921
    top: 0px;
4922
    //white-space: pre;
4923
    //flex-direction: column;
4924
    height: 50px;
4925
    //display: block;
4926
    
4927
    &:hover{
4928
        text-decoration: none;
4929
    }
4930
}
4931
4932
.loggedinusername{
4933
        /* font-size: 0.85em; */
4934
    /* font-weight: normal; */
4935
    /* position: relative; */
4936
    /* left: 135px; */
4937
    bottom: 5px;
4938
    /* height: 20px; */
4939
    /* width: 100%; */
4940
    text-decoration: none;
4941
    position: relative;
4942
    float: right;
4943
    right: 0px;
4944
    height: 20px;
4945
    /* top: 10px; */
4946
    width: 100%;
4947
}
4948
4949
.logged-in-branch-name{
4950
    position: relative;
4951
    right: 0px;
4952
    height: 20px;
4953
    //line-height: normal;
4954
    //padding-bottom: 10px;
4955
    //padding-right: 10px;
4956
    top: 10px;
4957
    width: 100%;
4958
4959
    &:hover{
4960
        text-decoration: underline;
4961
    }
3256
}
4962
}
3257
4963
3258
.nav .open > a,
4964
.nav .open > a,
Lines 3265-3271 nav { Link Here
3265
.nav > li > a:hover,
4971
.nav > li > a:hover,
3266
.nav > li > a:focus {
4972
.nav > li > a:focus {
3267
    background-color: transparent;
4973
    background-color: transparent;
3268
    text-decoration: none;
4974
    //text-decoration: none;
3269
}
4975
}
3270
4976
3271
.pagination {
4977
.pagination {
Lines 3298-3309 nav { Link Here
3298
5004
3299
button,
5005
button,
3300
.btn {
5006
.btn {
3301
    border-color: #ADADAD #ADADAD #949494;
5007
    //font-family: $font-main;
3302
    font-family: $font-main;
5008
    font-family: 'Poppins', sans-serif;
5009
    //box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
5010
    display: inline-block;
5011
    margin-bottom: 0;
5012
    font-weight: normal;
5013
    text-align: center;
5014
    white-space: nowrap;
5015
    vertical-align: middle;
5016
    touch-action: manipulation;
5017
    cursor: pointer;
5018
    background-image: none;
5019
    padding: 6px 25px;
5020
    font-size: 12px;
5021
    line-height: 1.42857143;
5022
    border-radius: 4px;
5023
    user-select: none;
3303
5024
3304
    &.btn-link {
5025
    &.btn-link {
3305
        border: 0;
5026
        border: 0;
3306
    }
5027
    }
5028
5029
    &.cancel {
5030
5031
        background-color: transparent;
5032
        color: #696969;
5033
        border: #696969 double 1px;
5034
        margin-top: 5px;
5035
        margin-left: 5px;
5036
5037
        //font-family: $font-main;
5038
        font-family: 'Poppins', sans-serif;
5039
        //box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
5040
        display: inline-block;
5041
        margin-bottom: 0;
5042
        font-weight: normal;
5043
        text-align: center;
5044
        white-space: nowrap;
5045
        vertical-align: middle;
5046
        touch-action: manipulation;
5047
        min-width: 90px;
5048
        width: fit-content;
5049
        cursor: pointer;
5050
        background-image: none;
5051
        padding: 6px 12px;
5052
        font-size: 12px;
5053
        line-height: 1.42857143;
5054
        border-radius: 4px;
5055
        user-select: none; 
5056
5057
        &:hover{
5058
            font-weight: bold;
5059
            background-color: #f1f1f1;
5060
            border: #696969 double 1px;
5061
            text-decoration: none;
5062
        }
5063
    }
5064
}
5065
#merge-patrons{
5066
    padding: 0 25px;
5067
    //float: right;
5068
}
5069
5070
#patronlist-menu{
5071
    padding: 0 25px;
5072
}
5073
5074
.pat{
5075
   /* background-color: transparent;
5076
    border: none;
5077
    display: inline-block;
5078
    margin: 0 10px;
5079
    padding: 6px 12px;
5080
    color: #696969;
5081
    font-size: 105%;
5082
5083
    &:hover{
5084
        //text-decoration: underline;
5085
        background-color: #d8d8d8;
5086
    }
5087
5088
    &:active{
5089
        border: none;
5090
    }
5091
5092
5093
    &:focus{
5094
        background-color: #d8d8d8;
5095
    }*/
5096
5097
5098
5099
    font-family: 'Poppins', sans-serif;
5100
    font-weight: normal;
5101
    text-align: center;
5102
    white-space: nowrap;
5103
    vertical-align: middle;
5104
    -ms-touch-action: manipulation;
5105
    touch-action: manipulation;
5106
    cursor: pointer;
5107
    box-shadow: none;
5108
    background-image: none;
5109
    padding: 6px 12px;
5110
    font-size: 12px;
5111
    //line-height: 1.42857143;
5112
    border-radius: 4px;
5113
    -webkit-user-select: none;
5114
    -moz-user-select: none;
5115
    -ms-user-select: none;
5116
    user-select: none;
5117
    font-size: 105%;
5118
    background-color: transparent;
5119
    border: none;
5120
    display: inline-block;
5121
    margin: 5px 10px;
5122
    color: #696969;
5123
5124
    &:hover, &:focus{
5125
        background-color: #d8d8d8;
5126
    }
5127
5128
    &:active{
5129
        border: none;
5130
    }
5131
}
5132
5133
.mot{
5134
    margin-right: 0;
5135
    //padding-right: 0;
5136
}
5137
5138
.fleche{
5139
    margin-left: 0;
5140
    //border: 1px solid #000;
5141
    border-radius: 4px;
5142
    padding: 0 5px 0 3px;
5143
5144
    &:active{
5145
5146
    border: 1px solid #000;
5147
    border-radius: 4px;
5148
    }
5149
}
5150
5151
5152
#principal{
5153
    background-color: #FEC32C;
5154
    color: #000;
5155
    text-shadow: 0 1px 0 #fff;
5156
    border: none;
5157
    background-image: none;
5158
    margin: 5px;
5159
5160
    &:hover,
5161
    &:active,
5162
    &:focus{
5163
        background-color: #fec22c9f;
5164
    }
5165
}
5166
5167
.principal{
5168
    background-color: #FEC32C;
5169
    color: #000;
5170
    text-shadow: 0 1px 0 #fff;
5171
    border: none;
5172
    background-image: none;
5173
    margin: 5px;
5174
5175
    &:hover,
5176
    &:active,
5177
    &:focus{
5178
        background-color: #fec22c9f;
5179
        color: #000;
5180
    }
3307
}
5181
}
3308
5182
3309
.btn-xs,
5183
.btn-xs,
Lines 3317-3322 button, Link Here
3317
.panel {
5191
.panel {
3318
    background: #F4F8F9 none;
5192
    background: #F4F8F9 none;
3319
    box-shadow: none;
5193
    box-shadow: none;
5194
5195
    &:hover{
5196
        background: #e3f1df none;
5197
    }
3320
}
5198
}
3321
5199
3322
.panel-collapse {
5200
.panel-collapse {
Lines 3339-3345 button, Link Here
3339
        }
5217
        }
3340
5218
3341
        &:hover {
5219
        &:hover {
3342
            background: #e6f0f2 none;
5220
            background: #e3f1df none;
3343
            border-bottom-left-radius: 0;
5221
            border-bottom-left-radius: 0;
3344
            border-bottom-right-radius: 0;
5222
            border-bottom-right-radius: 0;
3345
        }
5223
        }
Lines 3353-3359 button, Link Here
3353
            }
5231
            }
3354
5232
3355
            &:hover {
5233
            &:hover {
3356
                background: #e6f0f2 none;
5234
                background: #e3f1df none;
3357
                border-bottom-left-radius: 3px;
5235
                border-bottom-left-radius: 3px;
3358
                border-bottom-right-radius: 3px;
5236
                border-bottom-right-radius: 3px;
3359
            }
5237
            }
Lines 3362-3375 button, Link Here
3362
}
5240
}
3363
5241
3364
.panel-default {
5242
.panel-default {
3365
    border: 1px solid #B9D8D9;
5243
    border: 1px solid #bfd9b9;
3366
    > .panel-heading {
5244
    > .panel-heading {
3367
        background: transparent none;
5245
        background: transparent none;
3368
        padding: 0;
5246
        padding: 0;
3369
5247
3370
        + .panel-collapse {
5248
        + .panel-collapse {
3371
            > .panel-body {
5249
            > .panel-body {
3372
                border-top-color: #B9D8D9;
5250
                border-top-color: #bfd9b9;
3373
            }
5251
            }
3374
        }
5252
        }
3375
    }
5253
    }
Lines 3568-3574 label { Link Here
3568
5446
3569
    fieldset,
5447
    fieldset,
3570
    ol {
5448
    ol {
3571
        background-color: transparent;
5449
        background-color: #FFF;
3572
        border: 0;
5450
        border: 0;
3573
        margin: 0;
5451
        margin: 0;
3574
        padding: 0;
5452
        padding: 0;
Lines 3576-3582 label { Link Here
3576
}
5454
}
3577
5455
3578
.modal-content {
5456
.modal-content {
3579
    background-color: #EDF4F6;
5457
    background-color: rgb(211, 223, 204);
3580
}
5458
}
3581
5459
3582
.btn-group {
5460
.btn-group {
Lines 3618-3642 code { Link Here
3618
}
5496
}
3619
5497
3620
.tab-content {
5498
.tab-content {
3621
    background-color: #FFF;
5499
    border: 3px solid #418940;
3622
    border: 1px solid #B9D8D9;
5500
    border-radius: 4px;
3623
    border-top-width: 0;
5501
    overflow: auto;
5502
    //border-top-width: 0;
3624
    padding: 1em;
5503
    padding: 1em;
3625
}
5504
}
3626
5505
3627
.nav-tabs {
5506
.nav-tabs {
3628
    > li {
5507
    > li {
3629
        > a {
5508
        > a {
3630
            background-color: #e6f0f2;
5509
            background-color: #71B443;
3631
            border: 1px solid #b9d8d9;
5510
            //border: none;
3632
            border-radius: 4px 4px 0 0;
5511
           // border-radius: 4px;
5512
            color: #fff;
3633
            line-height: 1.42857143;
5513
            line-height: 1.42857143;
3634
            margin-right: .4em;
5514
            margin-right: .4em;
3635
            padding: .5em 1em;
5515
            padding: .5em 1em;
3636
5516
3637
            &:hover {
5517
            &:hover {
3638
                background-color: #EEF4F5;
5518
                background-color: #418940;
3639
                border-color: #b9d8d9;
5519
                border-radius: 4px 4px 0 0;
5520
                border: 1px solid #418940;
5521
                text-decoration: none;
5522
                color: #fff;
3640
            }
5523
            }
3641
        }
5524
        }
3642
5525
Lines 3644-3653 code { Link Here
3644
            a,
5527
            a,
3645
            a:hover,
5528
            a:hover,
3646
            a:focus {
5529
            a:focus {
3647
                background-color: #fff;
5530
                background-color: #418940;
3648
                border: 1px solid #b9d8d9;
5531
                border-radius: 4px 4px 0 0;
3649
                border-bottom-color: transparent;
5532
                color: #fff;
3650
                color: #000;
5533
                //border: none;
5534
                //border-bottom-color: transparent;
5535
                //color: #000;
3651
                cursor: default;
5536
                cursor: default;
3652
                font-weight: bold;
5537
                font-weight: bold;
3653
            }
5538
            }
Lines 3702-3708 progress { Link Here
3702
    }
5587
    }
3703
5588
3704
    span {
5589
    span {
3705
        background-color: #EBF3FF;
5590
        background-color: #ecffeb;
3706
        border-radius: 5px;
5591
        border-radius: 5px;
3707
        display: inline-block;
5592
        display: inline-block;
3708
        font-size: 75%;
5593
        font-size: 75%;
Lines 3711-3717 progress { Link Here
3711
        white-space: nowrap;
5596
        white-space: nowrap;
3712
5597
3713
        &.selected {
5598
        &.selected {
3714
            background-color: #CCE0FC;
5599
            background-color: #d2fad0;
3715
        }
5600
        }
3716
    }
5601
    }
3717
}
5602
}
Lines 3772-3778 progress { Link Here
3772
5657
3773
#browse-return-to-results {
5658
#browse-return-to-results {
3774
    background-color: #E8F0F6;
5659
    background-color: #E8F0F6;
3775
    border: 1px solid #B9D8D9;
5660
    border: 1px solid #bfd9b9;
3776
    border-bottom-width: 0;
5661
    border-bottom-width: 0;
3777
    border-top-left-radius: 5px;
5662
    border-top-left-radius: 5px;
3778
    border-top-right-radius: 5px;
5663
    border-top-right-radius: 5px;
Lines 3783-3789 progress { Link Here
3783
5668
3784
.browse-button {
5669
.browse-button {
3785
    background-color: #FFF;
5670
    background-color: #FFF;
3786
    border: 1px solid #B9D8D9;
5671
    border: 1px solid #bfd9b9;
3787
    color: #004D99;
5672
    color: #004D99;
3788
    display: block;
5673
    display: block;
3789
    overflow: hidden;
5674
    overflow: hidden;
Lines 3915-3921 input.renew { Link Here
3915
5800
3916
.date-select {
5801
.date-select {
3917
    label {
5802
    label {
3918
        display: inline-block;
5803
        //display: inline-block;
3919
        width: 40%;
5804
        width: 40%;
3920
    }
5805
    }
3921
}
5806
}
Lines 3971-3977 input.renew { Link Here
3971
5856
3972
.branchgriditem {
5857
.branchgriditem {
3973
    background-color: #FFFFFF;
5858
    background-color: #FFFFFF;
3974
    border: 1px solid #B9D8D9;
5859
    border: 1px solid #bfd9b9;
3975
    border-radius: 3px;
5860
    border-radius: 3px;
3976
    display: table-cell;
5861
    display: table-cell;
3977
    float: left;
5862
    float: left;
Lines 3998-4004 input.renew { Link Here
3998
5883
3999
#new_rule {
5884
#new_rule {
4000
    background-color: #F4F8F9;
5885
    background-color: #F4F8F9;
4001
    border: 2px solid #B9D8D9;
5886
    border: 2px solid #bfd9b9;
4002
    border-radius: 5px;
5887
    border-radius: 5px;
4003
    display: none;
5888
    display: none;
4004
    margin: .3em;
5889
    margin: .3em;
Lines 4061-4066 input.renew { Link Here
4061
#patron_search {
5946
#patron_search {
4062
    #filters {
5947
    #filters {
4063
        display: none;
5948
        display: none;
5949
        //display: block;
5950
        background-color: #352C2E;
5951
        padding: 10px;
5952
        //border-radius: 4px;
5953
        padding: 10px;
5954
        border-radius: 4px;
5955
        position: absolute;
5956
        text-align: center;
5957
        right: 0px;
5958
        height: 70px;
5959
        bottom: -70px;
5960
5961
        label{
5962
            color: #fff;
5963
        }
4064
    }
5964
    }
4065
5965
4066
    .address {
5966
    .address {
Lines 4069-4075 input.renew { Link Here
4069
}
5969
}
4070
5970
4071
#fixedlengthbuilderaction {
5971
#fixedlengthbuilderaction {
4072
    border: 3px solid #E6F0F2;
5972
    border: 3px solid #e3f1df;
4073
    left: 80%;
5973
    left: 80%;
4074
    padding: 5px;
5974
    padding: 5px;
4075
    position: relative;
5975
    position: relative;
Lines 4326-4331 input.renew { Link Here
4326
#helper {
6226
#helper {
4327
    span {
6227
    span {
4328
        display: none;
6228
        display: none;
6229
        font-style: normal;
6230
        position: absolute;
6231
        top: 10px;
6232
        right: 20px; 
6233
6234
        &:hover{
6235
            text-decoration: underline;
6236
        }
4329
    }
6237
    }
4330
}
6238
}
4331
6239
Lines 4334-4348 input.renew { Link Here
4334
}
6242
}
4335
6243
4336
.loggedin-menu-label {
6244
.loggedin-menu-label {
4337
    color: #777;
6245
    color: #fff;
4338
    font-size: 12px;
6246
    font-size: 12px;
4339
    line-height: 1.42857143;
6247
    line-height: 1.42857143;
4340
    padding: 4px 12px;
6248
    padding: 4px 12px;
4341
    white-space: nowrap;
6249
    white-space: nowrap;
4342
6250
4343
    span {
6251
    span {
4344
        color: #000;
6252
        color: #fff;
4345
        font-weight: bold;
6253
        font-weight: bold;
6254
        left: 15px;
6255
        top: 0;
4346
    }
6256
    }
4347
6257
4348
    &.divider {
6258
    &.divider {
Lines 4351-4414 input.renew { Link Here
4351
}
6261
}
4352
6262
4353
.lastborrower {
6263
.lastborrower {
4354
    background-color: #E6F0F2;
6264
    //background-color: #71B443;
4355
    border: 1px solid #95C6D0;
6265
    background-image: linear-gradient(to left, #418940, #71B443);
6266
    //@at-root: 1px solid #95C6D0;
4356
    box-shadow: 1px 1px 1px 0 #999;
6267
    box-shadow: 1px 1px 1px 0 #999;
4357
    color: #CC0000;
6268
    color: #fff;
4358
    margin: .4em 0;
6269
    margin: .4em 0;
4359
    padding: .3em .5em .3em .5em;
6270
    border-radius: 5px 5px 5px 5px;
6271
    position: absolute;
6272
    right: 50px;
4360
}
6273
}
4361
6274
6275
6276
4362
#lastborrower-ref {
6277
#lastborrower-ref {
4363
    border-radius: 5px 0px 0px 5px;
4364
    float: left;
6278
    float: left;
6279
    padding: .1em .4em .1em .5em;
6280
}
6281
6282
#lastborrower-bar {
6283
    float: right;
6284
    float: left;
6285
    padding: .1em .0em .1em .0em;
4365
}
6286
}
4366
6287
4367
#lastborrower-remove {
6288
#lastborrower-remove {
4368
    border-radius: 0px 5px 5px 0px;
6289
   //border-radius: 0px 5px 5px 0px;
4369
    cursor: pointer;
6290
    cursor: pointer;
4370
    float: right;
6291
    float: right;
6292
    margin: .0em .4em .0em .4em;
6293
    padding: .1em .5em .1em .5em;
4371
}
6294
}
4372
6295
4373
#lastborrower-window {
6296
#lastborrower-window {
4374
    display: none;
6297
    //display: none;
4375
    position: absolute;
6298
    position: absolute;
4376
    right: 5px;
6299
    right: 70px;
4377
    top: 0px;
6300
    top: 2px;
6301
}
6302
6303
#lastborrowerlink {
6304
    background: transparent url("../img/UIKit/arrow.svg") no-repeat scroll 0%;
6305
    color: #fff;
6306
    padding: .0em .0em .0em 1.3em;
6307
6308
    &:hover{
6309
        text-decoration: underline;
6310
    }
4378
}
6311
}
4379
6312
4380
/* ==== MODULE LINKS - Start ==== */
6313
/* ==== MODULE LINKS - Start ==== */
4381
.buttons-list {
6314
.buttons-list {
4382
    // List containing the module links
6315
    // List containing the module links
4383
    margin-bottom: 30px;
6316
    margin: 30px 0;
4384
    padding: 0;
6317
    padding: 0;
6318
    margin-left: 15px;
4385
6319
4386
    li {
6320
    li {
4387
        // Standard attributes for the list elements
6321
        // Standard attributes for the list elements
6322
        height: 60px;
4388
        list-style-type: none;
6323
        list-style-type: none;
6324
        display: table;
6325
        margin-bottom: 15px;
4389
6326
4390
        a {
6327
        a {
4391
            &.circ-button {
6328
            &.menucirc{
4392
                // Class used for each module link
4393
                background-color: #F4F8F9;
4394
                background-position: 5px 3px;
4395
                background-repeat: no-repeat;
4396
                border: 2px solid #B9D8D9;
4397
                border-radius: 6px;
4398
                box-sizing: content-box;
4399
                color: #000000;
4400
                display: block;
6329
                display: block;
4401
                font-size: 110%;
6330
                height: 60px;
4402
                font-weight: bold;
6331
                margin: 5px;
4403
                margin: .5em 0;
6332
                //font-size: 150%;
4404
                max-width: 260px;
6333
4405
                padding: 8px;
6334
                i{
4406
                text-decoration: none;
6335
6336
                    &.fa{
6337
                    color: #fff;
6338
                    border-radius: 50%;
6339
                    background-color: #71B443;
6340
                    width: 40px;
6341
                    height: 40px;
6342
                    margin: 5px;
6343
                    padding: 10px;
6344
                    -webkit-box-sizing: content-box;
6345
                    box-sizing: content-box;
6346
                    align-items: center;
6347
                    justify-content: center;
6348
                    display: inline;
6349
                    border: solid 3px #71B443;
6350
                    }
4407
6351
4408
                &:hover {
6352
                    &.fond{
4409
                    // Class used for each module link hover state
6353
                        opacity: 70%;
4410
                    border-color: #538200;
6354
                        position: relative;
4411
                    color: #538200;
6355
                        top: 5px;
6356
                        border: none;
6357
                        right: 20px;
6358
                        border-radius: 0;
6359
                        background-color: transparent;
6360
                        width: auto;
6361
                        height: auto;
6362
                        margin: 0;
6363
                        padding: 0;
6364
                    }
6365
6366
                }
6367
6368
                h1 {
6369
                    font-size: 150%;
6370
                    font-weight: normal;
6371
                    display: inline;
6372
                }
6373
6374
                &:hover{
6375
                    color: #418940;
6376
                    text-decoration: none;
6377
6378
                    i{
6379
                        &.fa{
6380
                            background-color: #418940;
6381
                            border: solid 3px #418940;
6382
                        }
6383
                        &.fond{
6384
                            opacity: 70%;
6385
                            position: relative;
6386
                            top: 5px;
6387
                            border: none;
6388
                            right: 20px;
6389
                            border-radius: 0;
6390
                            background-color: transparent;
6391
                            width: auto;
6392
                            height: auto;
6393
                            margin: 0;
6394
                            padding: 0;
6395
                        }
6396
                    }
6397
6398
                    h1{
6399
                    //font-weight: bold;
6400
                    }
4412
                }
6401
                }
4413
            }
6402
            }
4414
        }
6403
        }
Lines 4416-4422 input.renew { Link Here
4416
}
6405
}
4417
6406
4418
.about h2 {
6407
.about h2 {
4419
    border-bottom: 1px solid #B9D8D9;
6408
    border-bottom: 1px solid #bfd9b9;
4420
    padding: .5em .2em;
6409
    padding: .5em .2em;
4421
    margin:  .5em 0;
6410
    margin:  .5em 0;
4422
}
6411
}
Lines 4438-4463 input.renew { Link Here
4438
6427
4439
// ==== MODULE LINKS - End ====
6428
// ==== MODULE LINKS - End ====
4440
6429
4441
#catalog-search-link {
6430
/*#catalog-search-link {
4442
    border-right: 1px solid lighten( #E6F0F2, 15% );
6431
    //color : #fff;
4443
    padding-right: .3em;
6432
    //border-right: 1px solid lighten( #e3f1df, 15% );
4444
}
6433
    //padding-right: .3em;
4445
4446
#catalog-search-dropdown {
4447
    padding: 0;
4448
4449
    & > a {
4450
        border-left: 1px solid darken( #B4D2D8, 5% );
4451
        margin-right: .6em;
4452
        padding: .4em .6em;
4453
6434
4454
        &:hover,
6435
}*/
4455
        &.catalog-search-dropdown-hover {
4456
            background-color: darken( #E6F0F2, 5% );
4457
            border-left: 1px solid darken( #B4D2D8, 15% );
4458
        }
4459
    }
4460
}
4461
6436
4462
#tools_holidays {
6437
#tools_holidays {
4463
    .radio,
6438
    .radio,
Lines 4558-4572 input.renew { Link Here
4558
}
6533
}
4559
6534
4560
.header-menu-link {
6535
.header-menu-link {
6536
   // background-color: #352C2E;
4561
    display: none;
6537
    display: none;
4562
    font-weight: bold;
6538
   // font-weight: bold;
4563
    padding: .4em .6em;
6539
    padding: .4em .6em;
4564
}
6540
}
4565
6541
4566
#user-menu {
6542
#user-menu {
6543
    //position: absolute;
6544
    //right: 5px;
6545
    //top: 0;
6546
   // position: relative;
6547
    //left: 0px;
6548
    top: 0px;
4567
    position: absolute;
6549
    position: absolute;
4568
    right: 5px;
6550
    right: 5px;
4569
    top: 0;
6551
6552
    //background-color: #352C2E;
6553
 //   box-shadow: none;
6554
   // height: 50px;
6555
   // width: 100%;
6556
   // padding-left: 10px;
6557
    //padding-right: 10px;
6558
  //  display: inline-block;
6559
    //float: left;
4570
}
6560
}
4571
6561
4572
div#makechart ol li {
6562
div#makechart ol li {
Lines 4602-4608 div .suggestion_note { Link Here
4602
}
6592
}
4603
6593
4604
.currentlibrary {
6594
.currentlibrary {
4605
    background-color: #E6FCB7;
6595
    //background-color: #E6FCB7;
4606
    display: inline-block;
6596
    display: inline-block;
4607
    padding: 2px 4px;
6597
    padding: 2px 4px;
4608
}
6598
}
Lines 4698-4704 div .suggestion_note { Link Here
4698
6688
4699
        .open {
6689
        .open {
4700
            .dropdown-menu {
6690
            .dropdown-menu {
4701
                background-color: #FFF;
6691
                background-color: #352C2E;
4702
                border: 1px solid #ccc;
6692
                border: 1px solid #ccc;
4703
                position: absolute;
6693
                position: absolute;
4704
            }
6694
            }
Lines 4706-4713 div .suggestion_note { Link Here
4706
    }
6696
    }
4707
6697
4708
    #header {
6698
    #header {
4709
        background-color: #FFF;
6699
        background-color: #352C2E;
4710
        border: 1px solid #CCC;
6700
       // border: 1px solid #352C2E;
4711
        margin-bottom: 1em;
6701
        margin-bottom: 1em;
4712
6702
4713
        a {
6703
        a {
Lines 4715-4722 div .suggestion_note { Link Here
4715
            padding-left: 1.5em;
6705
            padding-left: 1.5em;
4716
6706
4717
            &:hover {
6707
            &:hover {
4718
                background-color: #0070A9;
6708
                text-decoration: underline;
4719
                color: #FFF;
6709
                color: #FFF;
6710
                background-color: #352C2E;
6711
                background-image: none;
4720
            }
6712
            }
4721
        }
6713
        }
4722
6714
Lines 4725-4745 div .suggestion_note { Link Here
4725
            box-shadow: unset;
6717
            box-shadow: unset;
4726
            float: none;
6718
            float: none;
4727
            left: auto;
6719
            left: auto;
4728
            position: relative;
6720
            position: initial;
4729
            right: auto;
6721
            right: auto;
4730
6722
4731
            &.dropdown-menu {
6723
            &.dropdown-menu {
4732
                display: block;
6724
                display: block;
6725
               // background-color : #352C2E;
4733
            }
6726
            }
4734
        }
6727
        }
4735
6728
4736
        .dropdown-menu {
6729
        .dropdown-menu-brown {
4737
            li {
6730
            li {
4738
                a {
6731
              //  background-color: #352C2E;
4739
                    color: #004D99;
4740
6732
6733
                a {
6734
                    //color: #fff;
4741
                    &:hover {
6735
                    &:hover {
4742
                        color: #FFF;
6736
                        color: #FFF;
6737
                        text-decoration: underline;
4743
                    }
6738
                    }
4744
                }
6739
                }
4745
            }
6740
            }
Lines 4771-4778 div .suggestion_note { Link Here
4771
    #user-menu {
6766
    #user-menu {
4772
        .open {
6767
        .open {
4773
            .dropdown-menu {
6768
            .dropdown-menu {
4774
                background-color: #FFF;
6769
                background-color: #352c35;
4775
                border: 1px solid #ccc;
6770
               // border: 1px solid #ccc;
4776
                position: absolute;
6771
                position: absolute;
4777
            }
6772
            }
4778
        }
6773
        }
Lines 4821-4827 div .suggestion_note { Link Here
4821
6816
4822
6817
4823
    #helper {
6818
    #helper {
4824
        i {
6819
        i {background-color: #352C2E;
6820
            box-shadow: none;
6821
            height: 50px;
6822
           // width: 100%;
6823
            padding-left: 10px;
6824
            padding-right: 10px;
6825
            display: inline-block;
6826
            float: left;
4825
            display: none;
6827
            display: none;
4826
        }
6828
        }
4827
6829
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc (-10 / +10 lines)
Lines 7-27 Link Here
7
                <label>From an existing record:
7
                <label>From an existing record:
8
                    <input type="text" name="q" size="25" />
8
                    <input type="text" name="q" size="25" />
9
                </label>
9
                </label>
10
                <input type="submit" class="submit" id="searchtoorder" data-booksellerid="[% booksellerid | html %]" data-basketno="[% basketno | html %]" value="Submit" />
10
                <input type="submit" class="principal" id="searchtoorder" data-booksellerid="[% booksellerid | html %]" data-basketno="[% basketno | html %]" value="Submit" />
11
            </form>
11
            </form>
12
        </li>
12
        </li>
13
        <li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From a suggestion</a></li>
13
        <li><a id="lientype" href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From a suggestion</a></li>
14
        <li><a href="/cgi-bin/koha/acqui/newordersubscription.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From a subscription</a></li>
14
        <li><a id="lientype" href="/cgi-bin/koha/acqui/newordersubscription.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From a subscription</a></li>
15
        <li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From a new (empty) record</a></li>
15
        <li><a id="lientype" href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From a new (empty) record</a></li>
16
        <li><a href="/cgi-bin/koha/acqui/duplicate_orders.pl?basketno=[% basketno | uri %]">From existing orders (copy)</a></li>
16
        <li><a id="lientype" href="/cgi-bin/koha/acqui/duplicate_orders.pl?basketno=[% basketno | uri %]">From existing orders (copy)</a></li>
17
        <li><a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From an external source</a></li>
17
        <li><a id="lientype" href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From an external source</a></li>
18
        <li><a href="/cgi-bin/koha/tools/stage-marc-import.pl?basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"> From a new file</a></li>
18
        <li><a id="lientype" href="/cgi-bin/koha/tools/stage-marc-import.pl?basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"> From a new file</a></li>
19
        <li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]"> From a staged file</a></li>
19
        <li><a id="lientype" href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]"> From a staged file</a></li>
20
        [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/reserveratios.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From titles with highest hold ratios</a></li>[% END %]
20
        [% IF ( CAN_user_circulate ) %]<li><a id="lientype" href="/cgi-bin/koha/circ/reserveratios.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">From titles with highest hold ratios</a></li>[% END %]
21
      </ul>
21
      </ul>
22
    [% ELSE %]
22
    [% ELSE %]
23
        <div class="dialog alert">
23
        <div class="dialog alert">
24
          <p>You can't create any orders unless you first <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget and a fund</a>.</p>
24
          <p>You can't create any orders unless you first <a id="lientype" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget and a fund</a>.</p>
25
        </div>
25
        </div>
26
    [% END %]
26
    [% END %]
27
</fieldset>
27
</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc (-10 / +13 lines)
Lines 1-8 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="navmenu">
2
<div id="navmenu">
3
    <div id="navmenulist">
3
    <div id="navmenulist">
4
        <h5>Acquisitions</h5>
4
5
        <ul>
5
        <ul>
6
            <h5>Acquisitions</h5>
6
            <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
7
            <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
7
            [% IF ( CAN_user_acquisition_order_receive ) %]<li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>[% END %]
8
            [% IF ( CAN_user_acquisition_order_receive ) %]<li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>[% END %]
8
            [% IF ( suggestion && CAN_user_suggestions_suggestions_manage ) %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>[% END %]
9
            [% IF ( suggestion && CAN_user_suggestions_suggestions_manage ) %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>[% END %]
Lines 11-27 Link Here
11
                <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
12
                <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
12
            [% END %]
13
            [% END %]
13
        </ul>
14
        </ul>
15
14
        [% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
16
        [% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
17
18
        <ul>
15
            <h5>Reports</h5>
19
            <h5>Reports</h5>
16
            <ul>
20
            [% IF ( CAN_user_reports ) %]
17
                [% IF ( CAN_user_reports ) %]
21
            <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
18
                    <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
22
            <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
19
                    <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
23
            [% END %]
20
                [% END %]
24
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
21
                [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
25
            <li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
22
                    <li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
26
            [% END %]
23
                [% END %]
27
        </ul>
24
            </ul>
25
        [% END %]
28
        [% END %]
26
        [% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) || CAN_user_parameters_manage_additional_fields ) %]
29
        [% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) || CAN_user_parameters_manage_additional_fields ) %]
27
            <h5>Administration</h5>
30
            <h5>Administration</h5>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc (-28 / +110 lines)
Lines 1-32 Link Here
1
<div class="gradient">
1
<!-- Begin Acquisitions Resident Search Box -->
2
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Acquisitions Resident Search Box -->
2
3
<div id="header_search">
3
<div id="header_search" class="fold">
4
<div id="supplier_search" class="residentsearch">
4
    <div id="supplier_search" class="residentsearch">
5
    <label class="tip" for="supplier">Search vendors:</label>
6
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
5
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
7
           <input type="text" size="25" name="supplier" id="supplier" class="focus" />
6
            <input type="text" name="supplier" id="supplier" class="head-searchbox focus" placeholder="Search vendors" />
8
            <input type="submit" class="submit" value="Submit" /></form>
7
            <input type="submit" id="submit" value="" />
9
</div>
8
        </form>
10
    <div id="orders_search" class="residentsearch">
9
    </div>
11
	<p class="tip">Search orders:</p>
12
10
11
    <div id="orders_search" class="residentsearch">
13
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
12
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
14
        <label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title | html %]" />
13
            <input type="text" id="title" style="display:inline;left: 125px;" class="focus" placeholder="Title" name="title" size="13" value="[% title | html %]" />
15
        <label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name | html %]" />
14
            <input type="text" id="searchsupplier" style="display:inline" class="focus" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
16
        <input type="hidden" id="do_search" name="do_search" value="do" />
15
            <input type="hidden" id="do_search" name="do_search" value="do" />
17
        <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
16
            <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filtres,.filteraction">[-]</a></span>
18
        <span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
17
            <span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filtres,.filteraction">[+]</a></span>
19
    <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
18
            <input value="" class="submit" id="submit" type="submit" />
20
    <p id="filters" style="display:none">
19
21
      <label for="basket">Basket: </label><input type="text" name="basket" id="basket" />
20
            <p class="plus" id="filtres" style="display:none">
22
      <label for="booksellerinvoicenumber">Invoice number: </label><input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
21
                <input type="text" style="right: 260px" placeholder="Basket" name="basket" id="basket" />
23
    </p>
22
                <input type="text" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
24
	</form>
23
            </p>
24
	    </form>
25
    </div>
25
    </div>
26
			<ul id="tabtriggers">
26
27
            <li><a href="#supplier_search">Vendor search</a></li>
27
28
            <li><a href="#orders_search">Orders search</a></li>
28
    <ul id="taille">
29
            </ul>
29
        <li><a id="icon_1" title="Vendor search" onclick="clique(this)" class="iconsearch" href="#supplier_search"><i class="fa fa-upload"></i></a></li>
30
</div><!-- /header_search -->
30
        <li><a id="icon_2" title="Orders search" onclick="clique(this)" class="iconsearch" href="#orders_search"><i class="fa fa-download"></i></a></li>
31
</div><!-- /gradient -->
31
32
<!-- End Acquisitions Resident Search Box -->
32
        <span id="button_1" class="buttonsearch active">Vendor search</span>
33
        <span id="button_2" class="buttonsearch">Orders search</span>
34
    </ul>
35
</div>
36
37
38
39
<script type="text/javascript">
40
    function focusInput(){
41
        document.getElementsByClassName('head-searchbox').focus();
42
    }
43
44
    function toggle(elem){style="width: calc(301px);"
45
        var buttonssearch = document.getElementsByClassName('active');
46
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
47
            buttonssearch[i].classList.remove('active');
48
        }
49
50
        if(elem){
51
            elem.classList.add('active');
52
            fold();
53
        }else{//Back
54
            document.getElementById('button_1').classList.add('active');
55
            document.getElementById('header_search').classList.remove('fold');
56
            document.getElementsByClassName('head-searchbox').style = '';
57
        }
58
        
59
        focusInput();
60
    }
61
62
    function clique(elem){
63
        var buttonssearch = document.getElementsByClassName('buttonsearch');
64
        var iconssearch = document.getElementsByClassName('iconsearch');
65
        var inputssearch = document.getElementsByClassName('head-searchbox');
66
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
67
            buttonssearch[i].classList.remove('active');
68
            if (elem == iconssearch[i]){
69
                buttonssearch[i].classList.add('active');
70
            }
71
        }
72
73
        for (var i = inputssearch.length - 1; i >= 0; i--) {
74
            inputssearch[i].classList.remove('focus');
75
76
            if (elem == iconssearch[i]){
77
                inputssearch[i].classList.add('focus');
78
79
                taille(inputssearch[i])
80
            }
81
        }
82
83
        focusInput();
84
        fold();
85
    }
86
87
    function fold(){
88
        document.getElementById('header_search').classList.add('fold');
89
        setTimeout(
90
            function(){
91
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
92
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
93
            }
94
        , 250);
95
    }
96
97
    function taille(el){
98
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
99
        el.style = "width:calc(500px - "+offsetWidth+"px)";
100
    }
101
102
    $('.btn').click(function(){
103
    if($(this).hasClass('active')){
104
        $(this).removeClass('active')
105
    } else {
106
        $(this).addClass('active')
107
    }
108
});
109
110
</script>
111
112
113
<!-- /header_search -->
114
<!-- End Main page Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc (-5 / +34 lines)
Lines 3-9 Link Here
3
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
4
    [% IF ( booksellerid ) %]
4
    [% IF ( booksellerid ) %]
5
        <div class="btn-group">
5
        <div class="btn-group">
6
        <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-plus"></i> New
6
        <a class="pat" data-toggle="dropdown" href="#"><i class="fa fa-plus"></i> New
7
        <span class="caret"></span>
7
        <span class="caret"></span>
8
        </a>
8
        </a>
9
        <ul class="dropdown-menu">
9
        <ul class="dropdown-menu">
Lines 20-42 Link Here
20
        </div>
20
        </div>
21
            [% IF ( CAN_user_acquisition_vendors_manage ) %]
21
            [% IF ( CAN_user_acquisition_vendors_manage ) %]
22
                <div class="btn-group">
22
                <div class="btn-group">
23
                    <a class="btn btn-default" id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]&amp;op=enter"><i class="fa fa-pencil"></i> Edit vendor</a>
23
                    <a class="btn btn-default pat" id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]&amp;op=enter"><i class="fa fa-pencil"></i> Edit vendor</a>
24
                </div>
24
                </div>
25
                [% UNLESS ( basketcount OR subscriptioncount ) %]
25
                [% UNLESS ( basketcount OR subscriptioncount ) %]
26
                    <div class="btn-group">
26
                    <div class="btn-group">
27
                        <form action="/cgi-bin/koha/acqui/supplier.pl" method="post">
27
                        <form action="/cgi-bin/koha/acqui/supplier.pl" method="post">
28
                            <input type="hidden" name="op" value="delete" />
28
                            <input type="hidden" name="op" value="delete" />
29
                            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
29
                            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
30
                            <button class="btn btn-default" id="deletesupplier" type="submit"><i class="fa fa-trash"></i> Delete vendor</button>
30
                            <button class="btn btn-default pat" id="deletesupplier" type="submit"><i class="fa fa-trash"></i> Delete vendor</button>
31
                        </form>
31
                        </form>
32
                    </div>
32
                    </div>
33
                [% END %]
33
                [% END %]
34
                [% IF CAN_user_acquisition_contracts_manage && active %]
35
                    <li><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;booksellerid=[% booksellerid | uri %]">Contract</a></li>
36
                [% END %]
37
                [% IF ( CAN_user_acquisition_vendors_manage ) %]
38
                    <li><a href="/cgi-bin/koha/acqui/supplier.pl?op=enter">Vendor</a></li>
39
                [% END %]
40
            [% END %]
41
        [% IF ( CAN_user_acquisition_vendors_manage ) %]
42
        <div class="btn-group">
43
            <a class="pat" id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]&amp;op=enter"><i class="fa fa-pencil"></i> Edit vendor</a>
44
        </div>
45
            [% UNLESS ( basketcount OR subscriptioncount ) %]
46
            <div class="btn-group">
47
                <form action="/cgi-bin/koha/acqui/supplier.pl" method="post">
48
                    <input type="hidden" name="op" value="delete" />
49
                    <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
50
                    <button class="pat" id="deletesupplier" type="submit"><i class="fa fa-trash"></i> Delete vendor</button>
51
                </form>
52
            </div>
34
            [% END %]
53
            [% END %]
35
            [% IF CAN_user_acquisition_order_receive && basketcount && active %]
54
            [% IF CAN_user_acquisition_order_receive && basketcount && active %]
36
                <div class="btn-group"><a class="btn btn-default" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | html %]"><i class="fa fa-inbox"></i> Receive shipments</a></div>
55
                <div class="btn-group"><a class="btn btn-default pat" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | html %]"><i class="fa fa-inbox"></i> Receive shipments</a></div>
37
            [% END %]
56
            [% END %]
38
        [% ELSE %]
57
        [% ELSE %]
39
            <div class="btn-group"><a class="btn btn-default" href="/cgi-bin/koha/acqui/supplier.pl?op=enter"><i class="fa fa-plus"></i> New vendor</a></div>
58
            <div class="btn-group"><a class="pat" href="/cgi-bin/koha/acqui/supplier.pl?op=enter"><i class="fa fa-plus"></i> New vendor</a></div>
59
        [% END %]
60
        [% IF CAN_user_acquisition_order_receive && basketcount %]
61
            <div class="btn-group">
62
                <a class="pat" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | html %]"><i class="fa fa-inbox"></i> Receive shipments</a>
63
            </div>
40
        [% END %]
64
        [% END %]
65
    [% ELSE %]
66
        <div class="btn-group">
67
            <a class="pat" href="/cgi-bin/koha/acqui/supplier.pl?op=enter"><i class="fa fa-plus"></i> New vendor</a>
68
        </div>
69
    [% END %]
41
</div>
70
</div>
42
<!-- / acquisitions-toolbar.inc -->
71
<!-- / acquisitions-toolbar.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/additional-fields-entry.inc (-1 / +1 lines)
Lines 1-7 Link Here
1
[% USE AuthorisedValues %]
1
[% USE AuthorisedValues %]
2
[% IF wrap_fieldset != 0 %]
2
[% IF wrap_fieldset != 0 %]
3
<fieldset class="rows">
3
<fieldset class="rows">
4
    <legend>Additional fields</legend>
4
    <h3>Additional fields</h3>
5
    <ol>
5
    <ol>
6
[% END %]
6
[% END %]
7
        [% FOR field IN available %]
7
        [% FOR field IN available %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc (-114 / +114 lines)
Lines 4-109 Link Here
4
<div id="navmenulist">
4
<div id="navmenulist">
5
5
6
    [% IF ( CAN_user_parameters_manage_sysprefs ) %]
6
    [% IF ( CAN_user_parameters_manage_sysprefs ) %]
7
    <ul>
7
        <h5>System preferences</h5>
8
        <h5>System preferences</h5>
8
        <ul>
9
        <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
9
            <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
10
    </ul>
10
        </ul>
11
    [% END %]
11
    [% END %]
12
12
13
    [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
13
    [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
14
    <ul>    
14
        <h5>Basic parameters</h5>
15
        <h5>Basic parameters</h5>
15
        <ul>
16
        [% IF ( CAN_user_parameters_manage_libraries ) %]
16
            [% IF ( CAN_user_parameters_manage_libraries ) %]
17
            <li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
17
                <li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
18
            <li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
18
                <li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
19
        [% END %]
19
            [% END %]
20
        [% IF ( CAN_user_parameters_manage_itemtypes ) %]
20
            [% IF ( CAN_user_parameters_manage_itemtypes ) %]
21
            <li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
21
                <li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
22
        [% END %]
22
            [% END %]
23
        [% IF ( CAN_user_parameters_manage_auth_values ) %]
23
            [% IF ( CAN_user_parameters_manage_auth_values ) %]
24
            <li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
24
                <li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
25
        [% END %]
25
            [% END %]
26
    </ul>
26
        </ul>
27
    [% END %]
27
    [% END %]
28
28
29
    [% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities ) %]
29
    [% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities ) %]
30
    <ul>    
30
        <h5>Patrons and circulation</h5>
31
        <h5>Patrons and circulation</h5>
31
        <ul>
32
        [% IF ( CAN_user_parameters_manage_patron_categories ) %]
32
            [% IF ( CAN_user_parameters_manage_patron_categories ) %]
33
            <li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
33
                <li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
34
        [% END %]
34
            [% END %]
35
        [% IF ( CAN_user_parameters_manage_circ_rules ) %]
35
            [% IF ( CAN_user_parameters_manage_circ_rules ) %]
36
            <li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></li>
36
                <li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></li>
37
        [% END %]
37
            [% END %]
38
        [% IF ( CAN_user_parameters_manage_patron_attributes ) %]
38
            [% IF ( CAN_user_parameters_manage_patron_attributes ) %]
39
            <li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
39
                <li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
40
        [% END %]
40
            [% END %]
41
        [% IF ( CAN_user_parameters_manage_transfers ) %]
41
            [% IF ( CAN_user_parameters_manage_transfers ) %]
42
            <li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
42
                <li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
43
            <li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
43
                <li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
44
        [% END %]
44
            [% END %]
45
        [% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
45
            [% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
46
            <li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
46
                <li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
47
        [% END %]
47
            [% END %]
48
        [% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
48
            [% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
49
            <li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
49
                <li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
50
        [% END %]
50
            [% END %]
51
        [% IF ( CAN_user_parameters_manage_cities ) %]
51
            [% IF ( CAN_user_parameters_manage_cities ) %]
52
            <li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
52
                <li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
53
        [% END %]
53
            [% END %]
54
    </ul>
54
        </ul>
55
    [% END %]
55
    [% END %]
56
56
57
    [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
57
    [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
58
    <ul>    
58
        <h5>Accounting</h5>
59
        <h5>Accounting</h5>
59
        <ul>
60
        [% IF ( CAN_user_parameters_manage_accounts ) %]
60
            [% IF ( CAN_user_parameters_manage_accounts ) %]
61
            <li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li>
61
                <li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li>
62
            <li><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></li>
62
                <li><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></li>
63
        [% END %]
63
            [% END %]
64
        [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
64
            [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
65
            <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li>
65
                <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li>
66
        [% END %]
66
            [% END %]
67
    </ul>
67
        </ul>
68
    [% END %]
68
    [% END %]
69
69
70
    [% IF CAN_user_parameters_manage_background_jobs %]
70
    [% IF CAN_user_parameters_manage_background_jobs %]
71
    <ul>    
71
        <h5>Background jobs</h5>
72
        <h5>Background jobs</h5>
72
        <ul>
73
        <li><a href="/cgi-bin/koha/admin/background_jobs.pl">Background jobs</a></li>
73
            <li><a href="/cgi-bin/koha/admin/background_jobs.pl">Background jobs</a></li>
74
    </ul>
74
        </ul>
75
    [% END %]
75
    [% END %]
76
76
77
    [% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config || CAN_user_parameters_manage_marc_overlay_rules ) %]
77
    [% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config || CAN_user_parameters_manage_marc_overlay_rules ) %]
78
    <ul>    
78
        <h5>Catalog</h5>
79
        <h5>Catalog</h5>
79
        <ul>
80
        [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
80
            [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
81
            <li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
81
                <li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
82
            <li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
82
                <li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
83
        [% END %]
83
            [% END %]
84
        [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
84
            [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
85
            <li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
85
                <li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
86
            <li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
86
                <li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
87
        [% END %]
87
            [% END %]
88
        [% IF ( CAN_user_parameters_manage_classifications ) %]
88
            [% IF ( CAN_user_parameters_manage_classifications ) %]
89
            <li><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></li>
89
                <li><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></li>
90
        [% END %]
90
            [% END %]
91
        [% IF ( CAN_user_parameters_manage_matching_rules ) %]
91
            [% IF ( CAN_user_parameters_manage_matching_rules ) %]
92
            <li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
92
                <li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
93
        [% END %]
93
            [% END %]
94
        [% IF ( CAN_user_parameters_manage_oai_sets ) %]
94
            [% IF ( CAN_user_parameters_manage_oai_sets ) %]
95
            <li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
95
                <li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
96
        [% END %]
96
            [% END %]
97
        [% IF ( CAN_user_parameters_manage_item_search_fields ) %]
97
            [% IF ( CAN_user_parameters_manage_item_search_fields ) %]
98
            <li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
98
                <li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
99
        [% END %]
99
            [% END %]
100
        [% IF ( CAN_user_parameters_manage_search_engine_config ) %]
100
            [% IF ( CAN_user_parameters_manage_search_engine_config ) %]
101
            <li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></li>
101
                <li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></li>
102
        [% END %]
102
            [% END %]
103
        [% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
103
            [% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
104
            <li><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">MARC overlay rules</a></li>
104
                <li><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">MARC overlay rules</a></li>
105
        [% END %]
105
            [% END %]
106
    </ul>
106
        </ul>
107
    [% END %]
107
    [% END %]
108
108
109
    [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) %]
109
    [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) %]
Lines 127-172 Link Here
127
    [% END %]
127
    [% END %]
128
128
129
    [% IF CAN_user_plugins && plugins_enabled %]
129
    [% IF CAN_user_plugins && plugins_enabled %]
130
    <ul>    
130
        <h5>Plugins</h5>
131
        <h5>Plugins</h5>
131
        <ul>
132
        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></li>
132
            <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></li>
133
    </ul>
133
        </ul>
134
    [% END %]
134
    [% END %]
135
135
136
    [% IF ( CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) ) %]
136
    [% IF ( CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) ) %]
137
    <ul>    
137
        <h5>Additional parameters</h5>
138
        <h5>Additional parameters</h5>
138
        <ul>
139
        [% IF ( CAN_user_parameters_manage_search_targets ) %]
139
            [% IF ( CAN_user_parameters_manage_search_targets ) %]
140
            <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
140
                <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
141
        [% END %]
141
            [% END %]
142
        [% IF ( CAN_user_parameters_manage_smtp_servers ) %]
142
            [% IF ( CAN_user_parameters_manage_smtp_servers ) %]
143
            <li><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></li>
143
                <li><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></li>
144
        [% END %]
144
            [% END %]
145
        [% IF ( CAN_user_parameters_manage_didyoumean ) %]
145
            [% IF ( CAN_user_parameters_manage_didyoumean ) %]
146
            <li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
146
                <li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
147
        [% END %]
147
            [% END %]
148
        [% IF ( CAN_user_parameters_manage_column_config ) %]
148
            [% IF ( CAN_user_parameters_manage_column_config ) %]
149
            <li><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></li>
149
                <li><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></li>
150
        [% END %]
150
            [% END %]
151
        [% IF ( CAN_user_parameters_manage_audio_alerts ) %]
151
            [% IF ( CAN_user_parameters_manage_audio_alerts ) %]
152
            <li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
152
                <li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
153
        [% END %]
153
            [% END %]
154
        [% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
154
            [% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
155
                <li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
155
                    <li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
156
        [% END %]
156
            [% END %]
157
        [% IF ( CAN_user_parameters_manage_usage_stats ) %]
157
            [% IF ( CAN_user_parameters_manage_usage_stats ) %]
158
            <li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
158
                <li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
159
        [% END %]
159
            [% END %]
160
        [% IF ( CAN_user_parameters_manage_mana ) %]
160
            [% IF ( CAN_user_parameters_manage_mana ) %]
161
            <li><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></li>
161
                <li><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></li>
162
        [% END %]
162
            [% END %]
163
        [% IF ( CAN_user_parameters_manage_additional_fields ) %]
163
            [% IF ( CAN_user_parameters_manage_additional_fields ) %]
164
            <li><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></li>
164
                <li><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></li>
165
        [% END %]
165
            [% END %]
166
        [% IF ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) %]
166
            [% IF ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) %]
167
            <li><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></li>
167
                <li><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></li>
168
        [% END %]
168
            [% END %]
169
    </ul>
169
        </ul>
170
    [% END %]
170
    [% END %]
171
</div>
171
</div>
172
</div>
172
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/adv-search.inc (-53 / +124 lines)
Lines 1-53 Link Here
1
<div class="gradient">
1
<!-- Begin main page resident search box -->
2
    <div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div>
2
<div id="header_search" class="fold">
3
3
4
    <!-- Begin main page resident search box -->
4
    [% INCLUDE 'patron-search-box.inc' %]
5
    <div id="header_search">
5
    
6
        [% INCLUDE 'patron-search-box.inc' %]
6
    [% IF (CAN_user_circulate_circulate_remaining_permissions) %]
7
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
7
    <div id="checkin_search" class="residentsearch">
8
            <div id="checkin_search" class="residentsearch">
8
        <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
9
                <label class="tip" for="ret_barcode">Scan a barcode to check in:</label>
9
            <input name="barcode" id="ret_barcode" class="head-searchbox focus" accesskey="r" type="text" placeholder="Scan a barcode to check in" size="40" />
10
                <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
10
            <input value="" class="submit" type="submit" id="submit" />
11
                    <input type="text" name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
11
        </form>
12
                    <input value="Submit" class="submit" type="submit" />
12
    </div>
13
                </form>
13
14
            </div>
14
    <div id="renew_search" class="residentsearch">
15
            <div id="renew_search" class="residentsearch">
15
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
16
                <label class="tip" for="ren_barcode">Scan a barcode to renew:</label>
16
            <input name="barcode" id="ren_barcode" class="head-searchbox focus" type="text" placeholder="Scan a barcode to renew" size="40" />
17
                <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
17
            <input value="" class="submit" type="submit" id="submit" />
18
                    <input type="text" class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
18
        </form>
19
                    <input value="Submit" class="submit" type="submit" />
19
    </div>
20
                </form>
20
    [% END %]
21
            </div>
21
22
        [% END %]
22
    [% IF CAN_user_borrowers_edit_borrowers %]
23
23
        <div id="patron_search" class="residentsearch">
24
        [% IF CAN_user_borrowers_edit_borrowers %]
24
            <form action="/cgi-bin/koha/members/member.pl" method="post">
25
            <div id="patron_search" class="residentsearch">
25
                <input name="searchmember" class="head-searchbox focus" placeholder="Enter patron card number or partial name" id="searchmember" size="40" type="text" />
26
                <label class="tip" for="searchmember">Enter patron card number or partial name:</label>
26
                <input type="hidden" name="quicksearch" value="1" />
27
                <form action="/cgi-bin/koha/members/member.pl" method="post">
27
                <input value="" class="submit" id="submit" type="submit" />
28
                    <input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text" />
28
            </form>
29
                    <input type="hidden" name="quicksearch" value="1" />
29
        </div>
30
                    <input value="Submit" class="submit" type="submit" />
30
    [% END %]
31
                </form>
31
32
            </div>
32
    <ul id="taille">
33
        [% END %]
33
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_1" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
34
34
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check in" onclick="clique(this)" class="iconsearch" href="#checkin_search"><i class="fa fa-download"></i></a></li>[% END %]
35
        <ul>
35
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_3" title="Renew" onclick="clique(this)" class="iconsearch" href="#renew_search"><i class="fa fa-retweet"></i></a></li>[% END %]
36
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
36
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]<li><a id="icon_4" title="Search patrons" onclick="clique(this)" class="iconsearch" href="#patron_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>[% END %]
37
                <li><a class="keep_text" href="#circ_search">Check out</a></li>
37
38
            [% END %]
38
        <span id="button_1" class="buttonsearch active">Check out</span>
39
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
39
        <span id="button_2" class="buttonsearch">Check in</span>
40
                <li><a class="keep_text" href="#checkin_search">Check in</a></li>
40
        <span id="button_3" class="buttonsearch">Renew</span>
41
            [% END %]
41
        <span id="button_4" class="buttonsearch">Search patrons</span>
42
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
42
    </ul>
43
                <li><a class="keep_text" href="#renew_search">Renew</a></li>
43
44
            [% END %]
44
45
            [% IF CAN_user_borrowers_edit_borrowers %]
45
<script type="text/javascript">
46
                <li><a class="keep_text" href="#patron_search">Search patrons</a></li>
46
    function focusInput(){
47
            [% END %]
47
        document.getElementsByClassName('head-searchbox').focus();
48
        </ul>
48
    }
49
49
50
    </div><!-- /#header_search -->
50
    function toggle(elem){
51
    <!-- End advanced search page resident search box -->
51
        style="width: calc(301px);"
52
52
        var buttonssearch = document.getElementsByClassName('active');
53
</div><!-- /.gradient -->
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
        }
56
57
        if(elem){
58
            elem.classList.add('active');
59
            fold();
60
        }else{//Back
61
            document.getElementById('button_1').classList.add('active');
62
            document.getElementById('header_search').classList.remove('fold');
63
            document.getElementsByClassName('head-searchbox').style = '';
64
        }
65
        
66
        focusInput();
67
    }
68
69
    function clique(elem){
70
        var buttonssearch = document.getElementsByClassName('buttonsearch');
71
        var iconssearch = document.getElementsByClassName('iconsearch');
72
        var inputssearch = document.getElementsByClassName('head-searchbox');
73
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
74
            buttonssearch[i].classList.remove('active');
75
            if (elem == iconssearch[i]){
76
                buttonssearch[i].classList.add('active');
77
            }
78
        }
79
80
        for (var i = inputssearch.length - 1; i >= 0; i--) {
81
            inputssearch[i].classList.remove('focus');
82
83
            if (elem == iconssearch[i]){
84
                inputssearch[i].classList.add('focus');
85
86
                taille(inputssearch[i])
87
            }
88
        }
89
90
        focusInput();
91
        fold();
92
    }
93
94
    function fold(){
95
        document.getElementById('header_search').classList.add('fold');
96
        setTimeout(
97
            function(){
98
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
99
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
100
            }
101
        , 250);
102
    }
103
104
    function taille(el){
105
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
106
        el.style = "width:calc(500px - "+offsetWidth+"px)";
107
    }
108
109
    $('.btn').click(function(){
110
    if($(this).hasClass('active')){
111
        $(this).removeClass('active')
112
    } else {
113
        $(this).addClass('active')
114
    }
115
});
116
117
</script>
118
119
<!-- /header_search -->
120
<!-- End Main page Resident Search Box -->
121
122
123
</div><!-- /#header_search -->
124
<!-- End advanced search page resident search box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc (-3 / +3 lines)
Lines 1-8 Link Here
1
[% PROCESS 'form-blocks.inc' %]
1
[% PROCESS 'form-blocks.inc' %]
2
2
3
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
4
    <div class="btn-group"><a href="#" id="clear" class="btn btn-default btn-sm"><i class="fa fa-trash"></i> Clear field</a></div>
4
    <div class="btn-group"><a href="#" id="clear" class="btn btn-default pat btn-sm"><i class="fa fa-trash"></i> Clear field</a></div>
5
    <div class="btn-group"><a href="#" id="createnew" class="btn btn-default btn-sm"><i class="fa fa-plus"></i> Create new authority</a></div>
5
    <div class="btn-group"><a href="#" id="createnew" class="btn btn-default pat btn-sm"><i class="fa fa-plus"></i> Create new authority</a></div>
6
</div>
6
</div>
7
<form name="f" method="get" action="auth_finder.pl">
7
<form name="f" method="get" action="auth_finder.pl">
8
            <input type="hidden" name="source" value="[% source | html %]" />
8
            <input type="hidden" name="source" value="[% source | html %]" />
Lines 158-163 Link Here
158
            </ol>
158
            </ol>
159
        </fieldset>
159
        </fieldset>
160
        [% END %]
160
        [% END %]
161
        <fieldset class="action"> <input type="submit" value="Search" class="submit" id="search" /> <a id="cancel" class="cancel close" href="#">Cancel</a>
161
        <fieldset class="action"> <input type="submit" value="Search" class="principal" id="search" /> <a id="cancel" class="cancel close" href="#">Cancel</a>
162
        </fieldset>
162
        </fieldset>
163
</form>
163
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc (-204 / +310 lines)
Lines 1-210 Link Here
1
<div class="gradient">
2
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div>
3
<!-- Begin Authorities Resident Search Box -->
1
<!-- Begin Authorities Resident Search Box -->
4
<div id="header_search" class="residentsearch">
2
3
<div id="header_search" class="fold">
5
    <div id="mainmain_heading" class="residentsearch">
4
    <div id="mainmain_heading" class="residentsearch">
6
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
5
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
7
        <label class="tip" for="value_mainentry">Enter main heading ($a only):</label>
6
8
        <input type="hidden" name="op" value="do_search" />
7
            <select name="orderby" class="haut">
9
        <input type="hidden" name="type" value="intranet" />
8
                [% IF ( orderby == 'HeadingAsc' ) %]
10
        <select name="authtypecode" id="authtype_main_heading_a">
9
                <option value="HeadingAsc" selected="selected">Heading A-Z</option>
11
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
10
                [% ELSE %]
12
        [% FOREACH authority_type IN authority_types %]
11
                <option value="HeadingAsc">Heading A-Z</option>
13
            [% IF authority_type.authtypecode == authtypecode %]
12
                [% END %]
14
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
13
                [% IF ( orderby == 'HeadingDsc' ) %]
15
            [% ELSE %]
14
                <option value="HeadingDsc" selected="selected">Heading Z-A</option>
16
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
15
                [% ELSE %]
17
            [% END %]
16
                <option value="HeadingDsc">Heading Z-A</option>
18
        [% END %]
17
                [% END %]
19
        </select>
18
                [% IF ( orderby == '' && op ) %]
20
        <input type="hidden" name="marclist" value="mainmainentry" />
19
                <option value="" selected="selected">None</option>
21
        <input type="hidden" name="and_or" value="and" />
20
                [% ELSE %]
22
        <input type="hidden" name="excluding" value="" />
21
                <option value="">None</option>
23
        <select name="operator">
22
                [% END %]
24
            [% IF ( operator == 'contains' ) %]
23
            </select>
25
            <option value="contains" selected="selected">contains</option>
24
26
            [% ELSE %]
25
            <p class="plusdessous" id="filters">
27
            <option value="contains">contains</option>
26
                <input type="hidden" name="op" value="do_search" />
28
            [% END %]
27
                <input type="hidden" name="type" value="intranet" />
29
            [% IF ( operator == 'start' ) %]
28
                <select name="authtypecode" id="authtype_main_heading_a">
30
            <option value="start" selected="selected">starts with</option>
29
                [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
31
            [% ELSE %]
30
                [% FOREACH authority_type IN authority_types %]
32
            <option value="start">starts with</option>
31
                    [% IF authority_type.authtypecode == authtypecode %]
33
            [% END %]
32
                    <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
34
            [% IF ( operator == 'exact' ) %]
33
                    [% ELSE %]
35
            <option value="exact" selected="selected">is exactly</option>
34
                    <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
36
            [% ELSE %]
35
                    [% END %]
37
            <option value="exact">is exactly</option>
36
                [% END %]
38
            [% END %]
37
                </select>
39
        </select>
38
40
        <input id="value_mainentry" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
39
                <input type="hidden" name="marclist" value="mainmainentry" />
41
        <select name="orderby">
40
                <input type="hidden" name="and_or" value="and" />
42
            [% IF ( orderby == 'HeadingAsc' ) %]
41
                <input type="hidden" name="excluding" value="" />
43
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
42
                <select name="operator">
44
            [% ELSE %]
43
                    [% IF ( operator == 'contains' ) %]
45
            <option value="HeadingAsc">Heading A-Z</option>
44
                    <option value="contains" selected="selected">contains</option>
46
            [% END %]
45
                    [% ELSE %]
47
            [% IF ( orderby == 'HeadingDsc' ) %]
46
                    <option value="contains">contains</option>
48
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
47
                    [% END %]
49
            [% ELSE %]
48
                    [% IF ( operator == 'start' ) %]
50
            <option value="HeadingDsc">Heading Z-A</option>
49
                    <option value="start" selected="selected">starts with</option>
51
            [% END %]
50
                    [% ELSE %]
52
            [% IF ( orderby == '' && op ) %]
51
                    <option value="start">starts with</option>
53
            <option value="" selected="selected">None</option>
52
                    [% END %]
54
            [% ELSE %]
53
                    [% IF ( operator == 'exact' ) %]
55
            <option value="">None</option>
54
                    <optiontype value="exact" selected="selected">is exactly</option>
56
            [% END %]
55
                    [% ELSE %]
57
        </select>
56
                    <option value="exact">is exactly</option>
58
        <input type="submit" class="submit" value="Submit" />
57
                    [% END %]
59
    </form>
58
                </select>
59
60
                <input id="value_mainentry" type="text" name="value" value="[% value | html %]" placeholder="Enter main heading ($a only)" />
61
            </p>
62
63
            <input type="submit" class="submit" id="submit" value="" />
64
        </form>
60
    </div>
65
    </div>
66
67
61
    <div id="main_heading" class="residentsearch">
68
    <div id="main_heading" class="residentsearch">
62
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
69
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
63
        <label class="tip" for="value_mainheading">Enter main heading:</label>
70
            <select name="orderby" class="haut">
64
        <input type="hidden" name="op" value="do_search" />
71
                [% IF ( orderby == 'HeadingAsc' ) %]
65
        <input type="hidden" name="type" value="intranet" />
72
                <option value="HeadingAsc" selected="selected">Heading A-Z</option>
66
        <select name="authtypecode" id="authtype_main_heading">
73
                [% ELSE %]
67
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
74
                <option value="HeadingAsc">Heading A-Z</option>
68
        [% FOREACH authority_type IN authority_types %]
75
                [% END %]
69
            [% IF authority_type.authtypecode == authtypecode %]
76
                [% IF ( orderby == 'HeadingDsc' ) %]
70
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
77
                <option value="HeadingDsc" selected="selected">Heading Z-A</option>
71
            [% ELSE %]
78
                [% ELSE %]
72
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
79
                <option value="HeadingDsc">Heading Z-A</option>
73
            [% END %]
80
                [% END %]
74
        [% END %]
81
                [% IF ( orderby == '' && op ) %]
75
        </select>
82
                <option value="" selected="selected">None</option>
76
        <input type="hidden" name="marclist" value="mainentry" />
83
                [% ELSE %]
77
        <input type="hidden" name="and_or" value="and" />
84
                <option value="">None</option>
78
        <input type="hidden" name="excluding" value="" />
85
                [% END %]
79
        <select name="operator">
86
            </select>
80
            [% IF ( operator == 'contains' ) %]
87
81
            <option value="contains" selected="selected">contains</option>
88
            <p class="plusdessous" id="filters">
82
            [% ELSE %]
89
                <input type="hidden" name="op" value="do_search" />
83
            <option value="contains">contains</option>
90
                <input type="hidden" name="type" value="intranet" />
84
            [% END %]
91
                <select name="authtypecode" id="authtype_main_heading">
85
            [% IF ( operator == 'start' ) %]
92
                [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
86
            <option value="start" selected="selected">starts with</option>
93
                [% FOREACH authority_type IN authority_types %]
87
            [% ELSE %]
94
                    [% IF authority_type.authtypecode == authtypecode %]
88
            <option value="start">starts with</option>
95
                    <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
89
            [% END %]
96
                    [% ELSE %]
90
            [% IF ( operator == 'exact' ) %]
97
                    <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
91
            <option value="exact" selected="selected">is exactly</option>
98
                    [% END %]
92
            [% ELSE %]
99
                [% END %]
93
            <option value="exact">is exactly</option>
100
                </select>
94
            [% END %]
101
95
        </select>
102
                <input type="hidden" name="marclist" value="mainentry" />
96
        <input id="value_mainheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
103
                <input type="hidden" name="and_or" value="and" />
97
        <select name="orderby">
104
                <input type="hidden" name="excluding" value="" />
98
            [% IF ( orderby == 'HeadingAsc' ) %]
105
                <select name="operator">
99
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
106
                    [% IF ( operator == 'contains' ) %]
100
            [% ELSE %]
107
                    <option value="contains" selected="selected">contains</option>
101
            <option value="HeadingAsc">Heading A-Z</option>
108
                    [% ELSE %]
102
            [% END %]
109
                    <option value="contains">contains</option>
103
            [% IF ( orderby == 'HeadingDsc' ) %]
110
                    [% END %]
104
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
111
                    [% IF ( operator == 'start' ) %]
105
            [% ELSE %]
112
                    <option value="start" selected="selected">starts with</option>
106
            <option value="HeadingDsc">Heading Z-A</option>
113
                    [% ELSE %]
107
            [% END %]
114
                    <option value="start">starts with</option>
108
            [% IF ( orderby == '' && op ) %]
115
                    [% END %]
109
            <option value="" selected="selected">None</option>
116
                    [% IF ( operator == 'exact' ) %]
110
            [% ELSE %]
117
                    <option value="exact" selected="selected">is exactly</option>
111
            <option value="">None</option>
118
                    [% ELSE %]
112
            [% END %]
119
                    <option value="exact">is exactly</option>
113
        </select>
120
                    [% END %]
114
        <input type="submit" class="submit" value="Submit" />
121
                </select>
115
    </form>
122
123
                <input id="value_mainheading" type="text" name="value" value="[% value | html %]" placeholder="Enter main heading" />
124
            </p>
125
126
            <input type="submit" class="submit" id="submit" value="" />
127
        </form>
116
    </div>
128
    </div>
129
117
    <div id="matchheading_search" class="residentsearch">
130
    <div id="matchheading_search" class="residentsearch">
118
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
131
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
119
        <label class="tip" for="value_matchheading">Enter any heading:</label>
132
120
        <input type="hidden" name="op" value="do_search" />
133
            <select name="orderby" class="haut">
121
        <input type="hidden" name="type" value="intranet" />
134
                [% IF ( orderby == 'HeadingAsc' ) %]
122
        <select name="authtypecode" id="authtype_all_headings">
135
                <option value="HeadingAsc" selected="selected">Heading A-Z</option>
123
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
136
                [% ELSE %]
124
        [% FOREACH authority_type IN authority_types %]
137
                <option value="HeadingAsc">Heading A-Z</option>
125
            [% IF authority_type.authtypecode == authtypecode %]
138
                [% END %]
126
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
139
                [% IF ( orderby == 'HeadingDsc' ) %]
127
            [% ELSE %]
140
                <option value="HeadingDsc" selected="selected">Heading Z-A</option>
128
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
141
                [% ELSE %]
129
            [% END %]
142
                <option value="HeadingDsc">Heading Z-A</option>
130
        [% END %]
143
                [% END %]
131
        </select>
144
                [% IF ( orderby == '' && op ) %]
132
        <input type="hidden" name="marclist" value="match" />
145
                <option value="" selected="selected">None</option>
133
        <select name="operator">
146
                [% ELSE %]
134
            [% IF ( operator == 'contains' ) %]
147
                <option value="">None</option>
135
            <option value="contains" selected="selected">contains</option>
148
                [% END %]
136
            [% ELSE %]
149
            </select>
137
            <option value="contains">contains</option>
150
138
            [% END %]
151
            <p class="plusdessous" id="filters">
139
            [% IF ( operator == 'start' ) %]
152
                <input type="hidden" name="op" value="do_search" />
140
            <option value="start" selected="selected">starts with</option>
153
                <input type="hidden" name="type" value="intranet" />
141
            [% ELSE %]
154
                <select name="authtypecode" id="authtype_all_headings">
142
            <option value="start">starts with</option>
155
                [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
143
            [% END %]
156
                [% FOREACH authority_type IN authority_types %]
144
            [% IF ( operator == 'exact' ) %]
157
                    [% IF authority_type.authtypecode == authtypecode %]
145
            <option value="exact" selected="selected">is exactly</option>
158
                    <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
146
            [% ELSE %]
159
                    [% ELSE %]
147
            <option value="exact">is exactly</option>
160
                    <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
148
            [% END %]
161
                    [% END %]
149
        </select>
162
                [% END %]
150
        <input id="value_matchheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
163
                </select>
151
        <select name="orderby">
164
152
            [% IF ( orderby == 'HeadingAsc' ) %]
165
                <input type="hidden" name="marclist" value="match" />
153
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
166
                <select name="operator">
154
            [% ELSE %]
167
                    [% IF ( operator == 'contains' ) %]
155
            <option value="HeadingAsc">Heading A-Z</option>
168
                    <option value="contains" selected="selected">contains</option>
156
            [% END %]
169
                    [% ELSE %]
157
            [% IF ( orderby == 'HeadingDsc' ) %]
170
                    <option value="contains">contains</option>
158
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
171
                    [% END %]
159
            [% ELSE %]
172
                    [% IF ( operator == 'start' ) %]
160
            <option value="HeadingDsc">Heading Z-A</option>
173
                    <option value="start" selected="selected">starts with</option>
161
            [% END %]
174
                    [% ELSE %]
162
            [% IF ( orderby == '' && op ) %]
175
                    <option value="start">starts with</option>
163
            <option value="" selected="selected">None</option>
176
                    [% END %]
164
            [% ELSE %]
177
                    [% IF ( operator == 'exact' ) %]
165
            <option value="">None</option>
178
                    <option value="exact" selected="selected">is exactly</option>
166
            [% END %]
179
                    [% ELSE %]
167
         </select>
180
                    <option value="exact">is exactly</option>
168
         <input type="submit" class="submit" value="Submit" />
181
                    [% END %]
169
    </form>
182
                </select>
183
184
                <input id="value_matchheading" type="text" name="value" value="[% value | html %]" placeholder="Enter any heading" />
185
            </p>
186
187
            <input type="submit" class="submit" id="submit" value="" />
188
        </form>
170
    </div>
189
    </div>
190
171
    <div id="entire_record" class="residentsearch">
191
    <div id="entire_record" class="residentsearch">
172
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
192
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
173
        <label class="tip" for="value_anywhere">Enter any authority field:</label>
193
174
        <input type="hidden" name="op" value="do_search" />
194
        <select name="orderby" class="haut">
175
        <input type="hidden" name="type" value="intranet" />
176
        <select name="authtypecode" id="authtype_entire_record">
177
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
178
        [% FOREACH authority_type IN authority_types %]
179
            [% IF authority_type.authtypecode == authtypecode %]
180
            <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
181
            [% ELSE %]
182
            <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
183
            [% END %]
184
        [% END %]
185
        </select>
186
        <input type="hidden" name="marclist" value="all" />
187
        <input type="hidden" name="and_or" value="and" />
188
        <input type="hidden" name="excluding" value="" />
189
        <select name="operator">
190
            [% IF ( operator == 'contains' ) %]
191
            <option value="contains" selected="selected">contains</option>
192
            [% ELSE %]
193
            <option value="contains">contains</option>
194
            [% END %]
195
            [% IF ( operator == 'start' ) %]
196
            <option value="start" selected="selected">starts with</option>
197
            [% ELSE %]
198
            <option value="start">starts with</option>
199
            [% END %]
200
            [% IF ( operator == 'exact' ) %]
201
            <option value="exact" selected="selected">is exactly</option>
202
            [% ELSE %]
203
            <option value="exact">is exactly</option>
204
            [% END %]
205
        </select>
206
        <input id="value_anywhere" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
207
        <select name="orderby">
208
            [% IF ( orderby == 'HeadingAsc' ) %]
195
            [% IF ( orderby == 'HeadingAsc' ) %]
209
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
196
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
210
            [% ELSE %]
197
            [% ELSE %]
Lines 221-235 Link Here
221
            <option value="">None</option>
208
            <option value="">None</option>
222
            [% END %]
209
            [% END %]
223
        </select>
210
        </select>
224
        <input type="submit" class="submit" value="Submit" />
211
212
        <p class="plusdessous" id="filters">
213
            <input type="hidden" name="op" value="do_search" />
214
            <input type="hidden" name="type" value="intranet" />
215
            <select name="authtypecode" id="authtype_entire_record">
216
            [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
217
            [% FOREACH authority_type IN authority_types %]
218
                [% IF authority_type.authtypecode == authtypecode %]
219
                <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
220
                [% ELSE %]
221
                <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
222
                [% END %]
223
            [% END %]
224
            </select>
225
226
            <input type="hidden" name="marclist" value="all" />
227
            <input type="hidden" name="and_or" value="and" />
228
            <input type="hidden" name="excluding" value="" />
229
            <select name="operator">
230
                [% IF ( operator == 'contains' ) %]
231
                <option value="contains" selected="selected">contains</option>
232
                [% ELSE %]
233
                <option value="contains">contains</option>
234
                [% END %]
235
                [% IF ( operator == 'start' ) %]
236
                <option value="start" selected="selected">starts with</option>
237
                [% ELSE %]
238
                <option value="start">starts with</option>
239
                [% END %]
240
                [% IF ( operator == 'exact' ) %]
241
                <option value="exact" selected="selected">is exactly</option>
242
                [% ELSE %]
243
                <option value="exact">is exactly</option>
244
                [% END %]
245
            </select>
246
247
            <input id="value_anywhere" type="text" name="value" value="[% value | html %]" placeholder="Enter any authority field" />
248
        </p>
249
250
        <input type="submit" class="submit" id="submit" value="" />
225
    </form>
251
    </form>
226
    </div>
252
    </div>
253
227
    <ul>
254
    <ul>
228
        <li><a class="keep_text" href="#mainmain_heading">Search main heading ($a only)</a></li>
255
        <li><a id="icon_1" title="Search main heading ($a only)" onclick="clique(this)" class="iconsearch" href="#mainmain_heading"><i style="font-weight:bold">$a</i></a></li>
229
        <li><a class="keep_text" href="#main_heading">Search main heading</a></li>
256
        <li><a id="icon_2" title="Search main heading" onclick="clique(this)" class="iconsearch" href="#main_heading"><i class="fa fa-upload"></i></a></li>
230
        <li><a class="keep_text" href="#matchheading_search">Search all headings</a></li>
257
        <li><a id="icon_3" title="Search all headings" onclick="clique(this)" class="iconsearch" href="#matchheading_search"><i class="fa fa-upload"></i></a></li>
231
        <li><a class="keep_text" href="#entire_record">Search entire record</a></li>
258
        <li><a id="icon_4" title="Search entire record" onclick="clique(this)" class="iconsearch" href="#entire_record"><i class="fa fa-upload"></i></a></li>
259
260
        <span id="button_1" class="buttonsearch active">Search main heading ($a only)</span>
261
        <span id="button_2" class="buttonsearch">Search main heading</span>
262
        <span id="button_3" class="buttonsearch">Search all headings</span>
263
        <span id="button_4" class="buttonsearch">Search entire record</span>
264
232
    </ul>
265
    </ul>
233
</div><!-- /header_search -->
266
</div><!-- /header_search -->
234
</div><!-- /gradient -->
267
268
<script type="text/javascript">
269
    function focusInput(){
270
        document.getElementsByClassName('head-searchbox').focus();
271
    }
272
273
    function toggle(elem){style="width: calc(301px);"
274
        var buttonssearch = document.getElementsByClassName('active');
275
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
276
            buttonssearch[i].classList.remove('active');
277
        }
278
279
        if(elem){
280
            elem.classList.add('active');
281
            fold();
282
        }else{//Back
283
            document.getElementById('button_1').classList.add('active');
284
            document.getElementById('header_search').classList.remove('fold');
285
            document.getElementsByClassName('head-searchbox').style = '';
286
        }
287
288
        focusInput();
289
    }
290
291
    function clique(elem){
292
        var buttonssearch = document.getElementsByClassName('buttonsearch');
293
        var iconssearch = document.getElementsByClassName('iconsearch');
294
        var inputssearch = document.getElementsByClassName('head-searchbox');
295
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
296
            buttonssearch[i].classList.remove('active');
297
            if (elem == iconssearch[i]){
298
                buttonssearch[i].classList.add('active');
299
            }
300
        }
301
302
        for (var i = inputssearch.length - 1; i >= 0; i--) {
303
            inputssearch[i].classList.remove('focus');
304
305
            if (elem == iconssearch[i]){
306
                inputssearch[i].classList.add('focus');
307
308
                taille(inputssearch[i])
309
            }
310
        }
311
312
        focusInput();
313
        fold();
314
    }
315
316
    function fold(){
317
        document.getElementById('header_search').classList.add('fold');
318
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
319
        setTimeout(
320
            function(){
321
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
322
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
323
            }
324
        , 250);
325
    }
326
327
    function taille(el){
328
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
329
        el.style = "width:calc(500px - "+offsetWidth+"px)";
330
    }
331
332
    $('.btn').click(function(){
333
    if($(this).hasClass('active')){
334
        $(this).removeClass('active')
335
    } else {
336
        $(this).addClass('active')
337
    }
338
});
339
340
</script>
235
<!-- End Authorities Resident Search Box -->
341
<!-- End Authorities Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc (-6 / +4 lines)
Lines 4-10 Link Here
4
    <div id="toolbar" class="btn-toolbar">
4
    <div id="toolbar" class="btn-toolbar">
5
        [% IF ( CAN_user_editauthorities ) %]
5
        [% IF ( CAN_user_editauthorities ) %]
6
            <div class="btn-group">
6
            <div class="btn-group">
7
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
7
                <button class="pat mot" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
8
                    <i class="fa fa-plus"></i> New authority
8
                    <i class="fa fa-plus"></i> New authority
9
                    <span class="caret"></span>
9
                    <span class="caret"></span>
10
                </button>
10
                </button>
Lines 16-24 Link Here
16
            </div>
16
            </div>
17
            [% IF servers.count > 0 %]
17
            [% IF servers.count > 0 %]
18
                <div class="btn-group">
18
                <div class="btn-group">
19
                    <button id="z3950_new" class="btn btn-default">
19
                    <button class="pat mot" id="z3950_new"><i class="fa fa-search"></i> New from Z39.50/SRU</button>
20
                        <i class="fa fa-search"></i> New from Z39.50/SRU
21
                    </button>
22
                </div>
20
                </div>
23
            [% END %]
21
            [% END %]
24
        [% END %]
22
        [% END %]
Lines 26-32 Link Here
26
        [% IF ( authid ) %]
24
        [% IF ( authid ) %]
27
            [% IF ( CAN_user_editauthorities ) %]
25
            [% IF ( CAN_user_editauthorities ) %]
28
                <div class="btn-group">
26
                <div class="btn-group">
29
                    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
27
                    <button class="pat mot" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
30
                        <i class="fa fa-pencil"></i> Edit <span class="caret"></span>
28
                        <i class="fa fa-pencil"></i> Edit <span class="caret"></span>
31
                    </button>
29
                    </button>
32
                    <ul class="dropdown-menu">
30
                    <ul class="dropdown-menu">
Lines 43-49 Link Here
43
            [% END %]
41
            [% END %]
44
42
45
            <div class="btn-group">
43
            <div class="btn-group">
46
                <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-download"></i> Save
44
                <a class="btn btn-default dropdown-toggle principal" data-toggle="dropdown" href="#"><i class="fa fa-download"></i> Save
47
                <span class="caret"></span>
45
                <span class="caret"></span>
48
                </a>
46
                </a>
49
                <ul class="dropdown-menu">
47
                <ul class="dropdown-menu">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authority-detail-modal.inc (-1 / +1 lines)
Lines 10-16 Link Here
10
                <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" />
10
                <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" />
11
            </div>
11
            </div>
12
            <div class="modal-footer">
12
            <div class="modal-footer">
13
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
13
                <button type="button" class="btn btn-default cancel" data-dismiss="modal">Close</button>
14
            </div>
14
            </div>
15
        </div>
15
        </div>
16
    </div>
16
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-1 / +3 lines)
Lines 2-8 Link Here
2
[% USE Biblio %]
2
[% USE Biblio %]
3
[% SET biblio_object_id = object || biblionumber || biblio.biblionumber %]
3
[% SET biblio_object_id = object || biblionumber || biblio.biblionumber %]
4
4
5
<div id="menu">
5
<div id="navmenu">
6
<div id="navmenulist">
6
<ul>
7
<ul>
7
    [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]
8
    [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]
8
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]">Normal</a></li>
9
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]">Normal</a></li>
Lines 46-48 Link Here
46
    [% END %]
47
    [% END %]
47
</ul>
48
</ul>
48
</div>
49
</div>
50
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc (-2 / +2 lines)
Lines 8-15 Link Here
8
           <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
8
           <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
9
        [% END %]
9
        [% END %]
10
        [% IF CAN_user_updatecharges_remaining_permissions %]
10
        [% IF CAN_user_updatecharges_remaining_permissions %]
11
            <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default btn-xs" >Make payment</a>
11
            <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default btn-xs" id="lientype" >Make payment</a>
12
            <a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default btn-xs" >Pay all charges</a></li>
12
            <a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default btn-xs" id="lientype" >Pay all charges</a></li>
13
        [% END %]
13
        [% END %]
14
    </li>
14
    </li>
15
[% END %]
15
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc (-3 / +3 lines)
Lines 41-47 Link Here
41
                        <td>[% d.created | $KohaDates %]</td>
41
                        <td>[% d.created | $KohaDates %]</td>
42
                        [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
42
                        [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
43
                            <td>
43
                            <td>
44
                                <a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% patron.borrowernumber | html %]&amp;borrower_debarment_id=[% d.borrower_debarment_id | html %]&amp;action=del">
44
                                <a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% patron.borrowernumber | html %]&amp;borrower_debarment_id=[% d.borrower_debarment_id | html %]&amp;action=del" id="lientype">
45
                                    <i class="fa fa-trash"></i> Remove
45
                                    <i class="fa fa-trash"></i> Remove
46
                                </a>
46
                                </a>
47
                            </td>
47
                            </td>
Lines 52-58 Link Here
52
        </table>
52
        </table>
53
    [% END %]
53
    [% END %]
54
    [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
54
    [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
55
        <p><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p>
55
        <p><a href="#" class="lientype" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p>
56
        <form method="post" action="/cgi-bin/koha/members/mod_debarment.pl" class="clearfix">
56
        <form method="post" action="/cgi-bin/koha/members/mod_debarment.pl" class="clearfix">
57
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
57
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
58
            <input type="hidden" name="action" value="add" />
58
            <input type="hidden" name="action" value="add" />
Lines 65-71 Link Here
65
                        <input name="expiration" id="rexpiration" size="20" value="" class="flatpickr" data-flatpickr-futuredate="true" type="text" />
65
                        <input name="expiration" id="rexpiration" size="20" value="" class="flatpickr" data-flatpickr-futuredate="true" type="text" />
66
                    </li>
66
                    </li>
67
                </ol>
67
                </ol>
68
            <fieldset class="action"><input type="submit" value="Add restriction" /> <a href="#" class="cancel" id="cancel_manual_restriction">Cancel</a></fieldset>
68
            <fieldset class="action"><input type="submit" class="principal" value="Add restriction" /> <a href="#" class="cancel" id="cancel_manual_restriction">Cancel</a></fieldset>
69
            </fieldset>
69
            </fieldset>
70
        </form>
70
        </form>
71
    [% END %]
71
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc (-1 / +1 lines)
Lines 1-6 Link Here
1
[%# To select all include with selectall = 1 %]
1
[%# To select all include with selectall = 1 %]
2
<div class="branchselector">
2
<div class="branchselector">
3
    <p><a href="#" id="checkall"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknone"> <i class="fa fa-remove"></i> Clear all</a></p>
3
    <p><a id="CheckAll" href="#" id="checkall"> <i class="fa fa-check"></i> Select all</a> | <a id="CheckNone" href="#" id="checknone"> <i class="fa fa-remove"></i> Clear all</a></p>
4
    <div class="branchgridrow">
4
    <div class="branchgridrow">
5
    [% FOREACH branch IN branches %]
5
    [% FOREACH branch IN branches %]
6
        <div class="branchgriditem">
6
        <div class="branchgriditem">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc (-1 / +1 lines)
Lines 6-12 Link Here
6
    <div class="dialog alert">
6
    <div class="dialog alert">
7
        <h3>No active currency is defined</h3>
7
        <h3>No active currency is defined</h3>
8
        [% IF CAN_user_acquisition_currencies_manage %]
8
        [% IF CAN_user_acquisition_currencies_manage %]
9
            <p><a href="/cgi-bin/koha/admin/currency.pl">Please specify an active currency.</a></p>
9
            <p><a id="lientype" href="/cgi-bin/koha/admin/currency.pl">Please specify an active currency.</a></p>
10
        [% ELSE %]
10
        [% ELSE %]
11
            <p>Your administrator must specify an active currency.</p>
11
            <p>Your administrator must specify an active currency.</p>
12
        [% END %]
12
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc (-35 / +108 lines)
Lines 1-41 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
2
[% USE Branches %]
3
<div class="gradient">
3
<div id="header_search" class="fold">
4
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Fund Admin Resident Search Box -->
4
5
5
    <div id="budgets_search" class="residentsearch">
6
    <div id="header_search">
6
        <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
7
        <div id="budgets_search" class="residentsearch">
7
            <input class="query focus" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" style="width:150px" placeholder="Fund code" />
8
            <p class="tip">Search funds:</p>
8
9
            <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
9
            <select name="filter_budgetbranch" id="filter_budgetbranch" class="focus" style="width:10em;position: relative;left: 170px;bottom: 3px;">
10
                <label for="filter_budgetname">Fund code: </label><input class="query" type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname | html %]" />
10
                <option disabled selected hidden>Library:</option>
11
                <label for="filter_budgetbranch">Library: </label>
11
                    [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
12
                <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
12
                        [% IF branchloo.selected %]
13
                    <option value=""></option>
13
                        <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
14
                        [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
14
                        [% ELSE %]
15
                            [% IF branchloo.selected %]
15
                        <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
16
                            <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
17
                            [% ELSE %]
18
                            <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
19
                            [% END %]
20
                        [% END %]
16
                        [% END %]
21
                </select>
17
                    [% END %]
22
              <input type="hidden"  name="budget_period_id" value="[% budget_period_id | html %]" />
18
            </select>
23
              <input type="submit" class="submit" name="filter" value="Submit" />
19
            <input type="hidden"  name="budget_period_id" value="[% budget_period_id | html %]" />
24
            </form>
20
            <input type="submit" class="submit" id="submit" name="filter" value="" />
25
        </div>
21
        </form>
26
27
        [% INCLUDE 'patron-search-box.inc' %]
28
        [% INCLUDE 'catalogue-search-box.inc' %]
29
30
        <ul>
31
            <li><a class="keep_text" href="#budgets_search">Search funds</a></li>
32
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
33
                <li><a class="keep_text" href="#circ_search">Check out</a></li>
34
            [% END %]
35
            [% IF ( CAN_user_catalogue ) %]
36
                <li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>
37
            [% END %]
38
        </ul>
39
    </div>
22
    </div>
23
24
    [% INCLUDE 'patron-search-box.inc' %]
25
26
    [% INCLUDE 'catalogue-search-box.inc' %]
27
28
    <ul id="taille">
29
        <li><a id="icon_1" title="Search funds" onclick="clique(this)" class="iconsearch" href="#budgets_search"><i class="fa fa-credit-card"></i></a></li>
30
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
31
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
32
33
        <span id="button_1" class="buttonsearch active">Search funds</span>
34
        <span id="button_2" class="buttonsearch">Check out</span>
35
        <span id="button_3" class="buttonsearch">Search catalog</span>
36
    </ul>
40
</div>
37
</div>
38
39
<script type="text/javascript">
40
    function focusInput(){
41
        document.getElementsByClassName('head-searchbox').focus();
42
    }
43
44
    function toggle(elem){style="width: calc(301px);"
45
        var buttonssearch = document.getElementsByClassName('active');
46
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
47
            buttonssearch[i].classList.remove('active');
48
        }
49
50
        if(elem){
51
            elem.classList.add('active');
52
            fold();
53
        }else{//Back
54
            document.getElementById('button_1').classList.add('active');
55
            document.getElementById('header_search').classList.remove('fold');
56
            document.getElementsByClassName('head-searchbox').style = '';
57
        }
58
59
        focusInput();
60
    }
61
62
    function clique(elem){
63
        var buttonssearch = document.getElementsByClassName('buttonsearch');
64
        var iconssearch = document.getElementsByClassName('iconsearch');
65
        var inputssearch = document.getElementsByClassName('head-searchbox');
66
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
67
            buttonssearch[i].classList.remove('active');
68
            if (elem == iconssearch[i]){
69
                buttonssearch[i].classList.add('active');
70
            }
71
        }
72
73
        for (var i = inputssearch.length - 1; i >= 0; i--) {
74
75
            if (elem == iconssearch[i]){
76
                inputssearch[i].classList.add('focus');
77
78
                taille(inputssearch[i])
79
            }
80
        }
81
82
        focusInput();
83
        fold();
84
    }
85
86
    function fold(){
87
        document.getElementById('header_search').classList.add('fold');
88
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
89
        setTimeout(
90
            function(){
91
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
92
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
93
            }
94
        , 250);
95
    }
96
97
    function taille(el){
98
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
99
        el.style = "width:calc(500px - "+offsetWidth+"px)";
100
    }
101
102
    $('.btn').click(function(){
103
    if($(this).hasClass('active')){
104
        $(this).removeClass('active')
105
    } else {
106
        $(this).addClass('active')
107
    }
108
});
109
110
</script>
111
112
<!-- /header_search -->
113
41
<!-- End Suggestions Resident Search Box -->
114
<!-- End Suggestions Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-toolbar.inc (-4 / +4 lines)
Lines 2-8 Link Here
2
<div id="toolbar" class="btn-toolbar">
2
<div id="toolbar" class="btn-toolbar">
3
    [% IF ( budget_period_id ) %]
3
    [% IF ( budget_period_id ) %]
4
        <div class="btn-group">
4
        <div class="btn-group">
5
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
5
            <button class="pat dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
6
                <ul class="dropdown-menu">
6
                <ul class="dropdown-menu">
7
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form">New budget</a></li>
7
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form">New budget</a></li>
8
                    [% IF ( budget_period_locked || !CAN_user_acquisition_budget_add_del ) %]
8
                    [% IF ( budget_period_locked || !CAN_user_acquisition_budget_add_del ) %]
Lines 18-24 Link Here
18
        </div>
18
        </div>
19
19
20
        <div class="btn-group">
20
        <div class="btn-group">
21
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
21
            <button class="pat dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
22
                <ul class="dropdown-menu">
22
                <ul class="dropdown-menu">
23
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&amp;budget_period_id=[% budget_period_id | uri %]">Edit budget [% budget_period_description | html %]</a></li>
23
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&amp;budget_period_id=[% budget_period_id | uri %]">Edit budget [% budget_period_description | html %]</a></li>
24
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=duplicate_form&amp;budget_period_id=[% budget_period_id | uri %]">Duplicate budget [% budget_period_description | html %]</a></li>
24
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=duplicate_form&amp;budget_period_id=[% budget_period_id | uri %]">Duplicate budget [% budget_period_description | html %]</a></li>
Lines 26-32 Link Here
26
        </div>
26
        </div>
27
27
28
        <div class="btn-group">
28
        <div class="btn-group">
29
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Planning <span class="caret"></span></button>
29
            <button class="pat dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Planning <span class="caret"></span></button>
30
                <ul class="dropdown-menu">
30
                <ul class="dropdown-menu">
31
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
31
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
32
                    <li>
32
                    <li>
Lines 59-65 Link Here
59
        </div>
59
        </div>
60
60
61
    [% ELSE %]
61
    [% ELSE %]
62
        <div class="btn-group"><a class="btn btn-default" id="newrootbudget" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form"><i class="fa fa-plus"></i> New budget</a></div>
62
        <div class="btn-group"><a class="pat" id="newrootbudget" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form"><i class="fa fa-plus"></i> New budget</a></div>
63
    [% END %]
63
    [% END %]
64
64
65
</div>
65
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-15 / +15 lines)
Lines 4-10 Link Here
4
4
5
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_serials_create_subscription ) %]
5
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_serials_create_subscription ) %]
6
    <div class="btn-group">
6
    <div class="btn-group">
7
    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
7
    <button class="pat dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
8
        <ul class="dropdown-menu">
8
        <ul class="dropdown-menu">
9
            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
9
            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
10
             <li><a id="newbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl">New record</a></li>
10
             <li><a id="newbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl">New record</a></li>
Lines 29-35 Link Here
29
29
30
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
30
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
31
    <div class="btn-group">
31
    <div class="btn-group">
32
    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
32
    <button class="pat dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
33
        <ul class="dropdown-menu">
33
        <ul class="dropdown-menu">
34
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
34
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
35
            <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]">Edit record</a></li>
35
            <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]">Edit record</a></li>
Lines 92-98 Link Here
92
[% END %]
92
[% END %]
93
93
94
    <div class="btn-group">
94
    <div class="btn-group">
95
    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Save <span class="caret"></span></button>
95
    <button class="pat dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Save <span class="caret"></span></button>
96
    <ul class="dropdown-menu">
96
    <ul class="dropdown-menu">
97
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=bibtex&amp;op=export&amp;bib=[% biblionumber | uri %]">BIBTEX</a></li>
97
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=bibtex&amp;op=export&amp;bib=[% biblionumber | uri %]">BIBTEX</a></li>
98
        <li><a href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
98
        <li><a href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
Lines 108-131 Link Here
108
    [% IF (Koha.Preference("intranetbookbag")) %]
108
    [% IF (Koha.Preference("intranetbookbag")) %]
109
        [% IF ( incart ) %]
109
        [% IF ( incart ) %]
110
            <div class="btn-group">
110
            <div class="btn-group">
111
                <a id="cart[% biblionumber | html %]" class="btn btn-default addtocart incart" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a>
111
                <a id="cart[% biblionumber | html %]" class="pat addtocart incart" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a>
112
            </div>
112
            </div>
113
            <div class="btn-group">
113
            <div class="btn-group">
114
                <a id="cartR[% biblionumber | html %]" class="btn btn-default cartRemove incart" href="#"><i class="fa fa-shopping-cart"></i> Remove from cart</a>
114
                <a id="cartR[% biblionumber | html %]" class="pat cartRemove incart" href="#"><i class="fa fa-shopping-cart"></i> Remove from cart</a>
115
            </div>
115
            </div>
116
        [% ELSE %]
116
        [% ELSE %]
117
            <div class="btn-group">
117
            <div class="btn-group">
118
                <a id="cart[% biblionumber | html %]" class="btn btn-default addtocart" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a>
118
                <a id="cart[% biblionumber | html %]" class="pat addtocart" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a>
119
            </div>
119
            </div>
120
            <div class="btn-group">
120
            <div class="btn-group">
121
                <a id="cartR[% biblionumber | html %]" class="btn btn-default cartRemove" href="#"><i class="fa fa-shopping-cart"></i> Remove from cart</a>
121
                <a id="cartR[% biblionumber | html %]" class="pat cartRemove" href="#"><i class="fa fa-shopping-cart"></i> Remove from cart</a>
122
            </div>
122
            </div>
123
        [% END %]
123
        [% END %]
124
    [% END %]
124
    [% END %]
125
125
126
    [% IF Koha.Preference('virtualshelves') %]
126
    [% IF Koha.Preference('virtualshelves') %]
127
        <div class="btn-group">
127
        <div class="btn-group">
128
            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
128
            <button type="button" class="pat dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
129
                <i class="fa fa-list"></i> Add to list <span class="caret"></span>
129
                <i class="fa fa-list"></i> Add to list <span class="caret"></span>
130
            </button>
130
            </button>
131
            <ul class="dropdown-menu">
131
            <ul class="dropdown-menu">
Lines 168-181 Link Here
168
        </div>
168
        </div>
169
    [% END # /IF virtualshelves %]
169
    [% END # /IF virtualshelves %]
170
170
171
    <div class="btn-group"><a id="printbiblio" class="btn btn-default"><i class="fa fa-print"></i> Print</a></div>
171
    <div class="btn-group"><a id="printbiblio" class="pat"><i class="fa fa-print"></i> Print</a></div>
172
172
173
[% IF ( CAN_user_reserveforothers ) %]
173
[% IF ( CAN_user_reserveforothers ) %]
174
    [% SET items = biblio.items %]
174
    [% SET items = biblio.items %]
175
    [% IF Context.Scalar(Context.Scalar(items, "filter_by_for_hold"), "count") %]
175
    [% IF Context.Scalar(Context.Scalar(items, "filter_by_for_hold"), "count") %]
176
        [% IF ( holdfor ) %]
176
        [% IF ( holdfor ) %]
177
            <div class="btn-group">
177
            <div class="btn-group">
178
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
178
                <button class="pat dropdown-toggle" data-toggle="dropdown">
179
                    <i class="fa fa-sticky-note-o"></i>
179
                    <i class="fa fa-sticky-note-o"></i>
180
                    Place hold
180
                    Place hold
181
                    <span class="caret"></span>
181
                    <span class="caret"></span>
Lines 186-204 Link Here
186
                </ul>
186
                </ul>
187
            </div>
187
            </div>
188
        [% ELSE %]
188
        [% ELSE %]
189
            <div class="btn-group"><a id="placehold" class="btn btn-default" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | html %]"><i class="fa fa-sticky-note-o"></i> Place hold</a></div>
189
            <div class="btn-group"><a id="placehold" class="pat" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | html %]"><i class="fa fa-sticky-note-o"></i> Place hold</a></div>
190
        [% END %]
190
        [% END %]
191
    [% END %]
191
    [% END %]
192
[% END %]
192
[% END %]
193
193
194
[% IF Koha.Preference('ArticleRequests') %]
194
[% IF Koha.Preference('ArticleRequests') %]
195
    <div class="btn-group"><a id="placehold" class="btn btn-default" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber | html %]"><i class="fa fa-file-text-o"></i> Request article</a></div>
195
    <div class="btn-group"><a id="placehold" class="pat" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber | html %]"><i class="fa fa-file-text-o"></i> Request article</a></div>
196
[% END %]
196
[% END %]
197
197
198
[% IF ( CAN_user_acquisition_order_manage ) %]
198
[% IF ( CAN_user_acquisition_order_manage ) %]
199
    [% IF ( searchtoorder_basketno && searchtoorder_vendorid ) %]
199
    [% IF ( searchtoorder_basketno && searchtoorder_vendorid ) %]
200
        <div class="btn-group">
200
        <div class="btn-group">
201
            <a class="btn btn-default" href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% searchtoorder_vendorid | uri %]&amp;basketno=[% searchtoorder_basketno | uri %]&amp;biblionumber=[% biblionumber | uri %]"><i class="fa fa-shopping-basket"></i> Add order</a>
201
            <a class="pat" href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% searchtoorder_vendorid | uri %]&amp;basketno=[% searchtoorder_basketno | uri %]&amp;biblionumber=[% biblionumber | uri %]"><i class="fa fa-shopping-basket"></i> Add order</a>
202
        </div>
202
        </div>
203
    [% END %]
203
    [% END %]
204
[% END %]
204
[% END %]
Lines 232-243 Link Here
232
            </fieldset>
232
            </fieldset>
233
        </div>
233
        </div>
234
        <div class="modal-footer">
234
        <div class="modal-footer">
235
            <button type="submit" class="btn btn-default">Export</button>
235
            <button type="submit" class="principal">Export</button>
236
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
236
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
237
        </div>
237
        </div>
238
        <input type="hidden" name="op" value="export" />
238
        <input type="hidden" name="op" value="export" />
239
        <input type="hidden" name="bib" value="[% biblionumber | html %]" />
239
        <input type="hidden" name="bib" value="[% biblionumber | html %]" />
240
        </form>
240
        </form>
241
        </div>
241
        </div>
242
        </div>
243
    </div>
242
    </div>
243
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc (-36 / +82 lines)
Lines 1-43 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
[% PROCESS 'html_helpers.inc' %]
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Cataloging Resident Search Box -->
3
[% PROCESS 'patronfields.inc' %]
4
    <div id="header_search">
4
<!-- Begin Patrons Resident Search Box -->
5
6
<div id="header_search" class="fold">
7
8
    <div>
5
        <div id="addbooks_search" class="residentsearch">
9
        <div id="addbooks_search" class="residentsearch">
6
            <form name="search" action="addbooks.pl">
10
            <form name="search" action="addbooks.pl">
7
                <label class="tip" for="cat_search">Search the catalog and the reservoir:</label>
11
                <input class="head-searchbox focus" type="text" name="q" id="cat_search" placeholder="Search the catalog and the reservoir" />
8
                <input class="head-searchbox" type="text" name="q" id="cat_search" size="40" />
12
                <input type="submit" id="submit" value="" />
9
                <input type="submit" class="submit" value="Submit" />
10
            </form>
13
            </form>
11
        </div>
14
        </div>
12
15
13
        [% INCLUDE 'patron-search-box.inc' %]
16
    [% INCLUDE 'patron-search-box.inc' %]
14
17
15
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
18
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
16
        <div id="checkin_search" class="residentsearch">
19
    <div id="checkin_search" class="residentsearch">
17
            <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
20
        <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
18
                <label class="tip" for="ret_barcode">Scan a barcode to check in:</label>
21
            <input class="head-searchbox focus" name="barcode" id="ret_barcode" accesskey="r" type="text" placeholder="Scan a barcode to check in" />
19
                <input class="head-searchbox" type="text" name="barcode" id="ret_barcode" size="40" />
22
            <input value="" type="submit" id="submit" />
20
                <input value="Submit" class="submit" type="submit" />
23
        </form>
21
            </form>
24
    </div>
22
        </div>
25
23
        <div id="renew_search" class="residentsearch">
26
    <div id="renew_search" class="residentsearch">
24
            <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
27
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
25
                <label class="tip" for="ren_barcode">Scan a barcode to renew:</label>
28
            <input class="head-searchbox focus" name="barcode" id="ren_barcode" type="text" placeholder="Scan a barcode to renew" />
26
                <input class="head-searchbox" type="text" name="barcode" id="ren_barcode" size="40" />
29
            <input value="" type="submit" id="submit" />
27
                <input value="Submit" class="submit" type="submit" />
30
        </form>
28
            </form>
31
    </div>
29
        </div>
32
    [% END %]
30
        [% END %]
33
31
34
    [% INCLUDE 'catalogue-search-box.inc' %]
32
        [% INCLUDE 'catalogue-search-box.inc' %]
35
33
36
    <ul id="taille">
34
        <ul>
37
        <li><a id="icon_1" title="Search patrons" onclick="clique(this)" class="iconsearch" href="#addbooks_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>[% END %]
35
            <li><a class="keep_text" href="#addbooks_search">Cataloging search</a></li>
38
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="button_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
36
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
39
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="button_3" title="Check in" onclick="clique(this)" class="iconsearch" href="#checkin_search"><i class="fa fa-download"></i></a></li>[% END %]
37
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
40
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_4" title="Renew" onclick="clique(this)" class="iconsearch" href="#renew_search"><i class="fa fa-retweet"></i></a></li>[% END %]
38
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
41
        <li><a id="icon_5" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
39
            <li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>
42
40
        </ul>
43
        <span id="button_1" class="buttonsearch">Cataloging search</span>
41
    </div><!-- /header_search -->
44
        <span id="button_2" class="buttonsearch active">Check out</span>
42
</div><!-- /gradient -->
45
        <span id="button_3" class="buttonsearch">Check in</span>
43
<!-- End Cataloging Resident Search Box -->
46
        <span id="button_4" class="buttonsearch">Renew</span>
47
        <span id="button_5" class="buttonsearch">Search catalog</span>
48
    </ul>
49
</div>
50
51
<script type="text/javascript">
52
    function focusInput(){
53
        document.getElementById('inputsearch').focus();
54
    }
55
56
    function toggle(elem){
57
        var buttonssearch = document.getElementsByClassName('active');
58
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
59
            buttonssearch[i].classList.remove('active');
60
        }
61
62
        if(elem){
63
            elem.classList.add('active');
64
            fold();
65
        }else{//Back
66
            document.getElementById('button_1').classList.add('active');
67
            document.getElementById('containersearch').classList.remove('fold');
68
            document.getElementById('inputsearch').style = '';
69
        }
70
        
71
        focusInput();
72
    }
73
74
    function fold(){
75
        
76
        document.getElementById('containersearch').classList.add('fold');
77
        // document.getElementById('inputsearch').style = "width:calc(500px - 100px)";		
78
        setTimeout(
79
            function(){
80
                var offsetWidth = document.getElementById('buttonssearch').offsetWidth +5;
81
                document.getElementById('inputsearch').style = "width:calc(500px - "+offsetWidth+"px)";		
82
            }
83
        , 250);
84
    }
85
86
</script>
87
88
<!-- /header_search -->
89
<!-- End Main page Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc (-3 / +2 lines)
Lines 1-12 Link Here
1
[% IF ( CAN_user_catalogue ) %]
1
[% IF ( CAN_user_catalogue ) %]
2
    <div id="catalog_search" class="residentsearch">
2
    <div id="catalog_search" class="residentsearch">
3
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
3
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
4
            <label class="tip" for="search-form">Enter search keywords:</label>
5
                [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
4
                [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
6
                    [% INCLUDE 'search_indexes.inc' %]
5
                    [% INCLUDE 'search_indexes.inc' %]
7
                [% END %]
6
                [% END %]
8
            <input type="text" name="q" id="search-form" size="40" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="query form-text head-searchbox" />
7
            <input type="text" name="q" id="search-form" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="query form-text head-searchbox focus" placeholder='Enter search keywords' />
9
            <input type="submit" value="Submit"  class="submit" />
8
            <input value="" type="submit" id="submit" />
10
        </form>
9
        </form>
11
    </div>
10
    </div>
12
[% END %]
11
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc (-2 / +3 lines)
Lines 1-4 Link Here
1
    <li>
1
<li>
2
    <span class="circ-hlt">Patron's age is incorrect for their category.</span>
2
    <span class="circ-hlt">Patron's age is incorrect for their category.</span>
3
    Ages allowed are [% age_low | html %]-[% age_high | html %].
3
    Ages allowed are [% age_low | html %]-[% age_high | html %].
4
    <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | uri %]&amp;step=3" class="btn btn-default btn-xs">Change category</a></li>
4
    <a id="lientype" href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | uri %]&amp;step=3" class="btn btn-default btn-xs">Change category</a>
5
</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/chart.inc (-2 / +2 lines)
Lines 102-109 Link Here
102
                [% header_row.unshift(item) | html %]
102
                [% header_row.unshift(item) | html %]
103
            </div>
103
            </div>
104
            <div class="modal-footer">
104
            <div class="modal-footer">
105
                <button id="draw-chart" class="btn btn-default">Draw</button>
105
                <button id="draw-chart" class="btn btn-default lientype">Draw</button>
106
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
106
                <button type="button" class="btn btn-default cancel" data-dismiss="modal">Close</button>
107
            </div>
107
            </div>
108
        </div>
108
        </div>
109
    </div>
109
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc (-22 / +105 lines)
Lines 1-26 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<!-- Begin Main page Resident Search Box -->
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Checkin Resident Search Box -->
3
4
<div id="header_search">
4
<div id="header_search" class="fold">
5
[% INCLUDE 'patron-search-box.inc' %]
5
6
6
    [% INCLUDE 'patron-search-box.inc' %]
7
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
<div id="renew_search" class="residentsearch">
9
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
10
        <label class="tip" for="ren_barcode">Scan a barcode to renew:</label>
11
        <input class="head-searchbox" type="text" name="barcode" id="ren_barcode" size="40" />
12
        <input value="Submit" class="submit" type="submit" />
13
    </form>
14
</div>
15
[% END %]
16
7
17
[% INCLUDE 'catalogue-search-box.inc' %]
8
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
18
<ul>
9
    <div id="renew_search" class="residentsearch">
19
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
10
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
20
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
11
            <input class="head-searchbox focus" type="text" name="barcode" id="ren_barcode" placeholder="Scan a barcode to renew:" />
21
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
12
            <input value="Submit" id="submit" type="submit" />
22
</ul>   
13
        </form>
14
    </div>
15
    [% END %]
23
16
17
    [% INCLUDE 'catalogue-search-box.inc' %]
18
19
    <ul id="taille">
20
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_1" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
21
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Renew" onclick="clique(this)" class="iconsearch" href="#renew_search"><i class="fa fa-retweet"></i></a></li>[% END %]
22
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
23
24
        <span id="button_1" class="buttonsearch active">Check out</span>
25
        <span id="button_2" class="buttonsearch">Renew</span>
26
        <span id="button_3" class="buttonsearch">Search catalog</span>
27
    </ul>
24
</div>
28
</div>
25
</div><!-- /gradient -->
29
26
<!-- End Checkin Resident Search Box -->
30
31
<script type="text/javascript">
32
    function focusInput(){
33
        document.getElementsByClassName('head-searchbox').focus();
34
    }
35
36
    function toggle(elem){style="width: calc(301px);"
37
        var buttonssearch = document.getElementsByClassName('active');
38
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
39
            buttonssearch[i].classList.remove('active');
40
        }
41
42
        if(elem){
43
            elem.classList.add('active');
44
            fold();
45
        }else{//Back
46
            document.getElementById('button_1').classList.add('active');
47
            document.getElementById('header_search').classList.remove('fold');
48
            document.getElementsByClassName('head-searchbox').style = '';
49
        }
50
        
51
        focusInput();
52
    }
53
54
    function clique(elem){
55
        var buttonssearch = document.getElementsByClassName('buttonsearch');
56
        var iconssearch = document.getElementsByClassName('iconsearch');
57
        var inputssearch = document.getElementsByClassName('head-searchbox');
58
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
59
            buttonssearch[i].classList.remove('active');
60
            if (elem == iconssearch[i]){
61
                buttonssearch[i].classList.add('active');
62
            }
63
        }
64
65
        for (var i = inputssearch.length - 1; i >= 0; i--) {
66
            inputssearch[i].classList.remove('focus');
67
68
            if (elem == iconssearch[i]){
69
                inputssearch[i].classList.add('focus');
70
71
                taille(inputssearch[i])
72
            }
73
        }
74
75
        focusInput();
76
        fold();
77
    }
78
79
    function fold(){
80
        document.getElementById('header_search').classList.add('fold');
81
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";		
82
        setTimeout(
83
            function(){
84
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
85
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";		
86
            }
87
        , 250);
88
    }
89
90
    function taille(el){
91
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
92
        el.style = "width:calc(500px - "+offsetWidth+"px)";
93
    }
94
95
    $('.btn').click(function(){
96
    if($(this).hasClass('active')){
97
        $(this).removeClass('active')
98
    } else {
99
        $(this).addClass('active')
100
    }
101
});
102
103
104
105
</script>
106
107
<!-- /header_search -->
108
<!-- End Main page Resident Search Box -->
109
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc (-5 / +5 lines)
Lines 3-9 Link Here
3
    [% IF ( issuecount ) %]
3
    [% IF ( issuecount ) %]
4
        <div id="issues-table-loading-message">
4
        <div id="issues-table-loading-message">
5
            <p>
5
            <p>
6
                <a id="issues-table-load-now-button" href="#" class="btn btn-default"><i class="fa fa-book"></i> Show checkouts</a>
6
                <a id="issues-table-load-now-button" href="#" class="btn btn-default lientype"><i class="fa fa-book"></i> Show checkouts</a>
7
            </p>
7
            </p>
8
        </div>
8
        </div>
9
        <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post">
9
        <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post">
Lines 53-60 Link Here
53
                            <label id="renew_as_unseen_label" for="override_limit">Renew as &quot;unseen&quot; if appropriate:</label>
53
                            <label id="renew_as_unseen_label" for="override_limit">Renew as &quot;unseen&quot; if appropriate:</label>
54
                            <input type="checkbox" name="renew_as_unseen" id="renew_as_unseen_checkbox" value="1" />
54
                            <input type="checkbox" name="renew_as_unseen" id="renew_as_unseen_checkbox" value="1" />
55
                        [% END %]
55
                        [% END %]
56
                        <button class="btn btn-default" id="RenewCheckinChecked"><i class="fa fa-check"></i> Renew or check in selected items</button>
56
                        <button class="btn btn-default principal" id="RenewCheckinChecked"><i class="fa fa-check"></i> Renew or check in selected items</button>
57
                        <button class="btn btn-default" id="RenewAll"><i class="fa fa-book"></i> Renew all</button>
57
                        <button class="btn btn-default principal" id="RenewAll"><i class="fa fa-book"></i> Renew all</button>
58
                    [% END %]
58
                    [% END %]
59
                </fieldset>
59
                </fieldset>
60
60
Lines 81-87 Link Here
81
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
81
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
82
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
82
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
83
                        <input type="hidden" id="record_type" name="record_type" value="bibs" />
83
                        <input type="hidden" id="record_type" name="record_type" value="bibs" />
84
                        <button class="btn btn-default btn-sm" id="export_submit"><i class="fa fa-download"></i> Export</button>
84
                        <button class="btn btn-default btn-sm principal" id="export_submit"><i class="fa fa-download"></i> Export</button>
85
                    </fieldset>
85
                    </fieldset>
86
                [% END %]
86
                [% END %]
87
            </div>
87
            </div>
Lines 121-127 Link Here
121
          <input type="hidden" id="claims-returned-itemnumber" />
121
          <input type="hidden" id="claims-returned-itemnumber" />
122
      </div>
122
      </div>
123
      <div class="modal-footer">
123
      <div class="modal-footer">
124
        <button id="claims-returned-modal-btn-submit" type="button" class="btn btn-primary"><i class="fa fa-exclamation-circle"></i> Make claim</button>
124
        <button id="claims-returned-modal-btn-submit" type="button" class="btn btn-primary principal"><i class="fa fa-exclamation-circle"></i> Make claim</button>
125
        <button class="btn btn-default deny cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
125
        <button class="btn btn-default deny cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
126
      </div>
126
      </div>
127
    </div>
127
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-76 / +92 lines)
Lines 10-38 Link Here
10
[% ELSIF ( patron_is_staff ) %]
10
[% ELSIF ( patron_is_staff ) %]
11
    [% patron_type_class = 'is-staff' %]
11
    [% patron_type_class = 'is-staff' %]
12
[% END %]
12
[% END %]
13
<div class="patroninfo [% patron_type_class | html %]">
14
13
15
[% IF ( patronimages ) %]
14
<div id="filters">
15
<div class="patroninfo [% patron_type_class | html %]">
16
    [% IF ( patronimages ) %]
16
    <h5 class="text-center">
17
    <h5 class="text-center">
17
[% ELSE %]
18
    [% ELSE %]
18
    <h5>
19
    <h5>
19
[% END %]
20
    [% END %]
21
20
        [% IF ( patron_is_staff ) %]
22
        [% IF ( patron_is_staff ) %]
21
            <i class="fa fa-shield fa-fw" title="Staff patron"></i>
23
        <i class="fa fa-shield fa-fw" title="Staff patron"></i>
22
        [% END %]
24
        [% END %]
25
23
        [% IF ( patron_is_superlibrarian ) %]
26
        [% IF ( patron_is_superlibrarian ) %]
24
            <i class="fa fa-bolt fa-fw" title="Superlibrarian patron"></i>
27
        <i class="fa fa-bolt fa-fw" title="Superlibrarian patron"></i>
25
        [% END %]
28
        [% END %]
29
26
        [% INCLUDE 'patron-title.inc' %]
30
        [% INCLUDE 'patron-title.inc' %]
31
32
        [% IF ( patron.dateofbirth ) %]
33
        <li class="patrondateofbirth">
34
            [% INCLUDE 'patron-age.inc' %]
35
        </li>
36
        [% END %]
37
        
27
    </h5>
38
    </h5>
28
39
29
[% IF Koha.Preference('showLastPatron') %]
40
    [% IF Koha.Preference('showLastPatron') %]
30
    <input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]">
41
    <input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]">
31
    <input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]">
42
    <input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]">
32
    <input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]">
43
    <input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]">
33
[% END %]
44
    [% END %]
34
45
35
[% IF ( patronimages ) %]
46
    [% IF ( patronimages ) %]
36
    <div>
47
    <div>
37
        <div class="patronimage-container">
48
        <div class="patronimage-container">
38
            [% IF ( patron.image ) %]
49
            [% IF ( patron.image ) %]
Lines 48-104 Link Here
48
            [% END %]
59
            [% END %]
49
        </div>
60
        </div>
50
    </div>
61
    </div>
51
[% END %]
62
    [% END %]
52
63
53
<ul class="patronbriefinfo">
64
    <ul class="patronbriefinfo">
54
    [% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %]
65
        [% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %]
55
        [% PROCESS 'display-address-style' %]
66
        [% PROCESS 'display-address-style' %]
56
67
57
        [% IF ( patron.phone || patron.mobile || patron.phonepro ) %]<li class="patronphone">
68
        [% IF ( patron.phone || patron.mobile || patron.phonepro ) %]<li class="patronphone">
69
        
58
        [% IF ( patron.phone ) %]
70
        [% IF ( patron.phone ) %]
59
            <a href="tel:[% patron.phone | url %]">[% patron.phone | html %]</a>
71
        <a href="tel:[% patron.phone | url %]">[% patron.phone | html %]</a>
60
        [% ELSE %]
72
        [% ELSE %]
61
            [% IF ( patron.mobile ) %]
73
            [% IF ( patron.mobile ) %]
62
                <a href="tel:[% patron.mobile | url %]">[% patron.mobile | html %]</a>
74
            <a href="tel:[% patron.mobile | url %]">[% patron.mobile | html %]</a>
63
            [% ELSE %]
75
            [% ELSE %]
64
                [% IF ( patron.phonepro ) %]
76
                [% IF ( patron.phonepro ) %]
65
                    <a href="tel:[% patron.phonepro | url %]">[% patron.phonepro | html %]</a>
77
                <a href="tel:[% patron.phonepro | url %]">[% patron.phonepro | html %]</a>
66
                [% END %]
78
                [% END %]
67
            [% END %]
79
            [% END %]
68
        [% END %]</li>[% END %]
80
        [% END %]</li>[% END %]
81
69
        [% IF ( patron.email ) %]
82
        [% IF ( patron.email ) %]
70
            <li class="email"> <a href="mailto:[% patron.email | url %]" title="[% patron.email | html %]">[% patron.email | html %]</a></li>
83
        <li class="email"> <a href="mailto:[% patron.email | url %]" title="[% patron.email | html %]">[% patron.email | html %]</a></li>
71
        [% ELSE %]
84
        [% ELSE %]
72
            [% IF ( patron.emailpro ) %]
85
            [% IF ( patron.emailpro ) %]
73
                <li class="email"> <a href="mailto:[% patron.emailpro | url %]" title="[% patron.emailpro | html %]">[% patron.emailpro | html %]</a></li>
86
            <li class="email"> <a href="mailto:[% patron.emailpro | url %]" title="[% patron.emailpro | html %]">[% patron.emailpro | html %]</a></li>
74
            [% END %]
87
            [% END %]
75
        [% END %]
88
        [% END %]
76
        [% IF ( patron.dateofbirth ) %]
89
77
            <li class="patrondateofbirth">
90
        
78
                <span>Born:</span>
79
                [% INCLUDE 'patron-age.inc' %]
80
            </li>
81
        [% END %]
82
91
83
        [% UNLESS ( patron.address or patron.address2 ) %]
92
        [% UNLESS ( patron.address or patron.address2 ) %]
84
            <li><span class="empty" id="noaddressstored">No address stored.</span></li>
93
        <li><span class="empty" id="noaddressstored">No address stored.</span></li>
85
        [% END %]
94
        [% END %]
86
        [% UNLESS ( patron.city ) %]
95
        [% UNLESS ( patron.city ) %]
87
            <li><span class="empty" id="nocitystored">No city stored.</span></li>
96
        <li><span class="empty" id="nocitystored">No city stored.</span></li>
88
        [% END %]
97
        [% END %]
98
89
        [% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %]
99
        [% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %]
90
            <li> <span class="empty">No phone stored.</span></li>
100
        <li> <span class="empty">No phone stored.</span></li>
91
        [% END %]
101
        [% END %]
102
92
        [% UNLESS ( patron.email or patron.emailpro) %]
103
        [% UNLESS ( patron.email or patron.emailpro) %]
93
            <li> <span class="empty">No email stored.</span></li>
104
        <li> <span class="empty">No email stored.</span></li>
94
        [% END %]
105
        [% END %]
106
95
        [% UNLESS ( patron.dateofbirth ) %]
107
        [% UNLESS ( patron.dateofbirth ) %]
96
            <li> <span class="empty">No date of birth stored.</span></li>
108
        <li> <span class="empty">No date of birth stored.</span></li>
109
        [% END %]
97
        [% END %]
110
        [% END %]
98
111
99
    [% END %]
112
        [% IF Koha.Preference('ExtendedPatronAttributes') %]
100
101
    [% IF Koha.Preference('ExtendedPatronAttributes') %]
102
        [% FOREACH extendedattribute IN patron.extended_attributes %]
113
        [% FOREACH extendedattribute IN patron.extended_attributes %]
103
            [% IF ( extendedattribute.type.display_checkout ) %] [%# FIXME We should filter in the line above %]
114
            [% IF ( extendedattribute.type.display_checkout ) %] [%# FIXME We should filter in the line above %]
104
                [% IF ( extendedattribute.attribute ) %] [%# FIXME Why that? why not if == 0? %]
115
                [% IF ( extendedattribute.attribute ) %] [%# FIXME Why that? why not if == 0? %]
Lines 108-167 Link Here
108
                [% END %]
119
                [% END %]
109
            [% END %]
120
            [% END %]
110
        [% END %]
121
        [% END %]
111
    [% END %]
122
        [% END %]
112
    <li class="patroncategory">Category: [% patron.category.description | html %] ([% patron.categorycode | html %])</li>
123
113
    <li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) | html %]</li>
124
        <li class="patroncategory">Category: [% patron.category.description | html %] ([% patron.categorycode | html %])</li>
114
    <li class="patronborrowernumber">Borrowernumber: [% patron.borrowernumber | html %]</li>
125
        <li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) | html %]</li>
115
    <li><span class="patronupdatedon">Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]</span></li>
126
        <li class="patronborrowernumber">Borrowernumber: [% patron.borrowernumber | html %]</li>
116
    [% IF patron.account_locked %]
127
        <li><span class="patronupdatedon">Updated on [% patron.updated_on | $KohaDates with_hours => 1 %]</span></li>
128
        
129
        [% IF patron.account_locked %]
117
        [% IF patron.login_attempts < 0 %]
130
        [% IF patron.login_attempts < 0 %]
118
            <li class="blocker account_admin_locked">Account has been administratively locked</li>
131
            <li class="blocker account_admin_locked">Account has been administratively locked</li>
119
        [% ELSE %]
132
        [% ELSE %]
120
            <li class="blocker account_locked">Account has been locked</li>
133
            <li class="blocker account_locked">Account has been locked</li>
121
        [% END %]
134
        [% END %]
122
    [% END %]
123
  </ul></div>
124
<div id="menu">
125
<ul>
126
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
127
        [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]">Check out</a></li>
128
        [% IF Koha.Preference('BatchCheckouts') && Koha.Preference('BatchCheckoutsValidCategories').split(',').grep('^' _ patron.categorycode _ '$').size > 0 %]
129
          [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;batch=1">Batch check out</a></li>
130
        [% END %]
135
        [% END %]
131
    [% END %]
136
    </ul>
132
    [% IF CAN_user_borrowers_edit_borrowers %]
137
</div>
133
        [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">Details</a></li>
138
134
    [% END %]
139
<div id="navmenulist">
135
    [% IF ( CAN_user_updatecharges_remaining_permissions ) %]
140
    <ul>
136
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]">Accounting</a></li>
141
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
137
    [% END %]
142
            [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]">Check out</a></li>
138
    [% IF ( CAN_user_circulate_circulate_remaining_permissions  )  %]
143
            [% IF Koha.Preference('BatchCheckouts') && Koha.Preference('BatchCheckoutsValidCategories').split(',').grep('^' _ patron.categorycode _ '$').size > 0 %]
139
        [% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% patron.borrowernumber | uri %]">Routing lists</a></li>[% END %]
144
            [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;batch=1">Batch check out</a></li>
140
    [% END %]
145
            [% END %]
141
    [% IF CAN_user_borrowers_edit_borrowers %]
142
        [% IF ( intranetreadinghistory ) %]
143
            [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber | uri %]">Circulation history</a></li>
144
        [% END %]
146
        [% END %]
145
    [% END %]
147
        [% IF CAN_user_borrowers_edit_borrowers %]
146
    [% IF CAN_user_borrowers_edit_borrowers %]
148
            [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">Details</a></li>
147
        [% IF ( intranetreadinghistory ) %]
148
            [% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber | uri %]">Holds history</a></li>
149
        [% END %]
149
        [% END %]
150
    [% END %]
150
        [% IF ( CAN_user_updatecharges_remaining_permissions ) %]
151
    [% IF ( CAN_user_tools_view_system_logs ) %]
151
            [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]">Accounting</a></li>
152
        [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=MEMBERS&amp;modules=CIRCULATION&amp;object=[% patron.borrowernumber | uri %]&amp;src=circ">Modification log</a></li>
152
        [% END %]
153
    [% END %]
153
        [% IF ( CAN_user_circulate_circulate_remaining_permissions  )  %]
154
    [% IF CAN_user_borrowers_edit_borrowers %]
154
            [% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% patron.borrowernumber | uri %]">Routing lists</a></li>[% END %]
155
    [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber | uri %]">Notices</a></li>
155
        [% END %]
156
    [% END %]
156
        [% IF CAN_user_borrowers_edit_borrowers %]
157
    [% IF CAN_user_borrowers_edit_borrowers %]
157
            [% IF ( intranetreadinghistory ) %]
158
        [% IF (  statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber | uri %]">Statistics</a></li>
158
                [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber | uri %]">Circulation history</a></li>
159
    [% END %]
159
            [% END %]
160
    [% IF CAN_user_borrowers_edit_borrowers %]
160
        [% END %]
161
        [% IF ( EnableBorrowerFiles ) %]
161
        [% IF CAN_user_borrowers_edit_borrowers %]
162
            [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]">Files</a></li>
162
            [% IF ( intranetreadinghistory ) %]
163
                [% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber | uri %]">Holds history</a></li>
164
            [% END %]
165
        [% END %]
166
        [% IF ( CAN_user_tools_view_system_logs ) %]
167
            [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=MEMBERS&amp;modules=CIRCULATION&amp;object=[% patron.borrowernumber | uri %]&amp;src=circ">Modification log</a></li>
168
        [% END %]
169
        [% IF CAN_user_borrowers_edit_borrowers %]
170
        [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber | uri %]">Notices</a></li>
171
        [% END %]
172
        [% IF CAN_user_borrowers_edit_borrowers %]
173
            [% IF (  statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber | uri %]">Statistics</a></li>
174
        [% END %]
175
        [% IF CAN_user_borrowers_edit_borrowers %]
176
            [% IF ( EnableBorrowerFiles ) %]
177
                [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]">Files</a></li>
178
            [% END %]
163
        [% END %]
179
        [% END %]
164
    [% END %]
165
180
166
    [% IF CAN_user_suggestions_suggestions_manage %]
181
    [% IF CAN_user_suggestions_suggestions_manage %]
167
        [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber | uri %]">Purchase suggestions</a></li>
182
        [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber | uri %]">Purchase suggestions</a></li>
Lines 179-184 Link Here
179
        [% IF recallsview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/recallshistory.pl?borrowernumber=[% patron.borrowernumber | uri %]">Recalls history</a></li>
194
        [% IF recallsview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/recallshistory.pl?borrowernumber=[% patron.borrowernumber | uri %]">Recalls history</a></li>
180
    [% END %]
195
    [% END %]
181
</ul></div>
196
</ul></div>
197
</div>
182
198
183
[% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
199
[% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
184
<!-- Modal -->
200
<!-- Modal -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc (-5 / +9 lines)
Lines 4-14 Link Here
4
    <div id="navmenulist">
4
    <div id="navmenulist">
5
5
6
        <ul>
6
        <ul>
7
            <li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation home</a></li>
7
            <li>
8
                <a class="titre" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation home</a>
9
            </li>
8
        </ul>
10
        </ul>
9
11
        
10
        <h5>Circulation</h5>
11
        <ul>
12
        <ul>
13
            <h5>Circulation</h5>
12
            <li><a href="/cgi-bin/koha/circ/circulation.pl">Check out</a></li>
14
            <li><a href="/cgi-bin/koha/circ/circulation.pl">Check out</a></li>
13
            <li><a href="/cgi-bin/koha/circ/returns.pl">Check in</a></li>
15
            <li><a href="/cgi-bin/koha/circ/returns.pl">Check in</a></li>
14
            <li><a href="/cgi-bin/koha/circ/renew.pl">Renew</a></li>
16
            <li><a href="/cgi-bin/koha/circ/renew.pl">Renew</a></li>
Lines 31-43 Link Here
31
                <li><a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a> [% IF pending_checkout_notes.count %]<span class="number_box"><a href="/cgi-bin/koha/circ/checkout-notes.pl">[% pending_checkout_notes.count | html %]</a></span>[% END %]</li>
33
                <li><a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a> [% IF pending_checkout_notes.count %]<span class="number_box"><a href="/cgi-bin/koha/circ/checkout-notes.pl">[% pending_checkout_notes.count | html %]</a></span>[% END %]</li>
32
            [% END %]
34
            [% END %]
33
        </ul>
35
        </ul>
34
36
        
35
        <h5>Circulation reports</h5>
36
        <ul>
37
        <ul>
38
            <h5>Circulation reports</h5>
39
        
37
            <li><a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a></li>
40
            <li><a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a></li>
38
            <li><a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a></li>
41
            <li><a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a></li>
39
            <li><a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a></li>
42
            <li><a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a></li>
40
            <li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
43
            <li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
44
            <li><a href="/cgi-bin/koha/circ/transfers_to_send.pl">Transfers to send</a></li>
41
            <li><a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a></li>
45
            <li><a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a></li>
42
            [% IF ( CAN_user_circulate_overdues_report ) %]
46
            [% IF ( CAN_user_circulate_overdues_report ) %]
43
                <li><a href="/cgi-bin/koha/circ/overdue.pl">Overdues</a></li>
47
                <li><a href="/cgi-bin/koha/circ/overdue.pl">Overdues</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc (-29 / +108 lines)
Lines 1-34 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<!-- Begin Main page Resident Search Box -->
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Circulation Resident Search Box -->
3
4
<div id="header_search" class="fold">
4
5
5
<div id="header_search">
6
    [% INCLUDE 'patron-search-box.inc' %]
6
    [% INCLUDE 'patron-search-box.inc' %]
7
8
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
9
    <div id="checkin_search" class="residentsearch">
10
        <form action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" method="post"> 
11
            <input id="ret_barcode" name="barcode" class="head-searchbox focus" accesskey="r" type="text" placeholder="Scan a barcode to check in" />
12
            <input value="" id="submit" type="submit"/>
13
        </form>
14
    </div>
15
16
    <div id="renew_search" class="residentsearch">
17
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
            <input class="head-searchbox focus" name="barcode" id="ren_barcode" accesskey="r" type="text" placeholder="Scan a barcode to renew" />
19
            <input value="" type="submit" id="submit" />
20
        </form>
21
    </div>
22
    [% END %]
23
7
    [% INCLUDE 'catalogue-search-box.inc' %]
24
    [% INCLUDE 'catalogue-search-box.inc' %]
8
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
25
9
<div id="checkin_search" class="residentsearch">
26
    <ul id="taille">
10
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
27
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="button_1" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
11
        <label class="tip" for="ret_barcode">Scan a barcode to check in:</label>
28
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="button_2" title="Check in" onclick="clique(this)" class="iconsearch" href="#checkin_search"><i class="fa fa-download"></i></a></li>[% END %]
12
        <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" accesskey="r" type="text" />
29
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_3" title="Renew" onclick="clique(this)" class="iconsearch" href="#renew_search"><i class="fa fa-retweet"></i></a></li>[% END %]
13
        <input value="Submit" class="submit" type="submit" />
30
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_4" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
14
    </form>
31
15
</div>
32
        <span id="button_1" class="buttonsearch active">Check out</span>
16
<div id="renew_search" class="residentsearch">
33
        <span id="button_2" class="buttonsearch">Check in</span>
17
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
34
        <span id="button_3" class="buttonsearch">Renew</span>
18
        <label class="tip" for="ren_barcode">Scan a barcode to renew:</label>
35
        <span id="button_4" class="buttonsearch">Search catalog</span>
19
        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" type="text" />
36
    </ul>
20
        <input value="Submit" class="submit" type="submit" />
21
    </form>
22
</div>
37
</div>
23
[% END %]
38
24
39
<script type="text/javascript">
25
<ul>
40
    function focusInput(){
26
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
41
        document.getElementsByClassName('head-searchbox').focus();
27
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
42
    }
28
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
43
29
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
44
    function toggle(elem){style="width: calc(301px);"
30
</ul>   
45
        var buttonssearch = document.getElementsByClassName('active');
31
46
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
32
</div><!-- /header_search -->
47
            buttonssearch[i].classList.remove('active');
33
</div><!-- /gradient -->
48
        }
34
<!-- End Circulation Resident Search Box -->
49
50
        if(elem){
51
            elem.classList.add('active');
52
            fold();
53
        }else{//Back
54
            document.getElementById('button_1').classList.add('active');
55
            document.getElementById('header_search').classList.remove('fold');
56
            document.getElementsByClassName('head-searchbox').style = '';
57
        }
58
        
59
        focusInput();
60
    }
61
62
    function clique(elem){
63
        var buttonssearch = document.getElementsByClassName('buttonsearch');
64
        var iconssearch = document.getElementsByClassName('iconsearch');
65
        var inputssearch = document.getElementsByClassName('head-searchbox');
66
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
67
            buttonssearch[i].classList.remove('active');
68
            if (elem == iconssearch[i]){
69
                buttonssearch[i].classList.add('active');
70
            }
71
        }
72
73
        for (var i = inputssearch.length - 1; i >= 0; i--) {
74
            inputssearch[i].classList.remove('focus');
75
76
            if (elem == iconssearch[i]){
77
                inputssearch[i].classList.add('focus');
78
79
                taille(inputssearch[i])
80
            }
81
        }
82
83
        focusInput();
84
        fold();
85
    }
86
87
    function fold(){
88
        document.getElementById('header_search').classList.add('fold');
89
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";		
90
        setTimeout(
91
            function(){
92
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
93
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
94
            }
95
        , 250);
96
    }
97
98
    function taille(el){
99
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
100
        el.style = "width:calc(500px - "+offsetWidth+"px)";
101
    }
102
103
    $('.btn').click(function(){
104
    if($(this).hasClass('active')){
105
        $(this).removeClass('active')
106
    } else {
107
        $(this).addClass('active')
108
    }
109
});
110
111
</script>
112
113
<!-- End Main page Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc (-14 / +90 lines)
Lines 1-23 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<div id="header_search" class="fold">
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Cities Resident Search Box -->
4
<div id="header_search">
5
	<div id="city_search" class="residentsearch">
3
	<div id="city_search" class="residentsearch">
6
	<form action="[% script_name | html %]" method="post">
4
        <form action="[% script_name | html %]" method="post">
7
        <label class="tip" for="city_name_filter">City search:</label>
5
            <input class="head-searchbox focus" type="text" name="city_name_filter" id="city_name_filter" value="[% city_name_filter | html %]" placeholder="City search" />
8
        <input class="head-searchbox" type="text" name="city_name_filter" id="city_name_filter" value="[% city_name_filter | html %]" size="40" />
6
            <input type="submit" name="submit" value="" id="submit" />
9
		<input type="submit" name="submit" value="OK" class="submit" />
7
        </form>
10
	</form>
11
	</div>
8
	</div>
12
9
13
    [% INCLUDE 'patron-search-box.inc' %]
10
    [% INCLUDE 'patron-search-box.inc' %]
11
14
    [% INCLUDE 'catalogue-search-box.inc' %]
12
    [% INCLUDE 'catalogue-search-box.inc' %]
15
13
16
			<ul>
14
    <ul id="taille">
17
            <li><a class="keep_text" href="#city_search">Search cities</a></li>
15
        <li><a id="icon_1" title="Search cities" onclick="clique(this)" class="iconsearch" href="#city_search"><i class="fa fa-building-o"></i></a></li>
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
16
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
19
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
17
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
20
			</ul>	
18
21
</div>
19
        <span id="button_1" class="buttonsearch active">Search cities</span>
20
        <span id="button_2" class="buttonsearch">Check out</span>
21
        <span id="button_3" class="buttonsearch">Search the catalog</span>
22
    </ul>
22
</div>
23
</div>
24
25
<script type="text/javascript">
26
    function focusInput(){
27
        document.getElementsByClassName('head-searchbox').focus();
28
    }
29
30
    function toggle(elem){style="width: calc(301px);"
31
        var buttonssearch = document.getElementsByClassName('active');
32
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
33
            buttonssearch[i].classList.remove('active');
34
        }
35
36
        if(elem){
37
            elem.classList.add('active');
38
            fold();
39
        }else{//Back
40
            document.getElementById('button_1').classList.add('active');
41
            document.getElementById('header_search').classList.remove('fold');
42
            document.getElementsByClassName('head-searchbox').style = '';
43
        }
44
45
        focusInput();
46
    }
47
48
    function clique(elem){
49
        var buttonssearch = document.getElementsByClassName('buttonsearch');
50
        var iconssearch = document.getElementsByClassName('iconsearch');
51
        var inputssearch = document.getElementsByClassName('head-searchbox');
52
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
53
            buttonssearch[i].classList.remove('active');
54
            if (elem == iconssearch[i]){
55
                buttonssearch[i].classList.add('active');
56
            }
57
        }
58
59
        for (var i = inputssearch.length - 1; i >= 0; i--) {
60
            inputssearch[i].classList.remove('focus');
61
62
            if (elem == iconssearch[i]){
63
                inputssearch[i].classList.add('focus');
64
65
                taille(inputssearch[i])
66
            }
67
        }
68
69
        focusInput();
70
        fold();
71
    }
72
73
    function fold(){
74
        document.getElementById('header_search').classList.add('fold');
75
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
76
        setTimeout(
77
            function(){
78
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
79
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
80
            }
81
        , 250);
82
    }
83
84
    function taille(el){
85
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
86
        el.style = "width:calc(500px - "+offsetWidth+"px)";
87
    }
88
89
    $('.btn').click(function(){
90
    if($(this).hasClass('active')){
91
        $(this).removeClass('active')
92
    } else {
93
        $(this).addClass('active')
94
    }
95
});
96
97
</script>
98
23
<!-- End Cities Resident Search Box -->
99
<!-- End Cities Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/clubs-table.inc (-1 / +1 lines)
Lines 72-78 Link Here
72
                [% UNLESS destination == 'holds' %]
72
                [% UNLESS destination == 'holds' %]
73
                    <td class="actions">
73
                    <td class="actions">
74
                        <div class="btn-group dropup">
74
                        <div class="btn-group dropup">
75
                            <a class="btn btn-default btn-xs dropdown-toggle" id="clubactions[% c.id | html %]" role="button" data-toggle="dropdown" href="#">
75
                            <a class="btn btn-default btn-xs dropdown-toggle lientype" id="clubactions[% c.id | html %]" role="button" data-toggle="dropdown" href="#">
76
                                Actions <b class="caret"></b>
76
                                Actions <b class="caret"></b>
77
                            </a>
77
                            </a>
78
                            <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="clubactions[% c.id | html %]">
78
                            <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="clubactions[% c.id | html %]">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc (-11 / +87 lines)
Lines 1-24 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Patrons Admin Resident Search Box -->
4
2
5
<div id="header_search">
3
<div id="header_search" class="fold">
6
	<div id="contract_description_search" class="residentsearch">
4
	<div id="contract_description_search" class="residentsearch">
7
	<form action="[% script_name | html %]" method="post">
5
	<form action="[% script_name | html %]" method="post">
8
        <label class="tip" for="searchfield">Search by contract name or/and description:</label>
6
        <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Search by contract name or/and description:"/>
9
        <input class="head-searchbox" type="text" name="searchfield" id="searchfield" size="40" value="[% searchfield | html %]" />
7
		<input type="submit" class="submit" id="submit" name="search" value="" />
10
		<input type="submit" class="submit" name="search" value="Search" />
11
	</form>	
8
	</form>	
12
	</div>
9
	</div>
13
10
14
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
12
15
    [% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
16
14
17
	<ul>
15
	<ul id="taille">
18
            <li><a class="keep_text" href="#contract_description_search">Search contracts</a></li>
16
        <li><a id="icon_1" title="Search contracts" onclick="clique(this)" class="iconsearch" href="#contract_description_search"><i class="fa fa-pencil-square-o"></i></a></li>
19
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
20
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
19
20
        <span  id="button_1" class="buttonsearch active">Search contracts</span>
21
        <span id="button_2" class="buttonsearch">Check out</span>
22
        <span id="button_3" class="buttonsearch">Search the catalog</span>
21
	</ul>
23
	</ul>
22
</div>
24
</div>
23
</div><!-- /gradient -->
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
24
<!-- End Patrons Admin Resident Search Box -->
100
<!-- End Patrons Admin Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc (-12 / +91 lines)
Lines 1-21 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Currencies Resident Search Box -->
3
<div id="header_search" class="fold">
4
<div id="header_search">
5
	<div id="currency_search" class="residentsearch">
4
	<div id="currency_search" class="residentsearch">
6
        <form action="[% script_name | html %]" method="post">
5
        <form action="[% script_name | html %]" method="post">
7
            <label class="tip" for="description">Currencies search:</label>
6
                <input class="head-searchbox focus" type="text" name="description" id="description" value="[% searchfield | html %]" placeholder="Currencies search" />
8
                <input class="head-searchbox" type="text" name="description" id="description" size="40" value="[% searchfield | html %]" />
7
                <input type="submit" id="submit" name="search" value="" />
9
                <input type="submit" class="submit" name="search" value="Search" />
10
        </form>	
8
        </form>	
11
	</div>
9
	</div>
10
12
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
12
13
    [% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
14
			<ul>
14
15
            <li><a class="keep_text" href="#currency_search">Search currencies</a></li>
15
    <ul id="taille">
16
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
16
        <li><a id="icon_1" title="Search currencies" onclick="clique(this)" class="iconsearch" href="#currency_search"><i class="fa fa-dollar"></i></a></li>
17
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
			</ul>	
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
19
20
        <span id="button_1" class="buttonsearch active">Search currencies</span>
21
        <span id="button_2" class="buttonsearch">Check out</span>
22
        <span id="button_3" class="buttonsearch">Search catalog</span>
23
    </ul>
19
</div>
24
</div>
20
</div><!-- /gradient -->
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
21
<!-- End Currencies Resident Search Box -->
100
<!-- End Currencies Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc (-14 / +91 lines)
Lines 1-23 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<div id="header_search" class="fold">
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName|html %]</a></div><!-- Begin Desks Resident Search Box -->
3
4
<div id="header_search">
5
        <div id="desk_search" class="residentsearch">
4
        <div id="desk_search" class="residentsearch">
6
        <form action="[% script_name|html %]" method="post">
5
            <form action="[% script_name|html %]" method="post">
7
            <label class="tip" for="desk_name">Desk search:</label>
6
                <input class="head-searchbox focus" type="text" name="desk_name" placeholder="Desk search:" id="desk_name" value="[% searchfield|html %]" size="40" />
8
        <input class="head-searchbox" type="text" name="desk_name" id="desk_name" value="[% searchfield|html %]" size="40" />
7
                <input type="submit" name="submit" value="" class="submit" id="submit" />
9
                <input type="submit" name="submit" value="OK" class="submit" />
8
            </form>
10
        </form>
11
        </div>
9
        </div>
12
10
13
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
12
14
    [% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
15
14
16
                        <ul>
15
    <ul id="taille">
17
            <li><a class="keep_text" href="#desk_search">Search desks</a></li>
16
        <li><a id="icon_1" title="Search desks" onclick="clique(this)" class="iconsearch" href="#desk_search"><i class="fa fa-desktop"></i></a></li>
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
19
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
20
                        </ul>
19
21
</div>
20
        <span id="button_1" class="buttonsearch active">Search desks</span>
21
        <span id="button_2" class="buttonsearch">Check out</span>
22
        <span id="button_3" class="buttonsearch">Search catalog</span>
23
    </ul>
22
</div>
24
</div>
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
23
<!-- End Desks Resident Search Box -->
100
<!-- End Desks Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (-3 / +3 lines)
Lines 5-11 Link Here
5
[% IF ( facets_loop ) %]
5
[% IF ( facets_loop ) %]
6
<div id="search-facets">
6
<div id="search-facets">
7
<h4>Refine your search</h4>
7
<h4>Refine your search</h4>
8
<ul>
8
<ul class="cadre">
9
    <li id="availability_facet">Availability<ul><li>[% IF ( available ) %]<strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi_not_availablity | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">Show all items</a>[% ELSE %]<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]&amp;limit=available">Limit to currently available items</a>[% END %]</li></ul>
9
    <li id="availability_facet">Availability<ul><li>[% IF ( available ) %]<strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi_not_availablity | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]">Show all items</a>[% ELSE %]<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by | uri %][% END %]&amp;limit=available">Limit to currently available items</a>[% END %]</li></ul>
10
	[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])</li>[% END %]
10
	[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])</li>[% END %]
11
	</li>
11
	</li>
Lines 56-65 Link Here
56
  [% END %]
56
  [% END %]
57
  [% IF facets_loo.facets.size > 5 %]
57
  [% IF facets_loo.facets.size > 5 %]
58
      <li class="moretoggle">
58
      <li class="moretoggle">
59
          <a href="#"><strong>Show more</strong></a>
59
          <a href="#" id="lientype"><strong>Show more</strong></a>
60
      </li>
60
      </li>
61
      <li class="moretoggle" style="display:none">
61
      <li class="moretoggle" style="display:none">
62
          <a href="#"><strong>Show less</strong></a>
62
          <a href="#" id="lientype"><strong>Show less</strong></a>
63
      </li>
63
      </li>
64
  [% END %]
64
  [% END %]
65
</ul></li>
65
</ul></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc (-21 / +19 lines)
Lines 1-24 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="navmenu">
2
<div id="navmenu">
3
<div id="navmenulist">
3
    <div id="navmenulist">
4
4
        <ul>
5
<h5>Run reports</h5>
5
            [% IF ( CAN_user_reports_execute_reports ) %]<h5>Run reports</h5><li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a></li>[% END %]
6
<ul>
6
        </ul>
7
	[% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a></li>[% END %]
7
        <ul>
8
</ul>
8
            <h5>Reports dictionary</h5>
9
<h5>Reports dictionary</h5>
9
            <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li>
10
<ul>
10
        </ul>
11
<li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li>
11
        <ul>
12
</ul>
12
            <h5>Useful resources</h5>
13
<h5>Useful resources</h5>
13
            <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
14
<ul>
14
            [% SET koha_version = Koha.Version %]
15
<li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
15
            [% IF koha_version.development %]
16
[% SET koha_version = Koha.Version %]
16
                <li><a href="http://schema.koha-community.org/master" target="blank">Koha database schema</a></li>
17
[% IF koha_version.development %]
17
            [% ELSE %]
18
    <li><a href="http://schema.koha-community.org/master" target="blank">Koha database schema</a></li>
18
                <li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li>
19
[% ELSE %]
19
            [% END %]
20
    <li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li>
20
        </ul>
21
[% END %]
21
    </div>
22
</ul>
23
</div>
24
</div>
22
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-144 / +162 lines)
Lines 3-34 Link Here
3
[% USE Desks %]
3
[% USE Desks %]
4
[% USE Registers %]
4
[% USE Registers %]
5
[% USE Koha %]
5
[% USE Koha %]
6
7
8
6
<nav class="navbar">
9
<nav class="navbar">
10
7
    <div class="navbar-header">
11
    <div class="navbar-header">
8
        <a href="#" class="header-menu-link collapsed" data-toggle="collapse" data-target="#header" aria-expanded="false" aria-controls="header">
12
        <ul id="logo">
9
            <i class="fa fa-bars"></i> Menu
13
            <a href="/cgi-bin/koha/mainpage.pl"></a>
10
        </a>
14
        </ul>
15
        <a href="#" class="header-menu-link collapsed" data-toggle="collapse" data-target="#header" aria-expanded="false" aria-controls="header"><i class="fa fa-bars"></i> Menu</a>
11
    </div>
16
    </div>
17
12
    <div id="header" class="navbar-collapse collapse">
18
    <div id="header" class="navbar-collapse collapse">
13
        <ul id="toplevelmenu" class="nav navbar-nav">
19
        <ul id="toplevelmenu" class="nav navbar-nav">
14
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
20
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
21
15
            [% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
22
            [% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
16
            <li id="catalog-search-link">
23
17
                <a href="/cgi-bin/koha/catalogue/search.pl">Search</a>
24
            <li class="dropdown">
18
            </li>
25
                <a href="/cgi-bin/koha/catalogue/search.pl" class="dropdown-toggle" data-toggle="dropdown">Search <b class="caret"></b></a>
19
            <li class="dropdown" id="catalog-search-dropdown">
20
                <a href="/cgi-bin/koha/catalogue/search.pl" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b></a>
21
                <ul class="dropdown-menu dropdown-menu-right">
26
                <ul class="dropdown-menu dropdown-menu-right">
22
                    [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></li>
27
                    [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></li>
23
                    <li><a href="/cgi-bin/koha/catalogue/itemsearch.pl">Item search</a></li>[% END %]
28
                    <li><a href="/cgi-bin/koha/catalogue/itemsearch.pl">Item search</a></li>[% END %]
24
                </ul>
29
                </ul>
25
            </li>
30
            </li>
26
            [% IF ( Koha.Preference('intranetbookbag') ) %]
31
27
                <li>
28
                    <a href="#" id="cartmenulink"><i class="fa fa-shopping-cart"></i>Cart<span id="basketcount"></span></a>
29
                </li>
30
            [% END %]
31
            [% Koha.Preference('IntranetNav') | $raw %]
32
            <li class="dropdown">
32
            <li class="dropdown">
33
                <a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
33
                <a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
34
                <ul class="dropdown-menu dropdown-menu-right">
34
                <ul class="dropdown-menu dropdown-menu-right">
Lines 67-218 Link Here
67
                    <li><a href="/cgi-bin/koha/about.pl">About Koha</a></li>
67
                    <li><a href="/cgi-bin/koha/about.pl">About Koha</a></li>
68
                </ul>
68
                </ul>
69
            </li>
69
            </li>
70
            <li>[% Koha.Preference('IntranetNav') | $raw %]</li>
70
        </ul>
71
        </ul>
71
    </div>
72
    </div>
72
        <ul id="user-menu" class="nav navbar-nav navbar-right">
73
            [% IF ( loggedinusername ) %]
74
            <li class="dropdown">
75
                <a href="#" id="logged-in-menu" role="button" class="dropdown-toggle" data-toggle="dropdown">
76
                    <span id="logged-in-info-brief">
77
                        <i class="fa fa-user"></i>
78
                    </span>
79
                    <span id="logged-in-info-full">
80
                        [% SET is_superlibrarian = CAN_user_superlibrarian ? 'is_superlibrarian' : '' %]
81
                        <span class="loggedinusername [% is_superlibrarian | html %]">[% logged_in_user.userid | html %]</span>
82
                        <span class="separator">|</span>
83
                        [% IF ( AutoLocation ) %]
84
                            <brand>
85
                                [% Branches.GetLoggedInBranchname | html %]
86
                            </brand>
87
                        [% ELSE %]
88
                            <strong>
89
                                <span class="logged-in-branch-name">[% Branches.GetLoggedInBranchname | html %]</span>
90
                                <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
91
                            </strong>
92
                        [% END %]
93
                        [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
94
                            <span class="separator">|</span>
95
                            <strong>
96
                                [% IF ( Desks.GetLoggedInDeskName == '' ) %]
97
                                   <span class="logged-in-desk-name">NO DESK SET</span>
98
                                [% ELSE %]
99
                                    <span class="logged-in-desk-name">[% Desks.GetLoggedInDeskName | html %]</span>
100
                                    <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
101
                                [% END %]
102
                            </strong>
103
                        [% END %]
104
                        [% IF Koha.Preference('UseCashRegisters') && !(Registers.session_register_name == '') %]
105
                            <span class="separator">|</span>
106
                            <strong>
107
                                <span class="logged-in-register-name">[% Registers.session_register_name | html %]</span>
108
                                <span class="logged-in-register-id content_hidden">[% Registers.session_register_id | html %]</span>
109
                            </strong>
110
                        [% END %]
111
                    </span>
112
                    <b class="caret"></b>
113
                </a>
114
                <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="logged-in-menu">
115
73
116
                    <li class="loggedin-menu-label">
74
    <div class="navbar-head">
117
                        Logged in as:<br />
75
        <ul id="toplevelmenu" class="nav navbar-nav">
118
                        <span class="loggedinusername">[% logged_in_user.userid | html %]</span>
76
            <li>
119
                    </li>
77
                [% form %]
120
                    <li class="loggedin-menu-label">
78
            </li>
121
                        [% IF ( AutoLocation ) %]
79
122
                            <brand>
80
            [% IF ( Koha.Preference('intranetbookbag') ) %]
123
                                [% Branches.GetLoggedInBranchname | html %]
81
            <li>
124
                            </brand>
82
                <a href="#" id="cartmenulink"><i class="fa fa-shopping-cart"></i><span id="basketcount"></span></a>
125
                        [% ELSE %]
83
            </li>
126
                            Location: <br />
84
            [% END %]
127
                            <span class="logged-in-branch-name">[% Branches.GetLoggedInBranchname | html %]</span>
85
        </ul> 
128
                            <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
86
    </div>
129
                        [% END %]
130
                    </li>
131
87
88
    <ul id="user-menu" class="nav navbar-nav navbar-right">
89
        [% IF ( loggedinusername ) %]
90
        
91
        <li class="dropdown">
92
            <a href="#" id="logged-in-menu" role="button" class="dropdown-toggle" data-toggle="dropdown">
93
                
94
                <span id="logged-in-info-brief">
95
                    <i class="fa fa-user">
96
                <b class="caret"></b></i>
97
                </span>
98
99
                <span id="logged-in-info-full">
100
                    [% SET is_superlibrarian = CAN_user_superlibrarian ? 'is_superlibrarian' : '' %]
101
                    <span class="loggedinusername [% is_superlibrarian | html %]">[% logged_in_user.userid | html %]</span>
102
103
                    [% IF ( AutoLocation ) %]
104
                        <brand>
105
                            [% Branches.GetLoggedInBranchname | html %]
106
                        </brand>
107
                    [% ELSE %]
108
                        <strong>
109
                            <span class="logged-in-branch-name">[% Branches.GetLoggedInBranchname | html %]<b class="caret"></b></span>
110
                            <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
111
                        </strong>
112
                    [% END %]
132
                    [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
113
                    [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
133
                    <li class="loggedin-menu-label">
114
                        <span class="separator">|</span>
134
                        Desk: <br />
115
                        <strong>
135
                        [% IF ( Desks.GetLoggedInDeskName == '' ) %]
116
                            [% IF ( Desks.GetLoggedInDeskName == '' ) %]
136
                           <span class="logged-in-desk-name">NO DESK SET</span>
117
                                <span class="logged-in-desk-name">NO DESK SET</span>
137
                        [% ELSE %]
118
                            [% ELSE %]
138
                            <span class="logged-in-desk-name">[% Desks.GetLoggedInDeskName | html %]</span>
119
                                <span class="logged-in-desk-name">[% Desks.GetLoggedInDeskName | html %]</span>
139
                            <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
120
                                <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
140
                        [% END %]
121
                            [% END %]
141
                    </li>
122
                        </strong>
142
                    [% END %]
123
                    [% END %]
143
144
                    [% IF Koha.Preference('UseCashRegisters') && !(Registers.session_register_name == '') %]
124
                    [% IF Koha.Preference('UseCashRegisters') && !(Registers.session_register_name == '') %]
145
                        <li class="loggedin-menu-label">
125
                        <span class="separator">|</span>
146
                            Register: <br />
126
                        <strong>
147
                            <span class="logged-in-register-name">[% Registers.session_register_name | html %]</span>
127
                            <span class="logged-in-register-name">[% Registers.session_register_name | html %]</span>
148
                            <span class="logged-in-register-id content_hidden">[% Registers.session_register_id | html %]</span>
128
                            <span class="logged-in-register-id content_hidden">[% Registers.session_register_id | html %]</span>
149
                        </li>
129
                        </strong>
150
                    [% END %]
130
                    [% END %]
151
131
                </span>
152
                    [% IF !( Koha.Preference('IndependentBranches') && !CAN_user_superlibrarian && !CAN_user_editcatalogue_edit_catalogue ) %]
132
            </a>
153
                    <li role="separator" class="loggedin-menu-label divider"></li>
133
154
                    <li>
134
            <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="logged-in-menu">
155
                        [% IF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %]
135
                <li class="loggedin-menu-label">
156
                        <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library, desk and register</a>
136
                    Logged in as:<br />
157
                        [% ELSIF Koha.Preference('UseCirculationDesks') %]
137
                    <span class="loggedinusername">[% logged_in_user.userid | html %]</span>
158
                        <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
138
                </li>
159
                        [% ELSIF Koha.Preference('UseCashRegisters') %]
139
160
                        <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library and cash register</a>
140
                <li class="loggedin-menu-label">
161
                        [% ELSE %]
141
                    [% IF ( AutoLocation ) %]
162
                        <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
142
                        <brand>
163
                        [% END %]
143
                            [% Branches.GetLoggedInBranchname | html %]
164
                    </li>
144
                        </brand>
165
                    [% ELSIF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %]
145
                    [% ELSE %]
166
                    <li role="separator" class="loggedin-menu-label divider"></li>
146
                        Location: <br />
167
                    <li>
147
                        <span class="logged-in-branch-name">[% Branches.GetLoggedInBranchname | html %]</span>
168
                        <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk and cash register</a>
148
                        <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
149
                    [% END %]
150
                </li>
151
152
                [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
153
                <li class="loggedin-menu-label">
154
                    Desk: <br />
155
                    [% IF ( Desks.GetLoggedInDeskName == '' ) %]
156
                        <span class="logged-in-desk-name">NO DESK SET</span>
157
                    [% ELSE %]
158
                        <span class="logged-in-desk-name">[% Desks.GetLoggedInDeskName | html %]</span>
159
                        <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
160
                    [% END %]
161
                </li>
162
                [% END %]
163
164
                [% IF Koha.Preference('UseCashRegisters') && !(Registers.session_register_name == '') %]
165
                    <li class="loggedin-menu-label">
166
                        Register: <br />
167
                        <span class="logged-in-register-name">[% Registers.session_register_name | html %]</span>
168
                        <span class="logged-in-register-id content_hidden">[% Registers.session_register_id | html %]</span>
169
                    </li>
169
                    </li>
170
                [% END %]
171
172
                [% IF !( Koha.Preference('IndependentBranches') && !CAN_user_superlibrarian && !CAN_user_editcatalogue_edit_catalogue ) %]
173
                <li role="separator" class="loggedin-menu-label divider"></li>
174
                <li>
175
                    [% IF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %]
176
                    <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library, desk and register</a>
170
                    [% ELSIF Koha.Preference('UseCirculationDesks') %]
177
                    [% ELSIF Koha.Preference('UseCirculationDesks') %]
171
                    <li role="separator" class="loggedin-menu-label divider"></li>
178
                    <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
172
                    <li>
173
                        <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
174
                    </li>
175
                    [% ELSIF Koha.Preference('UseCashRegisters') %]
179
                    [% ELSIF Koha.Preference('UseCashRegisters') %]
176
                    <li role="separator" class="loggedin-menu-label divider"></li>
180
                    <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library and cash register</a>
177
                    <li>
181
                    [% ELSE %]
178
                        <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set cash register</a>
182
                    <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
179
                    </li>
180
                    [% END %]
181
                    [% IF EnableSearchHistory %]
182
                    <li>
183
                        <a class="toplinks" href="/cgi-bin/koha/catalogue/search-history.pl">Search history</a>
184
                    </li>
185
                    [% END %]
183
                    [% END %]
184
                </li>
185
                [% ELSIF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %]
186
                <li role="separator" class="loggedin-menu-label divider"></li>
187
                <li>
188
                    <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk and cash register</a>
189
                </li>
190
                [% ELSIF Koha.Preference('UseCirculationDesks') %]
191
                <li role="separator" class="loggedin-menu-label divider"></li>
192
                <li>
193
                    <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
194
                </li>
195
                [% ELSIF Koha.Preference('UseCashRegisters') %]
196
                <li role="separator" class="loggedin-menu-label divider"></li>
197
                <li>
198
                    <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set cash register</a>
199
                </li>
200
                [% END %]
201
                [% IF EnableSearchHistory %]
202
                <li>
203
                    <a class="toplinks" href="/cgi-bin/koha/catalogue/search-history.pl">Search history</a>
204
                </li>
205
                [% END %]
186
206
187
                    [% IF loggedinusernumber %]
207
                [% IF loggedinusernumber %]
188
                        <li class ="toplinks-myaccount">
208
                    <li class ="toplinks-myaccount">
189
                            <a class="toplinks" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loggedinusernumber | html %]">My account</a>
209
                        <a class="toplinks" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loggedinusernumber | html %]">My account</a>
190
                        </li>
191
                        <li class="toplinks-mycheckouts">
192
                            <a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber | html %]">My checkouts</a>
193
                        </li>
194
                    [% END %]
195
                    <li>
196
                        <a id="logout" class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log out</a>
197
                    </li>
210
                    </li>
198
                </ul>
211
                    <li class="toplinks-mycheckouts">
199
            </li>
212
                        <a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber | html %]">My checkouts</a>
200
            [% INCLUDE 'langmenu-staff-top.inc' %]
213
                    </li>
201
            <li>
214
                [% END %]
202
                <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
215
                <li>
203
            </li>
216
                    <a id="logout" class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log out</a>
204
            [% ELSE %]
217
                </li>
205
            <li class="loggedout">
218
            </ul>
206
                <span>
219
        </li>
207
                    <a href="/cgi-bin/koha/mainpage.pl" id="login">Log in</a>
220
        
208
                    <span class="separator">|</span>
221
        [% INCLUDE 'langmenu-staff-top.inc' %]
209
                    <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
210
                </span>
211
            </li>
212
            [% END %]
213
        </ul>
214
222
215
    [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
223
        [% ELSE %]
224
        <li class="loggedout">
225
            <span>
226
                <a href="/cgi-bin/koha/mainpage.pl" id="login">Log in</a>
227
                <span class="separator">|</span>
228
            </span>
229
        </li>
230
        [% END %]
231
    </ul>
232
    
216
    [% IF ( Koha.Preference('intranetbookbag') ) %]<div id="cartDetails">Your cart is empty.</div>[% END %]
233
    [% IF ( Koha.Preference('intranetbookbag') ) %]<div id="cartDetails">Your cart is empty.</div>[% END %]
217
234
218
</nav>
235
</nav>
236
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-1 / +1 lines)
Lines 204-210 Link Here
204
        [%- END -%]
204
        [%- END -%]
205
            [%- END -%]
205
            [%- END -%]
206
            <td>
206
            <td>
207
                <a class="cancel-hold" title="Cancel hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
207
                <a id="lientype" class="cancel-hold" title="Cancel hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
208
                    <i class="fa fa-trash" aria-label="Cancel hold"></i>
208
                    <i class="fa fa-trash" aria-label="Cancel hold"></i>
209
                </a>
209
                </a>
210
            </td>
210
            </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc (-37 / +122 lines)
Lines 1-44 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<!-- Begin Main page Resident Search Box -->
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Main page Resident Search Box -->
3
4
<div id="header_search" class="fold">
4
5
5
<div id="header_search">
6
    [% INCLUDE 'patron-search-box.inc' %]
6
    [% INCLUDE 'patron-search-box.inc' %]
7
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
7
8
<div id="checkin_search" class="residentsearch">
8
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
9
    <label class="tip" for="ret_barcode">Scan a barcode to check in:</label>
9
    <div id="checkin_search" class="residentsearch">
10
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
10
        <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
11
        <input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" type="text" />
11
            <input name="barcode" id="ret_barcode" class="head-searchbox" accesskey="r" type="text" placeholder="Scan a barcode to check in" />
12
        <input value="Submit" class="submit" type="submit" />
12
            <input value="" type="submit" id="submit" />
13
    </form>
13
        </form>
14
</div>
14
    </div>
15
<div id="renew_search" class="residentsearch">
15
16
    <label class="tip" for="ren_barcode">Scan a barcode to renew:</label>
16
    <div id="renew_search" class="residentsearch">
17
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
17
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
            <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" type="text" />
18
            <input name="barcode" id="ren_barcode" class="head-searchbox" accesskey="r" type="text" placeholder="Scan a barcode to renew" />
19
            <input value="Submit" class="submit" type="submit" />
19
            <input value="" type="submit" id="submit" />
20
        </form>
20
        </form>
21
    </div>
21
    </div>
22
[% END %]
22
    [% END %]
23
23
24
[% IF CAN_user_borrowers_edit_borrowers %]
24
    [% IF CAN_user_borrowers_edit_borrowers %]
25
<div id="patron_search" class="residentsearch">
25
    <div id="patron_search" class="residentsearch">
26
    <label class="tip" for="searchmember">Enter patron card number or partial name:</label>
26
        <form method="post" action="/cgi-bin/koha/members/member.pl">
27
    <form action="/cgi-bin/koha/members/member.pl" method="post">
27
            <input name="searchmember" id="searchmember" class="head-searchbox" type="text" placeholder="Enter patron card number or partial name" />
28
        <input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text" autocomplete="off" />
28
            <input type="hidden" name="quicksearch" value="1" />
29
        <input type="hidden" name="quicksearch" value="1" />
29
            <input value="" type="submit" id="submit" />
30
        <input value="Submit" class="submit" type="submit" />
30
        </form>
31
    </form>
31
    </div>
32
</div>[% END %]
32
    [% END %]
33
[% INCLUDE 'catalogue-search-box.inc' %]
33
34
<ul>
34
    [% INCLUDE 'catalogue-search-box.inc' %]
35
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
35
36
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
36
    <ul id="taille">
37
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
37
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_1" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
38
    [% IF CAN_user_borrowers_edit_borrowers %]<li><a class="keep_text" href="#patron_search">Search patrons</a></li>[% END %]
38
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check in" onclick="clique(this)" class="iconsearch" href="#checkin_search"><i class="fa fa-download"></i></a></li>[% END %]
39
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
39
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_3" title="Renew" onclick="clique(this)" class="iconsearch" href="#renew_search"><i class="fa fa-retweet"></i></a></li>[% END %]
40
</ul>
40
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]<li><a id="icon_4" title="Search patrons" onclick="clique(this)" class="iconsearch" href="#patron_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>[% END %]
41
41
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_5" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
42
</div><!-- /header_search -->
42
43
</div><!-- /gradient -->
43
        <span id="button_1" class="buttonsearch active">Check out</span>
44
        <span id="button_2" class="buttonsearch">Check in</span>
45
        <span id="button_3" class="buttonsearch">Renew</span>
46
        <span id="button_4" class="buttonsearch">Search patrons</span>
47
        <span id="button_5" class="buttonsearch">Search catalog</span>
48
    </ul>
49
</div>
50
51
<script type="text/javascript">
52
    function focusInput(){
53
        document.getElementsByClassName('head-searchbox').focus();
54
    }
55
56
    function toggle(elem){style="width: calc(301px);"
57
        var buttonssearch = document.getElementsByClassName('active');
58
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
59
            buttonssearch[i].classList.remove('active');
60
        }
61
62
        if(elem){
63
            elem.classList.add('active');
64
            fold();
65
        }else{//Back
66
            document.getElementById('button_1').classList.add('active');
67
            document.getElementById('header_search').classList.remove('fold');
68
            document.getElementsByClassName('head-searchbox').style = '';
69
        }
70
        
71
        focusInput();
72
    }
73
74
    function clique(elem){
75
        var buttonssearch = document.getElementsByClassName('buttonsearch');
76
        var iconssearch = document.getElementsByClassName('iconsearch');
77
        var inputssearch = document.getElementsByClassName('head-searchbox');
78
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
79
            buttonssearch[i].classList.remove('active');
80
            if (elem == iconssearch[i]){
81
                buttonssearch[i].classList.add('active');
82
            }
83
        }
84
85
        for (var i = inputssearch.length - 1; i >= 0; i--) {
86
            inputssearch[i].classList.remove('focus');
87
88
            if (elem == iconssearch[i]){
89
                inputssearch[i].classList.add('focus');
90
91
                taille(inputssearch[i])
92
            }
93
        }
94
95
        focusInput();
96
        fold();
97
    }
98
99
    function fold(){
100
        document.getElementById('header_search').classList.add('fold');
101
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";		
102
        setTimeout(
103
            function(){
104
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
105
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";		
106
            }
107
        , 250);
108
    }
109
110
    function taille(el){
111
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
112
        el.style = "width:calc(500px - "+offsetWidth+"px)";
113
    }
114
115
    $('.btn').click(function(){
116
    if($(this).hasClass('active')){
117
        $(this).removeClass('active')
118
    } else {
119
        $(this).addClass('active')
120
    }
121
});
122
123
</script>
124
125
<!-- /header_search -->
44
<!-- End Main page Resident Search Box -->
126
<!-- End Main page Resident Search Box -->
127
128
129
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-1 / +1 lines)
Lines 211-217 Link Here
211
    [% IF display_columns_selection %][%# Needs js/pages/batchMod.js %]
211
    [% IF display_columns_selection %][%# Needs js/pages/batchMod.js %]
212
        [% IF checkboxes_edit OR checkboxes_delete %]
212
        [% IF checkboxes_edit OR checkboxes_delete %]
213
            <div id="toolbar">
213
            <div id="toolbar">
214
                <a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a> | <a id="clearonloanbutton" href="#">Clear on loan</a>
214
                <a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" class="lienype" href="#"><i class="fa fa-remove"></i> Clear all</a> | <a id="clearonloanbutton" class="lientype" href="#">Clear on loan</a>
215
            </div>
215
            </div>
216
        [% END %]
216
        [% END %]
217
217
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc (-6 / +6 lines)
Lines 4-34 Link Here
4
        [% IF backends_available %]
4
        [% IF backends_available %]
5
          [% IF backends.size > 1 %]
5
          [% IF backends.size > 1 %]
6
            <div class="dropdown btn-group">
6
            <div class="dropdown btn-group">
7
                <button class="btn btn-default dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
7
                <button class="btn btn-default pat dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
8
                    <i class="fa fa-plus"></i> New ILL request <span class="caret"></span>
8
                    <i class="fa fa-plus"></i> New ILL request <span class="caret"></span>
9
                </button>
9
                </button>
10
                <ul class="dropdown-menu" aria-labelledby="ill-backend-dropdown">
10
                <ul class="dropdown-menu pat" aria-labelledby="ill-backend-dropdown">
11
                    [% FOREACH backend IN backends %]
11
                    [% FOREACH backend IN backends %]
12
                        <li><a href="/cgi-bin/koha/ill/ill-requests.pl?method=create&amp;backend=[% backend | uri %]">[% backend | html %]</a></li>
12
                        <li><a href="/cgi-bin/koha/ill/ill-requests.pl?method=create&amp;backend=[% backend | uri %]">[% backend | html %]</a></li>
13
                    [% END %]
13
                    [% END %]
14
                </ul>
14
                </ul>
15
            </div>
15
            </div>
16
          [% ELSE %]
16
          [% ELSE %]
17
            <a id="ill-new" class="btn btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=create&amp;backend=[% backends.0 | html %]">
17
            <a id="ill-new" class="btn btn-default pat" href="/cgi-bin/koha/ill/ill-requests.pl?method=create&amp;backend=[% backends.0 | html %]">
18
                <i class="fa fa-plus"></i> New ILL request
18
                <i class="fa fa-plus"></i> New ILL request
19
            </a>
19
            </a>
20
          [% END %]
20
          [% END %]
21
        [% ELSE %]
21
        [% ELSE %]
22
            <a id="ill-new" class="btn btn-default disabled" href="">
22
            <a id="ill-new" class="btn btn-default pat disabled" href="">
23
                <i class="fa fa-plus"></i> New ILL request
23
                <i class="fa fa-plus"></i> New ILL request
24
            </a>
24
            </a>
25
        [% END %]
25
        [% END %]
26
        [% IF query_type == 'illlist' %]
26
        [% IF query_type == 'illlist' %]
27
            <a id="ill-list" class="btn btn-sm btn-default btn-group" href="/cgi-bin/koha/ill/ill-requests.pl">
27
            <a id="ill-list" class="btn btn-sm btn-default pat btn-group" href="/cgi-bin/koha/ill/ill-requests.pl">
28
                <i class="fa fa-list"></i> Refresh
28
                <i class="fa fa-list"></i> Refresh
29
            </a>
29
            </a>
30
        [% ELSE %]
30
        [% ELSE %]
31
            <a id="ill-list" class="btn btn-sm btn-default btn-group" href="/cgi-bin/koha/ill/ill-requests.pl">
31
            <a id="ill-list" class="btn btn-sm btn-default pat btn-group" href="/cgi-bin/koha/ill/ill-requests.pl">
32
                <i class="fa fa-list"></i> List requests
32
                <i class="fa fa-list"></i> List requests
33
            </a>
33
            </a>
34
        [% END %]
34
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc (-3 / +3 lines)
Lines 11-17 Link Here
11
11
12
            [% IF ( languages_loo.group_enabled ) %]
12
            [% IF ( languages_loo.group_enabled ) %]
13
            [% IF ( languages_loo.plural ) %]
13
            [% IF ( languages_loo.plural ) %]
14
                <li class="dropdown"><a class="dropdown-toggle dropup" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag | html %]" href="#">
14
                <li class="dropdown"><a class="dropdown-toggle dropup lientype" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag | html %]" href="#">
15
                    [% IF ( languages_loo.native_description ) %]
15
                    [% IF ( languages_loo.native_description ) %]
16
                        [% languages_loo.native_description | html %]
16
                        [% languages_loo.native_description | html %]
17
                    [% ELSE %]
17
                    [% ELSE %]
Lines 31-37 Link Here
31
                [% IF ( sublanguages_loo.sublanguage_current ) %]
31
                [% IF ( sublanguages_loo.sublanguage_current ) %]
32
                    <li class="navbar-text"> <span class="currentlanguage disabled">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %] ([% sublanguages_loo.rfc4646_subtag | html %])</span></li>
32
                    <li class="navbar-text"> <span class="currentlanguage disabled">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %] ([% sublanguages_loo.rfc4646_subtag | html %])</span></li>
33
                [% ELSE %]
33
                [% ELSE %]
34
                <li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | uri %]"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %] ([% sublanguages_loo.rfc4646_subtag | html %])</a></li>
34
                <li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | uri %]" id="lientype"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %] ([% sublanguages_loo.rfc4646_subtag | html %])</a></li>
35
        [% END %]
35
        [% END %]
36
                [% END %]
36
                [% END %]
37
37
Lines 49-55 Link Here
49
                        [% END %]
49
                        [% END %]
50
                    </li>
50
                    </li>
51
                [% ELSE %]
51
                [% ELSE %]
52
                    <li><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag | uri %]">
52
                    <li><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag | uri %]" id=" lientype">
53
                        [% IF ( languages_loo.native_description ) %]
53
                        [% IF ( languages_loo.native_description ) %]
54
                            [% languages_loo.native_description | html %]
54
                            [% languages_loo.native_description | html %]
55
                        [% ELSE %]
55
                        [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc (-2 / +2 lines)
Lines 1-7 Link Here
1
[% INCLUDE 'blocking_errors.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
2
<div id="toolbar" class="btn-toolbar">
3
    <div class="btn-group">
3
    <div class="btn-group">
4
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
4
        <button class="pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
5
        <ul class="dropdown-menu">
5
        <ul class="dropdown-menu">
6
            <li><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">Label batch</a></li>
6
            <li><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">Label batch</a></li>
7
            <li><a href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">Layout</a></li>
7
            <li><a href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">Layout</a></li>
Lines 11-17 Link Here
11
        </ul>
11
        </ul>
12
    </div>
12
    </div>
13
    <div class="btn-group">
13
    <div class="btn-group">
14
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-edit"></i> Manage <span class="caret"></span></button>
14
        <button class="pat" data-toggle="dropdown"><i class="fa fa-edit"></i> Manage <span class="caret"></span></button>
15
        <ul class="dropdown-menu">
15
        <ul class="dropdown-menu">
16
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Label batches</a></li>
16
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Label batches</a></li>
17
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Layouts</a></li>
17
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Layouts</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/langmenu-staff-top.inc (-5 / +5 lines)
Lines 1-7 Link Here
1
1
2
[% IF ( ( ! one_language_enabled ) && ( languages_loop ) && ( Koha.Preference('StaffLangSelectorMode') == 'both' || Koha.Preference('StaffLangSelectorMode') == 'top') ) %]
2
[% IF ( ( ! one_language_enabled ) && ( languages_loop ) && ( Koha.Preference('StaffLangSelectorMode') == 'both' || Koha.Preference('StaffLangSelectorMode') == 'top') ) %]
3
<li class="dropdown">
3
<li class="dropdown">
4
    <a href="#" title="Switch languages" class="dropdown-toggle" id="langmenu" data-toggle="dropdown" role="button"><i class="fa fa-flag"></i> <span class="langlabel">Languages</span> <b class="caret"></b></a>
4
    <a href="#" title="Switch languages" class="dropdown-toggle" id="langmenu" data-toggle="dropdown" role="button" id="lientype"><i class="fa fa-flag"></i> <span class="langlabel">Languages</span> <b class="caret"></b></a>
5
    <ul aria-labelledby="langmenu" role="menu" class="dropdown-menu dropdown-menu-left">
5
    <ul aria-labelledby="langmenu" role="menu" class="dropdown-menu dropdown-menu-left">
6
    [% FOREACH languages_loo IN languages_loop.sort('rfc4646_subtag') %]
6
    [% FOREACH languages_loo IN languages_loop.sort('rfc4646_subtag') %]
7
        [% IF ( languages_loo.group_enabled ) %]
7
        [% IF ( languages_loo.group_enabled ) %]
Lines 9-26 Link Here
9
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
9
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
10
                    [% IF ( sublanguages_loo.enabled ) %]
10
                    [% IF ( sublanguages_loo.enabled ) %]
11
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
11
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
12
                            <li role="presentation"> <a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]&nbsp;<i class="fa fa-check"></i></a></li>
12
                            <li role="presentation"> <a href="#" tabindex="-1" class="menu-inactive" id="lientype" role="menuitem">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]&nbsp;<i class="fa fa-check"></i></a></li>
13
                        [% ELSE %]
13
                        [% ELSE %]
14
                            <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | uri %]"  tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]</a></li>
14
                            <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | uri %]"  tabindex="-1" id="lientype" role="menuitem"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]</a></li>
15
                        [% END %]
15
                        [% END %]
16
                    [% END # / IF sublanguages_loo.enabled %]
16
                    [% END # / IF sublanguages_loo.enabled %]
17
                [% END # / FOREACH sublanguages_loo %]
17
                [% END # / FOREACH sublanguages_loo %]
18
            [% ELSE %]
18
            [% ELSE %]
19
                [% IF ( languages_loo.group_enabled ) %]
19
                [% IF ( languages_loo.group_enabled ) %]
20
                    [% IF ( languages_loo.current ) %]
20
                    [% IF ( languages_loo.current ) %]
21
                        <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %]&nbsp;<i class="fa fa-check"></i></a></li>
21
                        <li role="presentation"><a href="#" tabindex="-1" id="lientype" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %]&nbsp;<i class="fa fa-check"></i></a></li>
22
                    [% ELSE %]
22
                    [% ELSE %]
23
                        <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag | uri %]"  tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %]</a></li>
23
                        <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag | uri %]" id="lientype"  tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %]</a></li>
24
                    [% END %]
24
                    [% END %]
25
                [% END # / IF languages_loo.current %]
25
                [% END # / IF languages_loo.current %]
26
            [% END # / IF ( languages_loo.plural ) %]
26
            [% END # / IF ( languages_loo.plural ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/last-borrower.inc (-3 / +4 lines)
Lines 1-4 Link Here
1
<div id="lastborrower-window">
1
<div id="lastborrower-window" class="lastborrower">
2
    <div id="lastborrower-ref" class="lastborrower"><a id="lastborrowerlink" href="" title="">Last patron</a></div>
2
    <div id="lastborrower-ref"><a id="lastborrowerlink" href="" title="">Last patron</a></div>
3
    <div id="lastborrower-remove" class="lastborrower"><i class="fa fa-remove"></i></div>
3
    <div id="lastborrower-bar">|</div>
4
    <div id="lastborrower-remove"><i class="fa fa-remove"></i></div>
4
</div>
5
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc (-18 / +97 lines)
Lines 1-21 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Notices Resident Search Box -->
3
<div id="header_search" class="fold">
4
<div id="header_search">
4
        <div id="notices_search" class="residentsearch">
5
	<div id="notices_search" class="residentsearch">
5
            <form action="/cgi-bin/koha/tools/letter.pl" method="post">
6
<form action="/cgi-bin/koha/tools/letter.pl" method="post">
6
                <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="" placeholder="Search existing notices"/>
7
        <label class="tip" for="searchfield">Search existing notices:</label>
7
                <input type="submit" class="submit" id="submit" name="search" value="" />
8
        <input class="head-searchbox" type="text" name="searchfield" id="searchfield" size="40" value="" />
8
            </form>
9
                <input type="submit" class="submit" name="search" value="Search" />
9
        </div>
10
        </form>	
10
11
	</div>
11
        [% INCLUDE 'patron-search-box.inc' %]
12
    [% INCLUDE 'patron-search-box.inc' %]
12
13
    [% INCLUDE 'catalogue-search-box.inc' %]
13
        [% INCLUDE 'catalogue-search-box.inc' %]
14
			<ul>
14
15
            <li><a class="keep_text" href="#notices_search">Search notices</a></li>
15
	<ul id="taille">
16
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
16
                <li><a id="icon_1" title="Search notices" onclick="clique(this)" class="iconsearch" href="#notices_search"><i class="fa fa-commenting-o"></i></a></li>
17
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
17
                [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
			</ul>	
18
                [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
19
20
                <span  id="button_1" class="buttonsearch active" >Search notices</span>
21
                <span id="button_2" class="buttonsearch">Check out</span>
22
                <span id="button_3" class="buttonsearch">Search the catalog</span>
23
	</ul>	
19
</div>
24
</div>
20
</div><!-- /gradient -->
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
21
<!-- End Notices Resident Search Box -->
100
<!-- End Notices Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc (-1 / +1 lines)
Lines 2-8 Link Here
2
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
3
[% BLOCK 'alt-address-style' %]
3
[% BLOCK 'alt-address-style' %]
4
    <fieldset class="rows" id="memberentry_address">
4
    <fieldset class="rows" id="memberentry_address">
5
        <legend id="alt_address_lgd">Alternate address</legend>
5
        <h3 id="alt_address_lgd">Alternate address</h3>
6
        <ol>
6
        <ol>
7
            [% IF Koha.Preference( 'AddressFormat' ) %]
7
            [% IF Koha.Preference( 'AddressFormat' ) %]
8
                [% PROCESS "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }" %]
8
                [% PROCESS "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }" %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style.inc (-1 / +1 lines)
Lines 1-7 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% BLOCK 'alt-contact-style' %]
2
[% BLOCK 'alt-contact-style' %]
3
    <fieldset class="rows" id="memberentry_altaddress">
3
    <fieldset class="rows" id="memberentry_altaddress">
4
        <legend id="alt_contact_lgd">Alternate contact</legend>
4
        <h3 id="alt_contact_lgd">Alternate contact</h3>
5
        <ol>
5
        <ol>
6
            [% IF Koha.Preference( 'AddressFormat' ) %]
6
            [% IF Koha.Preference( 'AddressFormat' ) %]
7
                [% PROCESS "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }" %]
7
                [% PROCESS "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }" %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc (-1 / +1 lines)
Lines 2-8 Link Here
2
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
3
[% BLOCK 'main-address-style' %]
3
[% BLOCK 'main-address-style' %]
4
    <fieldset class="rows" id="memberentry_mainaddress">
4
    <fieldset class="rows" id="memberentry_mainaddress">
5
        <legend id="main_address_lgd">Main address</legend>
5
        <h3 id="main_address_lgd">Main address</h3>
6
        <ol>
6
        <ol>
7
            [% IF Koha.Preference( 'AddressFormat' ) %]
7
            [% IF Koha.Preference( 'AddressFormat' ) %]
8
                [% PROCESS "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }" %]
8
                [% PROCESS "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }" %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-33 / +35 lines)
Lines 4-45 Link Here
4
[% USE Categories %]
4
[% USE Categories %]
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% USE scalar %]
6
[% USE scalar %]
7
7
<div id="toolbar" class="btn-toolbar">
8
<div id="toolbar" class="btn-toolbar">
8
    [% IF CAN_user_borrowers_edit_borrowers %]
9
    <div>
9
        <a id="editpatron" class="btn btn-default" href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-pencil"></i> Edit</a>
10
        [% IF CAN_user_borrowers_edit_borrowers %]
10
    [% END %]
11
        <a id="editpatron" class="pat" href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-pencil"></i> Edit</a>
12
        [% END %]
11
13
12
    [% IF CAN_user_borrowers_edit_borrowers %]
14
        [% IF CAN_user_borrowers_edit_borrowers %]
13
        [% IF patron.is_adult AND Koha.Preference("borrowerRelationship") %]
15
        [% IF patron.is_adult AND Koha.Preference("borrowerRelationship") %]
14
            <a id="addchild" class="btn btn-default" href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;guarantor_id=[% patron.borrowernumber | html %]"><i class="fa fa-plus"></i> Add guarantee</a>
16
            <a id="addchild" class="btn btn-default pat" href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;guarantor_id=[% patron.borrowernumber | html %]"><i class="fa fa-plus"></i> Add guarantee</a>
15
        [% END %]
17
        [% END %]
16
        <a id="changepassword" class="btn btn-default" href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | html %]"><i class="fa fa-lock"></i> Change password</a>
18
        <a id="changepassword" class="btn btn-default pat" href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | html %]"><i class="fa fa-lock"></i> Change password</a>
17
        <a id="duplicate" class="btn btn-default" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-copy"></i> Duplicate</a>
19
        <a id="duplicate" class="btn btn-default pat" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-copy"></i> Duplicate</a>
18
    [% END %]
19
20
20
    [% IF CAN_user_circulate_circulate_remaining_permissions %]
21
        <div class="btn-group">
21
    <div class="btn-group">
22
            <button class="pat" data-toggle="dropdown">More <span class="caret"></span></button>
22
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-print"></i> Print <span class="caret"></span></button>
23
            <ul class="dropdown-menu">
24
                <li><a id="printsummary" href="#">Print summary</a></li>
25
                <li><a id="printslip" href="#">Print slip</a></li>
26
                <li><a id="printquickslip" href="#">Print quick slip</a></li>
27
                [% IF patron.has_overdues %]
28
                    <li><a id="print_overdues" href="#">Print overdues</a></li>
29
                [% END %]
30
                <li><a id="printcheckinslip" href="#">Print checkin slip</a></li>
31
            </ul>
32
    </div>
33
    [% END %]
34
35
    [% IF ( CAN_user_reserveforothers ) %]
36
        <a id="searchtohold" class="btn btn-default" href="#"><i class="fa fa-search"></i> Search to hold</a>
37
    [% END %]
38
39
    <a id="addnewmessageLabel" href="#add_message_form" data-toggle="modal" class="btn btn-default"><i class="fa fa-comment-o"></i> Add message</a>
40
41
         <div class="btn-group">
42
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">More <span class="caret"></span></button>
43
            <ul class="dropdown-menu dropdown-menu-right">
23
            <ul class="dropdown-menu dropdown-menu-right">
44
                [% IF CAN_user_borrowers_edit_borrowers %]
24
                [% IF CAN_user_borrowers_edit_borrowers %]
45
                    <li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | html %]&amp;destination=[% destination | html %]&amp;reregistration=y">Renew patron</a></li>
25
                    <li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | html %]&amp;destination=[% destination | html %]&amp;reregistration=y">Renew patron</a></li>
Lines 97-102 Link Here
97
                    [% END %]
77
                    [% END %]
98
                [% END %]
78
                [% END %]
99
            </ul>
79
            </ul>
80
        </div>
81
        [% IF CAN_user_circulate_circulate_remaining_permissions %]
82
        <div class="btn-group">
83
            <button class="pat" data-toggle="dropdown"><i class="fa fa-print"></i> Print <span class="caret"></span></button>
84
            <ul class="dropdown-menu">
85
                <li><a id="printsummary" href="#">Print summary</a></li>
86
                <li><a id="printslip" href="#">Print slip</a></li>
87
                <li><a id="printquickslip" href="#">Print quick slip</a></li>
88
                [% IF patron.has_overdues %]
89
                <li><a id="print_overdues" href="#">Print overdues</a></li>
90
                [% END %]
91
                <li><a id="printcheckinslip" href="#">Print checkin slip</a></li>
92
            </ul>
93
        </div>
94
        [% END %]
95
96
        [% IF ( CAN_user_reserveforothers ) %]
97
        <a id="searchtohold" class="pat" href="#"><i class="fa fa-search"></i> Search to hold</a>
98
        [% END %]
99
100
        <a href="#add_message_form" data-toggle="modal" class="pat"><i class="fa fa-comment-o"></i> Add message</a>
101
100
    </div>
102
    </div>
101
</div>
103
</div>
102
104
Lines 136-143 Link Here
136
                    <input type="hidden" name="branchcode" value="[% Branches.GetLoggedInBranchcode | html %]" />
138
                    <input type="hidden" name="branchcode" value="[% Branches.GetLoggedInBranchcode | html %]" />
137
                </div>
139
                </div>
138
                <div class="modal-footer">
140
                <div class="modal-footer">
139
                    <button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> Save</button>
141
                    <button class="principal" type="submit"><i class="fa fa-check"></i> Save</button>
140
                    <button class="btn btn-default deny cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
142
                    <button class="Cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
141
                </div>
143
                </div>
142
            </form>
144
            </form>
143
        </div>
145
        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/noadd-warnings.inc (-2 / +2 lines)
Lines 2-11 Link Here
2
    <div class="dialog alert">
2
    <div class="dialog alert">
3
        <h3>Cannot add patron</h3>
3
        <h3>Cannot add patron</h3>
4
        [% IF ( no_branches ) %]
4
        [% IF ( no_branches ) %]
5
            <p><strong>There are no libraries defined. </strong>[% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/branches.pl">Please add a library</a>.[% ELSE %]An administrator must define at least one library.[% END %]</p>
5
            <p><strong>There are no libraries defined. </strong>[% IF ( CAN_user_parameters ) %]<a id="lientype" href="/cgi-bin/koha/admin/branches.pl">Please add a library</a>.[% ELSE %]An administrator must define at least one library.[% END %]</p>
6
        [% END %]
6
        [% END %]
7
        [% IF ( no_categories ) %]
7
        [% IF ( no_categories ) %]
8
            <p><strong>There are no patron categories defined. </strong>[% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/categories.pl">Please add a patron category</a>.[% ELSE %]An administrator must define at least one patron category.[% END %]</p>
8
            <p><strong>There are no patron categories defined. </strong>[% IF ( CAN_user_parameters ) %]<a id="lientype" href="/cgi-bin/koha/admin/categories.pl">Please add a patron category</a>.[% ELSE %]An administrator must define at least one patron category.[% END %]</p>
9
        [% END %]
9
        [% END %]
10
    </div>
10
    </div>
11
[% END %]
11
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc (-1 / +1 lines)
Lines 6-12 Link Here
6
        [%- SET age = (patron.get_age != undef) ? patron.get_age : patron.age -%]
6
        [%- SET age = (patron.get_age != undef) ? patron.get_age : patron.age -%]
7
        [%- IF age >= 0 %]
7
        [%- IF age >= 0 %]
8
            [%- patron.dateofbirth | $KohaDates -%]
8
            [%- patron.dateofbirth | $KohaDates -%]
9
            <span class='age_years'>[% I18N.tnx('({age} year)', '({age} years)', age, { age => age }) | html %]</span>
9
            <span class='age_years'>[% I18N.tnx('- {age} year', '- {age} years', age, { age => age }) | html %]</span>
10
        [%- END -%]
10
        [%- END -%]
11
   [%- END -%]
11
   [%- END -%]
12
[%- END -%]
12
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-return-claims.inc (-4 / +4 lines)
Lines 1-11 Link Here
1
<div id="return-claims">
1
<div id="return-claims">
2
    <p id="return-claims-controls">
2
    <p id="return-claims-controls">
3
        [% IF ( patron.return_claims.resolved.count > 0 || patron.return_claims.unresolved.count > 0 ) %]
3
        [% IF ( patron.return_claims.resolved.count > 0 || patron.return_claims.unresolved.count > 0 ) %]
4
            <a id="show_all_claims" class="ctrl_link" href="#">Show all [% patron.return_claims.count | html %] claim(s)</a>
4
            <a id="show_all_claims" class="ctrl_link lientype" href="#">Show all [% patron.return_claims.count | html %] claim(s)</a>
5
            <a id="show_unresolved_claims" class="ctrl_link disabled" href="#">Show [% patron.return_claims.unresolved.count | html %] unresolved claims</a>
5
            <a id="show_unresolved_claims" class="ctrl_link disabled lientype" href="#">Show [% patron.return_claims.unresolved.count | html %] unresolved claims</a>
6
        [% ELSE %]
6
        [% ELSE %]
7
            <a id="show_all_claims" class="ctrl_link" href="#"></a>
7
            <a id="show_all_claims" class="ctrl_link lientype" href="#"></a>
8
            <a id="show_unresolved_claims" class="ctrl_link disabled" href="#"></a>
8
            <a id="show_unresolved_claims" class="ctrl_link disabled lientype" href="#"></a>
9
        [% END %]
9
        [% END %]
10
    </p>
10
    </p>
11
  <table id="return-claims-table" class="table table-bordered table-striped">
11
  <table id="return-claims-table" class="table table-bordered table-striped">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc (-19 / +20 lines)
Lines 1-24 Link Here
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
2
    <div id="circ_search" class="residentsearch">
2
    <div id="circ_search" class="residentsearch">
3
    <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post">
3
        <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post"> 
4
    <label class="tip" for="findborrower">Enter patron card number or partial name:</label>
4
            [% IF ( PatronAutoComplete ) %]
5
    [% IF ( PatronAutoComplete ) %]
5
                <div class="autocomplete">
6
    <div class="autocomplete">
6
                        <input autocomplete="off" id="findborrower" style="width: calc(291px);" name="findborrower" class="head-searchbox focus" type="text" placeholder="Enter patron card number or partial name" />
7
                <input autocomplete="off" id="findborrower" name="findborrower" size="40" class="head-searchbox" type="text" />
7
                        <input id="autocsubmit" type="submit" class="submit" value=""/>
8
                <input id="autocsubmit" type="submit" class="submit" value="Submit" />
8
                    
9
            [% IF ( stickyduedate ) %]
9
                    [% IF ( stickyduedate ) %]
10
                        <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
11
                        <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
12
                    [% END %]
13
                </div>
14
15
            [% ELSE %]
16
                <input id="findborrower" name="findborrower" class="head-searchbox focus" type="text" autocomplete="off" />
17
                [% IF ( stickyduedate ) %]
10
                <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
18
                <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
11
                <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
19
                <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
20
                [% END %]
21
                <input value="" class="submit" type="submit" />
12
            [% END %]
22
            [% END %]
13
        </div>
23
        </form>
14
	[% ELSE %]
24
    </div>
15
            <input id="findborrower" name="findborrower" size="40" class="head-searchbox" type="text" autocomplete="off" />
25
[% END %]
16
            [% IF ( stickyduedate ) %]
17
            <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
18
            <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
19
            [% END %]
20
            <input value="Submit" class="submit" type="submit" />
21
	[% END %]
22
    </form>
23
	</div>
24
	[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-header.inc (-87 / +158 lines)
Lines 4-111 Link Here
4
[% USE raw %]
4
[% USE raw %]
5
[% PROCESS 'html_helpers.inc' %]
5
[% PROCESS 'html_helpers.inc' %]
6
[% PROCESS 'patronfields.inc' %]
6
[% PROCESS 'patronfields.inc' %]
7
<div class="gradient">
8
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Patrons Resident Search Box -->
9
<div id="header_search">
10
    <div id="patron_search" class="residentsearch">
11
    <form action="/cgi-bin/koha/members/member.pl" method="post">
12
        <label class="tip" for="searchmember">Enter patron card number or partial name:</label>
13
    <div class="autocomplete">
14
        <input id="searchmember" data-toggle="tooltip" size="25" class="head-searchbox" name="searchmember" type="text" value="[% searchmember | html %]" autocomplete="off" />
15
        <input type="hidden" name="quicksearch" value="1" />
16
        <span class="filteraction" id="filteraction_off"> <a href="#">[-]</a></span>
17
        <span class="filteraction" id="filteraction_on"> <a href="#">[+]</a></span>
18
        <input value="Search" class="submit" type="submit" />
19
    </div>
20
7
8
<div id="header_search" class="fold">
21
9
10
    <div id="patron_search" class="residentsearch">
11
        <form action="/cgi-bin/koha/members/member.pl" method="post">
12
            <div class="autocomplete">
13
                <input id="searchmember" data-toggle="tooltip" size="25" placeholder="Enter patron card number or partial name" class="head-searchbox focus" name="searchmember" type="text" value="[% searchmember | html %]" autocomplete="off" />
14
                <input type="hidden" name="quicksearch" value="1" />
15
                <span class="filteraction" id="filteraction_off"> <a href="#">[-]</a></span>
16
                <span class="filteraction" id="filteraction_on"> <a href="#">[+]</a></span>
17
                <input value="" class="submit" id="submit" type="submit" />
18
            </div>
22
19
23
    <div id="filters">
20
            <p class="plus" id="filters" style="display:none">
24
        <p><label for="searchfieldstype">Search fields:</label>
21
                <select name="searchfieldstype" id="searchfieldstype" style="position: relative;bottom: 5px;">
25
            <select name="searchfieldstype" id="searchfieldstype">
22
                    <option disabled selected hidden>Search fields:</option>
26
              [% SET standard = Koha.Preference('DefaultPatronSearchFields') || 'firstname,middle_name,surname,othernames,cardnumber,userid' %]
23
                [% pref_fields = Koha.Preference('DefaultPatronSearchFields').split(',') %]
27
              [% default_fields = [ standard, 'surname', 'cardnumber', 'email', 'borrowernumber', 'userid', 'phone', 'address', 'dateofbirth', 'sort1', 'sort2' ] %]
24
                [% default_fields = [ 'standard', 'surname', 'cardnumber', 'email', 'borrowernumber', 'userid', 'phone', 'address', 'dateofbirth', 'sort1', 'sort2' ] %]
28
              [% search_options = default_fields.merge(standard.split(',')).unique %]
25
                [% search_options = default_fields.merge(pref_fields).unique %]
29
              [% FOREACH s_o IN search_options %]
26
                [% FOREACH s_o IN search_options %]
30
                  [% display_name = PROCESS patron_fields name=s_o %]
27
                    [% display_name = PROCESS patron_fields name=s_o %]
31
                  [% NEXT IF !display_name.length %]
28
                    [% NEXT IF !display_name.length %]
32
                  [% IF searchfieldstype == s_o %]
29
                    [% IF searchfieldstype == s_o %]
33
                      <option selected="selected" value="[% s_o | html %]">[% display_name | $raw %]</option>
30
                        <option selected="selected" value="[% s_o | html %]">[% display_name | $raw %]</option>
34
                  [% ELSE %]
35
                      <option value="[% s_o | html %]">[% display_name | $raw %]</option>
36
                  [% END %]
37
              [% END %]
38
            </select>
39
        </p>
40
        <p>
41
            <label for="searchtype">Search type:</label>
42
            <select name="searchtype" id="searchtype">
43
              [% IF searchtype == 'start_with' %]
44
                  <option selected="selected" value='start_with'>Starts with</option>
45
                  <option value='contain'>Contains</option>
46
              [% ELSE %]
47
                  <option value='start_with'>Starts with</option>
48
                  <option selected="selected" value='contain'>Contains</option>
49
              [% END %]
50
            </select>
51
        </p>
52
53
        <p>
54
            <label for="branchcode">Library: </label>
55
            [% SET branches = Branches.all( selected => branchcode_filter, only_from_group => 1 ) %]
56
            <select name="branchcode_filter" id="branchcode">
57
                [% IF branches.size != 1 %]
58
                  <option value="">Any</option>
59
                [% END %]
60
                [% PROCESS options_for_libraries libraries => branches %]
61
            </select>
62
        </p>
63
64
        <p>
65
            <label for="categorycode">Category: </label>
66
            [% SET categories = Categories.all() %]
67
            <select name="categorycode_filter" id="categorycode">
68
                <option value="">Any</option>
69
                [% FOREACH category IN categories %]
70
                    [% IF category.categorycode == categorycode_filter %]
71
                        <option value="[% category.categorycode | html %]" selected="selected">[% category.description | html %]</option>
72
                    [% ELSE %]
31
                    [% ELSE %]
73
                        <option value="[% category.categorycode | html %]">[% category.description | html %]</option>
32
                        <option value="[% s_o | html %]">[% display_name | $raw %]</option>
74
                    [% END %]
33
                    [% END %]
75
                [% END %]
34
                [% END %]
76
            </select>
35
                </select>
77
        </p>
36
37
                <select name="searchtype" id="searchtype" style="position: relative;bottom: 5px;">
38
                [% IF searchtype == 'start_with' %]
39
                    <option selected="selected" value='start_with'>Starts with</option>
40
                    <option value='contain'>Contains</option>
41
                [% ELSE %]
42
                    <option value='start_with'>Starts with</option>
43
                    <option selected="selected" value='contain'>Contains</option>
44
                [% END %]
45
                </select>
46
47
                [% SET branches = Branches.all( selected => branchcode_filter, only_from_group => 1 ) %]
48
                <select name="branchcode_filter" id="branchcode" style="position: relative;bottom: 5px;">
49
                    <option disabled selected hidden>Library:</option>
50
                    [% IF branches.size != 1 %]
51
                    <option value="">Any</option>
52
                    [% END %]
53
                    [% PROCESS options_for_libraries libraries => branches %]
54
                </select>
55
56
                [% SET categories = Categories.all() %]
57
                <select name="categorycode_filter" id="categorycode" style="position: relative;bottom: 5px;">
58
                    <option disabled selected hidden>Category:</option>
59
                    <option value="">Any</option>
60
                    [% FOREACH category IN categories %]
61
                        [% IF category.categorycode == categorycode_filter %]
62
                            <option value="[% category.categorycode | html %]" selected="selected">[% category.description | html %]</option>
63
                        [% ELSE %]
64
                            <option value="[% category.categorycode | html %]">[% category.description | html %]</option>
65
                        [% END %]
66
                    [% END %]
67
                </select>
68
            </p>
69
        </form>
78
    </div>
70
    </div>
79
    </form>
71
80
</div>
81
    [% INCLUDE 'patron-search-box.inc' %]
72
    [% INCLUDE 'patron-search-box.inc' %]
82
73
83
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
74
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
84
    <div id="checkin_search" class="residentsearch">
75
    <div id="checkin_search" class="residentsearch">
85
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
76
        <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
86
        <label class="tip" for="ret_barcode">Scan a barcode to check in:</label>
77
            <input name="barcode" id="ret_barcode" class="head-searchbox" accesskey="r" type="text" placeholder="Scan a barcode to check in" />
87
    <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" accesskey="r" type="text" />
78
            <input value="" type="submit" id="submit" />
88
    <input value="Submit" class="submit" type="submit" />
79
        </form>
89
    </form>
80
    </div>
81
82
    <div id="renew_search" class="residentsearch">
83
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
84
            <input name="barcode" id="ren_barcode" class="head-searchbox" accesskey="r" type="text" placeholder="Scan a barcode to renew" />
85
            <input value="" type="submit" id="submit" />
86
        </form>
90
    </div>
87
    </div>
91
        <div id="renew_search" class="residentsearch">
92
            <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
93
                <label class="tip" for="ren_barcode">Scan a barcode to renew:</label>
94
                <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" type="text" />
95
                <input value="Submit" class="submit" type="submit" />
96
            </form>
97
        </div>
98
    [% END %]
88
    [% END %]
99
89
100
    [% INCLUDE 'catalogue-search-box.inc' %]
90
    [% INCLUDE 'catalogue-search-box.inc' %]
101
91
102
    <ul>
92
    <ul id="taille">
103
        <li><a class="keep_text" href="#patron_search">Search patrons</a></li>
93
        <li><a id="icon_1" title="Search patrons" onclick="clique(this)" class="iconsearch" href="#patron_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>
104
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
94
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
105
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
95
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_3" title="Check in" onclick="clique(this)" class="iconsearch" href="#checkin_search"><i class="fa fa-download"></i></a></li>[% END %]
106
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
96
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_4" title="Renew" onclick="clique(this)" class="iconsearch" href="#renew_search"><i class="fa fa-retweet"></i></a></li>[% END %]
107
        [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
97
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_5" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
98
99
        <span id="button_1" class="buttonsearch active">Search patrons</span>
100
        <span id="button_2" class="buttonsearch active">Check out</span>
101
        <span id="button_3" class="buttonsearch">Check in</span>
102
        <span id="button_4" class="buttonsearch">Renew</span>
103
        <span id="button_5" class="buttonsearch">Search catalog</span>
108
    </ul>
104
    </ul>
109
</div><!-- /header_search -->
105
</div><!-- /header_search -->
110
</div><!-- /gradient -->
106
111
<!-- End Patrons Resident Search Box -->
107
108
109
110
<script type="text/javascript">
111
    function focusInput(){
112
        document.getElementsByClassName('head-searchbox').focus();
113
    }
114
115
    function toggle(elem){style="width: calc(301px);"
116
        var buttonssearch = document.getElementsByClassName('active');
117
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
118
            buttonssearch[i].classList.remove('active');
119
        }
120
121
        if(elem){
122
            elem.classList.add('active');
123
            fold();
124
        }else{//Back
125
            document.getElementById('button_1').classList.add('active');
126
            document.getElementById('header_search').classList.remove('fold');
127
            document.getElementsByClassName('head-searchbox').style = '';
128
        }
129
130
        focusInput();
131
    }
132
133
    function clique(elem){
134
        var buttonssearch = document.getElementsByClassName('buttonsearch');
135
        var iconssearch = document.getElementsByClassName('iconsearch');
136
        var inputssearch = document.getElementsByClassName('head-searchbox');
137
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
138
            buttonssearch[i].classList.remove('active');
139
            if (elem == iconssearch[i]){
140
                buttonssearch[i].classList.add('active');
141
            }
142
        }
143
144
        for (var i = inputssearch.length - 1; i >= 0; i--) {
145
            inputssearch[i].classList.remove('focus');
146
147
            if (elem == iconssearch[i]){
148
                inputssearch[i].classList.add('focus');
149
150
                taille(inputssearch[i])
151
            }
152
        }
153
154
        focusInput();
155
        fold();
156
    }
157
158
    function fold(){
159
        document.getElementById('header_search').classList.add('fold');
160
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
161
        setTimeout(
162
            function(){
163
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
164
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
165
            }
166
        , 250);
167
    }
168
169
    function taille(el){
170
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
171
        el.style = "width:calc(500px - "+offsetWidth+"px)";
172
    }
173
174
    $('.btn').click(function(){
175
    if($(this).hasClass('active')){
176
        $(this).removeClass('active')
177
    } else {
178
        $(this).addClass('active')
179
    }
180
});
181
182
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-4 / +8 lines)
Lines 4-16 Link Here
4
[% USE raw %]
4
[% USE raw %]
5
[% USE Asset %]
5
[% USE Asset %]
6
[% USE To %]
6
[% USE To %]
7
[% PROCESS 'html_helpers.inc' %]
8
[% PROCESS 'patronfields.inc' %]
7
9
8
[%# Display a simple form %]
10
[%# Display a simple form %]
9
[% BLOCK patron_search_filters_simple  %]
11
[% BLOCK patron_search_filters_simple  %]
10
    <form id="patron_search_form">
12
    <form id="patron_search_form">
11
        <div class="hint">Enter patron card number or partial name:</div>
13
        <div class="hint">Enter patron card number or partial name:</div>
12
        <input type="text" size="40" id="search_patron_filter" class="focus" autocomplete="off" />
14
        <input type="text" size="40" id="search_patron_filter" class="focus" autocomplete="off" />
13
        <input type="submit" value="Search" />
15
        <input type="submit" class="principal" value="Search" />
14
    </form>
16
    </form>
15
[% END %]
17
[% END %]
16
18
Lines 22-30 Link Here
22
[%# - search_field: <select patron field list> %]
24
[%# - search_field: <select patron field list> %]
23
[%# - search_type: <select "contain" or "start with"> %]
25
[%# - search_type: <select "contain" or "start with"> %]
24
[% BLOCK patron_search_filters %]
26
[% BLOCK patron_search_filters %]
27
<div id="filters">
25
    <form id="patron_search_form">
28
    <form id="patron_search_form">
26
        <fieldset class="brief">
29
        <fieldset class="brief">
27
            <h3>Search for patron</h3>
30
            <h4>Search for patron</h4>
28
            <ol>
31
            <ol>
29
                <li>
32
                <li>
30
                    <label for="search_patron_filter">Search:</label>
33
                    <label for="search_patron_filter">Search:</label>
Lines 91-101 Link Here
91
                [% END %]
94
                [% END %]
92
            </ol>
95
            </ol>
93
            <fieldset class="action">
96
            <fieldset class="action">
94
                <input type="submit" value="Search" />
97
                <input type="submit" class="principal" value="Search" />
95
                <input type="button" value="Clear" id="clear_search" />
98
                <input type="button" value="Clear" class="cancel" id="clear_search" />
96
            </fieldset>
99
            </fieldset>
97
        </fieldset>
100
        </fieldset>
98
    </form>
101
    </form>
102
</div>
99
[% END %]
103
[% END %]
100
104
101
[%# Display the table with: %]
105
[%# Display the table with: %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc (-13 / +17 lines)
Lines 5-27 Link Here
5
5
6
[% UNLESS ( no_add ) %]
6
[% UNLESS ( no_add ) %]
7
<div id="toolbar" class="btn-toolbar">
7
<div id="toolbar" class="btn-toolbar">
8
    <div class="btn-group" id="new-patron-button">
8
    <div class="btn-group">
9
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button>
9
        <button class="pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button>
10
            <ul class="dropdown-menu">
10
        <ul class="dropdown-menu">
11
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode | uri %]">[% category.description | html %]</a></li>[% END %]
11
            [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode | uri %]">[% category.description | html %]</a></li>[% END %]
12
            </ul>
12
        </ul>
13
    </div>
13
    </div>
14
15
    <div class="btn-group">
14
    [% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
16
    [% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
15
    <div class="btn-group" id="quick-add-new-patron-button">
17
        <button class="pat" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button>
16
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button>
18
        <ul class="dropdown-menu">
17
            <ul class="dropdown-menu">
19
            [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode | uri %]&amp;quickadd=true">[% category.description | html %]</a></li>[% END %]
18
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode | uri %]&amp;quickadd=true">[% category.description | html %]</a></li>[% END %]
20
        </ul>
19
            </ul>
21
    
20
    </div>
21
    [% END %]
22
    [% END %]
23
    </div>
24
25
    <div class="btn-group">
22
    [% IF CAN_user_tools_manage_patron_lists %]
26
    [% IF CAN_user_tools_manage_patron_lists %]
23
        <a class="btn btn-default" href="/cgi-bin/koha/patron_lists/lists.pl" id="patron-lists-button"><i class="fa fa-edit"></i> Patron lists</a>
27
        <a class="pat" href="/cgi-bin/koha/patron_lists/lists.pl"><i class="fa fa-edit"></i> Patron lists</a>
24
    [% END %]
28
    [% END %]
25
29
    </div>
26
</div>
30
</div>
27
[% END %]
31
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-8 / +10 lines)
Lines 2-14 Link Here
2
[% SET return_claims = patron.return_claims %]
2
[% SET return_claims = patron.return_claims %]
3
3
4
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || charges || charges_guarantors_guarantees || charges_guarantees || credits ) %]
4
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || charges || charges_guarantors_guarantees || charges_guarantees || credits ) %]
5
    <fieldset>
5
    <h3>Attention</h3>
6
    <h3>Attention</h3>
6
    <ul>
7
    <ul>
7
        [% IF ( has_modifications ) %]
8
        [% IF ( has_modifications ) %]
8
            <li class="has_modifications">
9
            <li class="has_modifications">
9
                <span class="circ-hlt">Pending modifications:</span>
10
                <span class="circ-hlt">Pending modifications:</span>
10
                [% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %]
11
                [% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %]
11
                    <a href="/cgi-bin/koha/members/members-update.pl?active=[% patron.borrowernumber | uri %]">Review pending modifications</a>
12
                    <a href="/cgi-bin/koha/members/members-update.pl?active=[% patron.borrowernumber | uri %]" id="lientype">Review pending modifications</a>
12
                [% ELSE %]
13
                [% ELSE %]
13
                    <span>Patron has pending modifications</span>
14
                    <span>Patron has pending modifications</span>
14
                [% END %]
15
                [% END %]
Lines 20-26 Link Here
20
                <span class="circ-hlt">Expiration:</span>
21
                <span class="circ-hlt">Expiration:</span>
21
                <span>Patron's card will expire soon.</span>
22
                <span>Patron's card will expire soon.</span>
22
                <span>Patron's card expires on [% expiry | $KohaDates %]</span>
23
                <span>Patron's card expires on [% expiry | $KohaDates %]</span>
23
                <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]">Edit details</a>
24
                <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;destination=circ&amp;reregistration=y" id="lientype">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]" id="lientype">Edit details</a>
24
            </li>
25
            </li>
25
        [% END %]
26
        [% END %]
26
27
Lines 37-43 Link Here
37
                [% IF ( expiry ) %]
38
                [% IF ( expiry ) %]
38
                    <span>Patron's card expired on [% expiry | $KohaDates %]</span>
39
                    <span>Patron's card expired on [% expiry | $KohaDates %]</span>
39
                [% END %]
40
                [% END %]
40
                <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;destination=circ&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]">Edit details</a>
41
                <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;destination=circ&amp;reregistration=y" id="lientype">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]" id="lientype">Edit details</a>
41
            </li>
42
            </li>
42
        [% END %]
43
        [% END %]
43
44
Lines 71-81 Link Here
71
                        [% END %]
72
                        [% END %]
72
                    </em><br/>
73
                    </em><br/>
73
                [% END %]
74
                [% END %]
74
                <a class="btn btn-xs btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a>
75
                <a class="btn btn-xs btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()" id="lientype"><i class="fa fa-ban"></i> View restrictions</a>
75
76
76
                [% IF (noissues && CAN_user_circulate_force_checkout) %]
77
                [% IF (noissues && CAN_user_circulate_force_checkout) %]
77
                    <span class="override_debarment">
78
                    <span class="override_debarment">
78
                        <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&amp;borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-xs btn-default">Override restriction temporarily</a>
79
                        <a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&amp;borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-xs btn-default" id="lientype">Override restriction temporarily</a>
79
                    </span>
80
                    </span>
80
                [% END %]
81
                [% END %]
81
            </li> <!-- /.blocker -->
82
            </li> <!-- /.blocker -->
Lines 83-89 Link Here
83
84
84
        [% IF ( odues ) %]
85
        [% IF ( odues ) %]
85
            <li class="odues blocker">
86
            <li class="odues blocker">
86
                <span class="circ-hlt">Overdues:</span>  Patron has ITEMS OVERDUE <a href="#checkouts">See highlighted items below</a>
87
                <span class="circ-hlt">Overdues:</span>  Patron has ITEMS OVERDUE <a href="#checkouts" id="lientype">See highlighted items below</a>
87
            </li>
88
            </li>
88
        [% END %]
89
        [% END %]
89
90
Lines 126-131 Link Here
126
        [% END %]
127
        [% END %]
127
128
128
    </ul>
129
    </ul>
130
    </fieldset>
129
131
130
[% END # /F ( has_modifications || warndeparture... %]
132
[% END # /F ( has_modifications || warndeparture... %]
131
133
Lines 203-209 Link Here
203
205
204
[% IF ( patron_messages ) %]
206
[% IF ( patron_messages ) %]
205
    <div id="messages" class="circmessage">
207
    <div id="messages" class="circmessage">
206
        <h4>Messages</h4>
208
        <h3>Messages</h3>
207
        <ul>
209
        <ul>
208
            [% FOREACH patron_message IN patron_messages %]
210
            [% FOREACH patron_message IN patron_messages %]
209
                <li>
211
                <li>
Lines 220-226 Link Here
220
                        <em>"[% patron_message.message | html %]"</em>
222
                        <em>"[% patron_message.message | html %]"</em>
221
                    </span>
223
                    </span>
222
                    [% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %]
224
                    [% IF patron_message.branchcode == Branches.GetLoggedInBranchcode OR Koha.Preference('AllowAllMessageDeletion') %]
223
                        <a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% patron_message.message_id | html %]&amp;borrowernumber=[% patron_message.borrowernumber | html %]&amp;from=moremember" onclick='return confirm(_("Are you sure you want to delete this message? This cannot be undone."));'><i class="fa fa-trash"></i> Delete</a>
225
                        <a class="btn btn-link" id="lientype" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% patron_message.message_id | html %]&amp;borrowernumber=[% patron_message.borrowernumber | html %]&amp;from=moremember" onclick='return confirm(_("Are you sure you want to delete this message? This cannot be undone."));'><i class="fa fa-trash"></i> Delete</a>
224
                    [% END %]
226
                    [% END %]
225
                </li>
227
                </li>
226
            [% END %]
228
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc (-2 / +2 lines)
Lines 1-7 Link Here
1
[% INCLUDE 'blocking_errors.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
2
<div id="toolbar" class="btn-toolbar">
3
    <div class="btn-group">
3
    <div class="btn-group">
4
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
4
        <button class="pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
5
        <ul class="dropdown-menu">
5
        <ul class="dropdown-menu">
6
            <li><a href="/cgi-bin/koha/patroncards/edit-batch.pl?op=new">Card batch</a></li>
6
            <li><a href="/cgi-bin/koha/patroncards/edit-batch.pl?op=new">Card batch</a></li>
7
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Image</a></li>
7
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Image</a></li>
Lines 11-17 Link Here
11
        </ul>
11
        </ul>
12
    </div>
12
    </div>
13
    <div class="btn-group">
13
    <div class="btn-group">
14
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-edit"></i> Manage <span class="caret"></span></button>
14
        <button class="pat" data-toggle="dropdown"><i class="fa fa-edit"></i> Manage <span class="caret"></span></button>
15
        <ul class="dropdown-menu">
15
        <ul class="dropdown-menu">
16
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Card batches</a></li>
16
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Card batches</a></li>
17
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Images</a></li>
17
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Images</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc (-1 / +1 lines)
Lines 1-6 Link Here
1
[%- BLOCK patron_fields -%]
1
[%- BLOCK patron_fields -%]
2
     [%- SWITCH name -%]
2
     [%- SWITCH name -%]
3
     [%- CASE standard -%]<span>Standard</span>
3
     [%- CASE 'standard' -%]<span>Standard</span>
4
     [%- CASE 'borrowernumber' -%]<span>Borrowernumber</span>
4
     [%- CASE 'borrowernumber' -%]<span>Borrowernumber</span>
5
     [%- CASE 'cardnumber' -%]<span>Card number</span>
5
     [%- CASE 'cardnumber' -%]<span>Card number</span>
6
     [%- CASE 'surname' -%]<span>Surname</span>
6
     [%- CASE 'surname' -%]<span>Surname</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc (-28 / +94 lines)
Lines 1-34 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<div id="header_search" class="fold">
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Patrons Admin Resident Search Box -->
3
4
<div id="header_search">
5
	<div id="patron_category_search" class="residentsearch">
4
	<div id="patron_category_search" class="residentsearch">
6
	<form action="[% script_name | html %]" method="post">
5
        <form action="[% script_name | html %]" method="post">
7
        <label class="tip" for="description">Search by patron category name:</label>
6
            <input class="head-searchbox focus" type="text" name="description" value="[% searchfield | html %]" placeholder="Search by patron category name" />
8
        <input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield | html %]" />
7
            <input type="submit" class="submit" id="submit" name="search" value="" />
9
		<input type="submit" class="submit" name="search" value="Search" />
8
        </form>
10
	</form>	
11
	</div>
9
	</div>
10
12
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
13
	[% IF ( CAN_user_catalogue ) %]
12
14
    <div id="catalog_search" class="residentsearch">
13
	[% INCLUDE 'catalogue-search-box.inc' %]
15
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
14
16
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
15
	<ul id="taille">
17
                <label class="tip" for="search-form">Enter search keywords:</label>
16
        <li><a id="icon_1" title="Search patron categories" onclick="clique(this)" class="iconsearch" href="#patron_category_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>
18
                [% INCLUDE 'search_indexes.inc' %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
19
            [% ELSE %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
20
                <label class="tip" for="search-form">Enter search keywords:</label>
19
21
            [% END %]
20
        <span id="button_1" class="buttonsearch active">Search patron categories</span>
22
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
21
        <span id="button_2" class="buttonsearch">Check out</span>
23
				<input type="submit" value="Submit"  class="submit" />
22
        <span id="button_3" class="buttonsearch">Search the catalog</span>
24
		</form>
23
	</ul>	
25
	</div>[% END %]
26
27
	<ul>
28
            <li><a class="keep_text" href="#patron_category_search">Search patron categories</a></li>
29
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
30
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
31
			</ul>	
32
</div>
33
</div>
24
</div>
25
26
<script type="text/javascript">
27
    function focusInput(){
28
        document.getElementsByClassName('head-searchbox').focus();
29
    }
30
31
    function toggle(elem){style="width: calc(301px);"
32
        var buttonssearch = document.getElementsByClassName('active');
33
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
34
            buttonssearch[i].classList.remove('active');
35
        }
36
37
        if(elem){
38
            elem.classList.add('active');
39
            fold();
40
        }else{//Back
41
            document.getElementById('button_1').classList.add('active');
42
            document.getElementById('header_search').classList.remove('fold');
43
            document.getElementsByClassName('head-searchbox').style = '';
44
        }
45
46
        focusInput();
47
    }
48
49
    function clique(elem){
50
        var buttonssearch = document.getElementsByClassName('buttonsearch');
51
        var iconssearch = document.getElementsByClassName('iconsearch');
52
        var inputssearch = document.getElementsByClassName('head-searchbox');
53
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
54
            buttonssearch[i].classList.remove('active');
55
            if (elem == iconssearch[i]){
56
                buttonssearch[i].classList.add('active');
57
            }
58
        }
59
60
        for (var i = inputssearch.length - 1; i >= 0; i--) {
61
            inputssearch[i].classList.remove('focus');
62
63
            if (elem == iconssearch[i]){
64
                inputssearch[i].classList.add('focus');
65
66
                taille(inputssearch[i])
67
            }
68
        }
69
70
        focusInput();
71
        fold();
72
    }
73
74
    function fold(){
75
        document.getElementById('header_search').classList.add('fold');
76
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
77
        setTimeout(
78
            function(){
79
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
80
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
81
            }
82
        , 250);
83
    }
84
85
    function taille(el){
86
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
87
        el.style = "width:calc(500px - "+offsetWidth+"px)";
88
    }
89
90
    $('.btn').click(function(){
91
    if($(this).hasClass('active')){
92
        $(this).removeClass('active')
93
    } else {
94
        $(this).addClass('active')
95
    }
96
});
97
98
</script>
99
34
<!-- End Patrons Admin Resident Search Box -->
100
<!-- End Patrons Admin Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc (-2 / +2 lines)
Lines 3-10 Link Here
3
<div id="navmenu">
3
<div id="navmenu">
4
    <div id="navmenulist">
4
    <div id="navmenulist">
5
        [% IF ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) %]
5
        [% IF ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) %]
6
        <h5>Cash management</h5>
7
        <ul>
6
        <ul>
7
        <h5>Cash management</h5>
8
            <li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
8
            <li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
9
            [% IF !(Registers.session_register_name == '') %]
9
            [% IF !(Registers.session_register_name == '') %]
10
            <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
10
            <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
Lines 13-20 Link Here
13
        </ul>
13
        </ul>
14
        [% END %]
14
        [% END %]
15
        [% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
15
        [% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
16
        <h5>Administration</h5>
17
        <ul>
16
        <ul>
17
        <h5>Administration</h5>
18
            [% IF ( CAN_user_parameters_manage_cash_registers ) %]
18
            [% IF ( CAN_user_parameters_manage_cash_registers ) %]
19
                <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Configure cash registers</a></li>
19
                <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Configure cash registers</a></li>
20
            [% END %]
20
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc (-17 / +99 lines)
Lines 1-22 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div>
3
<div id="header_search" class="fold">
4
<div id="header_search">
4
5
	<div id="syspref_search" class="residentsearch">
5
    <div id="syspref_search" class="residentsearch">
6
	    <form action="/cgi-bin/koha/admin/preferences.pl">
6
        <form action="/cgi-bin/koha/admin/preferences.pl">
7
            <label class="tip" for="searchfield">System preference search:</label>
7
            <input type="hidden" name="tab" value="[% last_tab | html %]" />
8
        <input type="hidden" name="tab" value="[% last_tab | html %]" />
8
            <input type="hidden" name="op" value="search" />
9
        <input type="hidden" name="op" value="search" />
9
            <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="" placeholder="System preference search">
10
        <input class="head-searchbox" type="text" size="40" name="searchfield" id="searchfield" value="">
10
            <input type="submit" id="submit" value="" />
11
        <input type="submit" class="submit" value="Search" />
11
        </form>
12
    </form>
13
	</div>
12
	</div>
13
14
    [% INCLUDE 'patron-search-box.inc' %]
14
    [% INCLUDE 'patron-search-box.inc' %]
15
15
    [% INCLUDE 'catalogue-search-box.inc' %]
16
    [% INCLUDE 'catalogue-search-box.inc' %]
16
			<ul>
17
17
            <li><a class="keep_text" href="#syspref_search">Search system preferences</a></li>
18
    <ul id="taille">
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
19
        <li><a id="icon_1" title="Search system preferences" onclick="clique(this)" class="iconsearch" href="#syspref_search"><i class="fa fa-fw fa-cogs"></i></a></li>
19
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
20
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
20
			</ul>
21
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
21
</div>
22
23
        <span id="button_1" class="buttonsearch active">Search system preferences</span>
24
        <span id="button_2" class="buttonsearch">Check out</span>
25
        <span id="button_3" class="buttonsearch">Search the catalog</span>
26
    </ul>
22
</div>
27
</div>
28
29
<script type="text/javascript">
30
    function focusInput(){
31
        document.getElementsByClassName('head-searchbox').focus();
32
    }
33
34
    function toggle(elem){style="width: calc(301px);"
35
        var buttonssearch = document.getElementsByClassName('active');
36
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
37
            buttonssearch[i].classList.remove('active');
38
        }
39
40
        if(elem){
41
            elem.classList.add('active');
42
            fold();
43
        }else{//Back
44
            document.getElementById('button_1').classList.add('active');
45
            document.getElementById('header_search').classList.remove('fold');
46
            document.getElementsByClassName('head-searchbox').style = '';
47
        }
48
        
49
        focusInput();
50
    }
51
52
    function clique(elem){
53
        var buttonssearch = document.getElementsByClassName('buttonsearch');
54
        var iconssearch = document.getElementsByClassName('iconsearch');
55
        var inputssearch = document.getElementsByClassName('head-searchbox');
56
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
57
            buttonssearch[i].classList.remove('active');
58
            if (elem == iconssearch[i]){
59
                buttonssearch[i].classList.add('active');
60
            }
61
        }
62
63
        for (var i = inputssearch.length - 1; i >= 0; i--) {
64
            inputssearch[i].classList.remove('focus');
65
66
            if (elem == iconssearch[i]){
67
                inputssearch[i].classList.add('focus');
68
69
                taille(inputssearch[i])
70
            }
71
        }
72
73
        focusInput();
74
        fold();
75
    }
76
77
    function fold(){
78
        document.getElementById('header_search').classList.add('fold');
79
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
80
        setTimeout(
81
            function(){
82
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
83
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
84
            }
85
        , 250);
86
    }
87
88
    function taille(el){
89
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
90
        el.style = "width:calc(500px - "+offsetWidth+"px)";
91
    }
92
93
    $('.btn').click(function(){
94
    if($(this).hasClass('active')){
95
        $(this).removeClass('active')
96
    } else {
97
        $(this).addClass('active')
98
    }
99
});
100
101
</script>
102
103
<!-- /header_search -->
104
<!-- End Main page Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc (-2 / +4 lines)
Lines 1-5 Link Here
1
[% USE HtmlId %]
1
[% USE HtmlId %]
2
<div id="menu">
2
<div id="navmenu">
3
<div id="navmenulist">
3
    <ul>
4
    <ul>
4
        [% IF ( accounting ) %]
5
        [% IF ( accounting ) %]
5
            <li class="active">
6
            <li class="active">
Lines 170-180 Link Here
170
        </li>
171
        </li>
171
    </ul>
172
    </ul>
172
</div>
173
</div>
174
</div>
173
175
174
[% BLOCK subtabs %]
176
[% BLOCK subtabs %]
175
    [% UNLESS ( searchfield ) %]
177
    [% UNLESS ( searchfield ) %]
176
        [% FOREACH TAB IN TABS %]
178
        [% FOREACH TAB IN TABS %]
177
            <ul>
179
            <ul class="sousmenu">
178
                [% FOREACH LINE IN TAB.LINES %]
180
                [% FOREACH LINE IN TAB.LINES %]
179
                    [% IF ( LINE.is_group_title ) %]
181
                    [% IF ( LINE.is_group_title ) %]
180
                        <li><a class="pref_sublink" href="#[% LINE.title | $HtmlId %]">[% LINE.title | html %]</a></li>
182
                        <li><a class="pref_sublink" href="#[% LINE.title | $HtmlId %]">[% LINE.title | html %]</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/recalls.inc (-6 / +6 lines)
Lines 101-118 Link Here
101
                            &nbsp;
101
                            &nbsp;
102
                        [% ELSE %]
102
                        [% ELSE %]
103
                            <div class="btn-group">
103
                            <div class="btn-group">
104
                                <a class="btn btn-sm dropdown-toggle" data-toggle="dropdown" href="#"> Actions <span class="caret"></span></a>
104
                                <a class="btn btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="lientype"> Actions <span class="caret"></span></a>
105
                                <ul class="dropdown-menu pull-right">
105
                                <ul class="dropdown-menu pull-right">
106
                                    [% IF ( recall.requested or recall.overdue ) %]
106
                                    [% IF ( recall.requested or recall.overdue ) %]
107
                                        <li><a class="cancel_recall" data-id="[% recall.id | html %]" data-action="cancel"><i class="fa fa-times"></i> Cancel</a></li>
107
                                        <li><a class="cancel_recall" data-id="[% recall.id | html %]" data-action="cancel" id="lientype"><i class="fa fa-times"></i> Cancel</a></li>
108
                                        [% IF ( recall.should_be_overdue ) %]
108
                                        [% IF ( recall.should_be_overdue ) %]
109
                                            <li><a class="overdue_recall" data-id="[% recall.id | html %]" data-action="overdue"><i class="fa fa-hourglass-end"></i> Mark as overdue</a></li>
109
                                            <li><a class="overdue_recall" data-id="[% recall.id | html %]" data-action="overdue" id="lientype"><i class="fa fa-hourglass-end"></i> Mark as overdue</a></li>
110
                                        [% END %]
110
                                        [% END %]
111
                                    [% ELSIF ( recall.waiting ) %]
111
                                    [% ELSIF ( recall.waiting ) %]
112
                                        <li><a class="revert_recall" data-id="[% recall.id | html %]" data-action="revert"><i class="fa fa-undo"></i> Revert waiting</a></li>
112
                                        <li><a class="revert_recall" data-id="[% recall.id | html %]" data-action="revert" id="lientype"><i class="fa fa-undo"></i> Revert waiting</a></li>
113
                                        <li><a class="expire_recall" data-id="[% recall.id | html %]" data-action="expire"><i class="fa fa-times"></i> Expire</a></li>
113
                                        <li><a class="expire_recall" data-id="[% recall.id | html %]" data-action="expire" id="lientype"><i class="fa fa-times"></i> Expire</a></li>
114
                                    [% ELSIF ( recall.in_transit ) %]
114
                                    [% ELSIF ( recall.in_transit ) %]
115
                                        <li><a class="transit_recall" data-id="[% recall.id | html %]" data-action="transit"><i class="fa fa-times"></i> Cancel recall and return to: [% Branches.GetName(recall.item.homebranch) | html %]</a></li>
115
                                        <li><a class="transit_recall" data-id="[% recall.id | html %]" data-action="transit" id="lientype"><i class="fa fa-times"></i> Cancel recall and return to: [% Branches.GetName(recall.item.homebranch) | html %]</a></li>
116
                                    [% END %]
116
                                    [% END %]
117
                                </ul>
117
                                </ul>
118
                            </div>
118
                            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc (-31 / +29 lines)
Lines 2-55 Link Here
2
2
3
<div id="navmenu">
3
<div id="navmenu">
4
    <div id="navmenulist">
4
    <div id="navmenulist">
5
        <ul>
6
            <h5>Guided reports</h5>
7
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
8
            [% IF ( CAN_user_reports_create_reports ) %]
9
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build new</a></li>
10
            [% END %]
11
            [% IF ( CAN_user_reports_execute_reports ) %]
12
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Use saved</a></li>
13
            [% END %]
14
            [% IF ( CAN_user_reports_create_reports ) %]
15
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">Create from SQL</a></li>
16
            [% END %]
17
        </ul>
5
18
6
        <h5>Guided reports</h5>
19
        <ul>
7
            <ul>
20
            <h5>Statistics wizards</h5>
8
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
21
            <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
9
                [% IF ( CAN_user_reports_create_reports ) %]
22
            <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
10
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build new</a></li>
23
            <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
11
                [% END %]
24
            <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
12
                [% IF ( CAN_user_reports_execute_reports ) %]
25
            <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
13
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Use saved</a></li>
26
            <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
14
                [% END %]
27
            <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
15
                [% IF ( CAN_user_reports_create_reports ) %]
28
        </ul>
16
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">Create from SQL</a></li>
17
                [% END %]
18
            </ul>
19
20
        <h5>Statistics wizards</h5>
21
            <ul>
22
                <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
23
                <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
24
                <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
25
                <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
26
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
27
                <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
28
                <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
29
            </ul>
30
29
31
        [% IF Koha.ArePluginsEnabled() %]
30
        [% IF Koha.ArePluginsEnabled() %]
31
        <ul>
32
            <h5>Report plugins</h5>
32
            <h5>Report plugins</h5>
33
            <ul>
33
            <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
34
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
34
        </ul>
35
            </ul>
36
        [% END %]
35
        [% END %]
37
36
38
        <h5>Top lists</h5>
39
        <ul>
37
        <ul>
38
            <h5>Top lists</h5>
40
            <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
39
            <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
41
            <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
40
            <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
42
        </ul>
41
        </ul>
43
42
44
        <h5>Inactive</h5>
45
        <ul>
43
        <ul>
44
            <h5>Inactive</h5>
46
            <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
45
            <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
47
            <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
46
            <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
48
        </ul>
47
        </ul>
49
48
50
51
        <h5>Other</h5>
52
        <ul>
49
        <ul>
50
            <h5>Other</h5>
53
            <li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
51
            <li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
54
            <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
52
            <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
55
            <li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalog by item type</a></li>
53
            <li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalog by item type</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc (-13 / +13 lines)
Lines 2-8 Link Here
2
<div id="toolbar" class="btn-toolbar">
2
<div id="toolbar" class="btn-toolbar">
3
    [% IF ( CAN_user_reports_create_reports ) %]
3
    [% IF ( CAN_user_reports_create_reports ) %]
4
        <div class="btn-group">
4
        <div class="btn-group">
5
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New report <span class="caret"></span></button>
5
            <button class="pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New report <span class="caret"></span></button>
6
            <ul class="dropdown-menu">
6
            <ul class="dropdown-menu">
7
                <li id="newmenuc"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">New guided report</a> </li>
7
                <li id="newmenuc"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">New guided report</a> </li>
8
                <li id="newsql"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">New SQL report</a> </li>
8
                <li id="newsql"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">New SQL report</a> </li>
Lines 16-29 Link Here
16
    [% IF ( showsql || execute || editsql || save_successful ) %]
16
    [% IF ( showsql || execute || editsql || save_successful ) %]
17
        [% IF ( CAN_user_reports_delete_reports && !CAN_user_reports_create_reports ) %]
17
        [% IF ( CAN_user_reports_delete_reports && !CAN_user_reports_create_reports ) %]
18
            <div class="btn-group">
18
            <div class="btn-group">
19
                <a class="delete btn btn-default" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&phase=Delete%20Saved">
19
                <a class="pat" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&phase=Delete%20Saved">
20
                    <i class="fa fa-trash"></i> Delete
20
                    <i class="fa fa-trash"></i> Delete
21
                </a>
21
                </a>
22
            </div>
22
            </div>
23
        [% ELSE %]
23
        [% ELSE %]
24
            [% IF ( CAN_user_reports_create_reports || CAN_user_reports_delete_reports ) %]
24
            [% IF ( CAN_user_reports_create_reports || CAN_user_reports_delete_reports ) %]
25
                <div class="btn-group">
25
                <div class="btn-group">
26
                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
26
                    <button type="button" class="btn btn-default pat dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
27
                        aria-expanded="false">
27
                        aria-expanded="false">
28
                        <i class="fa fa-pencil"></i> Edit <span class="caret"></span>
28
                        <i class="fa fa-pencil"></i> Edit <span class="caret"></span>
29
                    </button>
29
                    </button>
Lines 59-70 Link Here
59
    [% IF ( showsql || execute || editsql || save_successful ) %]
59
    [% IF ( showsql || execute || editsql || save_successful ) %]
60
        [% UNLESS ( errors ) # Unless there are errors saving a report %]
60
        [% UNLESS ( errors ) # Unless there are errors saving a report %]
61
            <div class="btn-group">
61
            <div class="btn-group">
62
                <a id="runreport" class="btn btn-default" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&amp;phase=Run%20this%20report">
62
                <a id="runreport" class="pat" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&amp;phase=Run%20this%20report">
63
                    <i class="fa fa-play"></i> Run report
63
                    <i class="fa fa-play"></i> Run report
64
                </a>
64
                </a>
65
            </div>
65
            </div>
66
            <div class="btn-group">
66
            <div class="btn-group">
67
                <a class="btn btn-default" href="/cgi-bin/koha/tools/scheduler.pl?id=[% id | html %]">
67
                <a class="pat" href="/cgi-bin/koha/tools/scheduler.pl?id=[% id | html %]">
68
                    <i class="fa fa-clock-o"></i> Schedule
68
                    <i class="fa fa-clock-o"></i> Schedule
69
                </a>
69
                </a>
70
            </div>
70
            </div>
Lines 72-78 Link Here
72
72
73
        [% IF ( mana_id && Koha.Preference('Mana') == 1 ) %]
73
        [% IF ( mana_id && Koha.Preference('Mana') == 1 ) %]
74
            <div class="btn-group">
74
            <div class="btn-group">
75
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
75
                <button class="pat" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
76
                <ul class="dropdown-menu">
76
                <ul class="dropdown-menu">
77
                    [% FOREACH c IN mana_comments %]
77
                    [% FOREACH c IN mana_comments %]
78
                        <li class="mana-comment" data-id="[% c.id | $raw %]">
78
                        <li class="mana-comment" data-id="[% c.id | $raw %]">
Lines 112-118 Link Here
112
112
113
113
114
            <div class="btn-group">
114
            <div class="btn-group">
115
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" id="format"><i class="fa fa-download"></i> Download <span class="caret"></span></button>
115
                <button class="pat" data-toggle="dropdown" id="format"><i class="fa fa-download"></i> Download <span class="caret"></span></button>
116
                <ul class="dropdown-menu">
116
                <ul class="dropdown-menu">
117
                    <li><a id="csv" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&amp;format=csv&amp;report_id=[% id | html %]&amp;reportname=[% name |uri %][% PROCESS params %]">[% PROCESS 'delimiter_text.inc' %]</a></li>
117
                    <li><a id="csv" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&amp;format=csv&amp;report_id=[% id | html %]&amp;reportname=[% name |uri %][% PROCESS params %]">[% PROCESS 'delimiter_text.inc' %]</a></li>
118
                    <li><a id="tab" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&amp;format=tab&amp;report_id=[% id | html %]&amp;reportname=[% name |uri %][% PROCESS params %]">Tab separated text</a></li>
118
                    <li><a id="tab" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&amp;format=tab&amp;report_id=[% id | html %]&amp;reportname=[% name |uri %][% PROCESS params %]">Tab separated text</a></li>
Lines 123-138 Link Here
123
                </ul>
123
                </ul>
124
            </div>
124
            </div>
125
            <div class="btn-group">
125
            <div class="btn-group">
126
                <button type="button" id="toggle_sql" class="btn btn-default toggle_sql" data-complete-text="<i class='fa fa-eye-slash'></i> [% t('Hide SQL code') | html %]" data-toggle="button" aria-pressed="false" autocomplete="off">
126
                <button type="button" id="toggle_sql pat" class="btn btn-default toggle_sql" data-complete-text="<i class='fa fa-eye-slash'></i> [% t('Hide SQL code') | html %]" data-toggle="button" aria-pressed="false" autocomplete="off">
127
                    <i class="fa fa-eye"></i> Show SQL code
127
                    <i class="fa fa-eye"></i> Show SQL code
128
                </button>
128
                </button>
129
            </div>
129
            </div>
130
            <div class="btn-group">
130
            <div class="btn-group">
131
                [% IF allresults.size %]
131
                [% IF allresults.size %]
132
                    <a class="btn btn-default" href="#" data-toggle="modal" data-target="#chartModal"><i class="fa fa-bar-chart"></i> Create chart</a>
132
                    <a class="pat" href="#" data-toggle="modal" data-target="#chartModal"><i class="fa fa-bar-chart"></i> Create chart</a>
133
                [% ELSE %]
133
                [% ELSE %]
134
                    <a class="btn btn-default" href="#" data-toggle="modal" data-target="#chartModal"><i class="fa fa-bar-chart"></i> Create chart</a>
134
                    <a class="pat" href="#" data-toggle="modal" data-target="#chartModal"><i class="fa fa-bar-chart"></i> Create chart</a>
135
                    <a class="btn btn-default fetch_chart_data" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&amp;phase=Run this report&amp;reportname=[% name |uri %][% PROCESS params %]&amp;want_full_chart=1"><i class="fa fa-bar-chart"></i> Fetch all data for chart</a>
135
                    <a class="pat fetch_chart_data" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id | html %]&amp;phase=Run this report&amp;reportname=[% name |uri %][% PROCESS params %]&amp;want_full_chart=1"><i class="fa fa-bar-chart"></i> Fetch all data for chart</a>
136
                [% END %]
136
                [% END %]
137
137
138
            </div>
138
            </div>
Lines 163-169 Link Here
163
                            <p>
163
                            <p>
164
                                Search reports by keyword:
164
                                Search reports by keyword:
165
                                <input type="text" id="mana_search_field" />
165
                                <input type="text" id="mana_search_field" />
166
                                <input type="submit" class="mana_search_button" value="Search" />
166
                                <input type="submit" class="mana_search_button principal" value="Search" />
167
                                <span id="mana-loading" style="display:none"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </span>
167
                                <span id="mana-loading" style="display:none"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </span>
168
                            </p>
168
                            </p>
169
                        </fieldset>
169
                        </fieldset>
Lines 171-177 Link Here
171
                        </div>
171
                        </div>
172
                    </div>
172
                    </div>
173
                    <div class="modal-footer">
173
                    <div class="modal-footer">
174
                        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
174
                        <button type="button" class="Cancel" data-dismiss="modal">Cancel</button>
175
                    </div>
175
                    </div>
176
                </div>
176
                </div>
177
            </form>
177
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/rotating-collections-toolbar.inc (-4 / +4 lines)
Lines 1-18 Link Here
1
[% INCLUDE 'blocking_errors.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
2
<div id="toolbar" class="btn-toolbar">
3
    <div class="btn-group">
3
    <div class="btn-group">
4
        <a class="btn btn-default" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=new"><i class="fa fa-plus"></i> New collection</a>
4
        <a class="btn btn-default pat" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=new"><i class="fa fa-plus"></i> New collection</a>
5
    </div>
5
    </div>
6
6
7
    [% IF ( colId ) %]
7
    [% IF ( colId ) %]
8
        <div class="btn-group">
8
        <div class="btn-group">
9
            <a class="btn btn-default" href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% colId | html %]"><i class="fa fa-exchange"></i> Transfer</a>
9
            <a class="btn btn-default pat" href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% colId | html %]"><i class="fa fa-exchange"></i> Transfer</a>
10
        </div>
10
        </div>
11
        <div class="btn-group">
11
        <div class="btn-group">
12
            <a class="btn btn-default" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% colId | html %]"><i class="fa fa-pencil"></i> Edit</a>
12
            <a class="btn btn-default pat" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% colId | html %]"><i class="fa fa-pencil"></i> Edit</a>
13
        </div>
13
        </div>
14
        <div class="btn-group">
14
        <div class="btn-group">
15
            <a class="btn btn-default confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% colId | html %]"><i class="fa fa-trash"></i> Delete</a>
15
            <a class="btn btn-default  pat confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% colId | html %]"><i class="fa fa-trash"></i> Delete</a>
16
        </div>
16
        </div>
17
    [% END %]
17
    [% END %]
18
</div>
18
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc (-16 / +16 lines)
Lines 1-19 Link Here
1
<div id="navmenu">
1
<div id="navmenu">
2
    <div id="navmenulist">
2
    <div id="navmenulist">
3
        <h5>Serials</h5>
4
        <ul>
3
        <ul>
5
        [% IF ( subscriptionid ) %]
4
            <h5>Serials</h5>
6
                <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
5
            [% IF ( subscriptionid ) %]
7
                [% UNLESS closed %]
6
            <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
8
                    [% IF ( routing && CAN_user_serials_routing ) %]
7
            [% UNLESS closed %]
9
                        [% IF ( hasRouting ) %]
8
            [% IF ( routing && CAN_user_serials_routing ) %]
10
                            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]">Edit routing list</a></li>
9
            [% IF ( hasRouting ) %]
11
                        [% ELSE %]
10
            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]">Edit routing list</a></li>
12
                            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]&amp;op=new">Create routing list</a></li>
11
            [% ELSE %]
13
                        [% END %]
12
            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]&amp;op=new">Create routing list</a></li>
14
                    [% END %]
13
            [% END %]
15
                [% END %]
14
            [% END %]
16
        [% END %]
15
            [% END %]
16
            [% END %]
17
17
18
            [% IF ( CAN_user_serials_claim_serials ) %]
18
            [% IF ( CAN_user_serials_claim_serials ) %]
19
                <li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
19
                <li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
Lines 42-51 Link Here
42
        </ul>
42
        </ul>
43
43
44
        [% IF ( CAN_user_reports ) %]
44
        [% IF ( CAN_user_reports ) %]
45
        <ul>
45
            <h5>Reports</h5>
46
            <h5>Reports</h5>
46
            <ul>
47
            <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
47
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
48
        </ul>
48
            </ul>
49
        [% END %]
49
        [% END %]
50
50
51
    </div>
51
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc (-23 / +102 lines)
Lines 1-30 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<!-- Begin Main page Resident Search Box -->
3
  <div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Serials Resident Search Box -->
3
4
  <div id="header_search">
4
<div id="header_search" class="fold">
5
    <div id="subscription_search" class="residentsearch">
5
    <div id="subscription_search" class="residentsearch">
6
    <p class="tip">Search subscriptions:</p>
6
        <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
7
    <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
7
            [% IF ( routing ) %]
8
      [% IF ( routing ) %]
8
            <input type="hidden" name="routing" value="[% routing | html %]" />
9
        <input type="hidden" name="routing" value="[% routing | html %]" />
9
            [% END %]
10
      [% END %]
10
            <input type="hidden" name="searched" value="1" />
11
      <input type="hidden" name="searched" value="1" />
11
            <input type="text" placeholder="ISSN" size="3" class="focus" style="display:inline;right: 225px" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
12
      <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
12
13
13
            [% IF (UNIMARC) %]
14
      [% IF (UNIMARC) %]
14
            <input type="text" placeholder="EAN" size="3" class="focus" style="display:inline;right: 130px" maxlength="40" name="EAN_filter" id="EAN_filter" value="[% EAN_filter | html %]" />
15
        <label for="EAN_filter">EAN:</label> <input type="text" size="20" maxlength="40" name="EAN_filter" id="EAN_filter" value="[% EAN_filter | html %]" />
15
            [% END %]
16
      [% END %]
16
            <input type="text" size="3" placeholder="Title" class="focus" style="display:inline" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" />
17
      <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" />
17
            <input value="" class="submit" id="submit" type="submit" />
18
      <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/serials/serials-search.pl">Advanced search</a>
18
        </form>
19
    </form>
20
    </div>
19
    </div>
20
21
    [% INCLUDE 'patron-search-box.inc' %]
21
    [% INCLUDE 'patron-search-box.inc' %]
22
22
    [% INCLUDE 'catalogue-search-box.inc' %]
23
    [% INCLUDE 'catalogue-search-box.inc' %]
23
    <ul>
24
24
      <li><a href="#subscription_search">Search subscriptions</a></li>
25
    <ul id="taille">
25
      [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
26
        <li><a id="icon_1" title="Search subscriptions" onclick="clique(this)" class="iconsearch" href="#subscription_search"><i class="fa fa-book"></i></a></li>
26
      [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
27
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
28
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
29
30
        <span id="button_1" class="buttonsearch active">Search subscriptions</span>
31
        <span id="button_2" class="buttonsearch">Check out</span>
32
        <span id="button_3" class="buttonsearch">Search catalog</span>
27
    </ul>
33
    </ul>
28
  </div><!-- /header_search -->
34
</div><!-- /header_search -->
29
</div><!-- /gradient -->
35
36
37
<script type="text/javascript">
38
    function focusInput(){
39
        document.getElementsByClassName('head-searchbox').focus();
40
    }
41
42
    function toggle(elem){style="width: calc(301px);"
43
        var buttonssearch = document.getElementsByClassName('active');
44
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
45
            buttonssearch[i].classList.remove('active');
46
        }
47
48
        if(elem){
49
            elem.classList.add('active');
50
            fold();
51
        }else{//Back
52
            document.getElementById('button_1').classList.add('active');
53
            document.getElementById('header_search').classList.remove('fold');
54
            document.getElementsByClassName('head-searchbox').style = '';
55
        }
56
57
        focusInput();
58
    }
59
60
    function clique(elem){
61
        var buttonssearch = document.getElementsByClassName('buttonsearch');
62
        var iconssearch = document.getElementsByClassName('iconsearch');
63
        var inputssearch = document.getElementsByClassName('head-searchbox');
64
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
65
            buttonssearch[i].classList.remove('active');
66
            if (elem == iconssearch[i]){
67
                buttonssearch[i].classList.add('active');
68
            }
69
        }
70
71
        for (var i = inputssearch.length - 1; i >= 0; i--) {
72
73
            if (elem == iconssearch[i]){
74
                inputssearch[i].classList.add('focus');
75
76
                taille(inputssearch[i])
77
            }
78
        }
79
80
        focusInput();
81
        fold();
82
    }
83
84
    function fold(){
85
        document.getElementById('header_search').classList.add('fold');
86
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
87
        setTimeout(
88
            function(){
89
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
90
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
91
            }
92
        , 250);
93
    }
94
95
    function taille(el){
96
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
97
        el.style = "width:calc(500px - "+offsetWidth+"px)";
98
    }
99
100
    $('.btn').click(function(){
101
    if($(this).hasClass('active')){
102
        $(this).removeClass('active')
103
    } else {
104
        $(this).addClass('active')
105
    }
106
});
107
108
</script>
30
<!-- End Serials Resident Search Box -->
109
<!-- End Serials Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc (-15 / +15 lines)
Lines 4-19 Link Here
4
    <div id="toolbar" class="btn-toolbar">
4
    <div id="toolbar" class="btn-toolbar">
5
        [% IF CAN_user_serials_create_subscription %]
5
        [% IF CAN_user_serials_create_subscription %]
6
            [% IF biblionumber_for_new_subscription %]
6
            [% IF biblionumber_for_new_subscription %]
7
                <div class="btn-group"><a id="newsubscription" class="btn btn-default" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription | html %]"><i class="fa fa-plus"></i> New subscription for this serial</a></div>
7
                <div class="btn-group"><a id="newsubscription" class="pat" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription | html %]"><i class="fa fa-plus"></i> New subscription for this serial</a></div>
8
            [% ELSE %]
8
            [% ELSE %]
9
                <div class="btn-group"><a id="newsubscription" class="btn btn-default" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> New subscription</a></div>
9
                <div class="btn-group"><a id="newsubscription" class="pat" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> New subscription</a></div>
10
            [% END %]
10
            [% END %]
11
        [% END %]
11
        [% END %]
12
12
13
        [% IF ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription ) %]
13
        [% IF ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription ) %]
14
            [% UNLESS ( cannotedit ) %]
14
            [% UNLESS ( cannotedit ) %]
15
                <div class="btn-group">
15
                <div class="btn-group">
16
                    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
16
                    <button class="pat" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
17
                        <ul class="dropdown-menu">
17
                        <ul class="dropdown-menu">
18
                            [% IF ( CAN_user_serials_edit_subscription ) %]
18
                            [% IF ( CAN_user_serials_edit_subscription ) %]
19
                                <li>
19
                                <li>
Lines 51-81 Link Here
51
51
52
        [% IF not cannotedit or CAN_user_serials_receive_serials %]
52
        [% IF not cannotedit or CAN_user_serials_receive_serials %]
53
            [% IF CAN_user_serials_renew_subscription and not closed %]
53
            [% IF CAN_user_serials_renew_subscription and not closed %]
54
                <div class="btn-group"><a id="renew" class="btn btn-default" href="#"><i class="fa fa-refresh"></i> Renew</a></div>
54
                <div class="btn-group"><a id="renew" class="pat" href="#"><i class="fa fa-refresh"></i> Renew</a></div>
55
            [% END %]
55
            [% END %]
56
            [% IF CAN_user_serials_receive_serials and not closed %]
56
            [% IF CAN_user_serials_receive_serials and not closed %]
57
                <div class="btn-group"><a id="receive" class="btn btn-default" href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscriptionid | html %]&amp;serstatus=1,3"><i class="fa fa-inbox"></i> Receive</a></div>
57
                <div class="btn-group"><a id="receive" class="pat" href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscriptionid | html %]&amp;serstatus=1,3"><i class="fa fa-inbox"></i> Receive</a></div>
58
            [% END %]
58
            [% END %]
59
            [% UNLESS cannotedit %]
59
            [% UNLESS cannotedit %]
60
                [% IF closed %]
60
                [% IF closed %]
61
                    <div class="btn-group"><a id="reopen" class="btn btn-default" href="#"><i class="fa fa-repeat"></i> Reopen</a></div>
61
                    <div class="btn-group"><a id="reopen" class="pat" href="#"><i class="fa fa-repeat"></i> Reopen</a></div>
62
                [% ELSE %]
62
                [% ELSE %]
63
                    <div class="btn-group"><a id="close" class="btn btn-default" href="#"><i class="fa fa-times-circle"></i> Close</a></div>
63
                    <div class="btn-group"><a id="close" class="pat" href="#"><i class="fa fa-times-circle"></i> Close</a></div>
64
                [% END %]
64
                [% END %]
65
            [% END %]
65
            [% END %]
66
        [% END %]
66
        [% END %]
67
67
68
        [% IF Koha.Preference('Mana') == 1 and Koha.Preference('AutoShareWithMana').grep('subscription').size == 0 %]
68
        [% IF Koha.Preference('Mana') == 1 and Koha.Preference('AutoShareWithMana').grep('subscription').size == 0 %]
69
            [% IF one_language_enabled==0 or mana_id %]
69
            [% IF one_language_enabled==0 or mana_id %]
70
                <div class="btn-group"><a data-toggle="modal" data-toggle="tooltip" title="Share the subscription with other libraries. Your email address will be associated to your sharing." data-target="#mana_share_modal" class="btn btn-default"><i class="fa fa-share-alt"></i> Share</a></div>
70
                <div class="btn-group"><a data-toggle="modal" data-toggle="tooltip" title="Share the subscription with other libraries. Your email address will be associated to your sharing." data-target="#mana_share_modal" class="pat"><i class="fa fa-share-alt"></i> Share</a></div>
71
            [% ELSE %]
71
            [% ELSE %]
72
                <div class="btn-group" id="mana-subscription-share" data-toggle="tooltip" title="Share the subscription with other libraries. Your email address will be associated to your sharing."><a class="btn btn-default"><i class="fa fa-share-alt"></i> Share</a></div>
72
                <div class="btn-group" id="mana-subscription-share" data-toggle="tooltip" title="Share the subscription with other libraries. Your email address will be associated to your sharing."><a class="pat"><i class="fa fa-share-alt"></i> Share</a></div>
73
            [% END %]
73
            [% END %]
74
        [% END %]
74
        [% END %]
75
75
76
        [% IF ( mana_id && Koha.Preference('Mana') == 1 ) %]
76
        [% IF ( mana_id && Koha.Preference('Mana') == 1 ) %]
77
            <div class="btn-group">
77
            <div class="btn-group">
78
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
78
                <button class="pat" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
79
                <ul class="dropdown-menu mana-actions">
79
                <ul class="dropdown-menu mana-actions">
80
                    [% IF ( mana_comments ) %]
80
                    [% IF ( mana_comments ) %]
81
                        [% FOREACH c IN mana_comments %]
81
                        [% FOREACH c IN mana_comments %]
Lines 93-101 Link Here
93
[% ELSIF CAN_user_serials_create_subscription %]
93
[% ELSIF CAN_user_serials_create_subscription %]
94
    <div id="toolbar" class="btn-toolbar">
94
    <div id="toolbar" class="btn-toolbar">
95
        [% IF ( biblionumber_for_new_subscription ) %]
95
        [% IF ( biblionumber_for_new_subscription ) %]
96
            <div class="btn-group"><a id="newsubscription" class="btn btn-default" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription | html %]"><i class="fa fa-plus"></i> New subscription for this serial</a></div>
96
            <div class="btn-group"><a id="newsubscription" class="pat" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription | html %]"><i class="fa fa-plus"></i> New subscription for this serial</a></div>
97
        [% ELSE %]
97
        [% ELSE %]
98
            <div class="btn-group"><a id="newsubscription" class="btn btn-default" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> New subscription</a></div>
98
            <div class="btn-group"><a id="newsubscription" class="pat" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> New subscription</a></div>
99
        [% END %]
99
        [% END %]
100
    </div>
100
    </div>
101
[% END %]
101
[% END %]
Lines 116-122 Link Here
116
                    <a href="#" class="cancel" id="mana-comment-close">Cancel</a>
116
                    <a href="#" class="cancel" id="mana-comment-close">Cancel</a>
117
                </div>
117
                </div>
118
                <div class="modal-footer">
118
                <div class="modal-footer">
119
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
119
                    <button type="button" class="pat" data-dismiss="modal">Close</button>
120
                </div>
120
                </div>
121
            </form>
121
            </form>
122
        </div> <!-- /.modal-content -->
122
        </div> <!-- /.modal-content -->
Lines 210-217 Link Here
210
                [% END %]
210
                [% END %]
211
            </div> <!-- /.modal-body -->
211
            </div> <!-- /.modal-body -->
212
            <div class="modal-footer">
212
            <div class="modal-footer">
213
                <button type="submit" form="mana_share_form" class="btn btn-default">Share</button>
213
                <button type="submit" form="mana_share_form" class="principal">Share</button>
214
                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
214
                <button class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
215
            </div>
215
            </div>
216
        </div> <!-- /.modal-content -->
216
        </div> <!-- /.modal-content -->
217
    </div> <!-- /.modal-dialog -->
217
    </div> <!-- /.modal-dialog -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/stockrotation-toolbar.inc (-5 / +6 lines)
Lines 1-14 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="toolbar" class="btn-toolbar">
2
<div id="toolbar" class="btn-toolbar">
3
<div>
3
    [% IF no_op_set %]
4
    [% IF no_op_set %]
4
        <a id="addrota" class="btn btn-default" href="/cgi-bin/koha/tools/stockrotation.pl?op=create_edit_rota"><i class="fa fa-plus"></i> New rota</a>
5
        <a id="addrota" class="btn btn-default pat" href="/cgi-bin/koha/tools/stockrotation.pl?op=create_edit_rota"><i class="fa fa-plus"></i> New rota</a>
5
    [% END %]
6
    [% END %]
6
    [% IF op == 'manage_stages' %]
7
    [% IF op == 'manage_stages' %]
7
        <a id="editrota" class="btn btn-default" href="/cgi-bin/koha/tools/stockrotation.pl?op=create_edit_rota&amp;rota_id=[% rota_id | uri %]"><i class="fa fa-pencil"></i> Edit rota</a>
8
        <a id="editrota" class="btn btn-default pat" href="/cgi-bin/koha/tools/stockrotation.pl?op=create_edit_rota&amp;rota_id=[% rota_id | uri %]"><i class="fa fa-pencil"></i> Edit rota</a>
8
        <a class="btn btn-default" href="#" id="addstage" data-toggle="modal" data-target="#addStageModal"><i class="fa fa-plus"></i> Add stage</a>
9
        <a class="btn btn-default pat" href="#" id="addstage" data-toggle="modal" data-target="#addStageModal"><i class="fa fa-plus"></i> Add stage</a>
9
    [% END %]
10
    [% END %]
10
    [% IF op == 'manage_items' %]
11
    [% IF op == 'manage_items' %]
11
        <a id="editrota" class="btn btn-default" href="/cgi-bin/koha/tools/stockrotation.pl?op=create_edit_rota&amp;rota_id=[% rota_id | uri %]"><i class="fa fa-pencil"></i> Edit rota</a>
12
        <a id="editrota" class="btn btn-default" href="/cgi-bin/koha/tools/stockrotation.pl?op=create_edit_rota&amp;rota_id=[% rota_id | uri %]"><i class="fa fa-pencil"></i> Edit rota</a>
12
        <a class="btn btn-default" href="#" id="additems" data-toggle="modal" data-target="#addItemsModal"><i class="fa fa-plus"></i> Add items</a>
13
        <a class="btn btn-default pat" href="#" id="additems" data-toggle="modal" data-target="#addItemsModal"><i class="fa fa-plus"></i> Add items</a>
13
    [% END %]
14
    [% END %]
14
</div>
15
</div></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc (-14 / +14 lines)
Lines 2-39 Link Here
2
<div id="advsearch">
2
<div id="advsearch">
3
    <form action="" method="get">
3
    <form action="" method="get">
4
        <fieldset class="brief">
4
        <fieldset class="brief">
5
        <a href="#" class="toggle_element" data-element="#advsearch_form">Advanced search</a>
5
        <a href="#" class="toggle_element" id="lientype" data-element="#advsearch_form">Advanced search</a>
6
            <div id="advsearch_form" style="display:none">
6
            <div id="advsearch_form" style="display:none">
7
            <ol>
7
            <ol>
8
              <li>
8
              <li>
9
                <label for="issn">ISSN:</label>
9
                <p for="issn">ISSN:
10
                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
10
                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" /></p>
11
              </li>
11
              </li>
12
              <li>
12
              <li>
13
                <label for="title">Title:</label>
13
                <p for="title">Title:
14
                <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
14
                <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" /></p>
15
              </li>
15
              </li>
16
              [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
16
              [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
17
              <li>
17
              <li>
18
                <label for="ean">EAN:</label>
18
                <p for="ean">EAN:
19
                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
19
                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" /></p>
20
              </li>
20
              </li>
21
              [% END %]
21
              [% END %]
22
              <li>
22
              <li>
23
                <label for="publisher">Publisher:</label>
23
                <p for="publisher">Publisher:
24
                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
24
                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" /></p>
25
              </li>
25
              </li>
26
              <li>
26
              <li>
27
                <label for="supplier">Vendor:</label>
27
                <p for="supplier">Vendor:
28
                <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter | html %]" />
28
                <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter | html %]" /></p>
29
              </li>
29
              </li>
30
              <li>
30
              <li>
31
                <label for="branch">Library:</label>
31
                <p for="branch">Library:
32
                <select id="branch" name="branch_filter">
32
                <select id="branch" name="branch_filter">
33
                  <option value="">All</option>
33
                  <option value="">All</option>
34
                  [%# FIXME Should not we filter the libraries? %]
34
                  [%# FIXME Should not we filter the libraries? %]
35
                  [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
35
                  [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
36
                </select>
36
                </select></p>
37
              </li>
37
              </li>
38
            </ol>
38
            </ol>
39
            <input type="hidden" name="searched" value="1" />
39
            <input type="hidden" name="searched" value="1" />
Lines 44-50 Link Here
44
                <input type="hidden" name="basketno" value="[% basketno | html %]" />
44
                <input type="hidden" name="basketno" value="[% basketno | html %]" />
45
            [% END %]
45
            [% END %]
46
            <fieldset class="action">
46
            <fieldset class="action">
47
              <input type="submit" value="Search" />
47
              <input type="submit" class="principal" value="Search" />
48
            </fieldset>
48
            </fieldset>
49
            </div>
49
            </div>
50
        </fieldset>
50
        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/subtypes_unimarc.inc (-3 / +3 lines)
Lines 5-11 Link Here
5
<div style="display:none;" id="Coded_Fields">
5
<div style="display:none;" id="Coded_Fields">
6
<!-- SUBTYPE LIMITS -->
6
<!-- SUBTYPE LIMITS -->
7
        <fieldset>
7
        <fieldset>
8
        <legend>Coded fields</legend>
8
        <h3>Coded fields</h3>
9
        <p>
9
        <p>
10
        <label for="audience">Audience: </label>
10
        <label for="audience">Audience: </label>
11
        <select id="audience" name="limit" class="subtype">
11
        <select id="audience" name="limit" class="subtype">
Lines 128-134 Link Here
128
		</fieldset>
128
		</fieldset>
129
129
130
		<fieldset>
130
		<fieldset>
131
        <legend>Serials</legend>
131
        <h3>Serials</h3>
132
		<p>
132
		<p>
133
            <label for="serial_type">Serial type: </label>
133
            <label for="serial_type">Serial type: </label>
134
            <select id="serial_type" name="limit" class="subtype">
134
            <select id="serial_type" name="limit" class="subtype">
Lines 179-185 Link Here
179
        </fieldset>
179
        </fieldset>
180
180
181
		<fieldset>
181
		<fieldset>
182
        <legend>Picture</legend>
182
        <h3>Picture</h3>
183
        <p>
183
        <p>
184
		<select name="limit" class="subtype">
184
		<select name="limit" class="subtype">
185
				<option value="">Any</option>
185
				<option value="">Any</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc (-16 / +93 lines)
Lines 1-26 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<div id="header_search" class="fold">
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Suggestions Resident Search Box -->
3
4
<div id="header_search">
5
	<div id="suggestions_search" class="residentsearch">
4
	<div id="suggestions_search" class="residentsearch">
6
    <p class="tip">Suggestions search:</p>
5
        <form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
7
	<form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
6
            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
8
    <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
7
            <input type="text" id="searchtitle" class="head-searchbox focus" placeholder="Title:" name="title" size="10" value="[% title | html %]" />
9
	<label for="searchtitle">Title:</label> <input type="text" id="searchtitle" name="title" size="10" value="[% title | html %]" />
8
            <input type="text" id="searchauthor" class="head-searchbox focus" placeholder="Author:"  name="author" size="10" value="[% author | html %]" />
10
    <label for="searchauthor">Author:</label> <input type="text" id="searchauthor" name="author" size="10" value="[% author | html %]" />
9
            <input type="text" class="head-searchbox focus" placeholder="Publisher:" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode | html %]" />
11
    <label for="searchpublishercode">Publisher:</label> <input type="text" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode | html %]" />
10
            <input type="submit" class="submit" id="submit" value="" />
12
    <input type="submit" class="submit" value="Search" />
13
        </form>
11
        </form>
14
	</div>
12
	</div>
15
13
16
    [% INCLUDE 'patron-search-box.inc' %]
14
    [% INCLUDE 'patron-search-box.inc' %]
15
17
    [% INCLUDE 'catalogue-search-box.inc' %]
16
    [% INCLUDE 'catalogue-search-box.inc' %]
18
17
19
			<ul>
18
    <ul id="taille">
20
            <li><a href="#suggestions_search">Search suggestions</a></li>
19
        <li><a id="icon_1" title="Search suggestions" onclick="clique(this)" class="iconsearch" href="#suggestions_search"><i class="fa fa-comment-o"></i></a></li>
21
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
20
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
22
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
21
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
23
            </ul>
22
23
        <span id="button_1" class="buttonsearch active">Search suggestions</span>
24
        <span id="button_2" class="buttonsearch">Check out</span>
25
        <span id="button_3" class="buttonsearch">Search catalog</span>
26
    </ul>
24
</div>
27
</div>
25
</div><!-- /gradient -->
28
29
<script type="text/javascript">
30
    function focusInput(){
31
        document.getElementsByClassName('head-searchbox').focus();
32
    }
33
34
    function toggle(elem){style="width: calc(301px);"
35
        var buttonssearch = document.getElementsByClassName('active');
36
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
37
            buttonssearch[i].classList.remove('active');
38
        }
39
40
        if(elem){
41
            elem.classList.add('active');
42
            fold();
43
        }else{//Back
44
            document.getElementById('button_1').classList.add('active');
45
            document.getElementById('header_search').classList.remove('fold');
46
            document.getElementsByClassName('head-searchbox').style = '';
47
        }
48
49
        focusInput();
50
    }
51
52
    function clique(elem){
53
        var buttonssearch = document.getElementsByClassName('buttonsearch');
54
        var iconssearch = document.getElementsByClassName('iconsearch');
55
        var inputssearch = document.getElementsByClassName('head-searchbox');
56
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
57
            buttonssearch[i].classList.remove('active');
58
            if (elem == iconssearch[i]){
59
                buttonssearch[i].classList.add('active');
60
            }
61
        }
62
63
        for (var i = inputssearch.length - 1; i >= 0; i--) {
64
            inputssearch[i].classList.remove('focus');
65
66
            if (elem == iconssearch[i]){
67
                inputssearch[i].classList.add('focus');
68
69
                taille(inputssearch[i])
70
            }
71
        }
72
73
        focusInput();
74
        fold();
75
    }
76
77
    function fold(){
78
        document.getElementById('header_search').classList.add('fold');
79
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
80
        setTimeout(
81
            function(){
82
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
83
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
84
            }
85
        , 250);
86
    }
87
88
    function taille(el){
89
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
90
        el.style = "width:calc(500px - "+offsetWidth+"px)";
91
    }
92
93
    $('.btn').click(function(){
94
    if($(this).hasClass('active')){
95
        $(this).removeClass('active')
96
    } else {
97
        $(this).addClass('active')
98
    }
99
});
100
101
</script>
102
26
<!-- End Suggestions Resident Search Box -->
103
<!-- End Suggestions Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-1 / +1 lines)
Lines 3-9 Link Here
3
<div id="navmenu">
3
<div id="navmenu">
4
<div id="navmenulist">
4
<div id="navmenulist">
5
<ul>
5
<ul>
6
    <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
6
    <li><a class="titre" href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
7
</ul>
7
</ul>
8
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
8
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
9
<h5>Patrons and circulation</h5>
9
<h5>Patrons and circulation</h5>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/vendor-menu.inc (-2 / +3 lines)
Lines 1-5 Link Here
1
[% IF ( booksellerid ) %]
1
[% IF ( booksellerid ) %]
2
<div id="menu">
2
<div id="navmenu">
3
<div id="navmenulist">
3
    <ul>
4
    <ul>
4
        [% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]">Baskets</a></li>[% END %]
5
        [% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]">Baskets</a></li>[% END %]
5
        [% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket groups</a></li>[% END %]
6
        [% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket groups</a></li>[% END %]
Lines 11-15 Link Here
11
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1">Uncertain prices</a></li>
12
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1">Uncertain prices</a></li>
12
        [% END %] [% END %]
13
        [% END %] [% END %]
13
    </ul>
14
    </ul>
14
</div>
15
</div></div>
15
[% END %]
16
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc (-6 / +6 lines)
Lines 1-11 Link Here
1
[% INCLUDE 'blocking_errors.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
2
3
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
4
    <div class="btn-group"><a id="newshelf" class="btn btn-default" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=add_form&amp;referer=[% op | html %]"><i class="fa fa-plus"></i> New list</a></div>
4
    <div class="btn-group"><a id="newshelf" class="pat" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=add_form&amp;referer=[% op | html %]"><i class="fa fa-plus"></i> New list</a></div>
5
5
6
    [% IF ( can_add_biblios ) %]
6
    [% IF ( can_add_biblios ) %]
7
        <div class="btn-group">
7
        <div class="btn-group">
8
            <button type="button" class="btn btn-default" data-toggle="modal" data-target="#addToList">
8
            <button type="button" class="pat" data-toggle="modal" data-target="#addToList">
9
                <i class="fa fa-plus"></i> Add items
9
                <i class="fa fa-plus"></i> Add items
10
            </button>
10
            </button>
11
        </div>
11
        </div>
Lines 14-20 Link Here
14
    [% IF shelf AND op == 'view' %]
14
    [% IF shelf AND op == 'view' %]
15
        [% IF can_manage_shelf %]
15
        [% IF can_manage_shelf %]
16
        <div class="btn-group">
16
        <div class="btn-group">
17
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
17
            <button class="pat" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
18
            <ul class="dropdown-menu">
18
            <ul class="dropdown-menu">
19
                <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;referer=[% op | uri %]">Edit list</a></li>
19
                <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;referer=[% op | uri %]">Edit list</a></li>
20
                <li><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=delete&amp;shelfnumber=[% shelf.shelfnumber | html %]">Delete list</a></li>
20
                <li><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=delete&amp;shelfnumber=[% shelf.shelfnumber | html %]">Delete list</a></li>
Lines 23-29 Link Here
23
        [% END %]
23
        [% END %]
24
24
25
        <div class="btn-group">
25
        <div class="btn-group">
26
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Download list <span class="caret"></span></button>
26
            <button class="pat" data-toggle="dropdown"><i class="fa fa-download"></i> Download list <span class="caret"></span></button>
27
                <ul class="dropdown-menu">
27
                <ul class="dropdown-menu">
28
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber | uri %]">iso2709</a></li>
28
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber | uri %]">iso2709</a></li>
29
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber | uri %]">RIS</a></li>
29
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber | uri %]">RIS</a></li>
Lines 33-39 Link Here
33
                    [% END %]
33
                    [% END %]
34
                </ul>
34
                </ul>
35
        </div>
35
        </div>
36
        <div class="btn-group"><a class="btn btn-default" href="#" id="sendlist"><i class="fa fa-envelope"></i> Send list</a></div>
36
        <div class="btn-group"><a class="pat" href="#" id="sendlist"><i class="fa fa-envelope"></i> Send list</a></div>
37
        <div class="btn-group"><a class="btn btn-default" id="printlist" target="_blank" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | html %]&amp;print=1"><i class="fa fa-print"></i> Print list</a></div>
37
        <div class="btn-group"><a class="pat" id="printlist" target="_blank" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | html %]&amp;print=1"><i class="fa fa-print"></i> Print list</a></div>
38
    [% END %]
38
    [% END %]
39
</div>
39
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc (-2 / +2 lines)
Lines 58-66 Link Here
58
                        <input type="hidden" name="tbr" value="[% reserveloo.item.homebranch | html %]" />
58
                        <input type="hidden" name="tbr" value="[% reserveloo.item.homebranch | html %]" />
59
                        <input type="hidden" name="tab" value="[% tab | html %]">
59
                        <input type="hidden" name="tab" value="[% tab | html %]">
60
                        [% IF ( reserveloo.item.homebranch != reserveloo.item.holdingbranch ) %]
60
                        [% IF ( reserveloo.item.homebranch != reserveloo.item.holdingbranch ) %]
61
                            <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold and return to: [% Branches.GetName( reserveloo.item.homebranch ) | html %]</button>
61
                            <button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-remove"></i> Cancel hold and return to: [% Branches.GetName( reserveloo.item.homebranch ) | html %]</button>
62
                        [% ELSE %]
62
                        [% ELSE %]
63
                            <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold</button>
63
                            <button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-remove"></i> Cancel hold</button>
64
                        [% END %]
64
                        [% END %]
65
                   </form>
65
                   </form>
66
                </td>
66
                </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc (-13 / +91 lines)
Lines 1-23 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div class="gradient">
2
<div id="header_search" class="fold">
3
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin z3950 Admin Resident Search Box -->
3
4
<div id="header_search">
5
    <div id="z3950_search" class="residentsearch">
4
    <div id="z3950_search" class="residentsearch">
6
	<form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
5
	    <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
7
        <label class="tip" for="searchfield">Z39.50/SRU server search:</label>
6
                <input class="head-searchbox focus" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search" />
8
                <input class="head-searchbox" type="text" name="searchfield" id="searchfield" size="40" value="[% searchfield | html %]" />
7
                <input type="submit" class="submit" id="submit" name="search" value="" />
9
                <input type="submit" class="submit" name="search" value="Search" />
10
        </form>
8
        </form>
11
	</div>
9
	</div>
12
10
13
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
12
14
    [% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
15
14
16
			<ul>
15
    <ul id="taille">
17
            <li><a class="keep_text" href="#z3950_search">Search Z39.50/SRU servers</a></li>
16
        <li><li><a id="icon_1" title="Search Z39.50/SRU servers" onclick="clique(this)" class="iconsearch" href="#z3950_search"><i style="font-weight:bold">Z39.50</i></a></li>
18
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><li><a id="icon_2" title="Check out" onclick="clique(this)" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
19
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a id="icon_3" title="Search catalog" onclick="clique(this)" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
20
			</ul>	
19
21
</div>
20
21
        <span id="button_1" class="buttonsearch active">Search Z39.50/SRU servers</span>
22
        <span id="button_2" class="buttonsearch">Check out</span>
23
        <span id="button_3" class="buttonsearch">Search the catalog</span>
24
    </ul>	
22
</div>
25
</div>
26
27
<script type="text/javascript">
28
    function focusInput(){
29
        document.getElementsByClassName('head-searchbox').focus();
30
    }
31
32
    function toggle(elem){style="width: calc(301px);"
33
        var buttonssearch = document.getElementsByClassName('active');
34
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
35
            buttonssearch[i].classList.remove('active');
36
        }
37
38
        if(elem){
39
            elem.classList.add('active');
40
            fold();
41
        }else{//Back
42
            document.getElementById('button_1').classList.add('active');
43
            document.getElementById('header_search').classList.remove('fold');
44
            document.getElementsByClassName('head-searchbox').style = '';
45
        }
46
47
        focusInput();
48
    }
49
50
    function clique(elem){
51
        var buttonssearch = document.getElementsByClassName('buttonsearch');
52
        var iconssearch = document.getElementsByClassName('iconsearch');
53
        var inputssearch = document.getElementsByClassName('head-searchbox');
54
        for (var i = buttonssearch.length - 1; i >= 0; i--) {
55
            buttonssearch[i].classList.remove('active');
56
            if (elem == iconssearch[i]){
57
                buttonssearch[i].classList.add('active');
58
            }
59
        }
60
61
        for (var i = inputssearch.length - 1; i >= 0; i--) {
62
            inputssearch[i].classList.remove('focus');
63
64
            if (elem == iconssearch[i]){
65
                inputssearch[i].classList.add('focus');
66
67
                taille(inputssearch[i])
68
            }
69
        }
70
71
        focusInput();
72
        fold();
73
    }
74
75
    function fold(){
76
        document.getElementById('header_search').classList.add('fold');
77
       // document.getElementsByClassName('head-searchbox').style = "width:calc(500px - 100px)";
78
        setTimeout(
79
            function(){
80
                var offsetWidth = document.getElementById('taille').offsetWidth +5;
81
                document.getElementsByClassName('head-searchbox').style = "width:calc(500px - "+offsetWidth+"px)";
82
            }
83
        , 250);
84
    }
85
86
    function taille(el){
87
        var offsetWidth = document.getElementById('taille').offsetWidth +5;
88
        el.style = "width:calc(500px - "+offsetWidth+"px)";
89
    }
90
91
    $('.btn').click(function(){
92
    if($(this).hasClass('active')){
93
        $(this).removeClass('active')
94
    } else {
95
        $(this).addClass('active')
96
    }
97
});
98
99
</script>
100
23
<!-- End Members Resident Search Box -->
101
<!-- End Members Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (+6 lines)
Lines 19-24 Link Here
19
            <a href="#" aria-current="page">About Koha</a>
19
            <a href="#" aria-current="page">About Koha</a>
20
        </li>
20
        </li>
21
    </ol>
21
    </ol>
22
        <ol>
23
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
24
        </ol>
25
        <ol>
26
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
27
        </ol>
22
</nav>
28
</nav>
23
29
24
<div class="main container-fluid">
30
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt (-15 / +28 lines)
Lines 4-9 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE TablesSettings %]
5
[% USE TablesSettings %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'acquisitions-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Acquisitions &rsaquo; Koha</title>
11
<title>Acquisitions &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="acq_acqui-home" class="acq">
16
<body id="acq_acqui-home" class="acq">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'acquisitions-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 23-28 Link Here
23
            <a href="#" aria-current="page">Acquisitions</a>
25
            <a href="#" aria-current="page">Acquisitions</a>
24
        </li>
26
        </li>
25
    </ol>
27
    </ol>
28
29
    <ol>
30
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
    </ol>
32
33
    <ol>
34
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
    </ol>
26
</nav>
36
</nav>
27
37
28
<div class="main container-fluid">
38
<div class="main container-fluid">
Lines 30-38 Link Here
30
        <div class="col-sm-10 col-sm-push-2">
40
        <div class="col-sm-10 col-sm-push-2">
31
            <main>
41
            <main>
32
42
33
[% INCLUDE 'acquisitions-toolbar.inc' %]
34
43
35
<h1>Acquisitions</h1>
44
[% INCLUDE 'acquisitions-toolbar.inc' %]
45
<h2>Acquisitions</h2>
36
    [% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %]
46
    [% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %]
37
    [% UNLESS ( loop_budget ) %]
47
    [% UNLESS ( loop_budget ) %]
38
        [% IF ( CAN_user_acquisition_period_manage ) %]
48
        [% IF ( CAN_user_acquisition_period_manage ) %]
Lines 48-60 Link Here
48
        <div class="col-sm-12">
58
        <div class="col-sm-12">
49
    [% END %]
59
    [% END %]
50
<div id="acqui_acqui_home_order">
60
<div id="acqui_acqui_home_order">
51
    <fieldset>
61
    <fieldset class="rows">
52
        <legend>Manage orders</legend>
62
        <h3>Manage orders</h3>
53
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
63
        <fieldset>
54
            <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
64
            <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
55
            <input type="submit" value="Search" />
65
                <p>Vendor: <input type="text" size="25" name="supplier" id="supplierpage" class="focus" />
56
            </p>
66
                <input type="submit" class="principal" value="Search" /></p>
57
        </form>
67
            </form>
68
        <fieldset>
58
    </fieldset>
69
    </fieldset>
59
</div>
70
</div>
60
</div>
71
</div>
Lines 62-69 Link Here
62
[% IF ( CAN_user_suggestions_suggestions_manage && ( suggestions_count || all_pendingsuggestions ) ) %]
73
[% IF ( CAN_user_suggestions_suggestions_manage && ( suggestions_count || all_pendingsuggestions ) ) %]
63
<div class="col-sm-6">
74
<div class="col-sm-6">
64
    <div id="acqui_acqui_home_suggestions">
75
    <div id="acqui_acqui_home_suggestions">
65
        <fieldset>
76
        <fieldset class="rows">
66
        <legend>Pending suggestions</legend>
77
        <h3>Pending suggestions</h3>
67
        <p>
78
        <p>
68
            Manage suggestions:
79
            Manage suggestions:
69
            <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED">
80
            <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED">
Lines 85-94 Link Here
85
96
86
[% IF ( loop_budget ) %]
97
[% IF ( loop_budget ) %]
87
98
99
    <div id="searchresults">
100
88
    <h3>All available funds</h3>
101
    <h3>All available funds</h3>
89
102
90
    <div id="BudgetsAndFunds">
103
    <div id="BudgetsAndFunds">
91
        <div class="toolbar btn-toolbar">
104
        <div class="searchheader">
92
            <span class="actions">
105
            <span class="actions">
93
                <a href="#" id="expand_all">Expand all</a> |
106
                <a href="#" id="expand_all">Expand all</a> |
94
                <a href="#" id="collapse_all">Collapse all</a> |
107
                <a href="#" id="collapse_all">Collapse all</a> |
Lines 195-201 Link Here
195
        [% END %]
208
        [% END %]
196
        </tbody>
209
        </tbody>
197
    </table>
210
    </table>
198
    </div>
211
    </div></div>
199
    [% END %]
212
    [% END %]
200
213
201
</main>
214
</main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-15 / +25 lines)
Lines 15-20 Link Here
15
[%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %]
15
[%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %]
16
[% Asset.js("js/acquisitions-menu.js") | $raw %]
16
[% Asset.js("js/acquisitions-menu.js") | $raw %]
17
[% INCLUDE 'datatables.inc' %]
17
[% INCLUDE 'datatables.inc' %]
18
[% formulaire = BLOCK %]
19
    [% INCLUDE 'acquisitions-search.inc' %]
20
[% END %]
18
[% Asset.js("js/acq.js") | $raw %]
21
[% Asset.js("js/acq.js") | $raw %]
19
[% Asset.js("js/funds_sorts.js") | $raw %]
22
[% Asset.js("js/funds_sorts.js") | $raw %]
20
[% Asset.js("js/addorderiso2709.js") | $raw %]
23
[% Asset.js("js/addorderiso2709.js") | $raw %]
Lines 22-29 Link Here
22
</head>
25
</head>
23
26
24
<body id="acq_addorderiso2709" class="acq">
27
<body id="acq_addorderiso2709" class="acq">
25
    [% INCLUDE 'header.inc' %]
28
[% INCLUDE 'header.inc' form=formulaire %]
26
    [% INCLUDE 'acquisitions-search.inc' %]
27
29
28
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
30
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
29
        <ol>
31
        <ol>
Lines 43-48 Link Here
43
                <a href="#" aria-current="page">Add orders from MARC file</a>
45
                <a href="#" aria-current="page">Add orders from MARC file</a>
44
            </li>
46
            </li>
45
        </ol>
47
        </ol>
48
        <ol>
49
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
50
        </ol>
51
        <ol>
52
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
53
        </ol>
46
    </nav>
54
    </nav>
47
55
48
    <div class="container-fluid">
56
    <div class="container-fluid">
Lines 56-67 Link Here
56
                [% END %]
64
                [% END %]
57
65
58
                [% IF ( batch_details ) %]
66
                [% IF ( batch_details ) %]
59
                    <h1>
67
                    <h2>
60
                        Add orders from [% comments | html %]
68
                        Add orders from [% comments | html %]
61
                        ([% file_name | html %] staged on [% upload_timestamp | $KohaDates  with_hours => 1 %])
69
                        ([% file_name | html %] staged on [% upload_timestamp | $KohaDates  with_hours => 1 %])
62
                    </h1>
70
                    </h2>
63
                    <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform">
71
                    <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform">
64
                        <div id="tabs" class="toptabs">
72
                        <div id="tabs" class="toptabs">
73
                        <div id="searchresults">
65
                            <ul>
74
                            <ul>
66
                                <li><a href="#records_to_import">Select to import</a></li>
75
                                <li><a href="#records_to_import">Select to import</a></li>
67
                                <li><a href="#items_info" class="items_info">Item information</a></li>
76
                                <li><a href="#items_info" class="items_info">Item information</a></li>
Lines 109-123 Link Here
109
118
110
                                [% FOREACH biblio IN biblio_list %]
119
                                [% FOREACH biblio IN biblio_list %]
111
                                    <fieldset class="biblio unselected rows" style="float:none;">
120
                                    <fieldset class="biblio unselected rows" style="float:none;">
112
                                        <legend>
121
                                        <h3>
113
                                            <label for="record_[% biblio.import_record_id | html %]" style="width:auto;">
122
                                            <label for="record_[% biblio.import_record_id | html %]" style="width:auto;">
114
                                                <input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id | html %]" value="[% biblio.import_record_id | html %]" />
123
                                                <input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id | html %]" value="[% biblio.import_record_id | html %]" />
115
                                                <span class="citation">[% biblio.citation | html %]</span>
124
                                                <span class="citation">[% biblio.citation | html %]</span>
116
                                            </label>
125
                                            </label>
117
                                            <span class="links" style="font-weight: normal;">
126
                                            <span class="links" style="font-weight: normal;">
118
                                                ( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% biblio.import_record_id | html %]" class="previewData">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&amp;basketno=[% basketno | html %]&amp;breedingid=[% biblio.import_record_id | html %]&amp;import_batch_id=[% biblio.import_batch_id | html %]&amp;biblionumber=[% biblio.match_biblionumber | html %]">Add order</a> )
127
                                                ( <a id="lientype" href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData">MARC</a> | <a id="lientype" href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% biblio.import_record_id | html %]" class="previewData">Card</a> | <a id="lientype" href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&amp;basketno=[% basketno | html %]&amp;breedingid=[% biblio.import_record_id | html %]&amp;import_batch_id=[% biblio.import_batch_id | html %]&amp;biblionumber=[% biblio.match_biblionumber | html %]">Add order</a> )
119
                                            </span>
128
                                            </span>
120
                                        </legend>
129
                                        </h3>
121
                                        <div style="float:left">
130
                                        <div style="float:left">
122
                                            <ol>
131
                                            <ol>
123
                                                <li class="status">
132
                                                <li class="status">
Lines 193-199 Link Here
193
                                            [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
202
                                            [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
194
                                            [% FOREACH item IN biblio.iteminfos %]
203
                                            [% FOREACH item IN biblio.iteminfos %]
195
                                                <fieldset>
204
                                                <fieldset>
196
                                                    <legend>Item record [% item.item_id | html %]</legend>
205
                                                    <h3>Item record [% item.item_id | html %]</h3>
197
                                                    <ol>
206
                                                    <ol>
198
                                                        <li>
207
                                                        <li>
199
                                                            <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
208
                                                            <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
Lines 346-352 Link Here
346
355
347
                                [% IF ( items ) %]
356
                                [% IF ( items ) %]
348
                                    <fieldset class="rows" style="float:none;">
357
                                    <fieldset class="rows" style="float:none;">
349
                                        <legend>Item</legend>
358
                                        <h3>Item</h3>
350
                                        [% IF ( NoACQframework ) %]
359
                                        [% IF ( NoACQframework ) %]
351
                                            <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
360
                                            <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
352
                                        [% END %]
361
                                        [% END %]
Lines 398-404 Link Here
398
                            <div id="accounting_details">
407
                            <div id="accounting_details">
399
                                <p>Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):</p>
408
                                <p>Import all the checked items in the basket with the following accounting details (used only if no information is filled for the item):</p>
400
                                <fieldset class="rows" style="float:none;">
409
                                <fieldset class="rows" style="float:none;">
401
                                    <legend>Accounting details</legend>
410
                                    <h3>Accounting details</h3>
402
                                    <ol>
411
                                    <ol>
403
                                        <li>
412
                                        <li>
404
                                            <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
413
                                            <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
Lines 458-472 Link Here
458
                                    </ol>
467
                                    </ol>
459
                                </fieldset> <!-- /.rows -->
468
                                </fieldset> <!-- /.rows -->
460
                            </div> <!-- /#accounting_details -->
469
                            </div> <!-- /#accounting_details -->
461
                        </div> <!-- /#tabs -->
470
                        </div></div> <!-- /#tabs -->
462
471
463
                        <fieldset class="action">
472
                        <fieldset class="action">
464
                            <input id="add_order" type="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
473
                            <input id="add_order" type="submit" class="principal" value="Save" /><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
465
                        </fieldset>
474
                        </fieldset>
466
                    </form> <!-- /#Aform -->
475
                    </form> <!-- /#Aform -->
467
                [% ELSE # IF ( batch_details ) %]
476
                [% ELSE # IF ( batch_details ) %]
468
                    <div>
477
                    <div>
469
                        <h1>Choose the file to add to the basket</h1>
478
                        <h2>Choose the file to add to the basket</h2>
479
                        <div id="searchresults">
470
                        <table id="files">
480
                        <table id="files">
471
                            <thead>
481
                            <thead>
472
                                <tr>
482
                                <tr>
Lines 505-517 Link Here
505
                                        </td>
515
                                        </td>
506
                                        <td>[% batch_lis.num_records | html %]</td>
516
                                        <td>[% batch_lis.num_records | html %]</td>
507
                                        <td class="actions">
517
                                        <td class="actions">
508
                                            <a href="[% batch_lis.scriptname | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add orders</a>
518
                                            <a id="lientype" href="[% batch_lis.scriptname | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add orders</a>
509
                                        </td>
519
                                        </td>
510
                                    </tr>
520
                                    </tr>
511
                                [% END # /FOREACH batch_lis %]
521
                                [% END # /FOREACH batch_lis %]
512
                            </tbody>
522
                            </tbody>
513
                        </table> <!-- /#files -->
523
                        </table> <!-- /#files -->
514
                    </div>
524
                    </div></div>
515
                [% END # /IF ( batch_details ) %]
525
                [% END # /IF ( batch_details ) %]
516
            </div> [% # /div.col-sm-6 %]
526
            </div> [% # /div.col-sm-6 %]
517
        </div> [% # /div.row %]
527
        </div> [% # /div.row %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-13 / +21 lines)
Lines 4-11 Link Here
4
[% PROCESS 'i18n.inc' %]
4
[% PROCESS 'i18n.inc' %]
5
[% BLOCK csv_export %]
5
[% BLOCK csv_export %]
6
    <div class="btn-group">
6
    <div class="btn-group">
7
        <a id="exportbutton" class="btn btn-default" href="[% script_name | url %]?op=export&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"><i class="fa fa-download"></i> Export as CSV</a>
7
        <a id="exportbutton" class="btn btn-default pat" href="[% script_name | url %]?op=export&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]"><i class="fa fa-download"></i> Export as CSV</a>
8
      <a class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
8
      <a class="btn btn-default dropdown-toggle pat" data-toggle="dropdown"><span class="caret"></span></a>
9
      <ul class="dropdown-menu" id="export-csv-menu">
9
      <ul class="dropdown-menu" id="export-csv-menu">
10
          <li><a href="#">Default</a></li>
10
          <li><a href="#">Default</a></li>
11
          [% IF csv_profiles.count %]
11
          [% IF csv_profiles.count %]
Lines 22-27 Link Here
22
[% USE AuthorisedValues %]
22
[% USE AuthorisedValues %]
23
[% USE TablesSettings %]
23
[% USE TablesSettings %]
24
[% SET footerjs = 1 %]
24
[% SET footerjs = 1 %]
25
[% formulaire = BLOCK %]
26
    [% INCLUDE 'acquisitions-search.inc' %]
27
[% END %]
25
[% INCLUDE 'doc-head-open.inc' %]
28
[% INCLUDE 'doc-head-open.inc' %]
26
<title>[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname | html %] ([% basketno | html %]) for [% booksellername | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
29
<title>[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname | html %] ([% basketno | html %]) for [% booksellername | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
27
[% INCLUDE 'doc-head-close.inc' %]
30
[% INCLUDE 'doc-head-close.inc' %]
Lines 31-38 Link Here
31
</head>
34
</head>
32
35
33
<body id="acq_basket" class="acq">
36
<body id="acq_basket" class="acq">
34
[% INCLUDE 'header.inc' %]
37
[% INCLUDE 'header.inc' form=formulaire %]
35
[% INCLUDE 'acquisitions-search.inc' %]
36
38
37
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
39
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
38
    <ol>
40
    <ol>
Lines 62-67 Link Here
62
            </a>
64
            </a>
63
        </li>
65
        </li>
64
    </ol>
66
    </ol>
67
        <ol>
68
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
69
        </ol>
70
        <ol>
71
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
72
        </ol>
65
</nav>
73
</nav>
66
74
67
<div class="main container-fluid">
75
<div class="main container-fluid">
Lines 79-106 Link Here
79
            [% UNLESS ( delete_confirmed ) %]
87
            [% UNLESS ( delete_confirmed ) %]
80
                <div id="toolbar" class="btn-toolbar fh-fixedHeader">
88
                <div id="toolbar" class="btn-toolbar fh-fixedHeader">
81
                    [% IF active %]
89
                    [% IF active %]
82
                        <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-default" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a></div>
90
                        <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-default pat" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a></div>
83
                    [% END %]
91
                    [% END %]
84
                    <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;op=add_form" class="btn btn-default" id="basketheadbutton"><i class="fa fa-pencil"></i> Edit basket</a></div>
92
                    <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;op=add_form" class="btn btn-default pat" id="basketheadbutton"><i class="fa fa-pencil"></i> Edit basket</a></div>
85
                    [% IF CAN_user_acquisition_delete_baskets %]
93
                    [% IF CAN_user_acquisition_delete_baskets %]
86
                        <div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-default" data-toggle="modal" id="delbasketbutton"><i class="fa fa-trash"></i> Delete basket</a></div>
94
                        <div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-default pat" data-toggle="modal" id="delbasketbutton"><i class="fa fa-trash"></i> Delete basket</a></div>
87
                    [% END %]
95
                    [% END %]
88
                   [% IF ( unclosable ) %]
96
                   [% IF ( unclosable ) %]
89
                    [% ELSIF ( uncertainprices ) %]
97
                    [% ELSIF ( uncertainprices ) %]
90
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1" class="btn btn-default" id="uncertpricesbutton"><i class="fa fa-usd"></i> Uncertain prices</a></div>
98
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1" class="btn btn-default pat" id="uncertpricesbutton"><i class="fa fa-usd"></i> Uncertain prices</a></div>
91
                        <div title="Can not close baskets that have items with uncertain prices in them." class="btn-group">
99
                        <div title="Can not close baskets that have items with uncertain prices in them." class="btn-group">
92
                            <a href="" class="btn btn-default disabled" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
100
                            <a href="" class="btn btn-default disabled pat" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
93
                        </div>
101
                        </div>
94
                    [% ELSE %]
102
                    [% ELSE %]
95
                        <div class="btn-group">
103
                        <div class="btn-group">
96
                            <a href="/cgi-bin/koha/acqui/basket.pl?op=close&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
104
                            <a href="/cgi-bin/koha/acqui/basket.pl?op=close&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="closebutton"><i class="fa fa-times-circle"></i> Close basket</a>
97
                        </div>
105
                        </div>
98
                    [% END %]
106
                    [% END %]
99
107
100
                    [% PROCESS csv_export %]
108
                    [% PROCESS csv_export %]
101
109
102
                        [% IF Koha.Preference('EDIFACT') && ediaccount %]
110
                        [% IF Koha.Preference('EDIFACT') && ediaccount %]
103
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</a></div>
111
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&amp;basketno=[% basketno | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</a></div>
104
                        [% END %]
112
                        [% END %]
105
113
106
                        [% IF ( active && books_loop ) %]
114
                        [% IF ( active && books_loop ) %]
Lines 108-114 Link Here
108
                                <form action="/cgi-bin/koha/acqui/basket.pl" method="post">
116
                                <form action="/cgi-bin/koha/acqui/basket.pl" method="post">
109
                                    <input type="hidden" name="op" value="email" />
117
                                    <input type="hidden" name="op" value="email" />
110
                                    <input type="hidden" name="basketno" value="[% basketno | html %]" />
118
                                    <input type="hidden" name="basketno" value="[% basketno | html %]" />
111
                                    <button type="submit" class="btn btn-default" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button>
119
                                    <button type="submit" class="btn btn-default pat" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button>
112
                                </form>
120
                                </form>
113
                            </div>
121
                            </div>
114
                        [% END %]
122
                        [% END %]
Lines 256-262 Link Here
256
                                    </li>
264
                                    </li>
257
                                [% END %]
265
                                [% END %]
258
                                <li>
266
                                <li>
259
                                    <a href="#" id="add_user"><i class="fa fa-plus"></i> Add user</a>
267
                                    <a id="lientype" href="#" id="add_user"><i class="fa fa-plus"></i> Add user</a>
260
                                </li>
268
                                </li>
261
                                <li id="add_user_submit" style="display:none;">
269
                                <li id="add_user_submit" style="display:none;">
262
                                    <button type="submit" class="btn btn-default btn-xs">Save changes</button>
270
                                    <button type="submit" class="btn btn-default btn-xs">Save changes</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-23 / +42 lines)
Lines 2-11 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE Price %]
4
[% USE Price %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'acquisitions-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Basket grouping for [% booksellername | html %] &rsaquo; Koha</title>
9
<title>Basket grouping for [% booksellername | html %] &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'datatables.inc' %]
11
[% INCLUDE 'datatables.inc' %]
12
[% formulaire = BLOCK %]
13
    [% INCLUDE 'acquisitions-search.inc' %]
14
[% END %]
9
<script>
15
<script>
10
16
11
    var MSG_CONFIRM_CLOSE_BASKETGROUP = _("Are you sure you want to close this basketgroup?");
17
    var MSG_CONFIRM_CLOSE_BASKETGROUP = _("Are you sure you want to close this basketgroup?");
Lines 86-93 Link Here
86
92
87
</head>
93
</head>
88
<body id="acq_basketgroup" class="acq">
94
<body id="acq_basketgroup" class="acq">
89
[% INCLUDE 'header.inc' %]
95
[% INCLUDE 'header.inc' form=formulaire %]
90
[% INCLUDE 'acquisitions-search.inc' %]
91
96
92
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
97
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
93
    <ol>
98
    <ol>
Lines 111-116 Link Here
111
            </a>
116
            </a>
112
        </li>
117
        </li>
113
    </ol>
118
    </ol>
119
    <ol>
120
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
121
    </ol>
122
    <ol>
123
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
124
    </ol>
114
</nav>
125
</nav>
115
126
116
[% ELSE %]
127
[% ELSE %]
Lines 123-128 Link Here
123
            </a>
134
            </a>
124
        </li>
135
        </li>
125
    </ol>
136
    </ol>
137
    <ol>
138
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
139
    </ol>
140
    <ol>
141
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
142
    </ol>
126
</nav>
143
</nav>
127
[% END %]
144
[% END %]
128
145
Lines 135-159 Link Here
135
                [% IF ( grouping ) %]
152
                [% IF ( grouping ) %]
136
                    [% IF (closedbg) %]
153
                    [% IF (closedbg) %]
137
                        <div id="toolbar" class="btn-toolbar">
154
                        <div id="toolbar" class="btn-toolbar">
138
                            <div class="btn-group"><a href="[% script_name | url %]?op=reopen&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;mode=singlebg" class="btn btn-default" id="reopenbutton"><i class="fa fa-download"></i> Reopen basket group</a></div>
155
                            <div class="btn-group"><a href="[% script_name | url %]?op=reopen&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;mode=singlebg" class="btn btn-default pat" id="reopenbutton"><i class="fa fa-download"></i> Reopen basket group</a></div>
139
                            <div class="btn-group"><a href="[% script_name | url %]?op=export&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="exportbutton"><i class="fa fa-download"></i> Export basket group as CSV</a></div>
156
                            <div class="btn-group"><a href="[% script_name | url %]?op=export&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="exportbutton"><i class="fa fa-download"></i> Export basket group as CSV</a></div>
140
                            <div class="btn-group"><a href="[% script_name | url %]?op=print&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="printbutton"><i class="fa fa-download"></i> Print basket group in PDF</a></div>
157
                            <div class="btn-group"><a href="[% script_name | url %]?op=print&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="printbutton"><i class="fa fa-download"></i> Print basket group in PDF</a></div>
141
                        [% IF (ediaccount) %]
158
                        [% IF (ediaccount) %]
142
                            <div class="btn-group"><a href="[% script_name | url %]?op=ediprint&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="printbutton"><i class="fa fa-download"></i> Generate EDIFACT order</a></div>
159
                            <div class="btn-group"><a href="[% script_name | url %]?op=ediprint&amp;basketgroupid=[% basketgroupid | uri %]&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="printbutton"><i class="fa fa-download"></i> Generate EDIFACT order</a></div>
143
                        [% END %]
160
                        [% END %]
144
                        </div>
161
                        </div>
145
                    [% END %]
162
                    [% END %]
146
                    [% IF (name && closedbg) %]
163
                    [% IF (name && closedbg) %]
147
                        <h1>Basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
164
                        <h2>Basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h2>
148
                    [% ELSIF (name) %]
165
                    [% ELSIF (name) %]
149
                        <h1>Edit basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
166
                        <h2>Edit basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h2>
150
                    [% ELSE %]
167
                    [% ELSE %]
151
                        <h1>Add basket group for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
168
                        <h2>Add basket group for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h2>
152
                    [% END %]
169
                    [% END %]
153
                    <div id="basketgroupcolumns" class="row">
170
                    <div id="basketgroupcolumns" class="row">
154
                        [% UNLESS (closedbg) %]
171
                        [% UNLESS (closedbg) %]
155
                            <div class="col-xs-6 col-xs-push-6">
172
                            <div class="col-xs-6 col-xs-push-6">
156
173
174
                                <div id="searchresults">
157
                                    <div id="groups">
175
                                    <div id="groups">
158
                                        <div class="workarea_alt" >
176
                                        <div class="workarea_alt" >
159
                                            <h3>Ungrouped baskets</h3>
177
                                            <h3>Ungrouped baskets</h3>
Lines 194-200 Link Here
194
                                                </table>
212
                                                </table>
195
                                        </div>
213
                                        </div>
196
                                    </div>
214
                                    </div>
197
215
                                </div>
198
                            </div>
216
                            </div>
199
                        [% END %]
217
                        [% END %]
200
                        [% IF ( closedbg ) %]
218
                        [% IF ( closedbg ) %]
Lines 203-209 Link Here
203
                            <div class="col-xs-6 col-xs-pull-6">
221
                            <div class="col-xs-6 col-xs-pull-6">
204
                        [% END %]
222
                        [% END %]
205
                            <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="post" id="groupingform" onsubmit="return submitForm(this)">
223
                            <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="post" id="groupingform" onsubmit="return submitForm(this)">
206
                                <fieldset id="various" class="brief">
224
                                <fieldset id="various">
207
                                    <ol>
225
                                    <ol>
208
                                        [% UNLESS (closedbg) %]
226
                                        [% UNLESS (closedbg) %]
209
                                            <li>
227
                                            <li>
Lines 312-318 Link Here
312
                                            <input type="hidden" name="basketgroupid" value="[% basketgroupid | html %]" />
330
                                            <input type="hidden" name="basketgroupid" value="[% basketgroupid | html %]" />
313
                                        [% END %]
331
                                        [% END %]
314
                                        <input type="hidden" name="op" value="attachbasket" />
332
                                        <input type="hidden" name="op" value="attachbasket" />
315
                                        <input type="submit" value="Save" /> <a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]" class="cancel">Cancel</a>
333
                                        <input type="submit" class="principal" value="Save" /> <a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]" class="cancel">Cancel</a>
316
                                    </fieldset>
334
                                    </fieldset>
317
                                [% END %]
335
                                [% END %]
318
                            </form>
336
                            </form>
Lines 320-329 Link Here
320
                    </div>
338
                    </div>
321
                [% ELSE %]
339
                [% ELSE %]
322
                    <div id="toolbar" class="btn-toolbar">
340
                    <div id="toolbar" class="btn-toolbar">
323
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="newbasketgroup"><i class="fa fa-plus"></i> New basket group</a></div>
341
                        <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default pat" id="newbasketgroup"><i class="fa fa-plus"></i> New basket group</a></div>
324
                    </div>
342
                    </div>
325
                    <h1>Basket grouping for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
343
                    <h2>Basket grouping for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h2>
326
                    [% IF (NoEDIMessage) %]<div><strong>No EDIFACT configuration for [% booksellername | html %]</strong></div>[% END %]
344
                    [% IF (NoEDIMessage) %]<div><strong>No EDIFACT configuration for [% booksellername | html %]</strong></div>[% END %]
345
                    <div id="searchresults">
327
                    <div id="basket_groups" class="toptabs">
346
                    <div id="basket_groups" class="toptabs">
328
                        <ul class="nav nav-tabs" role="tablist">
347
                        <ul class="nav nav-tabs" role="tablist">
329
                            <li role="presentation"><a href="#opened" aria-controls="opened" role="tab" data-toggle="tab">Open</a></li>
348
                            <li role="presentation"><a href="#opened" aria-controls="opened" role="tab" data-toggle="tab">Open</a></li>
Lines 357-366 Link Here
357
                                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) | html %][% END %]</td>
376
                                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) | html %][% END %]</td>
358
                                                    <td>[% basketgroup.basketsqty | html %]</td>
377
                                                    <td>[% basketgroup.basketsqty | html %]</td>
359
                                                    <td>
378
                                                    <td>
360
                                                        <input type="button" onclick="closeandprint('[% basketgroup.id | html %]');" value="Close and export as PDF" />
379
                                                        <input type="button" onclick="closeandprint('[% basketgroup.id | html %]');" id="lientype" value="Close and export as PDF" />
361
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" value="Edit" /></form>
380
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" id="lientype" value="Edit" /></form>
362
                                                        [% UNLESS basketgroup.basketsqty %]
381
                                                        [% UNLESS basketgroup.basketsqty %]
363
                                                            <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="delete" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" value="Delete" /></form>
382
                                                            <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="delete" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" id="lientype" value="Delete" /></form>
364
                                                        [% END %]
383
                                                        [% END %]
365
                                                    </td>
384
                                                    </td>
366
                                                </tr>
385
                                                </tr>
Lines 397-408 Link Here
397
                                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) | html %][% END %]</td>
416
                                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) | html %][% END %]</td>
398
                                                    <td>[% basketgroup.basketsqty | html %]</td>
417
                                                    <td>[% basketgroup.basketsqty | html %]</td>
399
                                                    <td>
418
                                                    <td>
400
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" value="View" /></form>
419
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" id="lientype" value="View" /></form>
401
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" value="Reopen" /></form>
420
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid | html %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" id="lientype" value="Reopen" /></form>
402
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="print" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" value="Export as PDF" /></form>
421
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="print" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" id="lientype" value="Export as PDF" /></form>
403
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="export" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" value="Export as CSV" /></form>
422
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="export" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" id="lientype" value="Export as CSV" /></form>
404
                                                [% IF (ediaccount) %]
423
                                                [% IF (ediaccount) %]
405
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="ediprint" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" value="Generate EDIFACT order" /></form>
424
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="ediprint" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id | html %]" /><input type="submit" id="lientype" value="Generate EDIFACT order" /></form>
406
                                                [% ELSE %]
425
                                                [% ELSE %]
407
                                                        <div>No EDIFACT configuration for [% booksellername | html %]</div>
426
                                                        <div>No EDIFACT configuration for [% booksellername | html %]</div>
408
                                                [% END %]
427
                                                [% END %]
Lines 414-420 Link Here
414
                                </table>
433
                                </table>
415
                            </div>
434
                            </div>
416
                        </div>
435
                        </div>
417
                    </div>
436
                    </div></div>
418
                [% END %]
437
                [% END %]
419
            </main>
438
            </main>
420
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
439
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt (-5 / +13 lines)
Lines 3-8 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE Koha %]
4
[% USE Koha %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'acquisitions-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
    [% IF ( add_form ) %]
11
    [% IF ( add_form ) %]
Lines 15-22 Link Here
15
</head>
18
</head>
16
19
17
<body id="acq_basketheader" class="acq">
20
<body id="acq_basketheader" class="acq">
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'acquisitions-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 45-50 Link Here
45
            [% END %]
47
            [% END %]
46
        [% END %]
48
        [% END %]
47
    </ol>
49
    </ol>
50
    <ol>
51
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
52
    </ol>
53
    <ol>
54
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
55
    </ol>
48
</nav>
56
</nav>
49
57
50
<div class="main container-fluid">
58
<div class="main container-fluid">
Lines 53-60 Link Here
53
61
54
    [% IF ( add_form ) %]
62
    [% IF ( add_form ) %]
55
        [% IF ( basketno ) %]
63
        [% IF ( basketno ) %]
56
            <h1>Edit basket [% basketname | html %]</h1>
64
            <h2>Edit basket [% basketname | html %]</h2>
57
        [% ELSE %]<h1>Add a basket to [% booksellername | html %]</h1>
65
        [% ELSE %]<h2>Add a basket to [% booksellername | html %]</h2>
58
        [% END %]
66
        [% END %]
59
    <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
67
    <form name="Aform" action="[% script_name | html %]" method="post" class="validated">
60
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
68
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
Lines 154-160 Link Here
154
162
155
        <fieldset class="action">
163
        <fieldset class="action">
156
            <input type="hidden" name="op" value="add_validate" />
164
            <input type="hidden" name="op" value="add_validate" />
157
            <input type="submit" value="Save" />
165
            <input type="submit" class="principal" value="Save" />
158
            [% IF ( basketno ) %]
166
            [% IF ( basketno ) %]
159
                <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
167
                <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
160
            [% ELSE %]
168
            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt (-10 / +18 lines)
Lines 3-8 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'acquisitions-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Search for vendor [% supplier | html %] &rsaquo; Koha</title>
10
<title>Search for vendor [% supplier | html %] &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="acq_booksellers" class="acq">
19
<body id="acq_booksellers" class="acq">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'acquisitions-search.inc' %]
19
21
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
23
    <ol>
Lines 31-36 Link Here
31
            </a>
33
            </a>
32
        </li>
34
        </li>
33
    </ol>
35
    </ol>
36
        <ol>
37
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
38
        </ol>
39
        <ol>
40
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
        </ol>
34
</nav>
42
</nav>
35
43
36
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 58-66 Link Here
58
        </select>
66
        </select>
59
        </p>
67
        </p>
60
        [% IF ( allbaskets ) %]
68
        [% IF ( allbaskets ) %]
61
            <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier | uri %]&amp;booksellerid=[% booksellerid | uri %]">Show active baskets only</a>
69
            <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier | uri %]&amp;booksellerid=[% booksellerid | uri %]" id="lientype">Show active baskets only</a>
62
        [% ELSE %]
70
        [% ELSE %]
63
            <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;allbaskets=1">Show all baskets</a>
71
            <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;allbaskets=1" id="lientype">Show all baskets</a>
64
        [% END %]
72
        [% END %]
65
    [% END %]
73
    [% END %]
66
    [% UNLESS booksellerid %]
74
    [% UNLESS booksellerid %]
Lines 106-114 Link Here
106
                    [% IF ( supplier.basketcount > 0 ) %]
114
                    [% IF ( supplier.basketcount > 0 ) %]
107
                        <div>
115
                        <div>
108
                            [% IF ( allbaskets ) %]
116
                            [% IF ( allbaskets ) %]
109
                                <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier.booksellerid | uri %]&amp;booksellerid=[% booksellerid | uri %]">Show active baskets only</a>
117
                                <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier.booksellerid | uri %]&amp;booksellerid=[% booksellerid | uri %]" id="lientype">Show active baskets only</a>
110
                            [% ELSE %]
118
                            [% ELSE %]
111
                                <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier.booksellerid | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;allbaskets=1">Show all baskets</a>
119
                                <a href="/cgi-bin/koha/acqui/booksellers.pl?supplier=[% supplier.booksellerid | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;allbaskets=1" id="lientype">Show all baskets</a>
112
                            [% END %]
120
                            [% END %]
113
                        </div>
121
                        </div>
114
                    [% END %]
122
                    [% END %]
Lines 181-198 Link Here
181
                                            <div class="dropup">
189
                                            <div class="dropup">
182
                                                <div class="btn-group">
190
                                                <div class="btn-group">
183
                                                [%# There should be no space between these two buttons, it would render badly %]
191
                                                [%# There should be no space between these two buttons, it would render badly %]
184
                                                    <a class="btn btn-default btn-xs" id="addtoBasketLabel[% basket.basketno | html %]" href="#addtoBasket[% basket.basketno | html %]" role="button" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a><a class="btn btn-default btn-xs dropdown-toggle" id="basketactions[% basket.basknetno | html %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a>
192
                                                    <a class="btn btn-default btn-xs lientype" id="addtoBasketLabel[% basket.basketno | html %]" href="#addtoBasket[% basket.basketno | html %]" role="button" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a><a class="btn btn-default lientype btn-xs dropdown-toggle" id="basketactions[% basket.basknetno | html %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a>
185
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="basketactions[% basketn.basketno | html %]">
193
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="basketactions[% basketn.basketno | html %]">
186
                                                        [% IF basket.uncertainprices %]
194
                                                        [% IF basket.uncertainprices %]
187
                                                        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% basket.booksellerid | uri %]&owner=1"><i class="fa fa-usd"></i> Uncertain prices</a></li>
195
                                                        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% basket.booksellerid | uri %]&owner=1" id="lientype"><i class="fa fa-usd"></i> Uncertain prices</a></li>
188
                                                        [% ELSIF basket.total_items && !basket.is_standing %]
196
                                                        [% ELSIF basket.total_items && !basket.is_standing %]
189
                                                        <li><a href="/cgi-bin/koha/acqui/basket.pl?op=close&basketno=[% basket.basketno | uri %]&booksellerid=[% basket.booksellerid | uri %]"><i class="fa fa-times-circle"></i> Close this basket</a></li>
197
                                                        <li><a href="/cgi-bin/koha/acqui/basket.pl?op=close&basketno=[% basket.basketno | uri %]&booksellerid=[% basket.booksellerid | uri %]" id="lientype"><i class="fa fa-times-circle"></i> Close this basket</a></li>
190
                                                        [% END %]
198
                                                        [% END %]
191
                                                    </ul>
199
                                                    </ul>
192
                                                </div>
200
                                                </div>
193
                                            </div>
201
                                            </div>
194
                                            [% ELSE %]
202
                                            [% ELSE %]
195
                                                <a class="btn btn-default btn-xs" id="addtoBasketLabel[% basket.basketno | html %]" href="#addtoBasket[% basket.basketno | html %]" role="button" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a>
203
                                                <a class="btn btn-default btn-xs lientype" id="addtoBasketLabel[% basket.basketno | html %]" href="#addtoBasket[% basket.basketno | html %]" role="button" data-toggle="modal"><i class="fa fa-plus"></i> Add to basket</a>
196
                                            [% END %]
204
                                            [% END %]
197
                                            <!-- Modal -->
205
                                            <!-- Modal -->
198
                                            <div id="addtoBasket[% basket.basketno | html %]" class="modal" tabindex="-1" role="dialog" aria-labelledby="addtoBasketLabel[% basket.basketno | html %]" aria-hidden="true" data-basketno="[% basket.basketname | html %]">
206
                                            <div id="addtoBasket[% basket.basketno | html %]" class="modal" tabindex="-1" role="dialog" aria-labelledby="addtoBasketLabel[% basket.basketno | html %]" aria-hidden="true" data-basketno="[% basket.basketname | html %]">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/cancelorder.tt (+6 lines)
Lines 23-28 Link Here
23
            <a href="#" aria-current="page">Cancel order</a>
23
            <a href="#" aria-current="page">Cancel order</a>
24
        </li>
24
        </li>
25
    </ol>
25
    </ol>
26
    <ol>
27
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
28
    </ol>
29
    <ol>
30
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
31
    </ol>
26
</nav>
32
</nav>
27
33
28
<div class="main container-fluid">
34
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt (-10 / +18 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'acquisitions-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
[% UNLESS blocking_error %]
11
[% UNLESS blocking_error %]
Lines 18-25 Acquisitions &rsaquo; Koha Link Here
18
21
19
<body id="acq_duplicate_orders" class="acq">
22
<body id="acq_duplicate_orders" class="acq">
20
23
21
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'header.inc' form=formulaire %]
22
[% INCLUDE 'acquisitions-search.inc' %]
23
25
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
27
    <ol>
Lines 43-48 Acquisitions &rsaquo; Koha Link Here
43
        </li>
45
        </li>
44
    [% END %]
46
    [% END %]
45
    </ol>
47
    </ol>
48
        <ol>
49
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
50
        </ol>
51
        <ol>
52
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
53
        </ol>
46
</nav>
54
</nav>
47
55
48
<div class="main container-fluid">
56
<div class="main container-fluid">
Lines 50-62 Acquisitions &rsaquo; Koha Link Here
50
        <div class="col-sm-10 col-sm-push-2">
58
        <div class="col-sm-10 col-sm-push-2">
51
            <main>
59
            <main>
52
60
53
<h1>Duplicate existing orders</h1>
61
<h2>Duplicate existing orders</h2>
54
[% INCLUDE 'blocking_errors.inc' %]
62
[% INCLUDE 'blocking_errors.inc' %]
55
63
56
[% IF op == 'search' || op == 'select' %]
64
[% IF op == 'search' || op == 'select' %]
57
<form action="/cgi-bin/koha/acqui/duplicate_orders.pl" method="post">
65
<form action="/cgi-bin/koha/acqui/duplicate_orders.pl" method="post">
58
    <fieldset class="rows">
66
    <fieldset class="rows">
59
        <legend>
67
        <h3>
60
            [% IF op == 'search' %]
68
            [% IF op == 'search' %]
61
                <span>Search orders</span>
69
                <span>Search orders</span>
62
            [% ELSE %]
70
            [% ELSE %]
Lines 64-77 Acquisitions &rsaquo; Koha Link Here
64
            [% END %]
72
            [% END %]
65
            <span class="toggle_orders_filters" id="show_orders_filters"><a href="#">[+]</a></span>
73
            <span class="toggle_orders_filters" id="show_orders_filters"><a href="#">[+]</a></span>
66
            <span class="toggle_orders_filters" id="hide_orders_filters"><a href="#">[-]</a></span>
74
            <span class="toggle_orders_filters" id="hide_orders_filters"><a href="#">[-]</a></span>
67
        </legend>
75
        </h3>
68
        <div id="orders_filters">
76
        <div id="orders_filters">
69
            [% INCLUDE 'filter-orders.inc' %]
77
            [% INCLUDE 'filter-orders.inc' %]
70
            <input type="hidden" name="op" value="select" />
78
            <input type="hidden" name="op" value="select" />
71
            <input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
79
            <input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
72
80
73
            <input type="hidden" name="ordernumbers" value="[% ordernumbers.join(',') | html %]" />
81
            <input type="hidden" name="ordernumbers" value="[% ordernumbers.join(',') | html %]" />
74
            <fieldset class="action"><input type="submit" value="Search" /></fieldset>
82
            <fieldset class="action"><input type="submit" class="principal" value="Search" /></fieldset>
75
        </div>
83
        </div>
76
    </fieldset>
84
    </fieldset>
77
</form>
85
</form>
Lines 176-182 Acquisitions &rsaquo; Koha Link Here
176
        <fieldset class="action">
184
        <fieldset class="action">
177
            <input type="hidden" name="op" value="batch_edit" />
185
            <input type="hidden" name="op" value="batch_edit" />
178
            <input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
186
            <input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
179
            <button type="submit" class="btn btn-default go_to_batch_edit">Next <i class="fa fa-fw fa-arrow-right"></i></button>
187
            <button type="submit" class="btn btn-default go_to_batch_edit principal">Next <i class="fa fa-fw fa-arrow-right"></i></button>
180
        </fieldset>
188
        </fieldset>
181
        </form>
189
        </form>
182
    </div>
190
    </div>
Lines 187-193 Acquisitions &rsaquo; Koha Link Here
187
    <div id="accounting_details">
195
    <div id="accounting_details">
188
      <p>Duplicate all the orders with the following accounting details:</p>
196
      <p>Duplicate all the orders with the following accounting details:</p>
189
      <fieldset class="rows" style="float:none;">
197
      <fieldset class="rows" style="float:none;">
190
          <legend>Accounting details</legend>
198
          <h3>Accounting details</h3>
191
          <div class="hint" style="margin: 1em 1em 0">Check boxes to duplicate the original values</div>
199
          <div class="hint" style="margin: 1em 1em 0">Check boxes to duplicate the original values</div>
192
          <ol>
200
          <ol>
193
              <li>
201
              <li>
Lines 257-263 Acquisitions &rsaquo; Koha Link Here
257
        <input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
265
        <input type="hidden" name="basketno" value="[% basket.basketno | html %]" />
258
        <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
266
        <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
259
        <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
267
        <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
260
        <button type="submit" class="btn btn-default">Duplicate orders</button>
268
        <button type="submit" class="btn btn-default principal">Duplicate orders</button>
261
        <a class="cancel" href="/cgi-bin/koha/acqui/duplicate_orders.pl?basketno=[% basket.basketno | html %]">Cancel</a>
269
        <a class="cancel" href="/cgi-bin/koha/acqui/duplicate_orders.pl?basketno=[% basket.basketno | html %]">Cancel</a>
262
    </fieldset>
270
    </fieldset>
263
</form>
271
</form>
Lines 289-295 Acquisitions &rsaquo; Koha Link Here
289
            [% END %]
297
            [% END %]
290
            </tbody>
298
            </tbody>
291
        </table>
299
        </table>
292
        <a class="btn btn-default" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"><i class="fa fa-fw fa-arrow-left"></i> Return to the basket</a
300
        <a class="btn btn-default" id="lientype" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"><i class="fa fa-fw fa-arrow-left"></i> Return to the basket</a
293
    [% ELSE %]
301
    [% ELSE %]
294
        <span>No order has been duplicated. Maybe something wrong happened?</span>
302
        <span>No order has been duplicated. Maybe something wrong happened?</span>
295
    [% END %]
303
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edi_ean.tt (-2 / +11 lines)
Lines 1-11 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'acquisitions-search.inc' %]
4
[% END %]
1
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Basket ([% basketno | html %]) &rsaquo; Acquisitions &rsaquo; Koha</title>
6
<title>Basket ([% basketno | html %]) &rsaquo; Acquisitions &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
4
8
5
</head>
9
</head>
6
<body id="acq_edi_ean" class="acq">
10
<body id="acq_edi_ean" class="acq">
7
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
8
[% INCLUDE 'acquisitions-search.inc' %]
9
12
10
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
11
    <ol>
14
    <ol>
Lines 19-24 Link Here
19
            <a href="#" aria-current="page">Basket ([% basketno | html %])</a>
22
            <a href="#" aria-current="page">Basket ([% basketno | html %])</a>
20
        </li>
23
        </li>
21
    </ol>
24
    </ol>
25
    <ol>
26
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
    </ol>
28
    <ol>
29
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
30
    </ol>
22
</nav>
31
</nav>
23
32
24
<div class="main container-fluid">
33
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt (-2 / +12 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'acquisitions-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>EDIFACT messages &rsaquo; Acquisitions &rsaquo; Koha</title>
9
<title>EDIFACT messages &rsaquo; Acquisitions &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="acq_edifactmsgs" class="acq">
16
<body id="acq_edifactmsgs" class="acq">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'acquisitions-search.inc' %]
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
18
        <li>
20
        <li>
Lines 25-30 Link Here
25
            <a href="#" aria-current="page">EDIFACT messages</a>
27
            <a href="#" aria-current="page">EDIFACT messages</a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
31
    <ol>
32
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
33
    </ol>
34
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
28
</nav>
38
</nav>
29
39
30
<div class="main container-fluid">
40
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edimsg.tt (-2 / +11 lines)
Lines 1-10 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'acquisitions-search.inc' %]
4
[% END %]
1
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
2
<title>EDIFACT message display &rsaquo; Acquisitions &rsaquo; Koha</title>
6
<title>EDIFACT message display &rsaquo; Acquisitions &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
8
</head>
5
<body id="acq_edifactmsgs" class="acq">
9
<body id="acq_edifactmsgs" class="acq">
6
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'header.inc' form=formulaire %]
7
[% INCLUDE 'acquisitions-search.inc' %]
8
11
9
12
10
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 19-24 Link Here
19
            <a href="#" aria-current="page">EDIFACT messages</a>
22
            <a href="#" aria-current="page">EDIFACT messages</a>
20
        </li>
23
        </li>
21
    </ol>
24
    </ol>
25
    <ol>
26
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
    </ol>
28
    <ol>
29
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
30
    </ol>
22
</nav>
31
</nav>
23
32
24
<div class="main container-fluid">
33
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt (-22 / +30 lines)
Lines 4-17 Link Here
4
[% USE TablesSettings %]
4
[% USE TablesSettings %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'acquisitions-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% IF ( order_loop ) %]Orders search &rsaquo; Search results[% ELSE %]Order search[% END %] &rsaquo; Acquisitions &rsaquo; Koha</title>
11
<title>[% IF ( order_loop ) %]Orders search &rsaquo; Search results[% ELSE %]Order search[% END %] &rsaquo; Acquisitions &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="acq_histsearch" class="acq">
15
<body id="acq_histsearch" class="acq">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'acquisitions-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 22-43 Link Here
22
            <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
24
            <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
23
        </li>
25
        </li>
24
26
25
    [% IF ( order_loop ) %]
27
        [% IF ( order_loop ) %]
26
    <li>
28
        <li>
27
        <a href="/cgi-bin/koha/acqui/histsearch.pl">Orders search</a>
29
            <a href="/cgi-bin/koha/acqui/histsearch.pl">Orders search</a>
28
    </li>
30
        </li>
29
    <li>
31
        <li>
30
        <a href="#" aria-current="page">
32
            <a href="#" aria-current="page">
31
            Search results
33
                Search results
32
        </a>
34
            </a>
33
    </li>
35
        </li>
34
    [% ELSE %]
36
        [% ELSE %]
35
    <li>
37
        <li>
36
        <a href="#" aria-current="page">
38
            <a href="#" aria-current="page">
37
            Order search
39
                Order search
38
        </a>
40
            </a>
39
    </li>
41
        </li>
40
    [% END %]
42
        [% END %]
43
    </ol>
44
    <ol>
45
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
46
    </ol>
47
    <ol>
48
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
    </ol>
49
    </ol>
42
</nav>
50
</nav>
43
51
Lines 46-52 Link Here
46
        <div class="col-sm-10 col-sm-push-2">
54
        <div class="col-sm-10 col-sm-push-2">
47
            <main>
55
            <main>
48
56
49
                <h1>Order search</h1>
57
                <h2>Order search</h2>
50
58
51
                [% IF !order_loop && search_done %]
59
                [% IF !order_loop && search_done %]
52
                    <div class="dialog message">
60
                    <div class="dialog message">
Lines 59-65 Link Here
59
                [% END %]
67
                [% END %]
60
68
61
69
62
    [% IF ( order_loop ) %]<h1>Search results</h1>
70
    [% IF ( order_loop ) %]<h2>Search results</h2>
63
	<div id="acqui_histsearch">
71
	<div id="acqui_histsearch">
64
        <table id="histsearcht">
72
        <table id="histsearcht">
65
            <thead>
73
            <thead>
Lines 182-192 Link Here
182
                <h4>Search orders</h4>
190
                <h4>Search orders</h4>
183
        [% ELSE %]
191
        [% ELSE %]
184
            <fieldset class="rows">
192
            <fieldset class="rows">
185
                <legend>Search orders</legend>
193
                <h3>Search orders</h3>
186
        [% END %]
194
        [% END %]
187
            [% INCLUDE 'filter-orders.inc' %]
195
            [% INCLUDE 'filter-orders.inc' %]
188
            <input type="hidden" name="do_search" value="1" />
196
            <input type="hidden" name="do_search" value="1" />
189
            <fieldset class="action"><input type="submit" value="Search" /></fieldset>
197
            <fieldset class="action"><input type="submit" class="principal" value="Search" /></fieldset>
190
        </fieldset>
198
        </fieldset>
191
    </form>
199
    </form>
192
[% END %]
200
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt (-2 / +10 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'acquisitions-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Files &rsaquo; Invoice &rsaquo; Acquisitions &rsaquo; Koha</title>
9
<title>Files &rsaquo; Invoice &rsaquo; Acquisitions &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="acq_invoice_files" class="acq">
13
<body id="acq_invoice_files" class="acq">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'acquisitions-search.inc' %]
13
15
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 30-35 Link Here
30
            <a href="#" aria-current="page">Files</a>
32
            <a href="#" aria-current="page">Files</a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
    <ol>
36
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
    </ol>
38
    <ol>
39
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
    </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-7 / +15 lines)
Lines 4-9 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Price %]
5
[% USE Price %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'acquisitions-search.inc' %]
9
[% END %]
7
[% USE AuthorisedValues %]
10
[% USE AuthorisedValues %]
8
11
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
Lines 12-19 Link Here
12
</head>
15
</head>
13
16
14
<body id="acq_invoice" class="acq">
17
<body id="acq_invoice" class="acq">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'acquisitions-search.inc' %]
17
19
18
[% SET readonly = NOT CAN_user_acquisition_edit_invoices %]
20
[% SET readonly = NOT CAN_user_acquisition_edit_invoices %]
19
21
Lines 33-38 Link Here
33
            <a href="#" aria-current="page">[% invoicenumber | html %]</a>
35
            <a href="#" aria-current="page">[% invoicenumber | html %]</a>
34
        </li>
36
        </li>
35
    </ol>
37
    </ol>
38
    <ol>
39
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
40
    </ol>
41
    <ol>
42
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
43
    </ol>
36
</nav>
44
</nav>
37
45
38
<div class="main container-fluid">
46
<div class="main container-fluid">
Lines 143-149 Link Here
143
            <fieldset class="action">
151
            <fieldset class="action">
144
                <input type="submit" value="Save" />
152
                <input type="submit" value="Save" />
145
                [% IF CAN_user_acquisition_delete_invoices AND NOT orders_loop.size %]
153
                [% IF CAN_user_acquisition_delete_invoices AND NOT orders_loop.size %]
146
                <a href="invoice.pl?op=delete&invoiceid=[% invoiceid | uri %]" id="delete">Delete</a>
154
                <a class="cancel" href="invoice.pl?op=delete&invoiceid=[% invoiceid | uri %]" id="delete">Delete</a>
147
                [% END %]
155
                [% END %]
148
            </fieldset>
156
            </fieldset>
149
        [% END %]
157
        [% END %]
Lines 252-258 Link Here
252
                                  [% END %]
260
                                  [% END %]
253
                                  [% UNLESS readonly %]
261
                                  [% UNLESS readonly %]
254
                                      <td>
262
                                      <td>
255
                                         <a class="btn btn-default btn-xs delete_adjustment" href="/cgi-bin/koha/acqui/invoice.pl?op=del_adj&adjustment_id=[% adjustment.adjustment_id | html %]&invoiceid=[% invoiceid | html %]"><i class="fa fa-trash"></i> Delete</a>
263
                                         <a class="btn btn-default cancel btn-xs delete_adjustment" href="/cgi-bin/koha/acqui/invoice.pl?op=del_adj&adjustment_id=[% adjustment.adjustment_id | html %]&invoiceid=[% invoiceid | html %]"><i class="fa fa-trash"></i> Delete</a>
256
                                      </td>
264
                                      </td>
257
                                  [% END %]
265
                                  [% END %]
258
                              </tr>
266
                              </tr>
Lines 327-340 Link Here
327
                          </fieldset>
335
                          </fieldset>
328
                          <fieldset class="action">
336
                          <fieldset class="action">
329
                              <input type="hidden" name="op" value="mod_adj" />
337
                              <input type="hidden" name="op" value="mod_adj" />
330
                              <input type="submit" value="Update adjustments" />
338
                              <input type="submit" class="principal" value="Update adjustments" />
331
                          </fieldset>
339
                          </fieldset>
332
                    [% END %]
340
                    [% END %]
333
                  </fieldset>
341
                  </fieldset>
334
              </form>
342
              </form>
335
      <p>
343
      <p>
336
          <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% invoiceid | uri %]">Go to receipt page</a>
344
          <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% invoiceid | uri %]" id="lientype">Go to receipt page</a>
337
          [% IF Koha.Preference('AcqEnableFiles') %]| <a href="/cgi-bin/koha/acqui/invoice-files.pl?invoiceid=[% invoiceid | uri %]">Manage invoice files</a>[% END %]
345
          [% IF Koha.Preference('AcqEnableFiles') %]| <a href="/cgi-bin/koha/acqui/invoice-files.pl?invoiceid=[% invoiceid | uri %]" id="lientype">Manage invoice files</a>[% END %]
338
      </p>
346
      </p>
339
      <h2>Invoice details</h2>
347
      <h2>Invoice details</h2>
340
      <fieldset>
348
      <fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-3 / +15 lines)
Lines 3-8 Link Here
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'acquisitions-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Invoices &rsaquo; Acquisitions &rsaquo; Koha</title>
10
<title>Invoices &rsaquo; Acquisitions &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 10-17 Link Here
10
</head>
13
</head>
11
14
12
<body id="acq_invoices" class="acq">
15
<body id="acq_invoices" class="acq">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'acquisitions-search.inc' %]
15
17
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 26-31 Link Here
26
            <a href="#" aria-current="page">Invoices</a>
28
            <a href="#" aria-current="page">Invoices</a>
27
        </li>
29
        </li>
28
    </ol>
30
    </ol>
31
32
    <ol>
33
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
    </ol>
35
36
    <ol>
37
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
    </ol>
29
</nav>
39
</nav>
30
40
31
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 298-303 Link Here
298
308
299
        <div class="col-sm-2 col-sm-pull-10">
309
        <div class="col-sm-2 col-sm-pull-10">
300
            <aside>
310
            <aside>
311
            <div id="filters">
301
                <form action="" method="get">
312
                <form action="" method="get">
302
                    <fieldset class="sidebar brief">
313
                    <fieldset class="sidebar brief">
303
                        <h3>Search filters</h3>
314
                        <h3>Search filters</h3>
Lines 384-395 Link Here
384
                            </li>
395
                            </li>
385
                        </ol>
396
                        </ol>
386
                        <fieldset class="action">
397
                        <fieldset class="action">
387
                            <input type="submit" value="Search" />
398
                            <input type="submit" class="principal" value="Search" />
388
                        </fieldset>
399
                        </fieldset>
389
                    </fieldset> <!-- /.sidebar.brief -->
400
                    </fieldset> <!-- /.sidebar.brief -->
390
                    <input type="hidden" name="op" id="op" value="do_search" />
401
                    <input type="hidden" name="op" id="op" value="do_search" />
391
                </form>
402
                </form>
392
                [% INCLUDE 'acquisitions-menu.inc' %]
403
                [% INCLUDE 'acquisitions-menu.inc' %]
404
            </div>
393
            </aside>
405
            </aside>
394
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
406
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
395
    </div> <!-- /.row -->
407
    </div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-11 / +22 lines)
Lines 5-18 Link Here
5
[% USE TablesSettings %]
5
[% USE TablesSettings %]
6
[% USE Price %]
6
[% USE Price %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'acquisitions-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Late orders &rsaquo; Acquisitions &rsaquo; Koha</title>
12
<title>Late orders &rsaquo; Acquisitions &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="acq_lateorders" class="acq">
16
<body id="acq_lateorders" class="acq">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'acquisitions-search.inc' %]
16
18
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 27-32 Link Here
27
            <a href="#" aria-current="page">Late orders</a>
29
            <a href="#" aria-current="page">Late orders</a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
    <ol>
33
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
    </ol>
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 34-40 Link Here
34
        <div class="col-sm-10 col-sm-push-2">
42
        <div class="col-sm-10 col-sm-push-2">
35
            <main>
43
            <main>
36
44
37
<h1>[% IF bookseller_filter %][% bookseller_filter.name | html %] : [% END %]Late orders</h1>
45
<h2>[% IF bookseller_filter %][% bookseller_filter.name | html %] : [% END %]Late orders</h2>
38
<div id="acqui_lateorders">
46
<div id="acqui_lateorders">
39
47
40
[% IF error_claim %]
48
[% IF error_claim %]
Lines 223-228 Link Here
223
231
224
<div class="col-sm-2 col-sm-pull-10">
232
<div class="col-sm-2 col-sm-pull-10">
225
    <aside>
233
    <aside>
234
    <div id="filters">
226
<form action="lateorders.pl" method="get">
235
<form action="lateorders.pl" method="get">
227
<fieldset class="brief">
236
<fieldset class="brief">
228
<h4>Filter results:</h4>
237
<h4>Filter results:</h4>
Lines 230-246 Link Here
230
[% IF ( ERROR_LOO.delay_digits ) %]<p class="error">The number of days ([% ERROR_LOO.bad_delay | html %]) must be a number between 0 and 999.</p>[% END %]
239
[% IF ( ERROR_LOO.delay_digits ) %]<p class="error">The number of days ([% ERROR_LOO.bad_delay | html %]) must be a number between 0 and 999.</p>[% END %]
231
[% END %]
240
[% END %]
232
<ol>
241
<ol>
233
    <li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay | html %]" /> days ago</li>
242
    <li><p for="delay">Order date:<input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay | html %]" /> days ago</p></li>
234
    <li><label for="from">Estimated delivery date from: </label>
243
    <li><p for="from">Estimated delivery date from: 
235
        <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom | html %]" class="flatpickr" data-date_to="to"/>
244
        <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom | html %]" class="flatpickr" data-date_to="to"/>
236
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
245
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
237
    </li>
246
    </li>
238
    <li><label for="to">To: </label>
247
    <li><p for="to">To: 
239
        <input type="text" size="10" id="to" name="estimateddeliverydateto" value="[% estimateddeliverydateto | html %]" class="flatpickr" />
248
        <input type="text" size="10" id="to" name="estimateddeliverydateto" value="[% estimateddeliverydateto | html %]" class="flatpickr" />
240
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
249
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
241
    </li>
250
    </li>
242
251
243
    <li><label for="booksellerid">Vendor:</label>
252
    <li><p for="booksellerid">Vendor:
244
        <select id="booksellerid" tabindex="" name="booksellerid">
253
        <select id="booksellerid" tabindex="" name="booksellerid">
245
            <option value=""></option>
254
            <option value=""></option>
246
            [% FOREACH bookseller IN booksellers %]
255
            [% FOREACH bookseller IN booksellers %]
Lines 250-261 Link Here
250
                    <option value="[% bookseller.id | html %]">[% bookseller.name | html %]</option>
259
                    <option value="[% bookseller.id | html %]">[% bookseller.name | html %]</option>
251
                [% END %]
260
                [% END %]
252
            [% END %]
261
            [% END %]
253
        </select>
262
        </select></p>
263
    </li>
254
</ol>
264
</ol>
255
    <fieldset class="action"><input type="submit" value="Filter" /></fieldset>
265
    <fieldset class="action"><input type="submit" class="principal" value="Filter" /></fieldset>
256
</fieldset>
266
</fieldset>
257
    </form>
267
    </form>
258
[% INCLUDE 'acquisitions-menu.inc' %]
268
[% INCLUDE 'acquisitions-menu.inc' %]
269
</div>
259
</aside>
270
</aside>
260
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
271
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
261
</div>
272
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt (+6 lines)
Lines 32-37 Link Here
32
            </a>
32
            </a>
33
        </li>
33
        </li>
34
    </ol>
34
    </ol>
35
    <ol>
36
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
    </ol>
38
    <ol>
39
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
    </ol>
35
</nav>
41
</nav>
36
42
37
<div class="main container-fluid">
43
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-14 / +22 lines)
Lines 5-10 Link Here
5
[% USE Price %]
5
[% USE Price %]
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'acquisitions-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>[% IF ( ordernumber ) %]Modify order details (line #[% ordernumber | html %])[% ELSE %]New order[% END %] &rsaquo; Basket [% basketno | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
12
<title>[% IF ( ordernumber ) %]Modify order details (line #[% ordernumber | html %])[% ELSE %]New order[% END %] &rsaquo; Basket [% basketno | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
Lines 12-19 Link Here
12
15
13
<body id="acq_neworderempty" class="acq">
16
<body id="acq_neworderempty" class="acq">
14
17
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'acquisitions-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 44-49 Link Here
44
            </li>
46
            </li>
45
        [% END %]
47
        [% END %]
46
    </ol>
48
    </ol>
49
    <ol>
50
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
51
    </ol>
52
    <ol>
53
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
54
    </ol>
47
</nav>
55
</nav>
48
56
49
[% INCLUDE 'blocking_errors.inc' %]
57
[% INCLUDE 'blocking_errors.inc' %]
Lines 53-72 Link Here
53
        <div class="col-sm-10 col-sm-push-2">
61
        <div class="col-sm-10 col-sm-push-2">
54
            <main>
62
            <main>
55
63
56
<h1>
64
<h2>
57
    [% IF ( ordernumber ) %]
65
    [% IF ( ordernumber ) %]
58
        Modify order line
66
        Modify order line
59
    [% ELSE %]
67
    [% ELSE %]
60
        New order
68
        New order
61
    [% END %]
69
    [% END %]
62
</h1>
70
</h2>
63
71
64
<div class="dialog alert order_error" style="display:none"></div>
72
<div class="dialog alert order_error" style="display:none"></div>
65
73
66
[% IF ( basketno ) %]
74
[% IF ( basketno ) %]
67
    <div id="acqui_basket_summary">
75
    <div id="acqui_basket_summary">
68
    <fieldset class="rows">
76
    <fieldset class="rows">
69
        <legend>Basket details</legend>
77
        <h3>Basket details</h3>
70
        <ol>
78
        <ol>
71
        [% IF ( basketnote ) %]<li><span class="label">Internal note:</span> [% basketnote | html %]</li>[% END %]
79
        [% IF ( basketnote ) %]<li><span class="label">Internal note:</span> [% basketnote | html %]</li>[% END %]
72
        [% IF ( basketbooksellernote ) %]<li><span class="label">Vendor note:</span> [% basketbooksellernote | html %]</li>[% END %]
80
        [% IF ( basketbooksellernote ) %]<li><span class="label">Vendor note:</span> [% basketbooksellernote | html %]</li>[% END %]
Lines 93-99 Link Here
93
                <input type="hidden" value="mod_basket" name="op" />
101
                <input type="hidden" value="mod_basket" name="op" />
94
                <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
102
                <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
95
            </li>
103
            </li>
96
            <fieldset class="action"><input type="submit" value="Change basketgroup" /></fieldset>
104
            <fieldset class="action"><input type="submit" class="princial" value="Change basketgroup" /></fieldset>
97
        [% END %]
105
        [% END %]
98
        </form>
106
        </form>
99
        [% END %]
107
        [% END %]
Lines 105-111 Link Here
105
<form action="/cgi-bin/koha/acqui/addorder.pl" method="post" class="validated noEnterSubmit" id="Aform" onsubmit="return Check(this);" >
113
<form action="/cgi-bin/koha/acqui/addorder.pl" method="post" class="validated noEnterSubmit" id="Aform" onsubmit="return Check(this);" >
106
114
107
    <fieldset class="rows">
115
    <fieldset class="rows">
108
        <legend>Patrons</legend>
116
        <h3>Patrons</h3>
109
        <ol>
117
        <ol>
110
            <li>
118
            <li>
111
                <span class="label">To notify on receiving:</span>
119
                <span class="label">To notify on receiving:</span>
Lines 120-138 Link Here
120
                    </ul>
128
                    </ul>
121
                    <input type="hidden" id="users_ids" name="users_ids" value="[% users_ids | html %]" />
129
                    <input type="hidden" id="users_ids" name="users_ids" value="[% users_ids | html %]" />
122
                    <input type="hidden" id="op" name="op" value="mod_users" />
130
                    <input type="hidden" id="op" name="op" value="mod_users" />
123
                    <input type="button" id="add_user" onclick="UserSearchPopup();" value="Add user" />
131
                    <input type="button" id="add_user" class="principal" onclick="UserSearchPopup();" value="Add user" />
124
                </div>
132
                </div>
125
            </li>
133
            </li>
126
        </ol>
134
        </ol>
127
    </fieldset>
135
    </fieldset>
128
136
129
<fieldset class="rows">
137
<fieldset class="rows">
130
        <legend>
138
        <h3>
131
            Catalog details
139
            Catalog details
132
            [% IF ( biblionumber ) %]
140
            [% IF ( biblionumber ) %]
133
                <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | uri %]"> Edit record</a></span>
141
                <span><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | uri %]"> Edit record</a></span>
134
            [% END %]
142
            [% END %]
135
        </legend>
143
        </h3>
136
        [% UNLESS ( existing ) %]
144
        [% UNLESS ( existing ) %]
137
        <input type="hidden" name="existing" value="no" />
145
        <input type="hidden" name="existing" value="no" />
138
        [% END %]
146
        [% END %]
Lines 268-274 Link Here
268
276
269
    [% IF ( suggestionid ) %]
277
    [% IF ( suggestionid ) %]
270
        <fieldset class="rows">
278
        <fieldset class="rows">
271
        <legend>Suggestion</legend>
279
        <h3>Suggestion</h3>
272
        <ol>
280
        <ol>
273
          <li>
281
          <li>
274
            <span class="label">Suggested by: </span>
282
            <span class="label">Suggested by: </span>
Lines 310-316 Link Here
310
      </div>
318
      </div>
311
319
312
      <fieldset class="rows" id="itemfieldset">
320
      <fieldset class="rows" id="itemfieldset">
313
          <legend>Item</legend>
321
          <h3>Item</h3>
314
          [% IF ( NoACQframework ) %]
322
          [% IF ( NoACQframework ) %]
315
              <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
323
              <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
316
          [% END %]
324
          [% END %]
Lines 325-331 Link Here
325
      [% END %][%# | html UNLESS subscriptionid %]
333
      [% END %][%# | html UNLESS subscriptionid %]
326
    [% END %][%# IF (AcqCreateItemOrdering) %]
334
    [% END %][%# IF (AcqCreateItemOrdering) %]
327
    <fieldset class="rows">
335
    <fieldset class="rows">
328
        <legend>Accounting details</legend>
336
        <h3>Accounting details</h3>
329
        <ol>
337
        <ol>
330
            <li>
338
            <li>
331
                <label class="required" for="quantity">Quantity: </label>
339
                <label class="required" for="quantity">Quantity: </label>
Lines 492-498 Link Here
492
    </fieldset>
500
    </fieldset>
493
    <fieldset class="action">
501
    <fieldset class="action">
494
        <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" />
502
        <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" />
495
        <input type="submit" value="Save" />
503
        <input type="submit" class="principal" value="Save" />
496
        [% IF (suggestionid) %]
504
        [% IF (suggestionid) %]
497
            <a class="cancel" href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid | html %]&amp;basketno=[% basketno | html %]">Cancel</a>
505
            <a class="cancel" href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid | html %]&amp;basketno=[% basketno | html %]">Cancel</a>
498
        [% ELSE %]
506
        [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty_duplicate.tt (-2 / +12 lines)
Lines 1-11 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'acquisitions-search.inc' %]
4
[% END %]
5
1
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Duplicate warning &rsaquo; Basket [% basketno | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
7
<title>Duplicate warning &rsaquo; Basket [% basketno | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
9
</head>
5
<body id="acq_neworderempty_duplicate" class="acq">
10
<body id="acq_neworderempty_duplicate" class="acq">
6
11
7
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
8
[% INCLUDE 'acquisitions-search.inc' %]
9
13
10
14
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 25-30 Link Here
25
            </a>
29
            </a>
26
        </li>
30
        </li>
27
    </ol>
31
    </ol>
32
    <ol>
33
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
    </ol>
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
28
</nav>
38
</nav>
29
39
30
<div class="main container-fluid">
40
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt (-3 / +13 lines)
Lines 5-18 Link Here
5
[% USE Koha %]
5
[% USE Koha %]
6
[% PROCESS 'i18n.inc' %]
6
[% PROCESS 'i18n.inc' %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'acquisitions-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Serials [% biblionumber | html %] &rsaquo; Koha</title>
12
<title>Serials [% biblionumber | html %] &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="acq_newordersubscription" class="acq">
16
<body id="acq_newordersubscription" class="acq">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'acquisitions-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 34-39 Link Here
34
            </a>
36
            </a>
35
        </li>
37
        </li>
36
    </ol>
38
    </ol>
39
        <ol>
40
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
41
        </ol>
42
        <ol>
43
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
44
        </ol>
37
</nav>
45
</nav>
38
46
39
<div class="main container-fluid">
47
<div class="main container-fluid">
Lines 41-47 Link Here
41
        <div class="col-sm-10 col-sm-push-2">
49
        <div class="col-sm-10 col-sm-push-2">
42
            <main>
50
            <main>
43
51
44
            <h1>Serials subscriptions</h1>
52
            <h2>Serials subscriptions</h2>
45
            [% IF (done_searched) %]
53
            [% IF (done_searched) %]
46
                <label for="show_only_renewed">
54
                <label for="show_only_renewed">
47
                    <input type="checkbox" style="vertical-align: middle;" id="show_only_renewed" />
55
                    <input type="checkbox" style="vertical-align: middle;" id="show_only_renewed" />
Lines 111-118 Link Here
111
119
112
<div class="col-sm-2 col-sm-pull-10">
120
<div class="col-sm-2 col-sm-pull-10">
113
    <aside>
121
    <aside>
122
    <div id="filters">
114
        [% INCLUDE 'subscriptions-search.inc' %]
123
        [% INCLUDE 'subscriptions-search.inc' %]
115
        [% INCLUDE 'acquisitions-menu.inc' %]
124
        [% INCLUDE 'acquisitions-menu.inc' %]
125
116
    </aside>
126
    </aside>
117
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
127
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
118
</div> <!-- /.row -->
128
</div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersuggestion.tt (-2 / +10 lines)
Lines 4-17 Link Here
4
[% USE Asset %]
4
[% USE Asset %]
5
[% PROCESS 'i18n.inc' %]
5
[% PROCESS 'i18n.inc' %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'suggestions-add-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Add order from a suggestion &rsaquo; Acquisitions &rsaquo; Koha</title>
11
<title>Add order from a suggestion &rsaquo; Acquisitions &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="acq_newordersuggestion" class="acq">
15
<body id="acq_newordersuggestion" class="acq">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'suggestions-add-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 33-38 Link Here
33
            </a>
35
            </a>
34
        </li>
36
        </li>
35
    </ol>
37
    </ol>
38
    <ol>
39
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
40
    </ol>
41
    <ol>
42
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
43
    </ol>
36
</nav>
44
</nav>
37
45
38
<div class="main container-fluid">
46
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt (-2 / +10 lines)
Lines 5-18 Link Here
5
[% USE Price %]
5
[% USE Price %]
6
[% PROCESS 'i18n.inc' %]
6
[% PROCESS 'i18n.inc' %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'acquisitions-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Ordered &rsaquo; Acquisitions &rsaquo; Koha</title>
12
<title>Ordered &rsaquo; Acquisitions &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="acq_ordered" class="acq">
16
<body id="acq_ordered" class="acq">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'acquisitions-search.inc' %]
16
18
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 29-34 Link Here
29
            </a>
31
            </a>
30
        </li>
32
        </li>
31
    </ol>
33
    </ol>
34
    <ol>
35
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
    </ol>
37
    <ol>
38
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
    </ol>
32
</nav>
40
</nav>
33
41
34
<div class="main container-fluid">
42
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-2 / +10 lines)
Lines 7-20 Link Here
7
[% USE ItemTypes %]
7
[% USE ItemTypes %]
8
[% USE Price %]
8
[% USE Price %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'acquisitions-search.inc' %]
12
[% END %]
10
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Receipt summary for : [% name | html %] [% IF ( invoice ) %]invoice, [% invoice | html %][% END %] &rsaquo; Acquisitions &rsaquo; Koha</title>
14
<title>Receipt summary for : [% name | html %] [% IF ( invoice ) %]invoice, [% invoice | html %][% END %] &rsaquo; Acquisitions &rsaquo; Koha</title>
12
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
13
</head>
16
</head>
14
17
15
<body id="acq_orderreceive" class="acq">
18
<body id="acq_orderreceive" class="acq">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'acquisitions-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 35-40 Link Here
35
            </a>
37
            </a>
36
        </li>
38
        </li>
37
    </ol>
39
    </ol>
40
    <ol>
41
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
42
    </ol>
43
    <ol>
44
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
45
    </ol>
38
</nav>
46
</nav>
39
47
40
<div class="main container-fluid">
48
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-4 / +13 lines)
Lines 5-10 Link Here
5
[% USE Price %]
5
[% USE Price %]
6
[% PROCESS 'i18n.inc' %]
6
[% PROCESS 'i18n.inc' %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'acquisitions-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>
12
<title>
10
    [% IF ( invoiceclosedate ) %]
13
    [% IF ( invoiceclosedate ) %]
Lines 18-25 Link Here
18
</head>
21
</head>
19
22
20
<body id="acq_parcel" class="acq">
23
<body id="acq_parcel" class="acq">
21
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'header.inc' form=formulaire %]
22
[% INCLUDE 'acquisitions-search.inc' %]
23
25
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
27
    <ol>
Lines 45-50 Link Here
45
            </li>
47
            </li>
46
        [% END %]
48
        [% END %]
47
    </ol>
49
    </ol>
50
        <ol>
51
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
52
        </ol>
53
        <ol>
54
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
55
        </ol>
48
</nav>
56
</nav>
49
57
50
58
Lines 112-117 Link Here
112
</div>
120
</div>
113
[% UNLESS (invoiceclosedate) %]
121
[% UNLESS (invoiceclosedate) %]
114
    <div id="acqui_receive_search">
122
    <div id="acqui_receive_search">
123
    <div id="searchresults">
115
        <h3>Pending orders</h3>
124
        <h3>Pending orders</h3>
116
        <table id="pending_orders" class="table table-bordered table-striped">
125
        <table id="pending_orders" class="table table-bordered table-striped">
117
            <thead>
126
            <thead>
Lines 131-137 Link Here
131
                </tr>
140
                </tr>
132
            </thead>
141
            </thead>
133
        </table>
142
        </table>
134
    </div>
143
    </div></div>
135
[% ELSE %]
144
[% ELSE %]
136
    <p>
145
    <p>
137
        <span>Invoice is closed, so you can't receive orders anymore.</span>
146
        <span>Invoice is closed, so you can't receive orders anymore.</span>
Lines 320-326 Link Here
320
    <form action="/cgi-bin/koha/acqui/invoice.pl" method="get">
329
    <form action="/cgi-bin/koha/acqui/invoice.pl" method="get">
321
        <input type="hidden" name="invoiceid" value="[% invoiceid | html %]" />
330
        <input type="hidden" name="invoiceid" value="[% invoiceid | html %]" />
322
        <fieldset class="action">
331
        <fieldset class="action">
323
            <input type="submit" value="Finish receiving" />
332
            <input type="submit" class="principal" value="Finish receiving" />
324
        </fieldset>
333
        </fieldset>
325
    </form>
334
    </form>
326
[% END %]
335
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt (-8 / +15 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'acquisitions-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Receive shipment from vendor [% name | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
9
<title>Receive shipment from vendor [% name | html %] &rsaquo; Acquisitions &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="acq_parcels" class="acq">
13
<body id="acq_parcels" class="acq">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'acquisitions-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 28-33 Link Here
28
            </a>
30
            </a>
29
        </li>
31
        </li>
30
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
31
</nav>
39
</nav>
32
40
33
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 38-44 Link Here
38
            <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
46
            <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
39
        [% END %]
47
        [% END %]
40
            <main>
48
            <main>
41
<h1>Receive shipment from vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a></h1>
49
<h2>Receive shipment from vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a></h2>
42
50
43
[% IF ( error_failed_to_create_invoice ) %]
51
[% IF ( error_failed_to_create_invoice ) %]
44
    <div id="error" class="dialog alert">
52
    <div id="error" class="dialog alert">
Lines 68-74 Link Here
68
            <input type="hidden" name="shipmentdate" value="[% shipmentdate | $KohaDates %]" />
76
            <input type="hidden" name="shipmentdate" value="[% shipmentdate | $KohaDates %]" />
69
            <input type="hidden" name="shipmentcost" value="[% shipmentcost | html %]" />
77
            <input type="hidden" name="shipmentcost" value="[% shipmentcost | html %]" />
70
            <input type="hidden" name="shipmentcost_budgetid" value="[% shipmentcost_budgetid | html %]" />
78
            <input type="hidden" name="shipmentcost_budgetid" value="[% shipmentcost_budgetid | html %]" />
71
            <input type="submit" class="button" value="Create new invoice anyway" />
79
            <input type="submit" class="button principal" value="Create new invoice anyway" />
72
        </form>
80
        </form>
73
    </div>
81
    </div>
74
    [% END %]
82
    [% END %]
Lines 143-149 Link Here
143
    <div id="parcels_new_parcel">
151
    <div id="parcels_new_parcel">
144
        <form method="get" action="parcels.pl" class="validated">
152
        <form method="get" action="parcels.pl" class="validated">
145
    <fieldset class="rows">
153
    <fieldset class="rows">
146
    <legend>Receive a new shipment</legend>
154
    <h3>Receive a new shipment</h3>
147
       <ol> <li>
155
       <ol> <li>
148
            <label for="invoice" class="required">Vendor invoice:</label>
156
            <label for="invoice" class="required">Vendor invoice:</label>
149
            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
157
            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
Lines 187-194 Link Here
187
195
188
        </li>
196
        </li>
189
		</ol>
197
		</ol>
190
    </fieldset>
198
<input type="submit" class="button principal" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a></fieldset>
191
            <fieldset class="action"><input type="submit" class="button" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a></fieldset>
192
        </form>
199
        </form>
193
    </div>
200
    </div>
194
</main>
201
</main>
Lines 226-232 Link Here
226
                <option value="100">100</option>
233
                <option value="100">100</option>
227
                </select></li>
234
                </select></li>
228
        </ol>
235
        </ol>
229
    <fieldset class="action"><input type="submit" class="button" value="Filter" /> <a href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | uri %]">Clear</a></fieldset>
236
    <fieldset class="action"><input type="submit" class="button principal" value="Filter" /> <a href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | uri %]">Clear</a></fieldset>
230
	</fieldset>
237
	</fieldset>
231
</form>
238
</form>
232
</aside>
239
</aside>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt (-2 / +10 lines)
Lines 5-18 Link Here
5
[% USE Price %]
5
[% USE Price %]
6
[% PROCESS 'i18n.inc' %]
6
[% PROCESS 'i18n.inc' %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'acquisitions-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Spent &rsaquo; Acquisitions &rsaquo; Koha</title>
12
<title>Spent &rsaquo; Acquisitions &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="acq_spent" class="acq">
16
<body id="acq_spent" class="acq">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'acquisitions-search.inc' %]
16
18
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 29-34 Link Here
29
            </a>
31
            </a>
30
        </li>
32
        </li>
31
    </ol>
33
    </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
32
</nav>
40
</nav>
33
41
34
<div class="main container-fluid">
42
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-19 / +30 lines)
Lines 54-60 Link Here
54
            [% END %]
54
            [% END %]
55
            <input type="hidden" class="contact_claimissues_hidden" name="contact_claimissues" value="[% contact.claimissues | html %]"></input>
55
            <input type="hidden" class="contact_claimissues_hidden" name="contact_claimissues" value="[% contact.claimissues | html %]"></input>
56
        </li>
56
        </li>
57
        [% IF contact.id %]<li><button class="btn btn-default delete-contact"><i class="fa fa-trash"></i> Delete contact</li>[% END %]
57
        [% IF contact.id %]<li><button class="btn btn-default delete-contact" id="lientype"><i class="fa fa-trash"></i> Delete contact</li>[% END %]
58
    </ol>
58
    </ol>
59
[% END %]
59
[% END %]
60
60
Lines 88-101 Link Here
88
[% END %]
88
[% END %]
89
89
90
[% SET footerjs = 1 %]
90
[% SET footerjs = 1 %]
91
[% formulaire = BLOCK %]
92
    [% INCLUDE 'acquisitions-search.inc' %]
93
[% END %]
91
[% INCLUDE 'doc-head-open.inc' %]
94
[% INCLUDE 'doc-head-open.inc' %]
92
<title>Vendor [% name | html %] &rsaquo; Koha</title>
95
<title>Vendor [% name | html %] &rsaquo; Koha</title>
93
[% INCLUDE 'doc-head-close.inc' %]
96
[% INCLUDE 'doc-head-close.inc' %]
94
</head>
97
</head>
95
98
96
<body id="acq_supplier" class="acq">
99
<body id="acq_supplier" class="acq">
97
[% INCLUDE 'header.inc' %]
100
[% INCLUDE 'header.inc' form=formulaire %]
98
[% INCLUDE 'acquisitions-search.inc' %]
99
101
100
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
102
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
101
    <ol>
103
    <ol>
Lines 130-135 Link Here
130
            </li>
132
            </li>
131
        [% END %]
133
        [% END %]
132
    </ol>
134
    </ol>
135
        <ol>
136
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
137
        </ol>
138
        <ol>
139
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
140
        </ol>
133
</nav>
141
</nav>
134
142
135
<div class="main container-fluid">
143
<div class="main container-fluid">
Lines 139-164 Link Here
139
147
140
    [% IF ( enter ) %]
148
    [% IF ( enter ) %]
141
        [% IF ( booksellerid ) %]
149
        [% IF ( booksellerid ) %]
142
        <h1>Update: [% name | html %]</h1>
150
        <h2>Update: [% name | html %]</h2>
143
    [% ELSE %]
151
    [% ELSE %]
144
        <h1>Add vendor</h1>
152
        <h2>Add vendor</h2>
145
    [% END %]
153
    [% END %]
146
    [% END %]
154
    [% END %]
147
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %]
155
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %]
148
[% IF ( enter ) %]
156
[% IF ( enter ) %]
149
    <form action="updatesupplier.pl" name="updatesupplier" style="display:block" class="validated" method="post">
157
    <form action="updatesupplier.pl" name="updatesupplier" style="display:block" class="validated" method="post">
150
        <div id="toolbar" class="btn-toolbar">
158
        <div id="toolbar" class="btn-toolbar">
151
            <button class="btn btn-default" type="submit"><i class="fa fa-save"></i> Save</button>
159
            <div>
160
            <button class="btn btn-default principal" type="submit"><i class="fa fa-save"></i> Save</button>
152
            [% IF ( booksellerid ) %]
161
            [% IF ( booksellerid ) %]
153
                <a class="btn btn-default cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">
162
                <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">
154
            [% ELSE %]
163
            [% ELSE %]
155
                <a class="btn btn-default cancel" href="/cgi-bin/koha/acqui/acqui-home.pl">
164
                <a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl">
156
            [% END %] <i class="fa fa-remove"></i> Cancel</a>
165
            [% END %] <i class="fa fa-remove"></i> Cancel</a>
157
        </div>
166
        </div></div>
158
167
159
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
168
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
160
        <fieldset class="rows">
169
        <fieldset class="rows">
161
            <legend>Company details</legend>
170
            <h3>Company details</h3>
162
            <ol><li><label for="company" class="required">Name:</label>
171
            <ol><li><label for="company" class="required">Name:</label>
163
                <input type="text" size="40" id="company" name="company" value="[% name | html %]" required="required" class="required focus" /><span class="required">Required</span></li>
172
                <input type="text" size="40" id="company" name="company" value="[% name | html %]" required="required" class="required focus" /><span class="required">Required</span></li>
164
            <li><label for="company_postal">Postal address: </label>
173
            <li><label for="company_postal">Postal address: </label>
Lines 175-188 Link Here
175
                <input type="text" size="40" id="accountnumber" name="accountnumber" value="[% accountnumber | html %]" /></li></ol>
184
                <input type="text" size="40" id="accountnumber" name="accountnumber" value="[% accountnumber | html %]" /></li></ol>
176
        </fieldset>
185
        </fieldset>
177
        <fieldset class="rows">
186
        <fieldset class="rows">
178
            <legend>Contacts</legend>
187
            <h3>Contacts</h3>
179
            <fieldset id="contact-template" class="supplier-contact">
188
            <fieldset id="contact-template" class="supplier-contact">
180
                <legend>Contact details</legend>
189
                <h3nd>Contact details</h3nd>
181
                [% INCLUDE edit_contact %]
190
                [% INCLUDE edit_contact %]
182
            </fieldset>
191
            </fieldset>
183
            [% FOREACH contact IN contacts %]
192
            [% FOREACH contact IN contacts %]
184
                <fieldset class="supplier-contact">
193
                <fieldset class="supplier-contact">
185
                    <legend>Contact details</legend>
194
                    <h3nd>Contact details</h3nd>
186
                    [% INCLUDE edit_contact %]
195
                    [% INCLUDE edit_contact %]
187
                </fieldset>
196
                </fieldset>
188
            [% END %]
197
            [% END %]
Lines 190-196 Link Here
190
        </fieldset>
199
        </fieldset>
191
200
192
        <fieldset class="rows">
201
        <fieldset class="rows">
193
            <legend>Ordering information</legend>
202
            <h3>Ordering information</h3>
194
            <ol><li><label for="activestatus">Vendor is:</label>
203
            <ol><li><label for="activestatus">Vendor is:</label>
195
                    [% IF ( active ) %]
204
                    [% IF ( active ) %]
196
                        <label class="radio" for="activestatus">
205
                        <label class="radio" for="activestatus">
Lines 306-312 Link Here
306
                <textarea cols="40" rows="4" id="notes" name="notes" >[% notes | html %]</textarea></li>
315
                <textarea cols="40" rows="4" id="notes" name="notes" >[% notes | html %]</textarea></li>
307
            </ol>
316
            </ol>
308
        </fieldset>
317
        </fieldset>
309
        <fieldset class="action"><input type="submit" value="Save" /> [% IF ( booksellerid ) %]
318
        <fieldset class="action"><input type="submit" class="principal" value="Save" /> [% IF ( booksellerid ) %]
310
        <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">[% ELSE %]<a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl">
319
        <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">[% ELSE %]<a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl">
311
        [% END %]Cancel</a></fieldset>
320
        [% END %]Cancel</a></fieldset>
312
321
Lines 315-320 Link Here
315
    <h1>[% name | html %]</h1>
324
    <h1>[% name | html %]</h1>
316
        <div class="row">
325
        <div class="row">
317
            <div id="supplier-company-details" class="col-sm-6">
326
            <div id="supplier-company-details" class="col-sm-6">
327
            <div id="searchresults">
318
                <h2>Vendor details</h2>
328
                <h2>Vendor details</h2>
319
                <p><span class="label">Company name: </span>[% name | html %]</p>
329
                <p><span class="label">Company name: </span>[% name | html %]</p>
320
                <p><span class="label">Postal address: </span>[% postal | html %]</p>
330
                <p><span class="label">Postal address: </span>[% postal | html %]</p>
Lines 355-363 Link Here
355
                [% IF ( notes ) %]<p><strong>Notes: </strong>
365
                [% IF ( notes ) %]<p><strong>Notes: </strong>
356
                    [% notes | html %]</p>[% END %]
366
                    [% notes | html %]</p>[% END %]
357
            </div> <!-- .supplier-ordering-information -->
367
            </div> <!-- .supplier-ordering-information -->
368
            </div>
358
            </div> <!-- /.col-sm-6 -->
369
            </div> <!-- /.col-sm-6 -->
359
370
360
            <div class="col-sm-6">
371
            <div class="col-sm-6">
372
            <div id="searchresults">
361
                <div class="supplier-contact-details">
373
                <div class="supplier-contact-details">
362
                    <h2>Contact</h2>
374
                    <h2>Contact</h2>
363
                    [% FOREACH contact IN contacts %]
375
                    [% FOREACH contact IN contacts %]
Lines 375-383 Link Here
375
                        [% END %]
387
                        [% END %]
376
                    </p>
388
                    </p>
377
                </div>
389
                </div>
378
379
            </div>
390
            </div>
380
391
</div>
381
        </div>
392
        </div>
382
393
383
        [% IF ( contracts ) %]
394
        [% IF ( contracts ) %]
Lines 406-413 Link Here
406
                        <td data-order="[% contract.contractenddate | html %]">[% contract.contractenddate | $KohaDates %]</td>
417
                        <td data-order="[% contract.contractenddate | html %]">[% contract.contractenddate | $KohaDates %]</td>
407
                        [% IF CAN_user_acquisition_contracts_manage %]
418
                        [% IF CAN_user_acquisition_contracts_manage %]
408
                            <td class="actions">
419
                            <td class="actions">
409
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=[% contract.contractnumber | html %]&amp;booksellerid=[% contract.booksellerid | html %]"><i class="fa fa-pencil"></i> Edit</a>
420
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;contractnumber=[% contract.contractnumber | html %]&amp;booksellerid=[% contract.booksellerid | html %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
410
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/aqcontract.pl?op=delete_confirm&amp;contractnumber=[% contract.contractnumber | html %]&amp;booksellerid=[% contract.booksellerid | html %]"><i class="fa fa-trash"></i> Delete</a>
421
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/aqcontract.pl?op=delete_confirm&amp;contractnumber=[% contract.contractnumber | html %]&amp;booksellerid=[% contract.booksellerid | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
411
                            </td>
422
                            </td>
412
                        [% END %]
423
                        [% END %]
413
                        </tr>
424
                        </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt (-5 / +15 lines)
Lines 3-16 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% PROCESS 'i18n.inc' %]
4
[% PROCESS 'i18n.inc' %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'acquisitions-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>[% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername | html %][% ELSE %]Orders with uncertain prices[% END %] &rsaquo; Acquisitions &rsaquo; Koha</title>
10
<title>[% IF ( booksellername ) %]Orders with uncertain prices for vendor [% booksellername | html %][% ELSE %]Orders with uncertain prices[% END %] &rsaquo; Acquisitions &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
13
11
<body id="acq_uncertainprice" class="acq">
14
<body id="acq_uncertainprice" class="acq">
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'acquisitions-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 37-42 Link Here
37
            </li>
39
            </li>
38
        [% END %]
40
        [% END %]
39
    </ol>
41
    </ol>
42
        <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
45
        <ol>
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
        </ol>
40
</nav>
48
</nav>
41
49
42
<div class="main container-fluid">
50
<div class="main container-fluid">
Lines 79-85 Link Here
79
            [% END %]
87
            [% END %]
80
        [% END %]
88
        [% END %]
81
89
82
        <h1>Orders with uncertain prices</h1>
90
    <div id="searchresults">
91
        <h3>Orders with uncertain prices</h3>
83
        <form action="[% scriptname | html %]" method="post">
92
        <form action="[% scriptname | html %]" method="post">
84
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
93
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
85
        <label for="owner">Orders from:</label>
94
        <label for="owner">Orders from:</label>
Lines 92-98 Link Here
92
            <option value="1">me</option>
101
            <option value="1">me</option>
93
            [% END %]
102
            [% END %]
94
        </select>
103
        </select>
95
        <input type="submit" value="Filter" />
104
        <input type="submit" id="lientype" value="Filter" />
96
        </form>
105
        </form>
97
        <form action="[% scriptname | html %]" method="post" id="uncertainprices">
106
        <form action="[% scriptname | html %]" method="post" id="uncertainprices">
98
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
107
        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
Lines 150-157 Link Here
150
	    [% END %]
159
	    [% END %]
151
    </tbody>
160
    </tbody>
152
	</table>
161
	</table>
153
    <fieldset class="action"><input type="submit" value="Save" /></fieldset>
162
    <fieldset class="action"><input type="submit" value="Save" class="principal" /></fieldset>
154
	</form>
163
	</form>
164
    </div>
155
	[% END %]
165
	[% END %]
156
166
157
</main>
167
</main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt (-5 / +13 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% PROCESS 'i18n.inc' %]
3
[% PROCESS 'i18n.inc' %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'acquisitions-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( opsearch ) %]Order from external source[% ELSE %]Search results &rsaquo; Acquisitions &rsaquo; Order from external source[% END %] &rsaquo; Koha</title>
9
<title>[% IF ( opsearch ) %]Order from external source[% ELSE %]Search results &rsaquo; Acquisitions &rsaquo; Order from external source[% END %] &rsaquo; Koha</title>
7
10
Lines 40-47 tr.selected td { Link Here
40
</head>
43
</head>
41
44
42
<body id="acq_z3950_search" class="acq">
45
<body id="acq_z3950_search" class="acq">
43
[% INCLUDE 'header.inc' %]
46
[% INCLUDE 'header.inc' form=formulaire %]
44
[% INCLUDE 'acquisitions-search.inc' %]
45
47
46
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
48
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
47
    <ol>
49
    <ol>
Lines 74-79 tr.selected td { Link Here
74
            </li>
76
            </li>
75
        [% END %]
77
        [% END %]
76
    </ol>
78
    </ol>
79
        <ol>
80
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
81
        </ol>
82
        <ol>
83
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
84
        </ol>
77
</nav>
85
</nav>
78
86
79
<div class="main container-fluid">
87
<div class="main container-fluid">
Lines 81-87 tr.selected td { Link Here
81
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
89
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
82
    <div class="row">
90
    <div class="row">
83
    <div class="col-sm-6">
91
    <div class="col-sm-6">
84
    <h1>Order from external source</h1>
92
    <h2>Order from external source</h2>
85
    <input type="hidden" name="op" id="op" value="do_search" />
93
    <input type="hidden" name="op" id="op" value="do_search" />
86
	    <fieldset class="rows">
94
	    <fieldset class="rows">
87
         <ol>
95
         <ol>
Lines 145-151 tr.selected td { Link Here
145
153
146
<div class="row">
154
<div class="row">
147
    <div class="col-md-12">
155
    <div class="col-md-12">
148
    <fieldset class="action"><input type="submit"  class="submit" value="Search" /> <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">Cancel</a></fieldset>
156
    <fieldset class="action"><input type="submit"  class="principal" value="Search" /> <a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]">Cancel</a></fieldset>
149
    </div>
157
    </div>
150
</div>
158
</div>
151
</form>
159
</form>
Lines 266-272 tr.selected td { Link Here
266
        [% IF ( show_nextbutton ) %]
274
        [% IF ( show_nextbutton ) %]
267
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page | html %]" />
275
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page | html %]" />
268
        [% END %]
276
        [% END %]
269
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page | html %]" size="4" type="text" /> <input type="submit" name="changepage_goto" value="Go" />
277
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page | html %]" size="4" type="text" /> <input type="submit" class="principal" name="changepage_goto" value="Go" />
270
    </form>
278
    </form>
271
279
272
    [% ELSE %]
280
    [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt (-8 / +20 lines)
Lines 1-5 Link Here
1
[% USE AuthorisedValues %]
1
[% USE AuthorisedValues %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>
7
<title>
5
    [% SWITCH op %]
8
    [% SWITCH op %]
Lines 14-21 Link Here
14
[% show_marcfield = marcfield_tables.grep('^' _ tablename _ '$').size ? 1 : 0 %]
17
[% show_marcfield = marcfield_tables.grep('^' _ tablename _ '$').size ? 1 : 0 %]
15
18
16
<body id="ser_add_fields" class="ser">
19
<body id="ser_add_fields" class="ser">
17
    [% INCLUDE 'header.inc' %]
20
    [% INCLUDE 'header.inc' form=formulaire %]
18
    [% INCLUDE 'cat-search.inc' %]
19
21
20
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
        <ol>
23
        <ol>
Lines 63-68 Link Here
63
65
64
            [% END %]
66
            [% END %]
65
        </ol>
67
        </ol>
68
69
        <ol>
70
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
71
        </ol>
72
73
        <ol>
74
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
75
        </ol>
66
    </nav>
76
    </nav>
67
77
68
<div class="main container-fluid">
78
<div class="main container-fluid">
Lines 71-79 Link Here
71
            <main>
81
            <main>
72
82
73
    [% IF op == 'list' %]
83
    [% IF op == 'list' %]
74
        <div id="toolbar" class="btn-toolbar">
84
    <div id="toolbar" class="btn-toolbar">
75
            <a class="btn btn-default" id="newfields" href="?op=add_form&amp;tablename=[% tablename | uri %]"><i class="fa fa-plus"></i> Create field</a>
85
        <div>
86
            <a class="pat" id="newfields" href="?op=add_form&amp;tablename=[% tablename | uri %]"><i class="fa fa-plus"></i> Create field</a>
76
        </div>
87
        </div>
88
    </div>
77
    [% END %]
89
    [% END %]
78
90
79
    [% IF messages %]
91
    [% IF messages %]
Lines 145-152 Link Here
145
                                [% IF field.searchable %]Yes[% ELSE %]No[% END %]
157
                                [% IF field.searchable %]Yes[% ELSE %]No[% END %]
146
                            </td>
158
                            </td>
147
                            <td class="actions">
159
                            <td class="actions">
148
                                <a class="btn btn-default btn-xs" href="?op=add_form&amp;field_id=[% field.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
160
                                <a class="btn btn-default btn-xs" id="lientype" href="?op=add_form&amp;field_id=[% field.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
149
                                <a class="confirmdelete btn btn-default btn-xs" href="?op=delete&amp;field_id=[% field.id | uri %]&amp;tablename=[% tablename | uri %]"><i class="fa fa-trash"></i> Delete</a>
161
                                <a class="confirmdelete btn btn-default btn-xs" id="lientype" href="?op=delete&amp;field_id=[% field.id | uri %]&amp;tablename=[% tablename | uri %]"><i class="fa fa-trash"></i> Delete</a>
150
                            </td>
162
                            </td>
151
                        </tr>
163
                        </tr>
152
                    [% END %]
164
                    [% END %]
Lines 191-206 Link Here
191
                        [% END %]
203
                        [% END %]
192
                    </li>
204
                    </li>
193
                </ol>
205
                </ol>
194
            </fieldset>
195
            <fieldset class="action">
206
            <fieldset class="action">
196
                [% IF field %]
207
                [% IF field %]
197
                    <input type="hidden" name="field_id" value="[% field.id | html %]" />
208
                    <input type="hidden" name="field_id" value="[% field.id | html %]" />
198
                [% END %]
209
                [% END %]
199
                <input type="hidden" name="tablename" value="[% tablename | html %]" />
210
                <input type="hidden" name="tablename" value="[% tablename | html %]" />
200
                <input type="hidden" name="op" value="add" />
211
                <input type="hidden" name="op" value="add" />
201
                <input type="submit" value="Save" />
212
                <input type="submit" class="principal" value="Save" />
202
                <a href="?tablename=[% tablename | uri %]" class="cancel">Cancel</a>
213
                <a href="?tablename=[% tablename | uri %]" class="cancel">Cancel</a>
203
            </fieldset>
214
            </fieldset>
215
            </fieldset>
204
        </form>
216
        </form>
205
    [% END %]
217
    [% END %]
206
218
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-8 / +24 lines)
Lines 1-12 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'prefs-admin-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Administration &rsaquo; Koha</title>
7
<title>Administration &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
<body id="admin_admin-home" class="admin">
10
<body id="admin_admin-home" class="admin">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'prefs-admin-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 19-24 Link Here
19
            </a>
21
            </a>
20
        </li>
22
        </li>
21
    </ol>
23
    </ol>
24
25
    <ol>
26
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
    </ol>
28
29
    <ol>
30
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
31
    </ol>
22
</nav>
32
</nav>
23
33
24
<div class="main container-fluid">
34
<div class="main container-fluid">
Lines 38-44 Link Here
38
                [% IF ( Koha.Preference('Mana') == 2 ) %]
48
                [% IF ( Koha.Preference('Mana') == 2 ) %]
39
                    <div class="dialog message">
49
                    <div class="dialog message">
40
                        <h4>Share content with Mana KB?</h4>
50
                        <h4>Share content with Mana KB?</h4>
41
                        <p> You haven't decided if you want to activate Mana Knowledge Base. <a href=/cgi-bin/koha/admin/share_content.pl>Change your Mana KB settings</a>.</p>
51
                        <p> You haven't decided if you want to activate Mana Knowledge Base. <a href=/cgi-bin/koha/admin/share_content.pl id="lientype">Change your Mana KB settings</a>.</p>
42
                    </div>
52
                    </div>
43
                [% END %]
53
                [% END %]
44
            [% END %]
54
            [% END %]
Lines 57-72 Link Here
57
                <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
67
                <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
58
                <fieldset>
68
                <fieldset>
59
                    <h4><a href="/cgi-bin/koha/admin/preferences.pl">Global system preferences</a></h4>
69
                    <h4><a href="/cgi-bin/koha/admin/preferences.pl">Global system preferences</a></h4>
60
                    <p>Manage global system preferences like MARC flavor, date format, administrator email, and templates.</p>
70
                    <fieldset>
61
                    <input type="hidden" name="op" value="search" />
71
                        <p>Manage global system preferences like MARC flavor, date format, administrator email, and templates.</p>
62
                    <input type="text" name="searchfield" value="[% searchfield | html %]" />
72
                        <input type="hidden" name="op" value="search" />
63
                    <input type="submit" name="ok" class="submit" value="Search" />
73
                        <input type="text" name="searchfield" value="[% searchfield | html %]" />
74
                        <input type="submit" name="ok" class="principal" value="Search" />
75
                    </fieldset>
64
                </fieldset>
76
                </fieldset>
65
                </form>
77
                </form>
66
            [% END %]
78
            [% END %]
67
79
68
            [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
80
            [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
69
                <div class="hint"><h4>Hint:</h4><p>Configure these parameters in the order they appear.</p></div>
81
                <div class="hint">
82
                    <h4>Hint:</h4><p>Configure these parameters in the order they appear.</p>
83
                </div>
84
                
70
                <h3>Basic parameters</h3>
85
                <h3>Basic parameters</h3>
71
                <dl>
86
                <dl>
72
                    [% IF ( CAN_user_parameters_manage_libraries ) %]
87
                    [% IF ( CAN_user_parameters_manage_libraries ) %]
Lines 125-130 Link Here
125
            [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
140
            [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
126
                <h3>Accounting</h3>
141
                <h3>Accounting</h3>
127
                <dl>
142
                <dl>
143
128
                [% IF ( CAN_user_parameters_manage_accounts ) %]
144
                [% IF ( CAN_user_parameters_manage_accounts ) %]
129
                    <dt><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></dt>
145
                    <dt><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></dt>
130
                    <dd>Define debit types</dd>
146
                    <dd>Define debit types</dd>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/adveditorshortcuts.tt (-2 / +10 lines)
Lines 2-14 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE ''prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Advanced editor shortcuts &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Advanced editor shortcuts &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="adveditor_shortcuts" class="admin">
12
<body id="adveditor_shortcuts" class="admin">
10
    [% INCLUDE 'header.inc' %]
13
    [% INCLUDE 'header.inc' form=formulaire %]
11
    [% INCLUDE 'prefs-admin-search.inc' %]
12
    [% PROCESS 'keyboard_shortcuts.inc' %]
14
    [% PROCESS 'keyboard_shortcuts.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 23-28 Link Here
23
            <a href="#" aria-current="page">Advanced editor shortcuts</a>
25
            <a href="#" aria-current="page">Advanced editor shortcuts</a>
24
        </li>
26
        </li>
25
    </ol>
27
    </ol>
28
        <ol>
29
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
        </ol>
31
        <ol>
32
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
33
        </ol>
26
</nav>
34
</nav>
27
35
28
<div class="main container-fluid">
36
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-18 / +17 lines)
Lines 3-11 Link Here
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE Price %]
4
[% USE Price %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'budgets-admin-search.inc' %]
8
[% END %]
6
[%- BLOCK action_menu %]
9
[%- BLOCK action_menu %]
7
    <div class="btn-group dropup">
10
    <div class="btn-group dropup">
8
        <a class="btn btn-default btn-xs dropdown-toggle" id="budgetmenu_[% block_budget.budget_period_id | html %]" role="button" data-toggle="dropdown" href="#">
11
        <a class="btn btn-default btn-xs dropdown-toggle lientype" id="budgetmenu_[% block_budget.budget_period_id | html %]" role="button" data-toggle="dropdown" href="#">
9
           Actions <b class="caret"></b>
12
           Actions <b class="caret"></b>
10
        </a>
13
        </a>
11
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetmenu_[% block_budget.budget_period_id | html %]">
14
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetmenu_[% block_budget.budget_period_id | html %]">
Lines 72-83 Link Here
72
75
73
<body id="admin_aqbudgetperiods" class="admin">
76
<body id="admin_aqbudgetperiods" class="admin">
74
77
75
[% INCLUDE 'header.inc' %]
78
[% INCLUDE 'header.inc' form=formulaire %]
76
[% INCLUDE 'budgets-admin-search.inc' %]
77
78
<!-- ################################################################################# -->
79
<!-- BREADCRUMBS -->
80
<!-- ################################################################################# -->
81
79
82
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
80
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
83
    <ol>
81
    <ol>
Lines 167-172 Link Here
167
            </li>
165
            </li>
168
        [% END %]
166
        [% END %]
169
    </ol>
167
    </ol>
168
        <ol>
169
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
170
        </ol>
171
        <ol>
172
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
173
        </ol>
170
</nav>
174
</nav>
171
175
172
<div class="main container-fluid">
176
<div class="main container-fluid">
Lines 230-239 Link Here
230
    </li>
234
    </li>
231
235
232
    </ol>
236
    </ol>
233
    </fieldset>
234
237
235
    <fieldset class="action">
238
        <input type="submit" value="Save" class="principal" />
236
        <input type="submit" value="Save" />
237
        <a class="cancel" href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | html %]">Cancel</a>
239
        <a class="cancel" href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | html %]">Cancel</a>
238
    </fieldset>
240
    </fieldset>
239
241
Lines 302-313 Link Here
302
        [% IF ( budget_period_locked ) %]<input type="checkbox" checked="checked" id="budget_period_locked" name="budget_period_locked" value="1" />[% ELSE %]  <input type="checkbox" id="budget_period_locked" name="budget_period_locked" value="1"/> [% END %]
304
        [% IF ( budget_period_locked ) %]<input type="checkbox" checked="checked" id="budget_period_locked" name="budget_period_locked" value="1" />[% ELSE %]  <input type="checkbox" id="budget_period_locked" name="budget_period_locked" value="1"/> [% END %]
303
    </li>
305
    </li>
304
    </ol>
306
    </ol>
305
    </fieldset>
306
307
307
    <fieldset class="action">
308
        <input type="submit" value="Save" class="principal" />
308
        <!-- "save changes" button -->
309
        <!-- ###################################### -->
310
        <input type="submit" value="Save" />
311
        [% IF ( budget_period_id ) %]
309
        [% IF ( budget_period_id ) %]
312
            <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | uri %]" class="cancel">Cancel</a>
310
            <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | uri %]" class="cancel">Cancel</a>
313
        [% ELSE %]
311
        [% ELSE %]
Lines 403-413 Link Here
403
            <input type="checkbox" name="move_remaining_unspent" id="move_remaining_unspent" />
401
            <input type="checkbox" name="move_remaining_unspent" id="move_remaining_unspent" />
404
          </li>
402
          </li>
405
        </ol>
403
        </ol>
406
      </fieldset>
404
407
      <fieldset class="action">
408
          <input type="hidden" name="op" value="close_confirmed" />
405
          <input type="hidden" name="op" value="close_confirmed" />
409
          <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
406
          <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
410
          <input type="submit" value="Move unreceived orders" />
407
          <input type="submit" class="principal" value="Move unreceived orders" />
411
          <a class="cancel" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Cancel</a>
408
          <a class="cancel" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Cancel</a>
412
      </fieldset>
409
      </fieldset>
413
    </form>
410
    </form>
Lines 472-477 Link Here
472
469
473
  [% INCLUDE 'budgets-active-currency.inc' %]
470
  [% INCLUDE 'budgets-active-currency.inc' %]
474
471
472
<div id="searchresults">
475
  <div id="budgetsTabs" class="toptabs">
473
  <div id="budgetsTabs" class="toptabs">
476
    <ul class="nav nav-tabs" role="tablist">
474
    <ul class="nav nav-tabs" role="tablist">
477
        <li role="presentation" class="active">
475
        <li role="presentation" class="active">
Lines 552-557 Link Here
552
        </div>
550
        </div>
553
    </div> <!-- /.tab-content -->
551
    </div> <!-- /.tab-content -->
554
  </div>
552
  </div>
553
  </div>
555
[% END %]
554
[% END %]
556
555
557
            </main>
556
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt (-14 / +25 lines)
Lines 4-9 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE Price %]
5
[% USE Price %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'budgets-admin-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
11
9
<title>[% IF op == 'add_form' %][% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name | html %]'[% END %][% ELSE %]Add fund[% END %] &rsaquo;[% END %] Funds &rsaquo; Administration &rsaquo; Koha</title>
12
<title>[% IF op == 'add_form' %][% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name | html %]'[% END %][% ELSE %]Add fund[% END %] &rsaquo;[% END %] Funds &rsaquo; Administration &rsaquo; Koha</title>
Lines 12-19 Link Here
12
</head>
15
</head>
13
16
14
<body id="admin_aqbudgets" class="admin">
17
<body id="admin_aqbudgets" class="admin">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'budgets-admin-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 74-79 Link Here
74
        </li>
76
        </li>
75
    [% END %]
77
    [% END %]
76
    </ol>
78
    </ol>
79
        <ol>
80
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
81
        </ol>
82
        <ol>
83
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
84
        </ol>
77
</nav>
85
</nav>
78
86
79
<div class="main container-fluid">
87
<div class="main container-fluid">
Lines 102-107 Link Here
102
[% INCLUDE 'budgets-active-currency.inc' %]
110
[% INCLUDE 'budgets-active-currency.inc' %]
103
111
104
[% IF budgets %]
112
[% IF budgets %]
113
<fieldset id="searchresults">
105
114
106
    [% UNLESS budget_period_id %]
115
    [% UNLESS budget_period_id %]
107
        <div class="toolbar btn-toolbar">
116
        <div class="toolbar btn-toolbar">
Lines 113-119 Link Here
113
            </span>
122
            </span>
114
        </div>
123
        </div>
115
    [% END %]
124
    [% END %]
116
125
<div id="searchresults">
117
<table id="budgeth" class="group">
126
<table id="budgeth" class="group">
118
    <thead>
127
    <thead>
119
        <tr>
128
        <tr>
Lines 212-218 Link Here
212
    [% ELSE %]
221
    [% ELSE %]
213
        <td>
222
        <td>
214
            <div class="btn-group dropup">
223
            <div class="btn-group dropup">
215
                <a class="btn btn-default btn-xs dropdown-toggle" id="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]" role="button" data-toggle="dropdown" href="#">
224
                <a class="btn btn-default btn-xs dropdown-toggle lientype" id="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]" role="button" data-toggle="dropdown" href="#">
216
                   Actions <b class="caret"></b>
225
                   Actions <b class="caret"></b>
217
                </a>
226
                </a>
218
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]">
227
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetactions[% budget.budget_id | html %]_[% budget.budget_period_id | html %]">
Lines 231-237 Link Here
231
    [% END %]
240
    [% END %]
232
    </tbody>
241
    </tbody>
233
</table>
242
</table>
234
243
</div>
244
</fieldset
235
[% ELSE %]
245
[% ELSE %]
236
    <p>No fund found</p>
246
    <p>No fund found</p>
237
[% END %]
247
[% END %]
Lines 299-306 Link Here
299
        [% ELSE %]
309
        [% ELSE %]
300
            <span  id="budget_owner_name"></span>
310
            <span  id="budget_owner_name"></span>
301
        [% END %]
311
        [% END %]
302
        <a id="edit_owner" class="new_window" href="#"><i class="fa fa-search"></i> Select owner</a>
312
        <a id="edit_owner" class="new_window lientype" href="#"><i class="fa fa-search"></i> Select owner</a>
303
        <a id="remove_owner" href="#"><i class="fa fa-trash"></i> Remove owner</a>
313
        <a id="remove_owner" href="#" class="lientype"><i class="fa fa-trash lientype"></i> Remove owner</a>
304
        <input type="hidden" name="budget_owner_id" id="budget_owner_id"
314
        <input type="hidden" name="budget_owner_id" id="budget_owner_id"
305
            value="[% budget_owner.borrowernumber | html %]" />
315
            value="[% budget_owner.borrowernumber | html %]" />
306
    </li>
316
    </li>
Lines 324-333 Link Here
324
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% user.borrowernumber | uri %]">
334
                    <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% user.borrowernumber | uri %]">
325
                        [% user.firstname | html %] [% user.surname | html %]
335
                        [% user.firstname | html %] [% user.surname | html %]
326
                    </a>
336
                    </a>
327
                    &bull; <a href="#" class="del_user" data-borrowernumber="[% user.borrowernumber | html %]"><i class="fa fa-trash"></i> Remove</a>
337
                    &bull; <a href="#" class="del_user" id="lientype" data-borrowernumber="[% user.borrowernumber | html %]"><i class="fa fa-trash"></i> Remove</a>
328
                </li>
338
                </li>
329
            [% END %]
339
            [% END %]
330
            <li><a href="#" id="add_user_button"><i class="fa fa-plus"></i> Add users</a></li>
340
            <li><a class="lientype" href="#" id="add_user_button"><i class="fa fa-plus"></i> Add users</a></li>
331
        </ul>
341
        </ul>
332
        <input type="hidden" name="budget_users_ids" id="budget_users_id" value="[% budget_users_ids | html %]" />
342
        <input type="hidden" name="budget_users_ids" id="budget_users_id" value="[% budget_users_ids | html %]" />
333
    </li>
343
    </li>
Lines 400-411 Link Here
400
    [% IF ( budget_id ) %]
410
    [% IF ( budget_id ) %]
401
        <input type="hidden" name="budget_id" value="[% budget_id | html %]" />
411
        <input type="hidden" name="budget_id" value="[% budget_id | html %]" />
402
    [% END %]
412
    [% END %]
403
    </fieldset>
404
405
    <fieldset class="action">
413
    <fieldset class="action">
406
        <input type="submit" value="Submit" /> <a class="cancel" href="/cgi-bin/koha/admin/aqbudgets.pl">Cancel</a>
414
        <input type="submit" class="principal" value="Submit" /> <a class="cancel" href="/cgi-bin/koha/admin/aqbudgets.pl">Cancel</a>
407
        <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
415
        <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
408
    </fieldset>
416
    </fieldset>
417
    </fieldset>
418
409
</form>
419
</form>
410
420
411
[% END %] <!-- add_form -->
421
[% END %] <!-- add_form -->
Lines 438-447 Link Here
438
448
439
        <div class="col-sm-2 col-sm-pull-10">
449
        <div class="col-sm-2 col-sm-pull-10">
440
            <aside>
450
            <aside>
451
            <div id="filters">
441
452
442
[% IF op == 'list' %]
453
[% IF op == 'list' %]
443
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
454
  <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
444
    <a href="#" id="filterbutton">Filters</a>
445
    <fieldset class="brief" id="fundfilters">
455
    <fieldset class="brief" id="fundfilters">
446
    <h4>Fund filters</h4>
456
    <h4>Fund filters</h4>
447
        <ol>
457
        <ol>
Lines 480-490 Link Here
480
        </ol>
490
        </ol>
481
491
482
        <input type="hidden" name="op" value="list" />
492
        <input type="hidden" name="op" value="list" />
483
        <input type="submit" class="submit" name="filter" value="Go" />
493
        <input type="submit" class="principal" name="filter" value="Go" />
484
    </fieldset>
494
    </fieldset>
485
</form>[% END %]
495
</form>[% END %]
486
496
487
                [% INCLUDE 'acquisitions-menu.inc' %]
497
                [% INCLUDE 'acquisitions-menu.inc' %]
498
                </div>
488
            </aside>
499
            </aside>
489
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
500
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
490
     </div> <!-- /.row -->
501
     </div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt (-16 / +24 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'contracts-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
[% IF ( add_form ) %]
10
[% IF ( add_form ) %]
Lines 18-25 Link Here
18
</head>
21
</head>
19
22
20
<body id="acq_aqcontract" class="acq">
23
<body id="acq_aqcontract" class="acq">
21
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'header.inc' form=formulaire %]
22
[% INCLUDE 'contracts-admin-search.inc' %]
23
25
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
27
    <ol>
Lines 93-98 Link Here
93
            </li>
95
            </li>
94
        [% END %]
96
        [% END %]
95
    </ol>
97
    </ol>
98
        <ol>
99
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
100
        </ol>
101
        <ol>
102
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
103
        </ol>
96
</nav>
104
</nav>
97
105
98
<div class="main container-fluid">
106
<div class="main container-fluid">
Lines 111-122 Link Here
111
                        <input type="hidden" name="op" value="add_validate" />
119
                        <input type="hidden" name="op" value="add_validate" />
112
                        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
120
                        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
113
                        <input type="hidden" name="checked" value="0" />
121
                        <input type="hidden" name="checked" value="0" />
122
                        <fieldset class="rows">
114
                        [% IF ( contractnumber ) %]
123
                        [% IF ( contractnumber ) %]
115
                            <h1>Modify contract [% contractname | html %] for [% booksellername | html %]</h1>
124
                            <h3>Modify contract [% contractname | html %] for [% booksellername | html %]</h3>
116
                        [% ELSE %]
125
                        [% ELSE %]
117
                            <h1>New contract for [% booksellername | html %]</h1>
126
                            <h3>New contract for [% booksellername | html %]</h3>
118
                        [% END %]
127
                        [% END %]
119
                        <fieldset class="rows">
120
                            <ol>
128
                            <ol>
121
                                [% IF ( contractnumber ) %]
129
                                [% IF ( contractnumber ) %]
122
                                        <li><span class="label">Contract id </span>[% contractnumber | html %]
130
                                        <li><span class="label">Contract id </span>[% contractnumber | html %]
Lines 142-162 Link Here
142
                                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
150
                                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
143
                                </li>
151
                                </li>
144
                            </ol>
152
                            </ol>
145
                        </fieldset>
153
                            <input type="submit" class="principal" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid | html %]&amp;contractnumber=[% contractnumber | html %]">Cancel</a>
146
                        <fieldset class="action">
147
                            <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid | html %]&amp;contractnumber=[% contractnumber | html %]">Cancel</a>
148
                        </fieldset>
154
                        </fieldset>
149
                    </form>
155
                    </form>
150
            [% END %]
156
            [% END %]
151
            [% IF ( add_validate ) %]
157
            [% IF ( add_validate ) %]
152
                <h1>Data recorded</h1>
158
                <h2>Data recorded</h2>
153
                <form action="[% script_name | html %]" method="post">
159
                <form action="[% script_name | html %]" method="post">
154
                    <input type="submit" value="OK" />
160
                    <input type="submit" class="principal" value="OK" />
155
                </form>
161
                </form>
156
            [% END %]
162
            [% END %]
157
            [% IF ( delete_confirm ) %]
163
            [% IF ( delete_confirm ) %]
158
                    <div class="dialog alert">
164
                    <div class="dialog alert">
159
                        <h1>Confirm deletion of contract <em>[% contractname | html %]</em></h1>
165
                        <h2>Confirm deletion of contract <em>[% contractname | html %]</em></h2>
160
                        <table>
166
                        <table>
161
                            <tr><th scope="row">Contract number:</th><td>[% contractnumber | html %]</td></tr>
167
                            <tr><th scope="row">Contract number:</th><td>[% contractnumber | html %]</td></tr>
162
                            <tr><th scope="row">Contract name:</th><td>[% contractname | html %]</td></tr>
168
                            <tr><th scope="row">Contract name:</th><td>[% contractname | html %]</td></tr>
Lines 179-193 Link Here
179
                    </div>
185
                    </div>
180
            [% END %]
186
            [% END %]
181
            [% IF ( delete_confirmed ) %]
187
            [% IF ( delete_confirmed ) %]
182
                <h1>Contract deleted</h1>
188
                <h2>Contract deleted</h2>
183
                <form action="[% script_name | html %]" method="post">
189
                <form action="[% script_name | html %]" method="post">
184
                    <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
190
                    <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
185
                    <input type="submit" value="OK" />
191
                    <input type="submit" class="principal" value="OK" />
186
                </form>
192
                </form>
187
            [% END %]
193
            [% END %]
188
            [% IF ( else ) %]
194
            [% IF ( else ) %]
189
                <h1>Contract(s) of [% booksellername | html %]</h1>
195
                <h1>Contract(s) of [% booksellername | html %]</h1>
190
                [% IF ( loop ) %]
196
                [% IF ( loop ) %]
197
                <div id="searchresults">
191
                    <table>
198
                    <table>
192
                        <tr>
199
                        <tr>
193
                            <th scope="col">Name</th>
200
                            <th scope="col">Name</th>
Lines 205-221 Link Here
205
                        <td>[% loo.contractstartdate | html %]</td>
212
                        <td>[% loo.contractstartdate | html %]</td>
206
                        <td>[% loo.contractenddate | html %]</td>
213
                        <td>[% loo.contractenddate | html %]</td>
207
                        <td class="actions">
214
                        <td class="actions">
208
                            <a href="[% loo.script_name | url %]?op=add_form&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
215
                            <a id="lientype" href="[% loo.script_name | url %]?op=add_form&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
209
                            <a href="[% loo.script_name | url %]?op=delete_confirm&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
216
                            <a id="lientype" href="[% loo.script_name | url %]?op=delete_confirm&amp;contractnumber=[% loo.contractnumber | uri %]&amp;booksellerid=[% loo.booksellerid | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
210
                        </td>
217
                        </td>
211
                        </tr>
218
                        </tr>
212
                    [% END %]
219
                    [% END %]
220
                    </div>
213
                </table>
221
                </table>
214
                [% ELSE %]
222
                [% ELSE %]
215
                    <div class="dialog message">
223
                    <div class="dialog message">
216
                        There are no contracts with this vendor.
224
                        There are no contracts with this vendor.
217
                        [% IF active %]
225
                        [% IF active %]
218
                            <a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;booksellerid=[% booksellerid | uri %]">Add a contract</a>.
226
                            <a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;booksellerid=[% booksellerid | uri %]" id="lientype">Add a contract</a>.
219
                        [% END %]
227
                        [% END %]
220
                    </div>
228
                    </div>
221
                [% END %]
229
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt (-21 / +34 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Price %]
3
[% USE Price %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'budgets-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
[% PROCESS 'budget_planning.inc' %]
9
[% PROCESS 'budget_planning.inc' %]
7
<title>Planning for [% budget_period_description | html %] [% PROCESS planning plan=authcat %] &rsaquo; Funds &rsaquo; Budgets &rsaquo; Administration &rsaquo; Koha</title>
10
<title>Planning for [% budget_period_description | html %] [% PROCESS planning plan=authcat %] &rsaquo; Funds &rsaquo; Budgets &rsaquo; Administration &rsaquo; Koha</title>
Lines 10-17 Link Here
10
</head>
13
</head>
11
14
12
<body id="admin_aqplan" class="admin">
15
<body id="admin_aqplan" class="admin">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'budgets-admin-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 31-36 Link Here
31
            <a href="#" aria-current="page">Planning</a>
33
            <a href="#" aria-current="page">Planning</a>
32
        </li>
34
        </li>
33
    </ol>
35
    </ol>
36
        <ol>
37
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
38
        </ol>
39
        <ol>
40
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
        </ol>
34
</nav>
42
</nav>
35
43
36
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 41-47 Link Here
41
[% INCLUDE 'budgets-admin-toolbar.inc' %]
49
[% INCLUDE 'budgets-admin-toolbar.inc' %]
42
50
43
<form method="post" id="Aform" name="Aform"  action="/cgi-bin/koha/admin/aqplan.pl">
51
<form method="post" id="Aform" name="Aform"  action="/cgi-bin/koha/admin/aqplan.pl">
44
<h1>Planning for [% budget_period_description | html %] [% PROCESS planning plan=authcat %]</h1>
52
<h2>Planning for [% budget_period_description | html %] [% PROCESS planning plan=authcat %]</h2>
45
<input type="hidden" name="authcat" value="[% authcat | html %]" />
53
<input type="hidden" name="authcat" value="[% authcat | html %]" />
46
<!-- Budget Lines -->
54
<!-- Budget Lines -->
47
55
Lines 54-59 Link Here
54
            <p><strong>Cells contain estimated values only.</strong></p>
62
            <p><strong>Cells contain estimated values only.</strong></p>
55
        [% END %]
63
        [% END %]
56
64
65
    <fieldset id="searchresults">
66
57
    <p id="selections">
67
    <p id="selections">
58
        <strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span>
68
        <strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span>
59
        [% FOREACH authvals_ro IN authvals_row %]
69
        [% FOREACH authvals_ro IN authvals_row %]
Lines 151-158 Link Here
151
161
152
        <td class="actions">
162
        <td class="actions">
153
             [% UNLESS ( budget_line.budget_lock ) %]
163
             [% UNLESS ( budget_line.budget_lock ) %]
154
                    <input type="button" class="auto_fill_row btn btn-default btn-xs" data-budget-id="[% budget_line.budget_id | html %]" value="Auto-fill row"/>
164
                    <input type="button" class="auto_fill_row btn btn-default btn-xs" data-budget-id="[% budget_line.budget_id | html %]" id="lientype" value="Auto-fill row"/>
155
                    <input type="button" class="clear_fields btn btn-default btn-xs" data-budget-id="[% budget_line.budget_id | html %]" value="Clear">
165
                    <input type="button" class="clear_fields btn btn-default btn-xs" data-budget-id="[% budget_line.budget_id | html %]" id="lientype" value="Clear">
156
            [% ELSE %]
166
            [% ELSE %]
157
             <div style="color:red;">not owned</div>
167
             <div style="color:red;">not owned</div>
158
            [% END %]
168
            [% END %]
Lines 164-173 Link Here
164
174
165
    <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
175
    <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
166
    [% IF ( budget_period_locked ) %]
176
    [% IF ( budget_period_locked ) %]
167
        <!-- <input STYLE="background: gray;"   type="submit" value="Save" disabled="disabled"/> -->
177
        <!-- <input STYLE="background: gray;" class="principal" type="submit" value="Save" disabled="disabled"/> -->
168
    [% ELSE %]
178
    [% ELSE %]
169
        <input type="hidden" name="op" value="save" />
179
        <input type="hidden" name="op" class="principal" value="save" />
170
        <fieldset class="action"><input type="submit" value="Save"/></fieldset>
180
        <fieldset class="action"><input type="submit" class="principal" value="Save"/></fieldset>
181
    </fieldset>
171
    [% END %]
182
    [% END %]
172
183
173
184
Lines 197-202 Link Here
197
208
198
        <div class="col-sm-2 col-sm-pull-10">
209
        <div class="col-sm-2 col-sm-pull-10">
199
            <aside>
210
            <aside>
211
            <div id="filters">
200
212
201
<form method="post" action="/cgi-bin/koha/admin/aqplan.pl">
213
<form method="post" action="/cgi-bin/koha/admin/aqplan.pl">
202
    <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
214
    <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
Lines 212-218 Link Here
212
[% END %]
224
[% END %]
213
<ol>
225
<ol>
214
    <li>
226
    <li>
215
        <label for="authcat"> Select planning type:</label>
227
        <p for="authcat"> Select planning type:
216
        <select name="authcat" id="authcat">
228
        <select name="authcat" id="authcat">
217
        [% FOREACH value IN authcat_dropbox.values %]
229
        [% FOREACH value IN authcat_dropbox.values %]
218
            [% IF ( value == authcat_dropbox.default ) %]
230
            [% IF ( value == authcat_dropbox.default ) %]
Lines 221-258 Link Here
221
            <option value="[% value | html %]">[% PROCESS planning_types type=value %]</option>
233
            <option value="[% value | html %]">[% PROCESS planning_types type=value %]</option>
222
            [% END %]
234
            [% END %]
223
        [% END %]
235
        [% END %]
224
        </select>
236
        </select></p>
225
    </li>
237
    </li>
226
    <li class="radio">
238
    <li class="radio"><p for="show_mine">
227
    [% IF ( show_mine ) %]
239
    [% IF ( show_mine ) %]
228
        <input type="checkbox" id="show_mine"  name="show_mine" value="1" checked="checked" />
240
        <input type="checkbox" id="show_mine"  name="show_mine" value="1" checked="checked" />
229
    [% ELSE %]
241
    [% ELSE %]
230
        <input type="checkbox" id="show_mine"  name="show_mine" value="1"  />
242
        <input type="checkbox" id="show_mine"  name="show_mine" value="1"  />
231
    [% END %]
243
    [% END %]
232
    <label for="show_mine">Show my funds only</label>
244
    Show my funds only</p>
233
    </li>
245
    </li>
234
246
235
    <li class="radio">
247
    <li class="radio"><p for="show_active">
236
    [% IF ( show_active ) %]
248
    [% IF ( show_active ) %]
237
        <input type="checkbox" id="show_active" name="show_active" value="1" checked="checked" />
249
        <input type="checkbox" id="show_active" name="show_active" value="1" checked="checked" />
238
    [% ELSE %]
250
    [% ELSE %]
239
        <input type="checkbox" id="show_active" name="show_active" value="1" />
251
        <input type="checkbox" id="show_active" name="show_active" value="1" />
240
        [% END %]
252
        [% END %]
241
    <label for="show_active">Show active funds only</label>
253
    Show active funds only</p>
242
    </li>
254
    </li>
243
255
244
256
245
    <li class="radio">
257
    <li class="radio"><p for="show_actual">
246
        [% IF ( show_actual ) %]
258
        [% IF ( show_actual ) %]
247
            <input type="checkbox" id="show_actual" name="show_actual" value="1" checked="checked" />
259
            <input type="checkbox" id="show_actual" name="show_actual" value="1" checked="checked" />
248
        [% ELSE %]
260
        [% ELSE %]
249
            <input type="checkbox" id="show_actual" name="show_actual" value="1"  />
261
            <input type="checkbox" id="show_actual" name="show_actual" value="1"  />
250
        [% END %]
262
        [% END %]
251
        <label for="show_actual">Show actual/estimated values</label>
263
        Show actual/estimated values</p>
252
    </li>
264
    </li>
253
    </ol>
265
    </ol>
254
    <fieldset class="action">
266
    <fieldset class="action">
255
        <input type="submit" name="option_submit" value="Submit" />
267
        <input type="submit" class="principal" name="option_submit" value="Submit" />
256
        <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
268
        <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
257
    </fieldset>
269
    </fieldset>
258
</fieldset>
270
</fieldset>
Lines 262-269 Link Here
262
<fieldset class="brief">
274
<fieldset class="brief">
263
<h4>Export</h4>
275
<h4>Export</h4>
264
    <ol>
276
    <ol>
265
        <li><label for="basename">Output to a file named: </label><input type="text" name="basename" id="basename" value="Export" /></li>
277
        <li><p for="basename">Output to a file named: <input type="text" name="basename" id="basename" value="Export" /></p></li>
266
        <li><label class="inline" for="MIME">Into an application</label>
278
        <li><p class="inline" for="MIME">Into an application
267
            <select name="MIME" id="MIME">
279
            <select name="MIME" id="MIME">
268
            [% FOREACH value IN CGIextChoice %]
280
            [% FOREACH value IN CGIextChoice %]
269
                <option value="[% value | html %]">[% value | html %]</option>
281
                <option value="[% value | html %]">[% value | html %]</option>
Lines 273-282 Link Here
273
            [% FOREACH value IN CGIsepChoice %]
285
            [% FOREACH value IN CGIsepChoice %]
274
                <option value="[% value | html %]">[% value | html %]</option>
286
                <option value="[% value | html %]">[% value | html %]</option>
275
            [% END %]
287
            [% END %]
276
            </select>
288
            </select></p>
277
        </li>
289
        </li>
278
    </ol>
290
    </ol>
279
    <fieldset class="action">    <input type="submit" value="Submit"/>
291
    <fieldset class="action">    <input type="submit" class="principal" value="Submit"/>
280
    <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
292
    <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
281
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
293
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
282
    <input type="hidden" name="output" value="file" /></fieldset>
294
    <input type="hidden" name="output" value="file" /></fieldset>
Lines 287-292 Link Here
287
[% END %]
299
[% END %]
288
300
289
                [% INCLUDE 'acquisitions-menu.inc' %]
301
                [% INCLUDE 'acquisitions-menu.inc' %]
302
                </div>
290
            </aside>
303
            </aside>
291
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
304
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
292
     </div> <!-- /.row -->
305
     </div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt (-11 / +21 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Audio alerts &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Audio alerts &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="admin_audio_alerts" class="admin">
13
<body id="admin_audio_alerts" class="admin">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'prefs-admin-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 25-30 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
Lines 32-40 Link Here
32
        <div class="col-sm-10 col-sm-push-2">
40
        <div class="col-sm-10 col-sm-push-2">
33
            <main>
41
            <main>
34
42
35
                <div id="toolbar" class="btn-toolbar">
43
                <div id="toolbar" class="btn-toolbar"><div>
36
                    <a class="btn btn-default" id="newalert" href="/cgi-bin/koha/admin/audio_alerts.pl"><i class="fa fa-plus"></i> New alert</a>
44
                    <a class="pat" id="newalert" href="/cgi-bin/koha/admin/audio_alerts.pl"><i class="fa fa-plus"></i> New alert</a>
37
                </div>
45
                </div></div>
38
46
39
                <form id="new-alert-form" action="audio_alerts.pl" method="post" class="validated">
47
                <form id="new-alert-form" action="audio_alerts.pl" method="post" class="validated">
40
                    <fieldset class="rows">
48
                    <fieldset class="rows">
Lines 78-88 Link Here
78
                                </select>
86
                                </select>
79
                            </li>
87
                            </li>
80
                        </ol>
88
                        </ol>
81
                    </fieldset>
82
                    <fieldset class="action">
89
                    <fieldset class="action">
83
                            <input id="save-alert" type="submit" value="Submit" />
90
                            <input id="save-alert" class="principal" type="submit" value="Submit" />
84
                            <a href="#" id="cancel-edit" class="cancel cancel-edit">Cancel</a>
91
                            <a href="#" id="cancel-edit" class="cancel cancel-edit">Cancel</a>
85
                    </fieldset>
92
                    </fieldset>
93
                    </fieldset>
86
                </form>
94
                </form>
87
95
88
                <form id="delete-alert-form" action="audio_alerts.pl" method="post">
96
                <form id="delete-alert-form" action="audio_alerts.pl" method="post">
Lines 91-102 Link Here
91
                        <div class="dialog alert">
99
                        <div class="dialog alert">
92
                            <h3>Audio alerts are disabled</h3>
100
                            <h3>Audio alerts are disabled</h3>
93
                            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
101
                            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
94
                                <p>Please enable system preference <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AudioAlerts">AudioAlerts</a> to activate sounds.</p>
102
                                <p>Please enable system preference <a id="lientype" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AudioAlerts">AudioAlerts</a> to activate sounds.</p>
95
                            [% ELSE %]
103
                            [% ELSE %]
96
                                <p>The system preference <strong>AudioAlerts</strong> must be enabled to activate sounds.</p>
104
                                <p>The system preference <strong>AudioAlerts</strong> must be enabled to activate sounds.</p>
97
                            [% END %]
105
                            [% END %]
98
                        </div>
106
                        </div>
99
                    [% END %]
107
                    [% END %]
108
                <div id="searchresults">
100
                    <table id="audio-alerts-table">
109
                    <table id="audio-alerts-table">
101
                        <thead id="audio-alerts-table-head">
110
                        <thead id="audio-alerts-table-head">
102
                            <tr>
111
                            <tr>
Lines 134-149 Link Here
134
                                    <td>[% a.selector | html %]</td>
143
                                    <td>[% a.selector | html %]</td>
135
                                    <td>[% a.sound | html %]</td>
144
                                    <td>[% a.sound | html %]</td>
136
                                    <td>
145
                                    <td>
137
                                        <a class="btn btn-default btn-xs edit" data-soundid="[% a.id | html %]" data-precedence="[% a.precedence | html %]" data-selector="[% a.selector | html %]" data-sound="[% a.sound | html %]"><i class="fa fa-pencil"></i> Edit</a></td>
146
                                        <a class="btn btn-default btn-xs edit" data-soundid="[% a.id | html %]" data-precedence="[% a.precedence | html %]" data-selector="[% a.selector | html %]" data-sound="[% a.sound | html %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a></td>
138
                                </tr>
147
                                </tr>
139
                            [% END %]
148
                            [% END %]
140
                        </tbody>
149
                        </tbody>
141
                    </table>
150
                    </table>
151
                </form>
142
152
143
                    <p>
153
                    <p>
144
                        <button id="delete-alerts" type="submit" class="btn btn-default disabled"><i class="fa fa-trash"></i> Delete selected alerts</button>
154
                        <button id="delete-alerts" type="submit" class="btn btn-default disabled principal"><i class="fa fa-trash"></i> Delete selected alerts</button>
145
                    </p>
155
                    </p>
146
                </form>
156
                    </div>
147
            </main>
157
            </main>
148
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
158
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
149
159
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-2 / +10 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Authority MARC subfield structure &rsaquo; Administration &rsaquo; Koha</title>
8
<title>Authority MARC subfield structure &rsaquo; Administration &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="admin_auth_subfields_structure" class="admin">
12
<body id="admin_auth_subfields_structure" class="admin">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'prefs-admin-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 70-75 Link Here
70
            [% END %]
72
            [% END %]
71
        [% END %]
73
        [% END %]
72
    </ol>
74
    </ol>
75
        <ol>
76
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
77
        </ol>
78
        <ol>
79
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
80
        </ol>
73
</nav>
81
</nav>
74
82
75
<div class="main container-fluid">
83
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-2 / +10 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
    [% IF ( add_form ) %]
10
    [% IF ( add_form ) %]
Lines 38-45 Authority MARC framework &rsaquo; Administration &rsaquo; Koha Link Here
38
</head>
41
</head>
39
42
40
<body id="admin_auth_tag_structure" class="admin">
43
<body id="admin_auth_tag_structure" class="admin">
41
[% INCLUDE 'header.inc' %]
44
[% INCLUDE 'header.inc'' form=formulaire %]
42
[% INCLUDE 'prefs-admin-search.inc' %]
43
45
44
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
46
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
45
    <ol>
47
    <ol>
Lines 158-163 Authority MARC framework &rsaquo; Administration &rsaquo; Koha Link Here
158
            [% END %]
160
            [% END %]
159
        [% END %]
161
        [% END %]
160
    </ol>
162
    </ol>
163
        <ol>
164
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
165
        </ol>
166
        <ol>
167
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
168
        </ol>
161
</nav>
169
</nav>
162
170
163
<div class="main container-fluid">
171
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-16 / +25 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [% IF op == 'add_form' %]
9
    [% IF op == 'add_form' %]
Lines 38-45 Link Here
38
</head>
41
</head>
39
42
40
<body id="admin_authorised_values" class="admin">
43
<body id="admin_authorised_values" class="admin">
41
[% INCLUDE 'header.inc' %]
44
[% INCLUDE 'header.inc' form=formulaire %]
42
[% INCLUDE 'prefs-admin-search.inc' %]
43
45
44
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
46
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
45
    <ol>
47
    <ol>
Lines 94-99 Link Here
94
            </li>
96
            </li>
95
        [% END # /IF op == 'add_form' %]
97
        [% END # /IF op == 'add_form' %]
96
    </ol>
98
    </ol>
99
        <ol>
100
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
101
        </ol>
102
        <ol>
103
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
104
        </ol>
97
</nav> <!-- /#breadcrumbs -->
105
</nav> <!-- /#breadcrumbs -->
98
106
99
<div class="main container-fluid">
107
<div class="main container-fluid">
Lines 239-267 Link Here
239
                                    </div> <!-- /.tab-content -->
247
                                    </div> <!-- /.tab-content -->
240
                                </div> <!-- /#icons -->
248
                                </div> <!-- /#icons -->
241
                            [% END # /IF action_add_category %]
249
                            [% END # /IF action_add_category %]
242
                        </fieldset>
243
244
                        <fieldset class="action">
250
                        <fieldset class="action">
245
                            <input type="hidden" name="id" value="[% av.id | html %]" />
251
                            <input type="hidden" name="id" value="[% av.id | html %]" />
246
                            <input type="submit" value="Save" />
252
                            <input type="submit" class="principal" value="Save" />
247
                            <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | url %]">Cancel</a>
253
                            <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | url %]">Cancel</a>
248
                        </fieldset>
254
                        </fieldset>
255
                        </fieldset>
256
249
                    </form>
257
                    </form>
250
                [% END # /IF op == 'add_form' %]
258
                [% END # /IF op == 'add_form' %]
251
259
252
                [% IF op == 'list' %]
260
                [% IF op == 'list' %]
253
                    <div id="toolbar" class="btn-toolbar">
261
                    <div id="toolbar" class="btn-toolbar">
254
                        <a id="addcat" class="btn btn-default" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form"><i class="fa fa-plus"> </i> New category</a>
262
                    <div>
263
                        <a id="addcat" class="pat" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form"><i class="fa fa-plus"> </i> New category</a>
255
                        [% IF ( searchfield ) %]
264
                        [% IF ( searchfield ) %]
256
                            <a id="addauth" class="btn btn-default" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&amp;category=[% category.category_name | url %]"><i class="fa fa-plus"> </i> New authorized value for [% category.category_name | html %]</a>
265
                            <a class="pat" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&amp;category=[% category.category_name | url %]"><i class="fa fa-plus"> </i> New authorized value for [% category.category_name | html %]</a>
257
                        [% END %]
266
                        [% END %]
258
                    </div>
267
                    </div></div>
259
268
260
                    [% IF ( searchfield ) %]
269
                    [% IF ( searchfield ) %]
261
                        <h1>Authorized values for category [% category.category_name | html %]</h1>
270
                        <h2>Authorized values for category [% category.category_name | html %]</h2>
262
                        [% PROCESS category_descriptions code_category = category.category_name %]
271
                        [% PROCESS category_descriptions code_category = category.category_name %]
263
                    [% ELSE %]
272
                    [% ELSE %]
264
                        <h1>Authorized values</h1>
273
                        <h2>Authorized values</h2>
265
                    [% END %]
274
                    [% END %]
266
275
267
                    [% IF ( searchfield ) %]
276
                    [% IF ( searchfield ) %]
Lines 303-310 Link Here
303
                        </div>
312
                        </div>
304
                    [% END # /FOR m IN messages %]
313
                    [% END # /FOR m IN messages %]
305
314
315
                    <div id="searchresults">
306
                    [% IF ( searchfield ) %]
316
                    [% IF ( searchfield ) %]
307
308
                        <form action="/cgi-bin/koha/admin/authorised_values.pl" method="get" id="category">
317
                        <form action="/cgi-bin/koha/admin/authorised_values.pl" method="get" id="category">
309
                            <p>
318
                            <p>
310
                                <label for="category_search">Show category: </label>
319
                                <label for="category_search">Show category: </label>
Lines 360-367 Link Here
360
                                                    <span>No limitation</span>
369
                                                    <span>No limitation</span>
361
                                                [% END # /IF loo.branches.size > 0 %]
370
                                                [% END # /IF loo.branches.size > 0 %]
362
                                            </td>
371
                                            </td>
363
                                            <td class="actions"><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&amp;id=[% loo.id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
372
                                            <td class="actions"><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&amp;id=[% loo.id | uri %]" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
364
                                            <a class="delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=delete&amp;searchfield=[% searchfield | uri %]&amp;id=[% loo.id | uri %]"><i class="fa fa-trash"></i> Delete</a></td>
373
                                            <a class="delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=delete&amp;searchfield=[% searchfield | uri %]&amp;id=[% loo.id | uri %]" id="lientype"><i class="fa fa-trash"></i> Delete</a></td>
365
                                        </tr>
374
                                        </tr>
366
                                    [% END # /FOREACH loop %]
375
                                    [% END # /FOREACH loop %]
367
                                </tbody>
376
                                </tbody>
Lines 372-384 Link Here
372
                                <form action="/cgi-bin/koha/admin/authorised_values.pl" method="get">
381
                                <form action="/cgi-bin/koha/admin/authorised_values.pl" method="get">
373
                                    <input type="hidden" name="op" value="add_form" />
382
                                    <input type="hidden" name="op" value="add_form" />
374
                                    <input type="hidden" name="category" value="[% category.category_name | html %]" />
383
                                    <input type="hidden" name="category" value="[% category.category_name | html %]" />
375
                                    <button type="submit"><i class="fa fa-plus"></i> Add a new authorized value</button>
384
                                    <button type="submit" id="lientype"><i class="fa fa-plus"></i> Add a new authorized value</button>
376
                                </form>
385
                                </form>
377
                                [% UNLESS category.is_system %]
386
                                [% UNLESS category.is_system %]
378
                                    <form id="delete_category" action="/cgi-bin/koha/admin/authorised_values.pl" method="post">
387
                                    <form id="delete_category" action="/cgi-bin/koha/admin/authorised_values.pl" method="post">
379
                                        <input type="hidden" name="op" value="delete_category" />
388
                                        <input type="hidden" name="op" value="delete_category" />
380
                                        <input type="hidden" name="category_name" value="[% category.category_name | html %]" />
389
                                        <input type="hidden" name="category_name" value="[% category.category_name | html %]" />
381
                                        <button type="submit"><i class="fa fa-plus"></i> Delete category '[% category.category_name | html %]' </button>
390
                                        <button type="submit" id="lientype"><i class="fa fa-plus"></i> Delete category '[% category.category_name | html %]' </button>
382
                                    </form>
391
                                    </form>
383
                                [% END %]
392
                                [% END %]
384
                            </div>
393
                            </div>
Lines 408-414 Link Here
408
                                [% END # /FOR c %]
417
                                [% END # /FOR c %]
409
                            </tbody>
418
                            </tbody>
410
                        </table> <!-- /#categoriest -->
419
                        </table> <!-- /#categoriest -->
411
420
                    </div>
412
                    [% END # /IF ( searchfield  )%]
421
                    [% END # /IF ( searchfield  )%]
413
422
414
                [% END # /IF op == 'list' %]
423
                [% END # /IF op == 'list' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-12 / +23 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
[% IF op == 'add_form' %]
9
[% IF op == 'add_form' %]
Lines 16-23 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
16
</head>
19
</head>
17
20
18
<body id="admin_authtypes" class="admin">
21
<body id="admin_authtypes" class="admin">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form=formulaire %]
20
[% INCLUDE 'prefs-admin-search.inc' %]
21
23
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <ol>
25
    <ol>
Lines 58-63 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
58
            </li>
60
            </li>
59
        [% END %]
61
        [% END %]
60
    </ol>
62
    </ol>
63
        <ol>
64
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
65
        </ol>
66
        <ol>
67
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
68
        </ol>
61
</nav>
69
</nav>
62
70
63
<div class="main container-fluid">
71
<div class="main container-fluid">
Lines 133-143 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
133
                    [% END %]
141
                    [% END %]
134
                </li>
142
                </li>
135
            </ol>
143
            </ol>
136
        </fieldset>
137
        <fieldset class="action">
144
        <fieldset class="action">
138
            <input type="submit" value="Submit" />
145
            <input type="submit" class="principal" value="Submit" />
139
            <a class="cancel" href="/cgi-bin/koha/admin/authtypes.pl">Cancel</a>
146
            <a class="cancel" href="/cgi-bin/koha/admin/authtypes.pl">Cancel</a>
140
        </fieldset>
147
        </fieldset>
148
        </fieldset>
141
    </form>
149
    </form>
142
[% END %]
150
[% END %]
143
151
Lines 163-173 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
163
171
164
[% IF op == 'list' %]
172
[% IF op == 'list' %]
165
    <div id="toolbar" class="btn-toolbar">
173
    <div id="toolbar" class="btn-toolbar">
166
        <a id="authtype" class="btn btn-default" href="/cgi-bin/koha/admin/authtypes.pl?op=add_form"><i class="fa fa-plus"></i> New authority type</a>
174
    <div>
167
    </div>
175
        <a id="authtype" class="pat" href="/cgi-bin/koha/admin/authtypes.pl?op=add_form"><i class="fa fa-plus"></i> New authority type</a>
176
    </div></div>
168
177
169
    <h1>Authority types</h1>
178
    <h2>Authority types</h2>
170
    <p>Define authority types, then authority MARC structure in the same way you define itemtypes and bibliographic MARC tag structure. Authority values are managed through plugins</p>
179
    <p>Define authority types, then authority MARC structure in the same way you define itemtypes and bibliographic MARC tag structure. Authority values are managed through plugins</p>
180
    <div id="searchresults">
171
    <table id="authtypes">
181
    <table id="authtypes">
172
        <thead>
182
        <thead>
173
        <tr>
183
        <tr>
Lines 187-193 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
187
                <td>[% authority_type.auth_tag_to_report | html %]</td>
197
                <td>[% authority_type.auth_tag_to_report | html %]</td>
188
                <td>
198
                <td>
189
                  <div class="btn-group dropup">
199
                  <div class="btn-group dropup">
190
                    <a class="btn btn-default btn-xs dropdown-toggle" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
200
                    <a class="btn btn-default btn-xs dropdown-toggle lientype" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
191
                      Actions <b class="caret"></b></a>
201
                      Actions <b class="caret"></b></a>
192
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
202
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
193
                      <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
203
                      <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
Lines 217-224 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
217
                                      </fieldset>
227
                                      </fieldset>
218
                                  </div>
228
                                  </div>
219
                                  <div class="modal-footer">
229
                                  <div class="modal-footer">
220
                                      <button type="submit" class="btn btn-default">Export</button>
230
                                      <button type="submit" class="btn btn-default principal">Export</button>
221
                                      <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
231
                                      <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
222
                                  </div>
232
                                  </div>
223
                              </form>
233
                              </form>
224
                          </div>
234
                          </div>
Lines 241-248 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
241
                                      <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
251
                                      <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
242
                                  </div>
252
                                  </div>
243
                                  <div class="modal-footer">
253
                                  <div class="modal-footer">
244
                                      <button type="submit" class="btn btn-default">Import</button>
254
                                      <button type="submit" class="btn btn-default principal">Import</button>
245
                                      <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
255
                                      <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Close</button>
246
                                  </div>
256
                                  </div>
247
                              </form>
257
                              </form>
248
                          </div>
258
                          </div>
Lines 254-259 Authority types &rsaquo; Administration &rsaquo; Koha Link Here
254
        [% END %]
264
        [% END %]
255
        <tbody>
265
        <tbody>
256
    </table>
266
    </table>
267
    </div>
257
[% END %]
268
[% END %]
258
269
259
            </main>
270
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt (-6 / +16 lines)
Lines 3-8 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'prefs-admin-search.inc' %]
8
[% END %]
6
[% BLOCK show_job_status %]
9
[% BLOCK show_job_status %]
7
    [% SWITCH job.status %]
10
    [% SWITCH job.status %]
8
        [% CASE "new" %]
11
        [% CASE "new" %]
Lines 58-65 Link Here
58
</head>
61
</head>
59
62
60
<body id="admin_background_jobs" class="admin">
63
<body id="admin_background_jobs" class="admin">
61
[% INCLUDE 'header.inc' %]
64
[% INCLUDE 'header.inc' form=formulaire %]
62
[% INCLUDE 'prefs-admin-search.inc' %]
63
65
64
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
66
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
65
    <ol>
67
    <ol>
Lines 89-94 Link Here
89
        </li>
91
        </li>
90
    [% END %]
92
    [% END %]
91
    </ol>
93
    </ol>
94
        <ol>
95
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
96
        </ol>
97
        <ol>
98
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
99
        </ol>
92
</nav>
100
</nav>
93
101
94
<div class="main container-fluid">
102
<div class="main container-fluid">
Lines 108-114 Link Here
108
[% END %]
116
[% END %]
109
117
110
[% IF op == 'view' %]
118
[% IF op == 'view' %]
111
    <h1>Details of job #[% job.id | html %]</h1>
119
    <h2>Details of job #[% job.id | html %]</h2>
112
120
113
    [% PROCESS "background_jobs/${job.type}.inc" %]
121
    [% PROCESS "background_jobs/${job.type}.inc" %]
114
122
Lines 154-162 Link Here
154
162
155
[% IF op == 'list' %]
163
[% IF op == 'list' %]
156
164
157
    <h1>Background jobs</h1>
165
    <h2>Background jobs</h2>
158
166
159
    [% IF jobs.count %]
167
    [% IF jobs.count %]
168
    <div id="searchresults">
160
        <table id="table_background_jobs">
169
        <table id="table_background_jobs">
161
            <thead>
170
            <thead>
162
                <tr>
171
                <tr>
Lines 185-199 Link Here
185
                    <td>[% job.started_on| $KohaDates with_hours = 1 %]</td>
194
                    <td>[% job.started_on| $KohaDates with_hours = 1 %]</td>
186
                    <td>[% job.ended_on| $KohaDates with_hours = 1 %]</td>
195
                    <td>[% job.ended_on| $KohaDates with_hours = 1 %]</td>
187
                    <td class="actions">
196
                    <td class="actions">
188
                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&amp;id=[% job.id | html %]"><i class="fa fa-eye"></i> View</a>
197
                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&amp;id=[% job.id | html %]" id="lientype"><i class="fa fa-eye"></i> View</a>
189
                        [% IF job.status == 'new' || job.status == 'started' %]
198
                        [% IF job.status == 'new' || job.status == 'started' %]
190
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/background_jobs.pl?op=cancel&amp;id=[% job.id | html %]"><i class="fa fa-trash"></i> Cancel</a>
199
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/background_jobs.pl?op=cancel&amp;id=[% job.id | html %]" id="lientype"><i class="fa fa-trash"></i> Cancel</a>
191
                        [% END %]
200
                        [% END %]
192
                    </td>
201
                    </td>
193
                </tr>
202
                </tr>
194
                [% END %]
203
                [% END %]
195
            </tbody>
204
            </tbody>
196
        </table>
205
        </table>
206
    </div>
197
    [% ELSE %]
207
    [% ELSE %]
198
        <div class="dialog message">
208
        <div class="dialog message">
199
            There are no background jobs yet.
209
            There are no background jobs yet.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-19 / +30 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
[% IF op == 'add_form' %]
9
[% IF op == 'add_form' %]
Lines 16-23 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
16
</head>
19
</head>
17
20
18
    <body id="admin_biblio_framework" class="admin">
21
    <body id="admin_biblio_framework" class="admin">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form=formulaire %]
20
[% INCLUDE 'prefs-admin-search.inc' %]
21
23
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <ol>
25
    <ol>
Lines 64-69 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
64
            </li>
66
            </li>
65
        [% END %]
67
        [% END %]
66
    </ol>
68
    </ol>
69
        <ol>
70
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
71
        </ol>
72
        <ol>
73
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
74
        </ol>
67
</nav>
75
</nav>
68
76
69
<div class="main container-fluid">
77
<div class="main container-fluid">
Lines 98-109 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
98
106
99
[% IF op == 'list'%]
107
[% IF op == 'list'%]
100
    <div id="toolbar" class="btn-toolbar">
108
    <div id="toolbar" class="btn-toolbar">
101
        <a class="btn btn-default" id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form"><i class="fa fa-plus"></i> New framework</a>
109
    <div>
102
    </div>
110
        <a class="pat" id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form"><i class="fa fa-plus"></i> New framework</a>
111
    </div></div>
103
[% END %]
112
[% END %]
104
113
105
[% IF op == 'add_form' %]
114
[% IF op == 'add_form' %]
106
    <h1>[% IF framework %]Modify framework text[% ELSE %]Add framework[% END %]</h1>
115
    <h2>[% IF framework %]Modify framework text[% ELSE %]Add framework[% END %]</h2>
107
    <form action="/cgi-bin/koha/admin/biblio_framework.pl" name="Aform" method="post" class="validated">
116
    <form action="/cgi-bin/koha/admin/biblio_framework.pl" name="Aform" method="post" class="validated">
108
        <input type="hidden" name="op" value="add_validate" />
117
        <input type="hidden" name="op" value="add_validate" />
109
        <fieldset class="rows">
118
        <fieldset class="rows">
Lines 127-135 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
127
                    <span class="required">Required</span>
136
                    <span class="required">Required</span>
128
                </li>
137
                </li>
129
            </ol>
138
            </ol>
130
        </fieldset>
131
        <fieldset class="action">
139
        <fieldset class="action">
132
            <input type="submit" value="Submit" class="submit" />
140
            <input type="submit" value="Submit" class="principal" />
141
        </fieldset>
133
        </fieldset>
142
        </fieldset>
134
    </form>
143
    </form>
135
[% END %]
144
[% END %]
Lines 141-147 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
141
            <p><strong><span class="ex">[% framework.frameworktext | html %] ([% framework.frameworkcode | html %])</span></strong></p>
150
            <p><strong><span class="ex">[% framework.frameworktext | html %] ([% framework.frameworkcode | html %])</span></strong></p>
142
            <p>The framework is used [% biblios_use_this_framework | html %] times.</p>
151
            <p>The framework is used [% biblios_use_this_framework | html %] times.</p>
143
            <form action="/cgi-bin/koha/admin/biblio_framework.pl" method="get">
152
            <form action="/cgi-bin/koha/admin/biblio_framework.pl" method="get">
144
                <button type="submit"><i class="fa fa-fw fa-arrow-left"></i> Return to frameworks</button>
153
                <button type="submit" id="lientype"><i class="fa fa-fw fa-arrow-left"></i> Return to frameworks</button>
145
            </form>
154
            </form>
146
        [% ELSE %]
155
        [% ELSE %]
147
            <h1>Delete framework for [% framework.frameworktext | html %] ([% framework.frameworkcode | html %])?</h1>
156
            <h1>Delete framework for [% framework.frameworktext | html %] ([% framework.frameworkcode | html %])?</h1>
Lines 158-165 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
158
[% END %]
167
[% END %]
159
168
160
[% IF op == 'list' %]
169
[% IF op == 'list' %]
161
<h1>MARC frameworks</h1>
170
<h2>MARC frameworks</h2>
162
171
172
<div id="searchresults">
163
<table id="table_biblio_frameworks">
173
<table id="table_biblio_frameworks">
164
    <thead>
174
    <thead>
165
    <tr>
175
    <tr>
Lines 174-180 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
174
        <td>Default framework</td>
184
        <td>Default framework</td>
175
        <td>
185
        <td>
176
          <div class="btn-group dropup">
186
          <div class="btn-group dropup">
177
            <a class="btn btn-default btn-xs dropdown-toggle" id="frameworkactions[% loo.frameworkcode | html %]" role="button" data-toggle="dropdown" href="#">
187
            <a class="btn btn-default btn-xs dropdown-toggle" id="frameworkactions[% loo.frameworkcode | html %]" role="button" data-toggle="dropdown" href="#" id=""lientype">
178
              Actions <b class="caret"></b>
188
              Actions <b class="caret"></b>
179
            </a>
189
            </a>
180
            <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode | html %]">
190
            <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode | html %]">
Lines 202-209 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
202
                            </fieldset>
212
                            </fieldset>
203
                        </div> <!-- /.modal-body -->
213
                        </div> <!-- /.modal-body -->
204
                        <div class="modal-footer">
214
                        <div class="modal-footer">
205
                            <button type="submit" class="btn btn-default">Export</button>
215
                            <button type="submit" class="btn btn-default principal">Export</button>
206
                            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
216
                            <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
207
                        </div> <!-- /.modal-footer -->
217
                        </div> <!-- /.modal-footer -->
208
                    </form> <!-- /.form_export -->
218
                    </form> <!-- /.form_export -->
209
                </div> <!-- /.modal-content -->
219
                </div> <!-- /.modal-content -->
Lines 226-233 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
226
                            <div id="importing_default" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
236
                            <div id="importing_default" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
227
                        </div> <!-- /.modal-body -->
237
                        </div> <!-- /.modal-body -->
228
                        <div class="modal-footer">
238
                        <div class="modal-footer">
229
                            <button type="submit" class="btn btn-default">Import</button>
239
                            <button type="submit" class="btn btn-default principal">Import</button>
230
                            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
240
                            <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Close</button>
231
                        </div> <!-- /.modal-footer -->
241
                        </div> <!-- /.modal-footer -->
232
                    </form> <!-- /.form_export -->
242
                    </form> <!-- /.form_export -->
233
                </div> <!-- /.modal-content -->
243
                </div> <!-- /.modal-content -->
Lines 242-248 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
242
            <td>[% loo.frameworktext | html %]</td>
252
            <td>[% loo.frameworktext | html %]</td>
243
            <td>
253
            <td>
244
              <div class="btn-group dropup">
254
              <div class="btn-group dropup">
245
                <a class="btn btn-default btn-xs dropdown-toggle" id="frameworkactions[% loo.frameworkcode | html %]" role="button" data-toggle="dropdown" href="#">
255
                <a class="btn btn-default btn-xs dropdown-toggle" id="lientype" role="button" data-toggle="dropdown" href="#">
246
                  Actions <b class="caret"></b>
256
                  Actions <b class="caret"></b>
247
                </a>
257
                </a>
248
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode | html %]">
258
                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="frameworkactions[% loo.frameworkcode | html %]">
Lines 272-279 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
272
                                </fieldset>
282
                                </fieldset>
273
                            </div> <!-- /.modal-body -->
283
                            </div> <!-- /.modal-body -->
274
                            <div class="modal-footer">
284
                            <div class="modal-footer">
275
                                <button type="submit" class="btn btn-default">Export</button>
285
                                <button type="submit" class="btn btn-default principal">Export</button>
276
                                <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
286
                                <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
277
                            </div> <!-- /.modal-footer -->
287
                            </div> <!-- /.modal-footer -->
278
                        </form> <!-- /.form_export -->
288
                        </form> <!-- /.form_export -->
279
                    </div> <!-- /.modal-content -->
289
                    </div> <!-- /.modal-content -->
Lines 296-303 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
296
                                <div id="importing_[% loo.frameworkcode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
306
                                <div id="importing_[% loo.frameworkcode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
297
                            </div> <!-- /.modal-body -->
307
                            </div> <!-- /.modal-body -->
298
                            <div class="modal-footer">
308
                            <div class="modal-footer">
299
                                <button type="submit" class="btn btn-default" title="[% loo.frameworkcode | html %]">Import</button>
309
                                <button type="submit" class="btn btn-default principal" title="[% loo.frameworkcode | html %]">Import</button>
300
                                <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
310
                                <button class="btn btn-link cancel" data-dismiss="modal" aria-hidden="true">Close</button>
301
                            </div> <!-- /.modal-footer -->
311
                            </div> <!-- /.modal-footer -->
302
                        </form> <!-- /.form_export -->
312
                        </form> <!-- /.form_export -->
303
                    </div> <!-- /.modal-content -->
313
                    </div> <!-- /.modal-content -->
Lines 308-313 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
308
318
309
    [% END %]
319
    [% END %]
310
</table>
320
</table>
321
</div>
311
322
312
[% END %]
323
[% END %]
313
324
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-8 / +19 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'prefs-admin-search.inc' %]
8
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Library checkin and transfer policy &rsaquo; Administration &rsaquo; Koha</title>
10
<title>Library checkin and transfer policy &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 9-16 Link Here
9
</head>
13
</head>
10
14
11
<body id="admin_branch_transfer_limits" class="admin">
15
<body id="admin_branch_transfer_limits" class="admin">
12
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'prefs-admin-search.inc' %]
14
17
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
19
    <ol>
Lines 26-31 Link Here
26
            </a>
29
            </a>
27
        </li>
30
        </li>
28
    </ol>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
29
</nav>
38
</nav>
30
39
31
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 33-39 Link Here
33
        <div class="col-sm-10 col-sm-push-2">
42
        <div class="col-sm-10 col-sm-push-2">
34
            <main>
43
            <main>
35
44
36
<h1>Library [% branchcode | html %] - [% Branches.GetName( branchcode ) | html %] Checkin and transfer policy</h1>
45
<h2>Library [% branchcode | html %] - [% Branches.GetName( branchcode ) | html %] Checkin and transfer policy</h2>
37
    <form method="get" action="/cgi-bin/koha/admin/branch_transfer_limits.pl" id="selectlibrary">
46
    <form method="get" action="/cgi-bin/koha/admin/branch_transfer_limits.pl" id="selectlibrary">
38
        <label for="branchselect">Select a library :</label>
47
        <label for="branchselect">Select a library :</label>
39
        <select name="branchcode" id="branchselect">
48
        <select name="branchcode" id="branchselect">
Lines 42-54 Link Here
42
    </form>
51
    </form>
43
52
44
<p class="help">Check the boxes for the libraries you allow your items to be transferred to.</p>
53
<p class="help">Check the boxes for the libraries you allow your items to be transferred to.</p>
54
<div id="searchresults">
45
<fieldset>
55
<fieldset>
46
    [% IF ( limitType == 'ccode' ) %]<strong>For all collection codes: </strong>[% ELSE %]<strong>For all item types: </strong>[% END %]
56
    [% IF ( limitType == 'ccode' ) %]<strong>For all collection codes: </strong>[% ELSE %]<strong>For all item types: </strong>[% END %]
47
    <a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a>
57
    <a id="CheckAll" href="#" class="lientype"><i class="fa fa-check"></i> Select all</a>
48
    |
58
    |
49
    <a id="UncheckAll" href="#"><i class="fa fa-remove"></i> Clear all</a>
59
    <a id="UncheckAll" href="#" class="lientype"><i class="fa fa-remove"></i> Clear all</a>
50
    |
60
    |
51
    <a href="/cgi-bin/koha/admin/transfer_limits.pl">Switch to advanced editor</a>
61
    <a href="/cgi-bin/koha/admin/transfer_limits.pl" id="lientype">Switch to advanced editor</a>
52
</fieldset>
62
</fieldset>
53
63
54
64
Lines 67-73 Link Here
67
    <div role="tabpanel" class="tab-pane" id="[% codes_loo.code | html %]set">
77
    <div role="tabpanel" class="tab-pane" id="[% codes_loo.code | html %]set">
68
    <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4>
78
    <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4>
69
79
70
    <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p>
80
    <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall lientype" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall lientype" href="#"><i class="fa fa-remove"></i> Clear all</a></p>
71
81
72
        <table id="[% codes_loo.code | html %]table" class="sorted">
82
        <table id="[% codes_loo.code | html %]table" class="sorted">
73
            <thead>
83
            <thead>
Lines 99-108 Link Here
99
        <fieldset class="action">
109
        <fieldset class="action">
100
            <input type="hidden" name="updateLimits" value="1" />
110
            <input type="hidden" name="updateLimits" value="1" />
101
            <input type="hidden" name="branchcode" value="[% branchcode | html %]" />
111
            <input type="hidden" name="branchcode" value="[% branchcode | html %]" />
102
            <input type="submit" value="Save" />
112
            <input type="submit" class="principal" value="Save" />
103
            <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a>
113
            <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a>
104
        </fieldset>
114
        </fieldset>
105
        </form>
115
        </form>
116
        </div>
106
        </div>
117
        </div>
107
118
108
            </main>
119
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-11 / +21 lines)
Lines 2-7 Link Here
2
[% USE raw %]
2
[% USE raw %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% USE TablesSettings %]
8
[% USE TablesSettings %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
Lines 18-25 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
18
</head>
21
</head>
19
22
20
<body id="admin_branches" class="admin">
23
<body id="admin_branches" class="admin">
21
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'header.inc' form=formulaire %]
22
[% INCLUDE 'prefs-admin-search.inc' %]
23
25
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
27
    <ol>
Lines 76-81 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
76
            </li>
78
            </li>
77
        [% END %]
79
        [% END %]
78
    </ol>
80
    </ol>
81
        <ol>
82
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
83
        </ol>
84
        <ol>
85
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
86
        </ol>
79
</nav>
87
</nav>
80
88
81
<div class="main container-fluid">
89
<div class="main container-fluid">
Lines 129-145 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
129
137
130
[% IF op == 'list' || op == 'view' %]
138
[% IF op == 'list' || op == 'view' %]
131
    <div id="toolbar" class="btn-toolbar">
139
    <div id="toolbar" class="btn-toolbar">
132
        <a class="btn btn-default" id="newbranch" href="/cgi-bin/koha/admin/branches.pl?op=add_form"><i class="fa fa-plus"></i> New library</a>
140
        <a class="btn btn-default pat" id="newbranch" href="/cgi-bin/koha/admin/branches.pl?op=add_form"><i class="fa fa-plus"></i> New library</a>
133
        [% IF op == 'view' && library %]
141
        [% IF op == 'view' && library %]
134
            <a class="btn btn-default" id="editbranch" href="/cgi-bin/koha/admin/branches.pl?op=add_form&branchcode=[% library.branchcode | uri %]"><i class="fa fa-pencil"></i> Edit library</a>
142
            <a class="btn btn-default pat" id="editbranch" href="/cgi-bin/koha/admin/branches.pl?op=add_form&branchcode=[% library.branchcode | uri %]"><i class="fa fa-pencil"></i> Edit library</a>
135
        [% END %]
143
        [% END %]
136
    </div>
144
    </div>
137
[% END %]
145
[% END %]
138
146
147
<div id="searchresults">
139
[% IF op == 'add_form' %]
148
[% IF op == 'add_form' %]
140
    <h1>[% IF library %]Modify library[% ELSE %]New library[% END %]</h1>
149
    <h2>[% IF library %]Modify library[% ELSE %]New library[% END %]</h2>
141
    <form action="/cgi-bin/koha/admin/branches.pl" id="Aform" name="Aform" class="validated" method="post">
150
    <form action="/cgi-bin/koha/admin/branches.pl" id="Aform" name="Aform" class="validated" method="post">
142
        <fieldset class="rows">
151
        <fieldset>
143
            <input type="hidden" name="op" value="add_validate" />
152
            <input type="hidden" name="op" value="add_validate" />
144
            [% IF library %]
153
            [% IF library %]
145
                <input type="hidden" name="is_a_modif" value="1" />
154
                <input type="hidden" name="is_a_modif" value="1" />
Lines 168-174 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
168
            </ol>
177
            </ol>
169
        </fieldset>
178
        </fieldset>
170
        [% IF categories %]
179
        [% IF categories %]
171
            <fieldset class="rows"><legend>Group(s):</legend>
180
            <fieldset><legend>Group(s):</legend>
172
                <ol>
181
                <ol>
173
                    [% FOREACH category IN categories %]
182
                    [% FOREACH category IN categories %]
174
                        <li>
183
                        <li>
Lines 184-190 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
184
                </ol>
193
                </ol>
185
            </fieldset>
194
            </fieldset>
186
        [% END %]
195
        [% END %]
187
        <fieldset class="rows">
196
        <fieldset>
188
            <ol>
197
            <ol>
189
                <li><label for="branchaddress1">Address line 1: </label><input type="text" name="branchaddress1" id="branchaddress1" size="60" value="[% library.branchaddress1 | html %]" /></li>
198
                <li><label for="branchaddress1">Address line 1: </label><input type="text" name="branchaddress1" id="branchaddress1" size="60" value="[% library.branchaddress1 | html %]" /></li>
190
                <li><label for="branchaddress2">Address line 2: </label><input type="text" name="branchaddress2" id="branchaddress2" size="60" value="[% library.branchaddress2 | html %]" /></li>
199
                <li><label for="branchaddress2">Address line 2: </label><input type="text" name="branchaddress2" id="branchaddress2" size="60" value="[% library.branchaddress2 | html %]" /></li>
Lines 293-299 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
293
            </ol>
302
            </ol>
294
        </fieldset>
303
        </fieldset>
295
        <fieldset class="action">
304
        <fieldset class="action">
296
            <input type="submit" value="Submit" />
305
            <input type="submit" class="principal" value="Submit" />
297
            <a class="cancel" href="/cgi-bin/koha/admin/branches.pl">Cancel</a>
306
            <a class="cancel" href="/cgi-bin/koha/admin/branches.pl">Cancel</a>
298
        </fieldset>
307
        </fieldset>
299
    </form>
308
    </form>
Lines 302-308 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
302
[% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]
311
[% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]
303
    <div class="dialog alert">
312
    <div class="dialog alert">
304
        <form action="/cgi-bin/koha/admin/branches.pl" method="post">
313
        <form action="/cgi-bin/koha/admin/branches.pl" method="post">
305
            <h1>Are you sure you want to delete [% library.branchname | html %] ([% library.branchcode | html %])?</h1>
314
            <h2>Are you sure you want to delete [% library.branchname | html %] ([% library.branchcode | html %])?</h2>
306
            <input type="hidden" name="op" value="delete_confirmed" />
315
            <input type="hidden" name="op" value="delete_confirmed" />
307
            <input type="hidden" name="branchcode" value="[% library.branchcode | html %]" />
316
            <input type="hidden" name="branchcode" value="[% library.branchcode | html %]" />
308
            <input type="hidden" name="branchname" value="[% library.branchname | html %]">
317
            <input type="hidden" name="branchname" value="[% library.branchname | html %]">
Lines 315-321 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
315
[% END %]
324
[% END %]
316
325
317
[% IF op == 'list' %]
326
[% IF op == 'list' %]
318
    <h1>Libraries</h1>
327
    <h2>Libraries</h2>
319
    [% IF libraries_count > 0 %]
328
    [% IF libraries_count > 0 %]
320
        <table id="libraries">
329
        <table id="libraries">
321
            <thead>
330
            <thead>
Lines 336-341 Libraries &rsaquo; Administration &rsaquo; Koha Link Here
336
        <div class="dialog message">There are no libraries defined. <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">Start defining libraries</a>.</div>
345
        <div class="dialog message">There are no libraries defined. <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">Start defining libraries</a>.</div>
337
    [% END %]
346
    [% END %]
338
[% END %]
347
[% END %]
348
</div>
339
349
340
[% IF op == 'view' && library %]
350
[% IF op == 'view' && library %]
341
    <h1>[% library.branchname | html %]</h1>
351
    <h1>[% library.branchname | html %]</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt (-2 / +10 lines)
Lines 3-8 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE Price %]
4
[% USE Price %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'prefs-admin-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
[% IF op == 'add_form' %]
11
[% IF op == 'add_form' %]
Lines 18-25 Cash registers &rsaquo; Administration &rsaquo; Koha Link Here
18
</head>
21
</head>
19
22
20
<body id="admin_cash_registers" class="admin">
23
<body id="admin_cash_registers" class="admin">
21
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'header.inc' form=formulaire %]
22
[% INCLUDE 'prefs-admin-search.inc' %]
23
25
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
27
    <ol>
Lines 65-70 Cash registers &rsaquo; Administration &rsaquo; Koha Link Here
65
            </li>
67
            </li>
66
        [% END %]
68
        [% END %]
67
    </ol>
69
    </ol>
70
        <ol>
71
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
72
        </ol>
73
        <ol>
74
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
75
        </ol>
68
</nav>
76
</nav>
69
77
70
<div class="main container-fluid">
78
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-12 / +22 lines)
Lines 6-11 Link Here
6
[% USE Price %]
6
[% USE Price %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'patrons-admin-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>[% IF op == 'add_form' %][% IF ( categorycode ) %]Modify category '[% categorycode | html %]'[% ELSE %]New category[% END %][% END %]
13
<title>[% IF op == 'add_form' %][% IF ( categorycode ) %]Modify category '[% categorycode | html %]'[% ELSE %]New category[% END %][% END %]
11
[% IF op == 'delete_confirm' %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode | html %] in use[% ELSE %]Confirm deletion of category '[% categorycode | html %]'[% END %][% END %] &rsaquo; Patron categories &rsaquo; Administration &rsaquo; Koha
14
[% IF op == 'delete_confirm' %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode | html %] in use[% ELSE %]Confirm deletion of category '[% categorycode | html %]'[% END %][% END %] &rsaquo; Patron categories &rsaquo; Administration &rsaquo; Koha
Lines 15-22 Link Here
15
</head>
18
</head>
16
19
17
<body id="admin_categorie" class="admin">
20
<body id="admin_categorie" class="admin">
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'patrons-admin-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 84-89 Link Here
84
            </li>
86
            </li>
85
        [% END %]
87
        [% END %]
86
    </ol>
88
    </ol>
89
        <ol>
90
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
91
        </ol>
92
        <ol>
93
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
94
        </ol>
87
</nav>
95
</nav>
88
96
89
<div class="main container-fluid">
97
<div class="main container-fluid">
Lines 119-127 Link Here
119
        <input type="hidden" name="op" value="add_validate" />
127
        <input type="hidden" name="op" value="add_validate" />
120
        <input type="hidden" name="checked" value="0" />
128
        <input type="hidden" name="checked" value="0" />
121
        [% IF category %]
129
        [% IF category %]
122
            <h1>Modify category [% categorycode | html %]</h1>
130
            <h2>Modify category [% categorycode | html %]</h2>
123
        [% ELSE %]
131
        [% ELSE %]
124
            <h1>New category</h1>
132
            <h2>New category</h2>
125
        [% END %]
133
        [% END %]
126
        <fieldset class="rows">
134
        <fieldset class="rows">
127
            <ol>
135
            <ol>
Lines 143-151 Link Here
143
                    <span class="required">Required</span>
151
                    <span class="required">Required</span>
144
                </li>
152
                </li>
145
                <li>
153
                <li>
146
                    <span class="label">Enrollment period: </span>
147
                    <fieldset>
154
                    <fieldset>
148
                        <legend>Choose one</legend>
155
                        <legend>Enrollment period</legend>
149
                        <ol>
156
                        <ol>
150
                            <li>
157
                            <li>
151
                                <label for="enrolmentperiod">In months: </label>
158
                                <label for="enrolmentperiod">In months: </label>
Lines 422-428 Link Here
422
                    <div class="hint">If <i>Yes</i>, holds placed by patrons of this category will not be given priority</div>
429
                    <div class="hint">If <i>Yes</i>, holds placed by patrons of this category will not be given priority</div>
423
                </li>
430
                </li>
424
            </ol>
431
            </ol>
425
        </fieldset>
426
432
427
        [% IF ( EnhancedMessagingPreferences ) %]
433
        [% IF ( EnhancedMessagingPreferences ) %]
428
            <fieldset class="rows">
434
            <fieldset class="rows">
Lines 431-439 Link Here
431
            </fieldset>
437
            </fieldset>
432
        [% END %]
438
        [% END %]
433
        <fieldset class="action">
439
        <fieldset class="action">
434
            <input type="submit" value="Save" />
440
            <input type="submit" class="principal" value="Save" />
435
            <a href="/cgi-bin/koha/admin/categories.pl" class="cancel">Cancel</a>
441
            <a href="/cgi-bin/koha/admin/categories.pl" class="cancel">Cancel</a>
436
        </fieldset>
442
        </fieldset>
443
        </fieldset>
437
    </form>
444
    </form>
438
[% END %]
445
[% END %]
439
446
Lines 522-531 Link Here
522
[% IF op == 'list' %]
529
[% IF op == 'list' %]
523
530
524
    <div id="toolbar" class="btn-toolbar">
531
    <div id="toolbar" class="btn-toolbar">
525
        <a class="btn btn-default" id="newcategory" href="/cgi-bin/koha/admin/categories.pl?op=add_form"><i class="fa fa-plus"></i> New category</a>
532
    <div>
526
    </div>
533
        <a class="pat" id="newcategory" href="/cgi-bin/koha/admin/categories.pl?op=add_form"><i class="fa fa-plus"></i> New category</a>
534
    </div></div>
527
535
528
    <h1>Patron categories</h1>
536
    <h1>Patron categories</h1>
537
    <div id="searchresults">
529
    [% IF searchfield %]
538
    [% IF searchfield %]
530
        You searched for [% searchfield | html %]</span>
539
        You searched for [% searchfield | html %]</span>
531
    [% END %]
540
    [% END %]
Lines 688-695 Link Here
688
                            [% END %]
697
                            [% END %]
689
                        </td>
698
                        </td>
690
                        <td class="actions">
699
                        <td class="actions">
691
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/categories.pl?op=add_form&amp;categorycode=[% category.categorycode |uri %]"><i class="fa fa-pencil"></i> Edit</a>
700
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/categories.pl?op=add_form&amp;categorycode=[% category.categorycode |uri %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
692
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/categories.pl?op=delete_confirm&amp;categorycode=[% category.categorycode |uri %]"><i class="fa fa-trash"></i> Delete</a>
701
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/categories.pl?op=delete_confirm&amp;categorycode=[% category.categorycode |uri %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
693
                        </td>
702
                        </td>
694
                    </tr>
703
                    </tr>
695
                [% END %]
704
                [% END %]
Lines 698-703 Link Here
698
    [% ELSE %]
707
    [% ELSE %]
699
        <div class="dialog alert">No categories have been defined. <a href="/cgi-bin/koha/admin/categories.pl?op=add_form">Create a new category</a>.</div>
708
        <div class="dialog alert">No categories have been defined. <a href="/cgi-bin/koha/admin/categories.pl?op=add_form">Create a new category</a>.</div>
700
    [% END %]
709
    [% END %]
710
    </div>
701
[% END %]
711
[% END %]
702
712
703
            </main>
713
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/checkmarc.tt (-3 / +11 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>MARC check
8
<title>MARC check
6
[% IF ( total ) %] :[% total | html %] errors found[% ELSE %] : Configuration OK![% END %] &rsaquo; Administration &rsaquo; Koha</title>
9
[% IF ( total ) %] :[% total | html %] errors found[% ELSE %] : Configuration OK![% END %] &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="admin_checkmarc" class="admin">
12
<body id="admin_checkmarc" class="admin">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'prefs-admin-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 29-34 Link Here
29
            </a>
31
            </a>
30
        </li>
32
        </li>
31
    </ol>
33
    </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
32
</nav>
40
</nav>
33
41
34
<div class="main container-fluid">
42
<div class="main container-fluid">
Lines 36-42 Link Here
36
        <div class="col-sm-10 col-sm-push-2">
44
        <div class="col-sm-10 col-sm-push-2">
37
            <main>
45
            <main>
38
46
39
<h1>MARC bibliographic framework test</h1>
47
<h2>MARC bibliographic framework test</h2>
40
<table>
48
<table>
41
    <tr>
49
    <tr>
42
        <th>Test</th>
50
        <th>Test</th>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-10 / +21 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cities-admin-search.inc' %]
6
[% END %]
4
[% USE TablesSettings %]
7
[% USE TablesSettings %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
Lines 19-26 Link Here
19
</head>
22
</head>
20
23
21
<body id="admin_cities" class="admin">
24
<body id="admin_cities" class="admin">
22
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' form=formulaire %]
23
[% INCLUDE 'cities-admin-search.inc' %]
24
26
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <ol>
28
    <ol>
Lines 63-68 Link Here
63
            </li>
65
            </li>
64
        [% END %]
66
        [% END %]
65
    </ol>
67
    </ol>
68
        <ol>
69
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
70
        </ol>
71
        <ol>
72
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
73
        </ol>
66
</nav>
74
</nav>
67
75
68
<div class="main container-fluid">
76
<div class="main container-fluid">
Lines 95-103 Link Here
95
103
96
[% IF op == 'add_form' %]
104
[% IF op == 'add_form' %]
97
    [% IF city %]
105
    [% IF city %]
98
        <h1>Modify a city</h1>
106
        <h2>Modify a city</h2>
99
    [% ELSE %]
107
    [% ELSE %]
100
        <h1>New city</h1>
108
        <h2>New city</h2>
101
    [% END %]
109
    [% END %]
102
110
103
    <form action="/cgi-bin/koha/admin/cities.pl" name="Aform" method="post" class="validated">
111
    <form action="/cgi-bin/koha/admin/cities.pl" name="Aform" method="post" class="validated">
Lines 126-137 Link Here
126
                    <input type="text" name="city_country" id="city_country" size="80" maxlength="100" value="[% city.city_country | html %]" />
134
                    <input type="text" name="city_country" id="city_country" size="80" maxlength="100" value="[% city.city_country | html %]" />
127
                </li>
135
                </li>
128
            </ol>
136
            </ol>
129
        </fieldset>
130
131
        <fieldset class="action">
137
        <fieldset class="action">
132
            <input type="submit" value="Submit" />
138
            <input type="submit" class="principal" value="Submit" />
133
            <a class="cancel" href="/cgi-bin/koha/admin/cities.pl">Cancel</a>
139
            <a class="cancel" href="/cgi-bin/koha/admin/cities.pl">Cancel</a>
134
        </fieldset>
140
        </fieldset>
141
        </fieldset>
142
135
    </form>
143
    </form>
136
[% END %]
144
[% END %]
137
145
Lines 169-176 Link Here
169
[% IF op == 'list' %]
177
[% IF op == 'list' %]
170
178
171
    <div id="toolbar" class="btn-toolbar">
179
    <div id="toolbar" class="btn-toolbar">
172
        <a class="btn btn-default" id="newcity" href="/cgi-bin/koha/admin/cities.pl?op=add_form"><i class="fa fa-plus"></i> New city</a>
180
    <div>
173
    </div>
181
        <a class="pat" id="newcity" href="/cgi-bin/koha/admin/cities.pl?op=add_form"><i class="fa fa-plus"></i> New city</a>
182
    </div></div>
174
183
175
    <h1>Cities</h1>
184
    <h1>Cities</h1>
176
    [% IF city_name_filter %]
185
    [% IF city_name_filter %]
Lines 178-183 Link Here
178
    [% END %]
187
    [% END %]
179
188
180
    [% IF cities_count > 0 %]
189
    [% IF cities_count > 0 %]
190
    <div id="searchresults">
181
        <div class="table_cities_table_controls"></div>
191
        <div class="table_cities_table_controls"></div>
182
        <table id="table_cities">
192
        <table id="table_cities">
183
            <thead>
193
            <thead>
Lines 191-199 Link Here
191
                </tr>
201
                </tr>
192
            </thead>
202
            </thead>
193
        </table>
203
        </table>
204
    </div>
194
    [% ELSE %]
205
    [% ELSE %]
195
        <div class="dialog message">
206
        <div class="dialog message">
196
            There are no cities defined. <a href="/cgi-bin/koha/admin/cities.pl?op=add_form">Create a new city</a>.
207
            There are no cities defined. <a href="/cgi-bin/koha/admin/cities.pl?op=add_form" id="lientype">Create a new city</a>.
197
        </div>
208
        </div>
198
    [% END %]
209
    [% END %]
199
[% END %]
210
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt (-27 / +43 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
[% IF op == 'add_source' %]
9
[% IF op == 'add_source' %]
Lines 33-40 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
33
</head>
36
</head>
34
37
35
<body id="admin_classsources" class="admin">
38
<body id="admin_classsources" class="admin">
36
[% INCLUDE 'header.inc' %]
39
[% INCLUDE 'header.inc' form=formulaire %]
37
[% INCLUDE 'prefs-admin-search.inc' %]
38
40
39
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
41
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
40
    <ol>
42
    <ol>
Lines 96-101 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
96
        [% END %]
98
        [% END %]
97
99
98
    </ol>
100
    </ol>
101
        <ol>
102
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
103
        </ol>
104
        <ol>
105
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
106
        </ol>
99
</nav>
107
</nav>
100
108
101
<div class="main container-fluid">
109
<div class="main container-fluid">
Lines 151-159 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
151
159
152
[% IF op == 'add_source' %]
160
[% IF op == 'add_source' %]
153
  [% IF class_source %]
161
  [% IF class_source %]
154
<h1>Modify classification source</h1>
162
<h2>Modify classification source</h2>
155
  [% ELSE %]
163
  [% ELSE %]
156
<h1>Add classification source</h1>
164
<h2>Add classification source</h2>
157
  [% END %]
165
  [% END %]
158
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
166
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
159
  <input type="hidden" name="op" value="add_source_validate" />
167
  <input type="hidden" name="op" value="add_source_validate" />
Lines 205-223 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
205
            <span class="required">Required</span>
213
            <span class="required">Required</span>
206
        </li>
214
        </li>
207
    </ol>
215
    </ol>
208
  </fieldset>
209
  <fieldset class="action">
216
  <fieldset class="action">
210
    <input type="submit" value="Save" />
217
    <input type="submit" class="principal" value="Save" />
211
    <a class="cancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
218
    <a class="cancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
212
  </fieldset>
219
  </fieldset>
220
  </fieldset>
213
</form>
221
</form>
214
[% END %]
222
[% END %]
215
223
216
[% IF op == 'add_sort_rule' %]
224
[% IF op == 'add_sort_rule' %]
217
  [% IF sort_rule %]
225
  [% IF sort_rule %]
218
<h1>Modify filing rule</h1>
226
<h2>Modify filing rule</h2>
219
  [% ELSE %]
227
  [% ELSE %]
220
<h1>Add filing rule</h1>
228
<h2>Add filing rule</h2>
221
  [% END %]
229
  [% END %]
222
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
230
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
223
  <input type="hidden" name="op" value="add_sort_rule_validate" />
231
  <input type="hidden" name="op" value="add_sort_rule_validate" />
Lines 251-269 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
251
           <span class="required">Required</span>
259
           <span class="required">Required</span>
252
       </li>
260
       </li>
253
    </ol>
261
    </ol>
254
  </fieldset>
255
    <fieldset class="action">
262
    <fieldset class="action">
256
        <input type="submit" value="Save" />
263
        <input type="submit" class="principal" value="Save" />
257
        <a class="cancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
264
        <a class="cancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
265
  </fieldset>
258
    </fieldset>
266
    </fieldset>
259
</form>
267
</form>
260
[% END %]
268
[% END %]
261
269
262
[% IF op == 'add_split_rule' %]
270
[% IF op == 'add_split_rule' %]
263
  [% IF split_rule %]
271
  [% IF split_rule %]
264
<h1>Modify splitting rule</h1>
272
<h2>Modify splitting rule</h2>
265
  [% ELSE %]
273
  [% ELSE %]
266
<h1>Add splitting rule</h1>
274
<h2>Add splitting rule</h2>
267
  [% END %]
275
  [% END %]
268
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
276
<form action="[% script_name | html %]" name="Aform" class="validated" method="post">
269
  <input type="hidden" name="op" value="add_split_rule_validate" />
277
  <input type="hidden" name="op" value="add_split_rule_validate" />
Lines 280-290 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
280
              <span class="required">Required</span>
288
              <span class="required">Required</span>
281
          [% END %]
289
          [% END %]
282
       </li>
290
       </li>
283
       <li><label for="description" class="required">Description: </label>
291
       <li>
292
            <label for="description" class="required">Description: </label>
284
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% split_rule.description | html %]" />
293
           <input class="required" required="required" type="text" id="description" name="description" size="50" maxlength="250" value="[% split_rule.description | html %]" />
285
           <span class="required">Required</span>
294
           <span class="required">Required</span>
286
       </li>
295
       </li>
287
       <li><label for="split_routine" class="required">Splitting routine: </label>
296
       <li>
297
            <label for="split_routine" class="required">Splitting routine: </label>
288
           <select class="required" required="required" id="split_routine" name="split_routine">
298
           <select class="required" required="required" id="split_routine" name="split_routine">
289
            [% FOREACH routine_name IN split_routines %]
299
            [% FOREACH routine_name IN split_routines %]
290
                [% IF routine_name == split_rule.split_routine %]
300
                [% IF routine_name == split_rule.split_routine %]
Lines 325-346 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
325
            </div>
335
            </div>
326
        </li>
336
        </li>
327
    </ol>
337
    </ol>
328
  </fieldset>
329
    <fieldset class="action">
338
    <fieldset class="action">
330
        <input type="submit" value="Save" />
339
        <input type="submit" class="principal" value="Save" />
331
        <a class="cancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
340
        <a class="cancel" href="/cgi-bin/koha/admin/classsources.pl">Cancel</a>
332
    </fieldset>
341
    </fieldset>
342
  </fieldset>
333
</form>
343
</form>
334
[% END %]
344
[% END %]
335
345
336
[% IF op == 'list' %]
346
[% IF op == 'list' %]
337
347
338
<div id="toolbar" class="btn-toolbar">
348
<div id="toolbar" class="btn-toolbar">
339
    <a class="btn btn-default" id="newsource" href="[% script_name | url %]?op=add_source"><i class="fa fa-plus"></i> New classification source</a>
349
    <a class="btn btn-default pat" id="newsource" href="[% script_name | url %]?op=add_source"><i class="fa fa-plus"></i> New classification source</a>
340
    <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_sort_rule"><i class="fa fa-plus"></i> New filing rule</a>
350
    <a class="btn btn-default pat" id="newrule" href="[% script_name | url %]?op=add_sort_rule"><i class="fa fa-plus"></i> New filing rule</a>
341
    <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_split_rule"><i class="fa fa-plus"></i> New splitting rule</a>
351
    <a class="btn btn-default pat" id="newrule" href="[% script_name | url %]?op=add_split_rule"><i class="fa fa-plus"></i> New splitting rule</a>
342
</div>
352
</div>
343
<h1>Classification configuration</h1>
353
<h1>Classification configuration</h1>
354
<div id="searchresults">
344
<h2>Classification sources</h2>
355
<h2>Classification sources</h2>
345
<table>
356
<table>
346
  <tr>
357
  <tr>
Lines 359-372 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
359
    <td>[% class_source.class_sort_rule | html %]</td>
370
    <td>[% class_source.class_sort_rule | html %]</td>
360
    <td>[% class_source.class_split_rule | html %]</td>
371
    <td>[% class_source.class_split_rule | html %]</td>
361
    <td class="actions">
372
    <td class="actions">
362
      <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=add_source&amp;cn_source=[% class_source.cn_source | uri %]"><i class="fa fa-pencil"></i> Edit</a>
373
      <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=add_source&amp;cn_source=[% class_source.cn_source | uri %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
363
      <a class="btn btn-default btn-xs delete_class_source" href="[% script_name | url %]?op=delete_source_confirmed&amp;cn_source=[% class_source.cn_source | uri%]"><i class="fa fa-trash"></i> Delete</a>
374
      <a class="btn btn-default btn-xs delete_class_source" href="[% script_name | url %]?op=delete_source_confirmed&amp;cn_source=[% class_source.cn_source | uri%]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
364
    </td>
375
    </td>
365
  </tr>
376
  </tr>
366
  [% END %]
377
  [% END %]
367
</table>
378
</table>
379
</div>
368
380
369
<h2>Classification filing rules</h2>
381
<div id="searchresults">
382
<h3>Classification filing rules</h3>
370
<table>
383
<table>
371
  <tr>
384
  <tr>
372
    <th>Code</th>
385
    <th>Code</th>
Lines 380-393 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
380
    <td>[% rule.description |html | html %]</td>
393
    <td>[% rule.description |html | html %]</td>
381
    <td>[% rule.sort_routine | html %]</td>
394
    <td>[% rule.sort_routine | html %]</td>
382
    <td class="actions">
395
    <td class="actions">
383
      <a class="btn btn-default btn-xs" href="[% script_name | html %]?op=add_sort_rule&amp;class_sort_rule=[% rule.class_sort_rule |url %]"><i class="fa fa-pencil"></i> Edit</a>
396
      <a class="btn btn-default btn-xs" href="[% script_name | html %]?op=add_sort_rule&amp;class_sort_rule=[% rule.class_sort_rule |url %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
384
      <a class="btn btn-default btn-xs delete_sort_rule" href="[% script_name | html %]?op=delete_sort_rule&amp;class_sort_rule=[% rule.class_sort_rule |url %]"><i class="fa fa-trash"></i> Delete</a>
397
      <a class="btn btn-default btn-xs delete_sort_rule" href="[% script_name | html %]?op=delete_sort_rule&amp;class_sort_rule=[% rule.class_sort_rule |url %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
385
    </td>
398
    </td>
386
  </tr>
399
  </tr>
387
  [% END %]
400
  [% END %]
388
</table>
401
</table>
402
</div>
389
403
390
<h2>Classification splitting rules</h2>
404
<div id="searchresults">
405
<h3>Classification splitting rules</h3>
391
<table>
406
<table>
392
  <tr>
407
  <tr>
393
    <th>Code</th>
408
    <th>Code</th>
Lines 401-412 Classification sources &rsaquo; Administration &rsaquo; Koha Link Here
401
    <td>[% rule.description | html %]</td>
416
    <td>[% rule.description | html %]</td>
402
    <td>[% rule.split_routine | html %]</td>
417
    <td>[% rule.split_routine | html %]</td>
403
    <td class="actions">
418
    <td class="actions">
404
      <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=add_split_rule&amp;class_split_rule=[% rule.class_split_rule | uri %]"><i class="fa fa-pencil"></i> Edit</a>
419
      <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=add_split_rule&amp;class_split_rule=[% rule.class_split_rule | uri %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
405
      <a class="btn btn-default btn-xs delete_split_rule" href="[% script_name | url %]?op=delete_split_rule&amp;class_split_rule=[% rule.class_split_rule | uri %]"><i class="fa fa-trash"></i> Delete</a>
420
      <a class="btn btn-default btn-xs delete_split_rule" href="[% script_name | url %]?op=delete_split_rule&amp;class_split_rule=[% rule.class_split_rule | uri %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
406
    </td>
421
    </td>
407
  </tr>
422
  </tr>
408
  [% END %]
423
  [% END %]
409
</table>
424
</table>
425
</div>
410
426
411
427
412
[% END %]
428
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tt (-3 / +11 lines)
Lines 2-14 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Clone circulation and fine rules &rsaquo; Circulation and fine rules &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Clone circulation and fine rules &rsaquo; Circulation and fine rules &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="admin_clone-rules" class="admin">
12
<body id="admin_clone-rules" class="admin">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'prefs-admin-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 27-32 Link Here
27
            </a>
29
            </a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 45-51 Link Here
45
	[% ELSE %]
53
	[% ELSE %]
46
	    <div class="dialog message"><p>The rules have been cloned.</p></div>
54
	    <div class="dialog message"><p>The rules have been cloned.</p></div>
47
	[% END %]
55
	[% END %]
48
    <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to circulation and fine rules</a>
56
    <a href="/cgi-bin/koha/admin/smart-rules.pl" id="lientype">Return to circulation and fine rules</a>
49
    [% ELSE %]
57
    [% ELSE %]
50
58
51
    <p class="help">Use carefully! If the destination library already has circulation and fine rules, they will be deleted without warning!</p>
59
    <p class="help">Use carefully! If the destination library already has circulation and fine rules, they will be deleted without warning!</p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt (-4 / +12 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE TablesSettings %]
3
[% USE TablesSettings %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% SET panel_id = 0 %]
8
[% SET panel_id = 0 %]
6
[% BLOCK pagelist %]
9
[% BLOCK pagelist %]
7
    [% IF module.keys and module.keys.size > 0 %]
10
    [% IF module.keys and module.keys.size > 0 %]
Lines 27-33 Link Here
27
                            <div class="datatable_config" id="[% table_id | html %]">
30
                            <div class="datatable_config" id="[% table_id | html %]">
28
                                <input type="hidden" name="table_id" value="[% table_id| html %]" />
31
                                <input type="hidden" name="table_id" value="[% table_id| html %]" />
29
                                [% IF pagename == 'additem' AND tablename == 'itemst' %]
32
                                [% IF pagename == 'additem' AND tablename == 'itemst' %]
30
                                    <div class="alert">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div>
33
                                    <div class="alert">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a id="lientype" href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div>
31
                                [% END %]
34
                                [% END %]
32
                                <table>
35
                                <table>
33
                                    <caption>
36
                                    <caption>
Lines 143-149 Link Here
143
                            </div>
146
                            </div>
144
                        [% END %]
147
                        [% END %]
145
                        <fieldset class="action">
148
                        <fieldset class="action">
146
                            <input type="submit" value="Save" />
149
                            <input type="submit" class="principal" value="Save" />
147
                        </fieldset>
150
                        </fieldset>
148
                    [% ELSE %]
151
                    [% ELSE %]
149
                        There is no table to configure for this module.
152
                        There is no table to configure for this module.
Lines 177-184 Link Here
177
180
178
<body id="admin_tables" class="admin">
181
<body id="admin_tables" class="admin">
179
182
180
    [% INCLUDE 'header.inc' %]
183
    [% INCLUDE 'header.inc' form=formulaire %]
181
    [% INCLUDE 'prefs-admin-search.inc' %]
182
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
184
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
183
    <ol>
185
    <ol>
184
        <li>
186
        <li>
Lines 193-198 Link Here
193
            </a>
195
            </a>
194
        </li>
196
        </li>
195
    </ol>
197
    </ol>
198
        <ol>
199
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
200
        </ol>
201
        <ol>
202
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
203
        </ol>
196
</nav>
204
</nav>
197
205
198
    <div class="main container-fluid">
206
    <div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt (-13 / +24 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
    [% IF op =='add_form' %]
10
    [% IF op =='add_form' %]
Lines 19-26 Link Here
19
</head>
22
</head>
20
23
21
<body id="admin_credit_types" class="admin">
24
<body id="admin_credit_types" class="admin">
22
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' form=formulaire %]
23
[% INCLUDE 'prefs-admin-search.inc' %]
24
26
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <ol>
28
    <ol>
Lines 53-58 Link Here
53
            </li>
55
            </li>
54
        [% END %]
56
        [% END %]
55
    </ol>
57
    </ol>
58
        <ol>
59
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
60
        </ol>
61
        <ol>
62
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
63
        </ol>
56
</nav>
64
</nav>
57
65
58
<div class="main container-fluid">
66
<div class="main container-fluid">
Lines 79-87 Link Here
79
87
80
                [% IF op == 'add_form' %]
88
                [% IF op == 'add_form' %]
81
                    [% IF credit_type %]
89
                    [% IF credit_type %]
82
                        <h1>Modify a credit type</h1>
90
                        <h2>Modify a credit type</h2>
83
                    [% ELSE %]
91
                    [% ELSE %]
84
                        <h1>New credit type</h1>
92
                        <h2>New credit type</h2>
85
                    [% END %]
93
                    [% END %]
86
94
87
                    <form action="/cgi-bin/koha/admin/credit_types.pl" name="Aform" method="post" class="validated">
95
                    <form action="/cgi-bin/koha/admin/credit_types.pl" name="Aform" method="post" class="validated">
Lines 143-164 Link Here
143
                                    [% END %]
151
                                    [% END %]
144
                                </li>
152
                                </li>
145
                            </ol>
153
                            </ol>
146
                        </fieldset>
147
148
                        <fieldset class="action">
154
                        <fieldset class="action">
149
                            <button id="save_credit_type" class="btn btn-default">Save</button>
155
                            <button id="save_credit_type" class="btn btn-default principal">Save</button>
150
                            <a class="cancel" href="/cgi-bin/koha/admin/credit_types.pl">Cancel</a>
156
                            <a class="cancel" href="/cgi-bin/koha/admin/credit_types.pl">Cancel</a>
151
                        </fieldset>
157
                        </fieldset>
158
                        </fieldset>
159
152
                    </form>
160
                    </form>
153
                [% END %]
161
                [% END %]
154
162
155
                [% IF op == 'list' %]
163
                [% IF op == 'list' %]
156
                    <div id="toolbar" class="btn-toolbar">
164
                    <div id="toolbar" class="btn-toolbar">
157
                        <a class="btn btn-default" id="newcredittype" href="/cgi-bin/koha/admin/credit_types.pl?op=add_form"><i class="fa fa-plus"></i> New credit type</a>
165
                    <div>
158
                    </div>
166
                        <a class="pat" id="newcredittype" href="/cgi-bin/koha/admin/credit_types.pl?op=add_form"><i class="fa fa-plus"></i> New credit type</a>
167
                    </div></div>
159
168
160
                    <h1>Account credit types</h1>
169
                    <h2>Account credit types</h2>
161
                    [% IF credit_types.count %]
170
                    [% IF credit_types.count %]
171
                    <div id="searchresults">
162
                        <table id="table_credit_types">
172
                        <table id="table_credit_types">
163
                            <thead>
173
                            <thead>
164
                                <th>Archived</th>
174
                                <th>Archived</th>
Lines 198-217 Link Here
198
                                    </td>
208
                                    </td>
199
                                    <td class="actions">
209
                                    <td class="actions">
200
                                        [% IF !credit_type.archived %]
210
                                        [% IF !credit_type.archived %]
201
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/credit_types.pl?op=add_form&amp;code=[% credit_type.code | uri %]&type=credit"><i class="fa fa-pencil"></i> Edit</a>
211
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/credit_types.pl?op=add_form&amp;code=[% credit_type.code | uri %]&type=credit" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
202
                                        [% END %]
212
                                        [% END %]
203
                                        [% IF !credit_type.is_system && !credit_type.archived %]
213
                                        [% IF !credit_type.is_system && !credit_type.archived %]
204
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/credit_types.pl?op=archive&amp;code=[% credit_type.code | uri %]"><i class="fa fa-archive"></i> Archive</a>
214
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/credit_types.pl?op=archive&amp;code=[% credit_type.code | uri %]" id="lientype"><i class="fa fa-archive"></i> Archive</a>
205
                                        [% END %]
215
                                        [% END %]
206
216
207
                                        [% IF !credit_type.is_system && credit_type.archived %]
217
                                        [% IF !credit_type.is_system && credit_type.archived %]
208
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/credit_types.pl?op=unarchive&amp;code=[% credit_type.code | uri %]"><i class="fa fa-undo"></i> Restore</a>
218
                                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/credit_types.pl?op=unarchive&amp;code=[% credit_type.code | uri %]" id="lientype"><i class="fa fa-undo"></i> Restore</a>
209
                                        [% END %]
219
                                        [% END %]
210
                                    </td>
220
                                    </td>
211
                                </tr>
221
                                </tr>
212
                                [% END %]
222
                                [% END %]
213
                            </tbody>
223
                            </tbody>
214
                        </table>
224
                        </table>
225
                    </div>
215
                    [% ELSE %]
226
                    [% ELSE %]
216
                        <div class="dialog message">
227
                        <div class="dialog message">
217
                            There are no account credit types defined.
228
                            There are no account credit types defined.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-11 / +24 lines)
Lines 4-9 Link Here
4
[% USE TablesSettings %]
4
[% USE TablesSettings %]
5
[% USE HtmlTags %]
5
[% USE HtmlTags %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'currencies-admin-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% IF op == 'add_form' %][% IF currency %]Modify currency '[% currency.currency | html %]'[% ELSE %]New currency[% END %][% END %]
11
<title>[% IF op == 'add_form' %][% IF currency %]Modify currency '[% currency.currency | html %]'[% ELSE %]New currency[% END %][% END %]
9
[% IF op == 'delete_confirm' %]Confirm deletion of currency '[% currency.currency | html %]'[% END %]
12
[% IF op == 'delete_confirm' %]Confirm deletion of currency '[% currency.currency | html %]'[% END %]
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="admin_currency" class="admin">
18
<body id="admin_currency" class="admin">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'currencies-admin-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 55-60 Link Here
55
            </li>
57
            </li>
56
        [% END %]
58
        [% END %]
57
    </ol>
59
    </ol>
60
        <ol>
61
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
62
        </ol>
63
        <ol>
64
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
65
        </ol>
58
</nav>
66
</nav>
59
67
60
<div class="main container-fluid">
68
<div class="main container-fluid">
Lines 64-71 Link Here
64
72
65
[% IF op == 'list' %]
73
[% IF op == 'list' %]
66
<div id="toolbar" class="btn-toolbar">
74
<div id="toolbar" class="btn-toolbar">
67
    <a class="btn btn-default" id="newcurrency" href="/cgi-bin/koha/admin/currency.pl?op=add_form"><i class="fa fa-plus"></i> New currency</a>
75
<div>
68
</div>
76
    <a class="pat" id="newcurrency" href="/cgi-bin/koha/admin/currency.pl?op=add_form"><i class="fa fa-plus"></i> New currency</a>
77
</div></div>
69
[% END %]
78
[% END %]
70
79
71
[% FOR m IN messages %]
80
[% FOR m IN messages %]
Lines 149-160 Link Here
149
                <span id="hint" class="hint"></span>
158
                <span id="hint" class="hint"></span>
150
            </li>
159
            </li>
151
        </ol>
160
        </ol>
152
    </fieldset>
153
154
    <fieldset class="action">
161
    <fieldset class="action">
155
        <input type="submit" value="Submit" />
162
        <input class="principal" type="submit" value="Submit" />
156
        <a href="/cgi-bin/koha/admin/currency.pl" class="cancel">Cancel</a>
163
        <a href="/cgi-bin/koha/admin/currency.pl" class="cancel">Cancel</a>
157
    </fieldset>
164
    </fieldset>
165
    </fieldset>
166
158
    </form>
167
    </form>
159
168
160
[% END %]
169
[% END %]
Lines 162-168 Link Here
162
[% IF op =='delete_confirm' %]
171
[% IF op =='delete_confirm' %]
163
    [% IF nb_of_orders or nb_of_vendors %]
172
    [% IF nb_of_orders or nb_of_vendors %]
164
    <div class="dialog alert">
173
    <div class="dialog alert">
165
        <h1>Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</h1>
174
        <h2>Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</h2>
166
        <p>
175
        <p>
167
            [% IF nb_of_orders %]
176
            [% IF nb_of_orders %]
168
                <span>This currency is used by [% nb_of_orders | html %] orders.</span>
177
                <span>This currency is used by [% nb_of_orders | html %] orders.</span>
Lines 186-191 Link Here
186
                <td>[% currency.rate | html %]</td>
195
                <td>[% currency.rate | html %]</td>
187
            </tr>
196
            </tr>
188
        </table>
197
        </table>
198
189
        <form action="/cgi-bin/koha/admin/currency.pl" method="post">
199
        <form action="/cgi-bin/koha/admin/currency.pl" method="post">
190
            <input type="hidden" name="op" value="delete_confirmed" />
200
            <input type="hidden" name="op" value="delete_confirmed" />
191
            <input type="hidden" name="currency_code" value="[% currency.currency | html %]" />
201
            <input type="hidden" name="currency_code" value="[% currency.currency | html %]" />
Lines 200-206 Link Here
200
210
201
[% IF op == 'list' %]
211
[% IF op == 'list' %]
202
212
203
<h1>Currencies and exchange rates</h1>
213
<h2>Currencies and exchange rates</h2>
204
214
205
    [% IF currencies and no_active_currency %]
215
    [% IF currencies and no_active_currency %]
206
        <div class="dialog alert"><h3>No active currency is defined</h3><p>Please edit one currency and mark it as active.</p></div>
216
        <div class="dialog alert"><h3>No active currency is defined</h3><p>Please edit one currency and mark it as active.</p></div>
Lines 210-215 Link Here
210
        You searched for [% searchfield | html %]</span>
220
        You searched for [% searchfield | html %]</span>
211
    [% END %]
221
    [% END %]
212
222
223
    <div id="searchresults">
224
213
    <table id='currencies-table'>
225
    <table id='currencies-table'>
214
      <thead>
226
      <thead>
215
        <tr>
227
        <tr>
Lines 234-246 Link Here
234
            <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
246
            <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
235
            <td>[% IF currency.archived %]Yes[% END %]</td>
247
            <td>[% IF currency.archived %]Yes[% END %]</td>
236
            <td class="actions">
248
            <td class="actions">
237
              <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=add_form&amp;currency_code=[% currency.currency | html %]"><i class="fa fa-pencil"></i> Edit</a>
249
              <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=add_form&amp;currency_code=[% currency.currency | html %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
238
              <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=delete_confirm&amp;currency_code=[% currency.currency | html %]"><i class="fa fa-trash"></i> Delete</a>
250
              <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=delete_confirm&amp;currency_code=[% currency.currency | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
239
            </td>
251
            </td>
240
          </tr>
252
          </tr>
241
        [% END %]
253
        [% END %]
242
      </tbody>
254
      </tbody>
243
    </table>
255
    </table>
256
    </div>
244
257
245
    <br />
258
    <br />
246
    <div class="hint">
259
    <div class="hint">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt (-14 / +25 lines)
Lines 3-8 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE Price %]
4
[% USE Price %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'prefs-admin-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
    [% IF op =='add_form' %]
11
    [% IF op =='add_form' %]
Lines 17-24 Link Here
17
</head>
20
</head>
18
21
19
<body id="admin_debit_types" class="admin">
22
<body id="admin_debit_types" class="admin">
20
[% INCLUDE 'header.inc' %]
23
[% INCLUDE 'header.inc' form=formulaire %]
21
[% INCLUDE 'prefs-admin-search.inc' %]
22
24
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
    <ol>
26
    <ol>
Lines 51-56 Link Here
51
            </li>
53
            </li>
52
        [% END %]
54
        [% END %]
53
    </ol>
55
    </ol>
56
        <ol>
57
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
58
        </ol>
59
        <ol>
60
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
61
        </ol>
54
</nav>
62
</nav>
55
63
56
<div class="main container-fluid">
64
<div class="main container-fluid">
Lines 77-85 Link Here
77
85
78
                [% IF op == 'add_form' %]
86
                [% IF op == 'add_form' %]
79
                    [% IF debit_type %]
87
                    [% IF debit_type %]
80
                        <h1>Modify a debit type</h1>
88
                        <h2>Modify a debit type</h2>
81
                    [% ELSE %]
89
                    [% ELSE %]
82
                        <h1>New debit type</h1>
90
                        <h2>New debit type</h2>
83
                    [% END %]
91
                    [% END %]
84
92
85
                    <form action="/cgi-bin/koha/admin/debit_types.pl" name="Aform" method="post" class="validated">
93
                    <form action="/cgi-bin/koha/admin/debit_types.pl" name="Aform" method="post" class="validated">
Lines 134-155 Link Here
134
                                    <div class="hint">Select 'All libraries' if this debit type should be available at all libraries. Otherwise select libraries you want to associate debit type with.</div>
142
                                    <div class="hint">Select 'All libraries' if this debit type should be available at all libraries. Otherwise select libraries you want to associate debit type with.</div>
135
                                </li>
143
                                </li>
136
                            </ol>
144
                            </ol>
137
                        </fieldset>
138
139
                        <fieldset class="action">
145
                        <fieldset class="action">
140
                            <button id="save_debit_type" class="btn btn-default">Save</button>
146
                            <button id="save_debit_type" class="btn btn-default principal">Save</button>
141
                            <a class="cancel" href="/cgi-bin/koha/admin/debit_types.pl">Cancel</a>
147
                            <a class="cancel" href="/cgi-bin/koha/admin/debit_types.pl">Cancel</a>
142
                        </fieldset>
148
                        </fieldset>
149
                        </fieldset>
150
143
                    </form>
151
                    </form>
144
                [% END %]
152
                [% END %]
145
153
146
                [% IF op == 'list' %]
154
                [% IF op == 'list' %]
147
                    <div id="toolbar" class="btn-toolbar">
155
                    <div id="toolbar" class="btn-toolbar">
148
                        <a class="btn btn-default" id="newdebittype" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form"><i class="fa fa-plus"></i> New debit type</a>
156
                    <div>
149
                    </div>
157
                        <a class="pat" id="newdebittype" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form"><i class="fa fa-plus"></i> New debit type</a>
158
                    </div></div>
150
159
151
                    <h1>Account debit types</h1>
160
                    <h2>Account debit types</h2>
152
                    [% IF debit_types.count %]
161
                    [% IF debit_types.count %]
162
                    <div id="searchresults">
153
                        <table id="table_debit_types">
163
                        <table id="table_debit_types">
154
                            <thead>
164
                            <thead>
155
                                <th>Archived</th>
165
                                <th>Archived</th>
Lines 199-217 Link Here
199
                                    </td>
209
                                    </td>
200
                                    <td class="actions">
210
                                    <td class="actions">
201
                                        [% IF !debit_type.is_system && !debit_type.archived %]
211
                                        [% IF !debit_type.is_system && !debit_type.archived %]
202
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form&amp;code=[% debit_type.code | uri %]&type=debit"><i class="fa fa-pencil"></i> Edit</a>
212
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form&amp;code=[% debit_type.code | uri %]&type=debit" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
203
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=archive&amp;code=[% debit_type.code | uri %]"><i class="fa fa-archive"></i> Archive</a>
213
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=archive&amp;code=[% debit_type.code | uri %]" id="lientype"><i class="fa fa-archive"></i> Archive</a>
204
                                        [% ELSIF debit_type.archived %]
214
                                        [% ELSIF debit_type.archived %]
205
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=unarchive&amp;code=[% debit_type.code | uri %]"><i class="fa fa-undo"></i> Restore</a>
215
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=unarchive&amp;code=[% debit_type.code | uri %]" id="lientype"><i class="fa fa-undo"></i> Restore</a>
206
                                        [% END %]
216
                                        [% END %]
207
                                    </td>
217
                                    </td>
208
                                </tr>
218
                                </tr>
209
                                [% END %]
219
                                [% END %]
210
                            </tbody>
220
                            </tbody>
211
                        </table>
221
                        </table>
222
                    </div>
212
                    [% ELSE %]
223
                    [% ELSE %]
213
                        <div class="dialog message">
224
                        <div class="dialog message">
214
                            There are no account debit types defined. <a href="/cgi-bin/koha/admin/debit_types.pl?op=add_form">Create new debit type</a>
225
                            There are no account debit types defined. <a href="/cgi-bin/koha/admin/debit_types.pl?op=add_form" id="lientype">Create new debit type</a>
215
                        </div>
226
                        </div>
216
                    [% END %]
227
                    [% END %]
217
                [% END %]
228
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt (-2 / +10 lines)
Lines 2-7 Link Here
2
[% USE Branches %]
2
[% USE Branches %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'desks-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
    [% IF op =='add_form' %]
10
    [% IF op =='add_form' %]
Lines 19-26 Link Here
19
</head>
22
</head>
20
23
21
<body id="admin_desks" class="admin">
24
<body id="admin_desks" class="admin">
22
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' form=formulaire %]
23
[% INCLUDE 'desks-admin-search.inc' %]
24
26
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <ol>
28
    <ol>
Lines 63-68 Link Here
63
        </li>
65
        </li>
64
        [% END %]
66
        [% END %]
65
    </ol>
67
    </ol>
68
        <ol>
69
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
70
        </ol>
71
        <ol>
72
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
73
        </ol>
66
</nav>
74
</nav>
67
75
68
<div class="main container-fluid">
76
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt (-39 / +67 lines)
Lines 1-35 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
7
4
[% BLOCK pluginlist %]
8
[% BLOCK pluginlist %]
5
<div class="pluginlist">
9
<div class="pluginlist">
6
[% FOREACH plugin IN plugins %]
10
    [% FOREACH plugin IN plugins %]
7
    <div class="plugin">
11
        <div class="plugin">
8
        <div class="pluginname">
12
            <div class="pluginname">
9
            [% IF plugin.enabled %]<input type="checkbox" checked="checked" id="checkbox_[% type | html %][% plugin.name | html %]">[% ELSE %]<input type="checkbox" id="checkbox_[% type | html %][% plugin.name | html %]">[% END %]
13
                [% IF plugin.enabled %]
10
            <label class='pluginlabel' for="checkbox_[% type | html %][% plugin.name | html %]">[% plugin.name | html %]</label></div>
14
                    <input type="checkbox" checked="checked" id="checkbox_[% type | html %][% plugin.name | html %]">
11
        <div class="plugindesc">
15
                [% ELSE %]
12
        [% SWITCH plugin.name %]
16
                    <input type="checkbox" id="checkbox_[% type | html %][% plugin.name | html %]">
13
        [% CASE 'AuthorityFile' %]
17
                [% END %]
14
            <span>Suggest authorities which are relevant to the term the user searched for.</span>
18
15
        [% CASE 'ExplodedTerms' %]
19
                <label class='pluginlabel' for="checkbox_[% type | html %][% plugin.name | html %]">[% plugin.name | html %]</label>
16
            <span>Suggest that patrons expand their searches to include broader/narrower/related terms.</span>
20
            </div>
17
        [% CASE 'LibrisSpellcheck' %]
21
18
            <span>Use the LIBRIS spellcheck API.</span>
22
            <div class="plugindesc">
19
        [% END %]
23
                [% SWITCH plugin.name %]
24
                    [% CASE 'AuthorityFile' %]
25
                        <span>Suggest authorities which are relevant to the term the user searched for.</span>
26
                    [% CASE 'ExplodedTerms' %]
27
                        <span>Suggest that patrons expand their searches to include broader/narrower/related terms.</span>
28
                    [% CASE 'LibrisSpellcheck' %]
29
                        <span>Use the LIBRIS spellcheck API.</span>
30
                [% END %]
31
            </div>
20
        </div>
32
        </div>
21
    </div>
33
    [% END %]
22
[% END %]
23
</div>
34
</div>
24
[% END %]
35
[% END %]
36
25
[% INCLUDE 'doc-head-open.inc' %]
37
[% INCLUDE 'doc-head-open.inc' %]
26
<title>Did you mean? &rsaquo; Administration &rsaquo; Koha</title>
38
<title>Did you mean? &rsaquo; Administration &rsaquo; Koha</title>
27
[% INCLUDE 'doc-head-close.inc' %]
39
[% INCLUDE 'doc-head-close.inc' %]
40
28
</head>
41
</head>
29
42
30
<body id="admin_didyoumean" class="admin">
43
<body id="admin_didyoumean" class="admin">
31
[% INCLUDE 'header.inc' %]
44
[% INCLUDE 'header.inc' form=formulaire %]
32
[% INCLUDE 'prefs-admin-search.inc' %]
33
45
34
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
46
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
35
    <ol>
47
    <ol>
Lines 45-50 Link Here
45
            </a>
57
            </a>
46
        </li>
58
        </li>
47
    </ol>
59
    </ol>
60
61
    <ol>
62
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
63
    </ol>
64
65
    <ol>
66
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
67
    </ol>
48
</nav>
68
</nav>
49
69
50
<div class="main container-fluid">
70
<div class="main container-fluid">
Lines 52-78 Link Here
52
        <div class="col-sm-10 col-sm-push-2">
72
        <div class="col-sm-10 col-sm-push-2">
53
            <main>
73
            <main>
54
74
55
        <h1>Did you mean?</h1>
75
                <h2>Did you mean?</h2>
56
        <noscript><div class="dialog alert"><strong>Please enable Javascript:</strong>
76
57
            Configuring 'Did you mean?' plugins requires Javascript. If
77
                <noscript>
58
            you are unable to use Javascript, you may be able to enter the
78
                    <div class="dialog alert">
59
            configuration (which is stored in JSON in the OPACdidyoumean system preferences)
79
                        <strong>Please enable Javascript:</strong>
60
            in the Local preferences tab in
80
                        Configuring 'Did you mean?' plugins requires Javascript. If
61
            the system preference editor, but this is unsupported, not
81
                        you are unable to use Javascript, you may be able to enter the
62
            recommended, and likely will not work.</div></noscript>
82
                        configuration (which is stored in JSON in the OPACdidyoumean system preferences)
63
        <div id="didyoumeanlegend">
83
                        in the Local preferences tab in
64
            Please put the 'Did you mean?' plugins in order by significance, from
84
                        the system preference editor, but this is unsupported, not
65
            most significant to least significant, and check the box to enable those
85
                        recommended, and likely will not work.
66
            plugins that you want to use.
86
                    </div>
67
        </div>
87
                </noscript>
68
        <form action="/cgi-bin/koha/admin/didyoumean.pl" method="post">
69
            <fieldset id="didyoumeanopac">
70
                <legend>OPAC</legend>
71
                [% PROCESS pluginlist plugins=OPACpluginlist type='opac' %]
72
            </fieldset>
73
            <fieldset class="action"><button class="save-all submit" type="submit">Save configuration</button> <a href="/cgi-bin/koha/admin/didyoumean.pl" class="force_reload cancel">Cancel</a></fieldset>
74
        </form>
75
88
89
                <div id="didyoumeanlegend">
90
                    Please put the 'Did you mean?' plugins in order by significance, from
91
                    most significant to least significant, and check the box to enable those
92
                    plugins that you want to use.
93
                </div>
94
95
                <form action="/cgi-bin/koha/admin/didyoumean.pl" method="post">
96
                    <fieldset id="didyoumeanopac">
97
                        <h3>OPAC</h3>
98
                        [% PROCESS pluginlist plugins=OPACpluginlist type='opac' %]
99
                        <button class="save-all submit principal" type="submit">Save configuration</button>
100
                        <a href="/cgi-bin/koha/admin/didyoumean.pl" class="force_reload cancel">Cancel</a>
101
                    </fieldset>
102
                </form>
76
            </main>
103
            </main>
77
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
104
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
78
105
Lines 81-87 Link Here
81
                [% INCLUDE 'admin-menu.inc' %]
108
                [% INCLUDE 'admin-menu.inc' %]
82
            </aside>
109
            </aside>
83
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
110
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
84
     </div> <!-- /.row -->
111
    </div> <!-- /.row -->
85
112
86
[% MACRO jsinclude BLOCK %]
113
[% MACRO jsinclude BLOCK %]
87
    [% Asset.js("js/admin-menu.js") | $raw %]
114
    [% Asset.js("js/admin-menu.js") | $raw %]
Lines 131-134 Link Here
131
        }
158
        }
132
    </script>
159
    </script>
133
[% END %]
160
[% END %]
161
134
[% INCLUDE 'intranet-bottom.inc' %]
162
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt (-14 / +22 lines)
Lines 2-7 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
[% IF acct_form %]
10
[% IF acct_form %]
Lines 17-24 EDI accounts &rsaquo; Administration &rsaquo; Koha Link Here
17
[% INCLUDE 'doc-head-close.inc' %]
20
[% INCLUDE 'doc-head-close.inc' %]
18
</head>
21
</head>
19
<body id="admin_edi_acct" class="admin">
22
<body id="admin_edi_acct" class="admin">
20
[% INCLUDE 'header.inc' %]
23
[% INCLUDE 'header.inc' form=formulaire %]
21
[% INCLUDE 'prefs-admin-search.inc' %]
22
24
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
    <ol>
26
    <ol>
Lines 65-70 EDI accounts &rsaquo; Administration &rsaquo; Koha Link Here
65
            </li>
67
            </li>
66
        [% END %]
68
        [% END %]
67
    </ol>
69
    </ol>
70
        <ol>
71
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
72
        </ol>
73
        <ol>
74
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
75
        </ol>
68
</nav>
76
</nav>
69
77
70
<div class="main container-fluid">
78
<div class="main container-fluid">
Lines 80-91 EDI accounts &rsaquo; Administration &rsaquo; Koha Link Here
80
[% END %]
88
[% END %]
81
89
82
[% IF display %]
90
[% IF display %]
83
    <div id="toolbar" class="btn-toolbar">
91
    <div id="toolbar" class="btn-toolbar"><div>
84
    <a class="btn btn-default" id="newediacct" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form">
92
        <a class="pat" id="newediacct" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form"><i class="fa fa-plus"></i> New account</a>
85
         <i class="fa fa-plus"></i>
93
    </div></div>
86
         New account
87
    </a>
88
    </div>
89
[% END %]
94
[% END %]
90
95
91
[% IF acct_form %]
96
[% IF acct_form %]
Lines 260-277 EDI accounts &rsaquo; Administration &rsaquo; Koha Link Here
260
    </div>
265
    </div>
261
  </li>
266
  </li>
262
  </ol>
267
  </ol>
263
  </fieldset>
264
265
  <fieldset class="action">
268
  <fieldset class="action">
266
    <input type="submit" value="Submit" />
269
    <input type="submit" class="principal" value="Submit" />
267
    <a href="/cgi-bin/koha/admin/edi_accounts.pl" class="cancel">Cancel</a>
270
    <a href="/cgi-bin/koha/admin/edi_accounts.pl" class="cancel">Cancel</a>
268
  </fieldset>
271
  </fieldset>
272
273
  </fieldset>
269
</form>
274
</form>
270
275
271
[% END %]
276
[% END %]
272
[% IF delete_confirm %]
277
[% IF delete_confirm %]
273
<div class="dialog alert">
278
<div class="dialog alert">
274
<h1>Delete this account?</h1>
279
<h2>Delete this account?</h2>
275
<table>
280
<table>
276
    <tr>
281
    <tr>
277
    <th>Vendor</th>
282
    <th>Vendor</th>
Lines 300-306 EDI accounts &rsaquo; Administration &rsaquo; Koha Link Here
300
[% END %]
305
[% END %]
301
[% IF display %]
306
[% IF display %]
302
[% IF ( ediaccounts ) %]
307
[% IF ( ediaccounts ) %]
303
<h1>Vendor EDI accounts</h1>
308
<h2>Vendor EDI accounts</h2>
309
310
<div id="searchresults">
304
311
305
    <table>
312
    <table>
306
    <tr>
313
    <tr>
Lines 370-380 EDI accounts &rsaquo; Administration &rsaquo; Koha Link Here
370
         <td>No</td>
377
         <td>No</td>
371
      [% END %]
378
      [% END %]
372
      <td class="actions">
379
      <td class="actions">
373
          <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form&id=[% account.id | html %]"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_accounts.pl?op=delete_confirm&id=[% account.id | html %]"><i class="fa fa-trash"></i> Delete</a>
380
          <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form&id=[% account.id | html %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_accounts.pl?op=delete_confirm&id=[% account.id | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
374
      </td>
381
      </td>
375
    </tr>
382
    </tr>
376
    [% END %]
383
    [% END %]
377
    </table>
384
    </table>
385
    </div>
378
    [% ELSE %]
386
    [% ELSE %]
379
        <div class="dialog message">
387
        <div class="dialog message">
380
            There are no EDI accounts.
388
            There are no EDI accounts.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt (-15 / +21 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
[% IF ean_form %]
9
[% IF ean_form %]
Lines 16-23 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
16
[% INCLUDE 'doc-head-close.inc' %]
19
[% INCLUDE 'doc-head-close.inc' %]
17
</head>
20
</head>
18
<body id="admin_edi_ean" class="admin">
21
<body id="admin_edi_ean" class="admin">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form=formulaire %]
20
[% INCLUDE 'prefs-admin-search.inc' %]
21
23
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <ol>
25
    <ol>
Lines 60-65 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
60
            </li>
62
            </li>
61
        [% END %]
63
        [% END %]
62
    </ol>
64
    </ol>
65
        <ol>
66
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
67
        </ol>
68
        <ol>
69
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
70
        </ol>
63
</nav>
71
</nav>
64
72
65
<div class="main container-fluid">
73
<div class="main container-fluid">
Lines 68-79 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
68
            <main>
76
            <main>
69
77
70
[% IF display %]
78
[% IF display %]
71
    <div id="toolbar" class="btn-toolbar">
79
    <div id="toolbar" class="btn-toolbar"><div>
72
    <a class="btn btn-default" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form">
80
        <a class="pat" id="newediean" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form"><i class="fa fa-plus"></i> New EAN</a>
73
         <i class="fa fa-plus"></i>
81
    </div></div>
74
         New EAN
75
    </a>
76
    </div>
77
[% END %]
82
[% END %]
78
83
79
[% IF ean_form %]
84
[% IF ean_form %]
Lines 134-151 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
134
             </select>
139
             </select>
135
          </li>
140
          </li>
136
      </ol>
141
      </ol>
137
  </fieldset>
138
139
  <fieldset class="action">
142
  <fieldset class="action">
140
    <input type="submit" value="Submit"/>
143
    <input type="submit" class="principal" value="Submit"/>
141
    <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" class="cancel">Cancel</a>
144
    <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl" class="cancel">Cancel</a>
142
  </fieldset>
145
  </fieldset>
146
  </fieldset>
147
143
</form>
148
</form>
144
[% END %]
149
[% END %]
145
150
146
[% IF delete_confirm %]
151
[% IF delete_confirm %]
147
<div class="dialog alert">
152
<div class="dialog alert">
148
<h1>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h1>
153
<h2>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h2>
149
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
154
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
150
    <input type="hidden" name="op" value="delete_confirmed" />
155
    <input type="hidden" name="op" value="delete_confirmed" />
151
    <input type="hidden" name="id" value="[% ean.id | html %]" />
156
    <input type="hidden" name="id" value="[% ean.id | html %]" />
Lines 158-165 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
158
[% END %]
163
[% END %]
159
164
160
[% IF display %]
165
[% IF display %]
161
    <h1>Library EANs</h1>
162
[% IF ( eans ) %]
166
[% IF ( eans ) %]
167
    <div id="searchresults">
163
    <table>
168
    <table>
164
        <tr>
169
        <tr>
165
            <th>Library</th>
170
            <th>Library</th>
Lines 185-196 Library EANs &rsaquo; Administration &rsaquo; Koha Link Here
185
                 [% END %]
190
                 [% END %]
186
                </td>
191
                </td>
187
                <td class="actions">
192
                <td class="actions">
188
                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&id=[% ean.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
193
                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=ean_form&id=[% ean.id | html %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
189
                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&id=[% ean.id | html %]"><i class="fa fa-trash"></i> Delete</a>
194
                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_ean_accounts.pl?op=delete_confirm&id=[% ean.id | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
190
                </td>
195
                </td>
191
            </tr>
196
            </tr>
192
        [% END %]
197
        [% END %]
193
    </table>
198
    </table>
199
    </div>
194
[% ELSE %]
200
[% ELSE %]
195
    <div class="dialog message">
201
    <div class="dialog message">
196
        There are no library EANs.
202
        There are no library EANs.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt (-5 / +14 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Item circulation alerts &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Item circulation alerts &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 45-52 Link Here
45
</head>
48
</head>
46
49
47
<body id="admin_item_circulation_alerts" class="admin">
50
<body id="admin_item_circulation_alerts" class="admin">
48
[% INCLUDE 'header.inc' %]
51
[% INCLUDE 'header.inc' form=formulaire %]
49
[% INCLUDE 'prefs-admin-search.inc' %]
50
52
51
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
53
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
52
    <ol>
54
    <ol>
Lines 62-67 Link Here
62
            </a>
64
            </a>
63
        </li>
65
        </li>
64
    </ol>
66
    </ol>
67
        <ol>
68
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
69
        </ol>
70
        <ol>
71
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
72
        </ol>
65
</nav>
73
</nav>
66
74
67
<div class="main container-fluid">
75
<div class="main container-fluid">
Lines 70-76 Link Here
70
            <main>
78
            <main>
71
                <div class="row">
79
                <div class="row">
72
                    <div class="col-sm-6">
80
                    <div class="col-sm-6">
73
<h1>Item circulation alerts</h1>
81
<h2>Item circulation alerts</h2>
74
<h2>Select a library:</h2>
82
<h2>Select a library:</h2>
75
<form id="branch_selector" method="get" action="/cgi-bin/koha/admin/item_circulation_alerts.pl">
83
<form id="branch_selector" method="get" action="/cgi-bin/koha/admin/item_circulation_alerts.pl">
76
<select id="branch" name="branch">
84
<select id="branch" name="branch">
Lines 107-113 Link Here
107
                    </div> <!-- /.col-sm-6 -->
115
                    </div> <!-- /.col-sm-6 -->
108
                </div> <!-- /.row -->
116
                </div> <!-- /.row -->
109
117
110
                <h2>Circulation alerts for [% Branches.GetName( branch ) || 'Default' | html %]</h2>
118
                <div id="searchresults">
119
                <h3>Circulation alerts for [% Branches.GetName( branch ) || 'Default' | html %]</h3>
111
                <p>Click on the grid to toggle the settings.</p>
120
                <p>Click on the grid to toggle the settings.</p>
112
121
113
122
Lines 168-174 Link Here
168
                        </div>
177
                        </div>
169
                    </div> <!-- /.tab-content -->
178
                    </div> <!-- /.tab-content -->
170
179
171
                </div> <!-- /#alerttabs -->
180
                </div> <!-- /#alerttabs --></div>
172
181
173
182
174
            </main>
183
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_field.tt (-2 / +10 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
  <title>Item search fields &rsaquo; Administration &rsaquo; Koha</title>
9
  <title>Item search fields &rsaquo; Administration &rsaquo; Koha</title>
7
  [% INCLUDE 'doc-head-close.inc' %]
10
  [% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="admin_itemssearchfields" class="admin">
12
<body id="admin_itemssearchfields" class="admin">
10
  [% INCLUDE 'header.inc' %]
13
  [% INCLUDE 'header.inc' form=formulaire %]
11
  [% INCLUDE 'prefs-admin-search.inc' %]
12
14
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
        <ol>
16
        <ol>
Lines 37-42 Link Here
37
                </li>
39
                </li>
38
            [% END %]
40
            [% END %]
39
        </ol>
41
        </ol>
42
        <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
45
        <ol>
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
        </ol>
40
    </nav>
48
    </nav>
41
49
42
<div class="main container-fluid">
50
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt (-11 / +22 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
  <title>Item search fields &rsaquo; Administration &rsaquo; Koha</title>
9
  <title>Item search fields &rsaquo; Administration &rsaquo; Koha</title>
Lines 8-15 Link Here
8
</head>
11
</head>
9
12
10
<body id="admin_itemssearchfields" class="admin">
13
<body id="admin_itemssearchfields" class="admin">
11
  [% INCLUDE 'header.inc' %]
14
  [% INCLUDE 'header.inc' form=formulaire %]
12
  [% INCLUDE 'prefs-admin-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 25-30 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
Lines 33-40 Link Here
33
            <main>
41
            <main>
34
42
35
    <div id="toolbar" class="btn-toolbar">
43
    <div id="toolbar" class="btn-toolbar">
36
        <a class="btn btn-default" id="new_search_field" href="/cgi-bin/koha/admin/items_search_fields.pl"><i class="fa fa-plus"></i> New search field</a>
44
    <div>
37
    </div>
45
        <a class="pat" id="new_search_field" href="/cgi-bin/koha/admin/items_search_fields.pl"><i class="fa fa-plus"></i> New search field</a>
46
    </div></div>
38
47
39
          [% IF field_added %]
48
          [% IF field_added %]
40
            <div class="dialog message">
49
            <div class="dialog message">
Lines 66-72 Link Here
66
          [% END %]
75
          [% END %]
67
          [% IF fields.size %]
76
          [% IF fields.size %]
68
              <div id="search_fields_list">
77
              <div id="search_fields_list">
69
                  <h1>Item search fields</h1>
78
                  <h2>Item search fields</h2>
79
80
                  <div id="searchresults">
70
81
71
                  <table id="search_fields_table">
82
                  <table id="search_fields_table">
72
                    <thead>
83
                    <thead>
Lines 88-103 Link Here
88
                          <td>[% field.tagsubfield | html %]</td>
99
                          <td>[% field.tagsubfield | html %]</td>
89
                          <td>[% field.authorised_values_category | html %]</td>
100
                          <td>[% field.authorised_values_category | html %]</td>
90
                          <td>
101
                          <td>
91
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/items_search_field.pl?name=[% field.name | html %]"><i class="fa fa-pencil"></i> Edit</a>
102
                            <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/items_search_field.pl?name=[% field.name | html %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
92
                            <a class="field-delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/items_search_fields.pl?op=del&name=[% field.name | html %]"><i class="fa fa-trash"></i> Delete</a>
103
                            <a class="field-delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/items_search_fields.pl?op=del&name=[% field.name | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
93
                          </td>
104
                          </td>
94
                        </tr>
105
                        </tr>
95
                      [% END %]
106
                      [% END %]
96
                    </tbody>
107
                    </tbody>
97
                  </table>
108
                  </table>
98
              </div>
109
              </div></div>
99
          [% ELSE %]
110
          [% ELSE %]
100
                <h1>Item search fields</h1>
111
                <h2>Item search fields</h2>
101
              <div class="dialog message">
112
              <div class="dialog message">
102
                  There are no item search fields defined.
113
                  There are no item search fields defined.
103
              </div>
114
              </div>
Lines 108-118 Link Here
108
                <legend><h1>Add a new field</h1></legend>
119
                <legend><h1>Add a new field</h1></legend>
109
              [% INCLUDE 'admin-items-search-field-form.inc' field=undef %]
120
              [% INCLUDE 'admin-items-search-field-form.inc' field=undef %]
110
              <input type="hidden" name="op" value="add" />
121
              <input type="hidden" name="op" value="add" />
111
            </fieldset>
112
            <fieldset class="action">
122
            <fieldset class="action">
113
              <input type="submit" value="Submit" />
123
              <input type="submit" value="Submit" class="principal" />
114
              <a href="#" class="cancel hide_form">Cancel</a>
124
              <a href="#" class="cancel hide_form">Cancel</a>
115
            </fieldset>
125
            </fieldset>
126
            </fieldset>
116
          </form>
127
          </form>
117
128
118
            </main>
129
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-12 / +24 lines)
Lines 6-11 Link Here
6
[% USE Price %]
6
[% USE Price %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'prefs-admin-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>
13
<title>
11
[% IF op == 'add_form' %]
14
[% IF op == 'add_form' %]
Lines 47-54 Item types &rsaquo; Administration &rsaquo; Koha Link Here
47
</head>
50
</head>
48
51
49
<body id="admin_itemtypes" class="admin">
52
<body id="admin_itemtypes" class="admin">
50
[% INCLUDE 'header.inc' %]
53
[% INCLUDE 'header.inc' form=formulaire %]
51
[% INCLUDE 'prefs-admin-search.inc' %]
52
54
53
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
55
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
54
    <ol>
56
    <ol>
Lines 116-121 Item types &rsaquo; Administration &rsaquo; Koha Link Here
116
            </li>
118
            </li>
117
        [% END %]
119
        [% END %]
118
    </ol>
120
    </ol>
121
        <ol>
122
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
123
        </ol>
124
        <ol>
125
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
126
        </ol>
119
</nav>
127
</nav>
120
128
121
<div class="main container-fluid">
129
<div class="main container-fluid">
Lines 124-131 Item types &rsaquo; Administration &rsaquo; Koha Link Here
124
            <main>
132
            <main>
125
133
126
[% IF op == 'list' %]<div id="toolbar" class="btn-toolbar">
134
[% IF op == 'list' %]<div id="toolbar" class="btn-toolbar">
127
    <a class="btn btn-default" id="newitemtype" href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form"><i class="fa fa-plus"></i> New item type</a>
135
<div>
128
</div>[% END %]
136
    <a class="pat" id="newitemtype" href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form"><i class="fa fa-plus"></i> New item type</a>
137
</div></div>[% END %]
129
138
130
[% FOREACH m IN messages %]
139
[% FOREACH m IN messages %]
131
    <div class="dialog [% m.type | html %]">
140
    <div class="dialog [% m.type | html %]">
Lines 152-158 Item types &rsaquo; Administration &rsaquo; Koha Link Here
152
    </div>
161
    </div>
153
[% END %]
162
[% END %]
154
163
155
156
[% IF op == 'add_form' %]
164
[% IF op == 'add_form' %]
157
    [% IF itemtype %]
165
    [% IF itemtype %]
158
        <h1>Modify item type</h1>
166
        <h1>Modify item type</h1>
Lines 426-442 Item types &rsaquo; Administration &rsaquo; Koha Link Here
426
                    <div class="hint"><strong>&lt;a href="[856u]"&gt;open site&lt;/a&gt;</strong> will show the link just below the title</div>
434
                    <div class="hint"><strong>&lt;a href="[856u]"&gt;open site&lt;/a&gt;</strong> will show the link just below the title</div>
427
                </li>
435
                </li>
428
            </ol>
436
            </ol>
429
        </fieldset>
437
            <fieldset class="action">
430
438
            <input type="submit" class="principal" value="Save changes" />
431
        <fieldset class="action">
432
            <input type="submit" value="Save changes" />
433
            <a href="/cgi-bin/koha/admin/itemtypes.pl" class="cancel">Cancel</a>
439
            <a href="/cgi-bin/koha/admin/itemtypes.pl" class="cancel">Cancel</a>
434
        </fieldset>
440
        </fieldset>
441
        </fieldset>
442
443
        
435
    </form>
444
    </form>
436
[% END %]
445
[% END %]
437
446
438
[% IF op == 'delete_confirm' %]
447
[% IF op == 'delete_confirm' %]
439
    <div class="dialog alert">
448
    <div class="dialog alert">
449
    <div id="searchresults">
440
        <h1>Delete item type '[% itemtype.itemtype | html %]'?</h1>
450
        <h1>Delete item type '[% itemtype.itemtype | html %]'?</h1>
441
        <table>
451
        <table>
442
            <tr>
452
            <tr>
Lines 462-473 Item types &rsaquo; Administration &rsaquo; Koha Link Here
462
        <form action="/cgi-bin/koha/admin/itemtypes.pl" method="post">
472
        <form action="/cgi-bin/koha/admin/itemtypes.pl" method="post">
463
            <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
473
            <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
464
        </form>
474
        </form>
465
    </div>
475
    </div></div>
466
[% END %]
476
[% END %]
467
477
468
[% IF op == 'list' %]
478
[% IF op == 'list' %]
469
    <h1>Item types administration</h1>
479
    <h1>Item types administration</h1>
470
    [% IF itemtypes %]
480
    [% IF itemtypes %]
481
<div id="searchresults">
471
        <table id="table_item_type">
482
        <table id="table_item_type">
472
          <thead>
483
          <thead>
473
            [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %]<th class="noExport">Image</th>[% END %]
484
            [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %]<th class="noExport">Image</th>[% END %]
Lines 585-596 Item types &rsaquo; Administration &rsaquo; Koha Link Here
585
            </td>
596
            </td>
586
            <td>[% IF ( itemtype.automatic_checkin ) %]Yes[% ELSE %]&nbsp;[% END %]</td>
597
            <td>[% IF ( itemtype.automatic_checkin ) %]Yes[% ELSE %]&nbsp;[% END %]</td>
587
            <td class="actions">
598
            <td class="actions">
588
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
599
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=add_form&amp;itemtype=[% itemtype.itemtype | uri %]" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
589
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=delete_confirm&amp;itemtype=[% itemtype.itemtype | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
600
              <a href="/cgi-bin/koha/admin/itemtypes.pl?op=delete_confirm&amp;itemtype=[% itemtype.itemtype | uri %]" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-trash"></i> Delete</a>
590
            </td>
601
            </td>
591
          </tr>
602
          </tr>
592
          [% END %]
603
          [% END %]
593
        </table>
604
        </table>
605
        </div>
594
    [% ELSE %]
606
    [% ELSE %]
595
        <div class="dialog message">There are no itemtypes defined</div>
607
        <div class="dialog message">There are no itemtypes defined</div>
596
    [% END %]
608
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt (-5 / +15 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha to MARC mapping &rsaquo; Administration &rsaquo; Koha</title>
8
<title>Koha to MARC mapping &rsaquo; Administration &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="admin_koha2marclinks" class="admin">
12
<body id="admin_koha2marclinks" class="admin">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'prefs-admin-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 22-27 Link Here
22
            <a href="#" aria-current="page">Koha to MARC mapping</a>
24
            <a href="#" aria-current="page">Koha to MARC mapping</a>
23
        </li>
25
        </li>
24
    </ol>
26
    </ol>
27
        <ol>
28
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
29
        </ol>
30
        <ol>
31
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
32
        </ol>
25
</nav>
33
</nav>
26
34
27
<div class="main container-fluid">
35
<div class="main container-fluid">
Lines 29-35 Link Here
29
        <div class="col-sm-10 col-sm-push-2">
37
        <div class="col-sm-10 col-sm-push-2">
30
            <main>
38
            <main>
31
39
32
<h1>Koha to MARC mapping</h1>
40
<h2>Koha to MARC mapping</h2>
33
<br/>
41
<br/>
34
<div class="dialog message">If you make any change to the mappings, you must ask your administrator to run misc/batchRebuildBiblioTables.pl.</div>
42
<div class="dialog message">If you make any change to the mappings, you must ask your administrator to run misc/batchRebuildBiblioTables.pl.</div>
35
<form action="/cgi-bin/koha/admin/koha2marclinks.pl" method="post" id="koha2marc">
43
<form action="/cgi-bin/koha/admin/koha2marclinks.pl" method="post" id="koha2marc">
Lines 38-43 Link Here
38
    <div class="dialog alert">Failed to add mapping for [% error_info | html %]</div>
46
    <div class="dialog alert">Failed to add mapping for [% error_info | html %]</div>
39
[% END %]
47
[% END %]
40
48
49
<div id="searchresults">
41
<table id="kohafields">
50
<table id="kohafields">
42
<thead><tr>
51
<thead><tr>
43
    <th>Koha field</th>
52
    <th>Koha field</th>
Lines 55-62 Link Here
55
    <td>[% loo.liblibrarian | html %]</td>
64
    <td>[% loo.liblibrarian | html %]</td>
56
    <td class="actions">
65
    <td class="actions">
57
        [% IF !loo.readonly %]
66
        [% IF !loo.readonly %]
58
            <a onclick="AddFld('[% loo.kohafield | html %]');" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</a>
67
            <a onclick="AddFld('[% loo.kohafield | html %]');" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-plus"></i> Add</a>
59
            [% IF loo.tagfield %] <a onclick="RemFld('[% loo.tagfield | html %]','[% loo.tagsubfield | html %]');" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Remove</a> [% END %]
68
            [% IF loo.tagfield %] <a onclick="RemFld('[% loo.tagfield | html %]','[% loo.tagsubfield | html %]');" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-remove"></i> Remove</a> [% END %]
60
        [% END %]
69
        [% END %]
61
    </td>
70
    </td>
62
    </td>
71
    </td>
Lines 64-69 Link Here
64
[% END %]
73
[% END %]
65
</tbody>
74
</tbody>
66
</table>
75
</table>
76
</div>
67
77
68
<input id="remove_field" name="remove_field" type="hidden" value=""/>
78
<input id="remove_field" name="remove_field" type="hidden" value=""/>
69
<input id="add_field" name="add_field" type="hidden" value=""/>
79
<input id="add_field" name="add_field" type="hidden" value=""/>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt (-16 / +24 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaSpan %]
3
[% USE KohaSpan %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Library groups &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Library groups &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 9-16 Link Here
9
</head>
12
</head>
10
13
11
<body id="admin_library_groups" class="admin">
14
<body id="admin_library_groups" class="admin">
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'cat-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 24-29 Link Here
24
            <a href="#" aria-current="page">Library groups</a>
26
            <a href="#" aria-current="page">Library groups</a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
[% FOR m IN messages %]
37
[% FOR m IN messages %]
Lines 66-78 Link Here
66
74
67
                    <div id="toolbar" class="btn-toolbar">
75
                    <div id="toolbar" class="btn-toolbar">
68
                        <div class="btn-group">
76
                        <div class="btn-group">
69
                            <a id="add-group-root" class="btn btn-default add-group" href="#">
77
                            <a id="add-group-root" class="btn btn-default add-group pat" href="#">
70
                                <i class="fa fa-plus"></i> Add group
78
                                <i class="fa fa-plus"></i> Add group
71
                            </a>
79
                            </a>
72
                        </div>
80
                        </div>
73
                    </div>
81
                    </div>
74
82
75
                <h1>Library groups</h1>
83
                <h2>Library groups</h2>
76
84
77
                [% FOREACH root_group IN root_groups %]
85
                [% FOREACH root_group IN root_groups %]
78
                    <table class="library-groups">
86
                    <table class="library-groups">
Lines 104-110 Link Here
104
                        <h3 id="add-group-modal-label">Add group</h3>
112
                        <h3 id="add-group-modal-label">Add group</h3>
105
                    </div>
113
                    </div>
106
                    <div class="modal-body">
114
                    <div class="modal-body">
107
                        <fieldset class="rows">
115
                        <fieldset>
108
                            <input type="hidden" id="add-group-modal-parent-id" name="parent_id" value="" />
116
                            <input type="hidden" id="add-group-modal-parent-id" name="parent_id" value="" />
109
                            <input type="hidden" id="add-group-modal-action" name="action" value="add">
117
                            <input type="hidden" id="add-group-modal-action" name="action" value="add">
110
                            <ol>
118
                            <ol>
Lines 151-157 Link Here
151
                        </div>
159
                        </div>
152
                    </div>
160
                    </div>
153
                    <div class="modal-footer">
161
                    <div class="modal-footer">
154
                        <button type="submit" class="btn btn-default">Save</button>
162
                        <button type="submit" class="btn btn-default principal">Save</button>
155
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
163
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
156
                    </div>
164
                    </div>
157
                </div>
165
                </div>
Lines 169-175 Link Here
169
                    <div class="modal-body">
177
                    <div class="modal-body">
170
                        <input type="hidden" id="edit-group-modal-id" name="id" value="" />
178
                        <input type="hidden" id="edit-group-modal-id" name="id" value="" />
171
                        <input type="hidden" id="edit-group-modal-action" name="action" value="edit" />
179
                        <input type="hidden" id="edit-group-modal-action" name="action" value="edit" />
172
                        <fieldset class="rows">
180
                        <fieldset>
173
                            <ol>
181
                            <ol>
174
                                <li>
182
                                <li>
175
                                    <label for="edit-group-modal-title">Title: </label>
183
                                    <label for="edit-group-modal-title">Title: </label>
Lines 215-221 Link Here
215
                        </div>
223
                        </div>
216
                    </div>
224
                    </div>
217
                    <div class="modal-footer">
225
                    <div class="modal-footer">
218
                        <button type="submit" class="btn btn-default">Update</button>
226
                        <button type="submit" class="btn btn-default principal">Update</button>
219
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
227
                        <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
220
                    </div>
228
                    </div>
221
                </div>
229
                </div>
Lines 236-242 Link Here
236
                        Are you sure you want to delete <span id="delete-group-modal-title" class="name"></span>?
244
                        Are you sure you want to delete <span id="delete-group-modal-title" class="name"></span>?
237
                    </div>
245
                    </div>
238
                    <div class="modal-footer">
246
                    <div class="modal-footer">
239
                        <button type="submit" class="btn btn-danger"><i class="fa fa-trash"></i> Delete</button>
247
                        <button type="submit" class="btn btn-danger principal"><i class="fa fa-trash"></i> Delete</button>
240
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
248
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
241
                    </div>
249
                    </div>
242
                </div>
250
                </div>
Lines 257-263 Link Here
257
                        Are you sure you want to remove <span id="remove-library-modal-library" class="name"></span> from <span id="remove-library-modal-group" class="name"></span>?
265
                        Are you sure you want to remove <span id="remove-library-modal-library" class="name"></span> from <span id="remove-library-modal-group" class="name"></span>?
258
                    </div>
266
                    </div>
259
                    <div class="modal-footer">
267
                    <div class="modal-footer">
260
                        <button type="submit" class="btn btn-danger"><i class="fa fa-trash"></i> Remove</button>
268
                        <button type="submit" class="btn btn-danger principal"><i class="fa fa-trash"></i> Remove</button>
261
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
269
                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
262
                    </div>
270
                    </div>
263
                </div>
271
                </div>
Lines 412-436 Link Here
412
        </td>
420
        </td>
413
        <td>
421
        <td>
414
            [% IF group.branchcode %]
422
            [% IF group.branchcode %]
415
                <button class="btn btn-default btn-xs remove-library" data-group-id="[% group.id | html %]" data-group-library="[% group.library.branchname | html %]" data-group-parent-title="[% group.parent.title | html %]" ><i class="fa fa-trash"></i> Remove from group</button>
423
                <button id="lientype" class="btn btn-default btn-xs remove-library" data-group-id="[% group.id | html %]" data-group-library="[% group.library.branchname | html %]" data-group-parent-title="[% group.parent.title | html %]" ><i class="fa fa-trash"></i> Remove from group</button>
416
            [% ELSE %]
424
            [% ELSE %]
417
                <div class="btn-group">
425
                <div class="btn-group">
418
                    <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><i class="fa fa-wrench"></i> Actions <span class="caret"></span></button>
426
                    <button id="lientype" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><i class="fa fa-wrench"></i> Actions <span class="caret"></span></button>
419
                    <ul class="dropdown-menu">
427
                    <ul class="dropdown-menu">
420
                        <li>
428
                        <li>
421
                            <a id="add-group-[% group.id | html %]" href="#" class="add-group" data-group-id="[% group.id | html %]">
429
                            <a id="add-group-[% group.id | html %]" href="#" class="add-group lientype" data-group-id="[% group.id | html %]">
422
                                <i class="fa fa-plus"></i> Add sub-group
430
                                <i class="fa fa-plus"></i> Add sub-group
423
                            </a>
431
                            </a>
424
                       </li>
432
                       </li>
425
433
426
                        <li>
434
                        <li>
427
                            <a class="edit-group" id="edit-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-parent-id="[% group.parent_id | html %]" data-group-title="[% group.title | html %]" data-group-description="[% group.description | html %]" data-group-ft_hide_patron_info="[% group.ft_hide_patron_info | html %]" data-group-ft_search_groups_opac="[% group.ft_search_groups_opac | html %]" data-group-ft_search_groups_staff="[% group.ft_search_groups_staff | html %]" data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" >
435
                            <a class="edit-group lientype" id="edit-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-parent-id="[% group.parent_id | html %]" data-group-title="[% group.title | html %]" data-group-description="[% group.description | html %]" data-group-ft_hide_patron_info="[% group.ft_hide_patron_info | html %]" data-group-ft_search_groups_opac="[% group.ft_search_groups_opac | html %]" data-group-ft_search_groups_staff="[% group.ft_search_groups_staff | html %]" data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" >
428
                                <i class="fa fa-pencil"></i> Edit
436
                                <i class="fa fa-pencil"></i> Edit
429
                            </a>
437
                            </a>
430
                       </li>
438
                       </li>
431
439
432
                        <li>
440
                        <li>
433
                            <a class="delete-group" id="delete-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-title="[% group.title | html %]">
441
                            <a class="delete-group lientype" id="delete-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-title="[% group.title | html %]">
434
                                <i class="fa fa-trash"></i> Delete
442
                                <i class="fa fa-trash"></i> Delete
435
                            </a>
443
                            </a>
436
                       </li>
444
                       </li>
Lines 438-444 Link Here
438
                </div>
446
                </div>
439
447
440
                <div class="btn-group">
448
                <div class="btn-group">
441
                    <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Add library <span class="caret"></span></button>
449
                    <button class="btn btn-default btn-xs dropdown-toggle" id="lientype" data-toggle="dropdown"><i class="fa fa-plus"></i> Add library <span class="caret"></span></button>
442
                    <ul class="dropdown-menu">
450
                    <ul class="dropdown-menu">
443
                        [% FOREACH library IN group.libraries_not_direct_children %]
451
                        [% FOREACH library IN group.libraries_not_direct_children %]
444
                            <li>
452
                            <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt (-9 / +18 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% USE Koha %]
7
[% USE Koha %]
5
[% USE KohaSpan %]
8
[% USE KohaSpan %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
Lines 15-22 Link Here
15
18
16
</head>
19
</head>
17
<body id="admin_marc-overlay-rules" class="admin">
20
<body id="admin_marc-overlay-rules" class="admin">
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'cat-search.inc' %]
20
22
21
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
        <ol>
24
        <ol>
Lines 32-44 Link Here
32
                </a>
34
                </a>
33
            </li>
35
            </li>
34
        </ol>
36
        </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
    </nav>
43
    </nav>
36
44
37
    <div class="main container-fluid">
45
    <div class="main container-fluid">
38
        <div class="row">
46
        <div class="row">
39
            <div class="col-sm-10 col-sm-push-2">
47
            <div class="col-sm-10 col-sm-push-2">
40
48
41
                <h1>Manage MARC overlay rules</h1>
49
                <h2>Manage MARC overlay rules</h2>
42
50
43
                [% FOR m IN messages %]
51
                [% FOR m IN messages %]
44
                <div class="dialog [% m.type | html %]">
52
                <div class="dialog [% m.type | html %]">
Lines 54-60 Link Here
54
                [% END %]
62
                [% END %]
55
63
56
                [% UNLESS Koha.Preference( 'MARCOverlayRules' ) %]
64
                [% UNLESS Koha.Preference( 'MARCOverlayRules' ) %]
57
                [% SET pref_MARCOverlayRules_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOverlayRules">MARCOverlayRules</a>' %]
65
                [% SET pref_MARCOverlayRules_link = '<a id="lientype" href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=MARCOverlayRules">MARCOverlayRules</a>' %]
58
                <div class="dialog message">
66
                <div class="dialog message">
59
                    The [%  pref_MARCOverlayRules_link | $raw | $KohaSpan %] preference is not set, don't forget to enable it for rules to take effect.
67
                    The [%  pref_MARCOverlayRules_link | $raw | $KohaSpan %] preference is not set, don't forget to enable it for rules to take effect.
60
                </div>
68
                </div>
Lines 70-76 Link Here
70
                    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
78
                    <button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
71
                </div>
79
                </div>
72
                [% END %]
80
                [% END %]
73
81
                <fieldset id="searchresults">
74
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
82
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
75
                    <table id="marc-overlay-rules">
83
                    <table id="marc-overlay-rules">
76
                        <thead><tr>
84
                        <thead><tr>
Lines 134-140 Link Here
134
                                    </select>
142
                                    </select>
135
                                </th>
143
                                </th>
136
                                <th><button class="btn btn-default btn-xs" title="Add" id="add"><i class="fa fa-plus"></i> Add rule</button></th>
144
                                <th><button class="btn btn-default btn-xs" title="Add" id="add"><i class="fa fa-plus"></i> Add rule</button></th>
137
                                <th><button id="btn_batchremove" disabled="disabled" class="btn btn-default btn-xs" title="Batch remove"><i class="fa fa-trash"></i> Delete selected</button></th>
145
                                <th><button id="btn_batchremove" disabled="disabled" class=" btn btn-default btn-xs " title="Batch remove"><i class="fa fa-trash"></i> Delete selected</button></th>
138
                            </tr>
146
                            </tr>
139
                        </tfoot>
147
                        </tfoot>
140
                        [% END %]
148
                        [% END %]
Lines 220-226 Link Here
220
                                    </td>
228
                                    </td>
221
                                    <td class="actions">
229
                                    <td class="actions">
222
                                        <button class="btn btn-default btn-xs" title="Save" id="doedit" value="[% rule.id | html %]"><i class="fa fa-check"></i> Save</button>
230
                                        <button class="btn btn-default btn-xs" title="Save" id="doedit" value="[% rule.id | html %]"><i class="fa fa-check"></i> Save</button>
223
                                        <button type="submit" class="btn btn-default btn-xs" title="Cancel" ><i class="fa fa-times"></i> Cancel</button>
231
                                        <button type="submit" class="btn btn-default btn-xs" id="lientype" title="Cancel" ><i class="fa fa-times"></i> Cancel</button>
224
                                    </td>
232
                                    </td>
225
                                    <td></td>
233
                                    <td></td>
226
                                [% ELSE %]
234
                                [% ELSE %]
Lines 234-241 Link Here
234
                                    <td class="rule-operation-action" data-operation="remove">[% IF rule.remove %]Remove[% ELSE %]Skip[% END %]</td>
242
                                    <td class="rule-operation-action" data-operation="remove">[% IF rule.remove %]Remove[% ELSE %]Skip[% END %]</td>
235
                                    <td class="rule-operation-action" data-operation="delete">[% IF rule.delete %]Delete[% ELSE %]Skip[% END %]</td>
243
                                    <td class="rule-operation-action" data-operation="delete">[% IF rule.delete %]Delete[% ELSE %]Skip[% END %]</td>
236
                                    <td class="actions">
244
                                    <td class="actions">
237
                                        <a href="?op=remove&id=[% rule.id | uri %]" title="Delete" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
245
                                        <a id="lientype" href="?op=remove&id=[% rule.id | uri %]" title="Delete" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
238
                                        <a href="?op=edit&id=[% rule.id | uri %]" title="Edit" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
246
                                        <a id="lientype" href="?op=edit&id=[% rule.id | uri %]" title="Edit" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
239
                                    </td>
247
                                    </td>
240
                                    <td>
248
                                    <td>
241
                                        [% IF rule.removemarked %]
249
                                        [% IF rule.removemarked %]
Lines 250-255 Link Here
250
                        </tbody>
258
                        </tbody>
251
                    </table>
259
                    </table>
252
                </form>
260
                </form>
261
                </fieldset>
253
262
254
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
263
                <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
255
                    <input type="hidden" name="op" value="redo-matching" />
264
                    <input type="hidden" name="op" value="redo-matching" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-18 / +28 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [%- IF ( add_form ) -%]
9
    [%- IF ( add_form ) -%]
Lines 36-43 Link Here
36
</head>
39
</head>
37
40
38
<body id="admin_marc_subfields_structure" class="admin">
41
<body id="admin_marc_subfields_structure" class="admin">
39
    [% INCLUDE 'header.inc' %]
42
    [% INCLUDE 'header.inc' form=formulaire %]
40
    [% INCLUDE 'prefs-admin-search.inc' %]
41
43
42
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
44
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
43
        <ol>
45
        <ol>
Lines 103-108 Link Here
103
                </li>
105
                </li>
104
            [% END %]
106
            [% END %]
105
        </ol>
107
        </ol>
108
        <ol>
109
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
110
        </ol>
111
        <ol>
112
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
113
        </ol>
106
    </nav> <!-- /#breadcrumbs -->
114
    </nav> <!-- /#breadcrumbs -->
107
115
108
    <div class="main container-fluid">
116
    <div class="main container-fluid">
Lines 111-123 Link Here
111
                <main>
119
                <main>
112
120
113
                    [% IF ( add_form ) %]
121
                    [% IF ( add_form ) %]
114
                        <h1>
122
                        <h2>
115
                            [% IF ( use_heading_flags_p ) %]
123
                            [% IF ( use_heading_flags_p ) %]
116
                                [% IF ( heading_edit_subfields_p ) %]<span>Tag</span> [% tagfield | html %] <span>Subfield constraints</span>[% END %]
124
                                [% IF ( heading_edit_subfields_p ) %]<span>Tag</span> [% tagfield | html %] <span>Subfield constraints</span>[% END %]
117
                            [% ELSE %]
125
                            [% ELSE %]
118
                                [% action | html %]
126
                                [% action | html %]
119
                            [% END %]
127
                            [% END %]
120
                        </h1>
128
                        </h2>
121
129
122
                        <form action="[% script_name | html %]" name="Aform" method="post">
130
                        <form action="[% script_name | html %]" name="Aform" method="post">
123
                            <input type="hidden" name="op" value="add_validate" />
131
                            <input type="hidden" name="op" value="add_validate" />
Lines 136-141 Link Here
136
                            [% END %][% END %]
144
                            [% END %][% END %]
137
145
138
                            <div id="subfieldtabs" class="toptabs numbered">
146
                            <div id="subfieldtabs" class="toptabs numbered">
147
                            <fieldset id="searchresults">
139
                                 <ul class="nav nav-tabs" role="tablist">
148
                                 <ul class="nav nav-tabs" role="tablist">
140
                                    [% FOREACH loo IN loop %]
149
                                    [% FOREACH loo IN loop %]
141
                                        <li id="tab_subfield_[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="tab-item" role="presentation">
150
                                        <li id="tab_subfield_[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="tab-item" role="presentation">
Lines 155-162 Link Here
155
                                    [% FOREACH loo IN loop %]
164
                                    [% FOREACH loo IN loop %]
156
                                        <div class="constraints tab-pane" role="tabpanel" id="sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field">
165
                                        <div class="constraints tab-pane" role="tabpanel" id="sub[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]field">
157
                                            <div id="basic[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
166
                                            <div id="basic[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
158
                                                <fieldset class="rows">
167
                                                <fieldset>
159
                                                    <legend>Basic constraints</legend>
168
                                                    <h3>Basic constraints</h3>
160
                                                    <ol>
169
                                                    <ol>
161
                                                        [% IF ( subfieldcode == 0 || subfieldcode ) %]
170
                                                        [% IF ( subfieldcode == 0 || subfieldcode ) %]
162
                                                            <li>
171
                                                            <li>
Lines 228-235 Link Here
228
                                            </div> <!-- /#basic[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
237
                                            </div> <!-- /#basic[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
229
238
230
                                            <div id="advanced[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
239
                                            <div id="advanced[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="contraints">
231
                                                <fieldset class="rows">
240
                                                <fieldset>
232
                                                    <legend>Advanced constraints</legend>
241
                                                    <h3>Advanced constraints</h3>
233
                                                    <ol>
242
                                                    <ol>
234
                                                        <li>
243
                                                        <li>
235
                                                            <label for="defaultvalue[% loo.row | html %]">Default value:</label>
244
                                                            <label for="defaultvalue[% loo.row | html %]">Default value:</label>
Lines 291-298 Link Here
291
                                            </div> <!-- /#advanced[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
300
                                            </div> <!-- /#advanced[%- PROCESS outputsubfield subfieldanchor = subfieldcode -%] -->
292
301
293
                                            <div id="oth[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="constraints">
302
                                            <div id="oth[%- PROCESS outputsubfield subfieldanchor = loo.subfieldcode -%]" class="constraints">
294
                                                <fieldset class="rows">
303
                                                <fieldset>
295
                                                    <legend>Other options (choose one)</legend>
304
                                                    <h3>Other options (choose one)</h3>
296
                                                    <ol>
305
                                                    <ol>
297
                                                        <li>
306
                                                        <li>
298
                                                            <label for="authorised_value[% loo.row | html %]">Authorized value:</label>
307
                                                            <label for="authorised_value[% loo.row | html %]">Authorized value:</label>
Lines 337-353 Link Here
337
                                        </div><!-- /constraints -->
346
                                        </div><!-- /constraints -->
338
                                    [% END # /FOREACH loo %]
347
                                    [% END # /FOREACH loo %]
339
                                </div> <!-- /.tab-content -->
348
                                </div> <!-- /.tab-content -->
340
                            </div><!-- /subfieldtabs -->
341
349
342
                            <fieldset class="action">
350
                                <input type="submit" class="principal" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield  | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="cancel">Cancel</a>
343
                                <input type="submit" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield  | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="cancel">Cancel</a>
344
                            </fieldset>
351
                            </fieldset>
352
                            </div><!-- /subfieldtabs -->
345
                        </form>
353
                        </form>
346
                    [% END # /IF ( add_form ) %]
354
                    [% END # /IF ( add_form ) %]
347
355
348
                    [% IF ( delete_confirm ) %]
356
                    [% IF ( delete_confirm ) %]
349
                        <div class="dialog alert">
357
                        <div class="dialog alert">
350
                            <h1>Confirm deletion of subfield [% mss.tagsubfield | html %]?</h1>
358
                            <h3>Confirm deletion of subfield [% mss.tagsubfield | html %]?</h3>
351
                            <p>Subfield: [% mss.tagsubfield | html %]</p>
359
                            <p>Subfield: [% mss.tagsubfield | html %]</p>
352
                            <p>Description: [% mss.liblibrarian | html_entity %]</p>
360
                            <p>Description: [% mss.liblibrarian | html_entity %]</p>
353
361
Lines 369-379 Link Here
369
                    [% END # /IF ( delete_confirm ) %]
377
                    [% END # /IF ( delete_confirm ) %]
370
378
371
                    [% IF ( else ) %]
379
                    [% IF ( else ) %]
372
                        <h1>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]</h1>
380
                        <h2>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]</h2>
373
381
374
                        <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
382
                        <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
375
                        <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
383
                        <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
376
384
385
                        <div id="searchresults">
377
                        <table id="table_marcsubfieldstructure">
386
                        <table id="table_marcsubfieldstructure">
378
                            <thead>
387
                            <thead>
379
                                <tr>
388
                                <tr>
Lines 413-420 Link Here
413
                                            [% END %]
422
                                            [% END %]
414
                                        </td>
423
                                        </td>
415
                                        <td class="actions">
424
                                        <td class="actions">
416
                                            <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
425
                                            <a id="lientype" href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
417
                                            <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
426
                                            <a id="lientype" href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
418
                                        </td>
427
                                        </td>
419
                                    </tr>
428
                                    </tr>
420
                                [% END %]
429
                                [% END %]
Lines 425-434 Link Here
425
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
434
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
426
                                <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
435
                                <input type="hidden" name="tagfield" value="[% edit_tagfield | html %]" />
427
                                <input type="hidden" name="frameworkcode" value="[% edit_frameworkcode | html %]" />
436
                                <input type="hidden" name="frameworkcode" value="[% edit_frameworkcode | html %]" />
428
                                <input type="submit" value="Edit subfields" />
437
                                <input type="submit" class="principal" value="Edit subfields" />
429
                                <a class="cancel" href="marctagstructure.pl?searchfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode | html %]">Cancel</a>
438
                                <a class="cancel" href="marctagstructure.pl?searchfield=[% tagfield | uri %]&amp;frameworkcode=[% frameworkcode | html %]">Cancel</a>
430
                            </fieldset>
439
                            </fieldset>
431
                        </form>
440
                        </form>
441
                        </div>
432
442
433
                    [% END # /IF else %]
443
                    [% END # /IF else %]
434
444
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-14 / +23 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
[% IF ( add_form ) %]
10
[% IF ( add_form ) %]
Lines 22-29 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
22
</head>
25
</head>
23
26
24
<body id="admin_marctagstructure" class="admin">
27
<body id="admin_marctagstructure" class="admin">
25
[% INCLUDE 'header.inc' %]
28
[% INCLUDE 'header.inc' form=formulaire %]
26
[% INCLUDE 'prefs-admin-search.inc' %]
27
29
28
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
30
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
29
    <ol>
31
    <ol>
Lines 101-106 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
101
            </li>
103
            </li>
102
        [% END %]
104
        [% END %]
103
    </ol>
105
    </ol>
106
        <ol>
107
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
108
        </ol>
109
        <ol>
110
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
111
        </ol>
104
</nav>
112
</nav>
105
113
106
<div class="main container-fluid">
114
<div class="main container-fluid">
Lines 109-132 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
109
            <main>
117
            <main>
110
118
111
[% IF ( else ) %]
119
[% IF ( else ) %]
112
<div id="toolbar" class="btn-toolbar">
120
<div id="toolbar" class="btn-toolbar"><div>
113
    <a class="btn btn-default" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&amp;frameworkcode=[% framework.frameworkcode | uri %]"><i class="fa fa-plus"></i> New tag</a>
121
    <a class="pat" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&amp;frameworkcode=[% framework.frameworkcode | uri %]"><i class="fa fa-plus"></i> New tag</a>
114
</div>[% END %]
122
</div></div>[% END %]
115
123
116
<h1>MARC Framework for [% IF framework %][% framework.frameworktext | html %] ([% framework.frameworkcode | html %])[% ELSE %]default MARC framework[% END %]</h1>
124
<h2>MARC Framework for [% IF framework %][% framework.frameworktext | html %] ([% framework.frameworkcode | html %])[% ELSE %]default MARC framework[% END %]</h2>
117
125
118
[% IF ( add_form ) %]
126
[% IF ( add_form ) %]
119
127
120
    <form action="[% script_name | html %]" name="Aform" method="post" class="validated">
128
    <form action="[% script_name | html %]" name="Aform" method="post" class="validated">
121
129
122
      <fieldset class="rows">
130
      <fieldset class="rows">
123
            <legend>
131
            <h3>
124
                [% IF heading_add_tag_p %]
132
                [% IF heading_add_tag_p %]
125
                    <span>Add tag</span>
133
                    <span>Add tag</span>
126
                [% ELSE %]
134
                [% ELSE %]
127
                    <span>Modify tag</span> <input type="hidden" name="modif" value="1" />[% searchfield | html %]
135
                    <span>Modify tag</span> <input type="hidden" name="modif" value="1" />[% searchfield | html %]
128
                [% END %]
136
                [% END %]
129
            </legend>
137
            </h3>
130
            <input type="hidden" name="op" value="add_validate" />
138
            <input type="hidden" name="op" value="add_validate" />
131
            <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
139
            <input type="hidden" name="frameworkcode" value="[% framework.frameworkcode | html %]" />
132
        <ol>
140
        <ol>
Lines 176-184 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
176
            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value ) %]
184
            [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value ) %]
177
        </select>
185
        </select>
178
        (if you select a value here, the indicators will be limited to the authorized value list)</li>
186
        (if you select a value here, the indicators will be limited to the authorized value list)</li>
179
</ol></fieldset> 
187
</ol>
180
    <fieldset class="action">
188
        <input type="submit" value="Save changes" class="principal"/>
181
        <input type="submit" value="Save changes" />
182
        <a class="cancel" href="[% script_name | url %]?frameworkcode=[% framework.frameworkcode | uri %]">Cancel</a>
189
        <a class="cancel" href="[% script_name | url %]?frameworkcode=[% framework.frameworkcode | uri %]">Cancel</a>
183
    </fieldset>
190
    </fieldset>
184
    </form>
191
    </form>
Lines 221-227 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
221
            <option value="[% fw.frameworkcode | html %]">[% fw.frameworktext | html %]</option>
228
            <option value="[% fw.frameworkcode | html %]">[% fw.frameworktext | html %]</option>
222
        [% END %]
229
        [% END %]
223
        </select>
230
        </select>
224
        <input type="submit" value="OK" />
231
        <input type="submit" value="OK" class="principal"/>
225
    </form>
232
    </form>
226
[% END %]
233
[% END %]
227
234
Lines 243-249 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
243
                [% END %]
250
                [% END %]
244
            [% END %]
251
            [% END %]
245
        </select>
252
        </select>
246
    <input type="submit" value="Search" />
253
    <input type="submit" value="Search" class="principal"/>
247
<p>        <label for="select_display">Display only used tags/subfields</label>
254
<p>        <label for="select_display">Display only used tags/subfields</label>
248
        [% IF ( select_display ) %]
255
        [% IF ( select_display ) %]
249
            <input type="checkbox" name="select_display" id="select_display" value="True" checked="checked" />
256
            <input type="checkbox" name="select_display" id="select_display" value="True" checked="checked" />
Lines 253-258 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
253
</fieldset>
260
</fieldset>
254
</form>
261
</form>
255
262
263
<div id="searchresults">
256
    <table id="table_marctagstructure">
264
    <table id="table_marctagstructure">
257
    <thead>
265
    <thead>
258
        <tr>
266
        <tr>
Lines 290-296 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
290
            <td>[% loo.ind2_defaultvalue | html %]</td>
298
            <td>[% loo.ind2_defaultvalue | html %]</td>
291
            <td>
299
            <td>
292
                <div class="btn-group dropup">
300
                <div class="btn-group dropup">
293
                    <a class="btn btn-default btn-xs dropdown-toggle" id="marctagactions[% loo.tagfield | html %]" role="button" data-toggle="dropdown" href="#">
301
                    <a class="btn btn-default btn-xs dropdown-toggle" id="lientype" role="button" data-toggle="dropdown" href="#">
294
                        Actions <b class="caret"></b></a>
302
                        Actions <b class="caret"></b></a>
295
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="marctagactions[% loo.tagfield | html %]">
303
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="marctagactions[% loo.tagfield | html %]">
296
                        <li><a href="?op=add_form&amp;searchfield=[% loo.tagfield | uri %]&amp;frameworkcode=[% framework.frameworkcode | uri %]"><i class="fa fa-pencil"></i> Edit tag</a></li>
304
                        <li><a href="?op=add_form&amp;searchfield=[% loo.tagfield | uri %]&amp;frameworkcode=[% framework.frameworkcode | uri %]"><i class="fa fa-pencil"></i> Edit tag</a></li>
Lines 304-309 MARC frameworks &rsaquo; Administration &rsaquo; Koha Link Here
304
    [% END %]
312
    [% END %]
305
    </tbody>
313
    </tbody>
306
    </table>
314
    </table>
315
    </div>
307
[% END %]
316
[% END %]
308
317
309
            </main>
318
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt (-57 / +68 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [% IF ( matching_rule_form ) %]
9
    [% IF ( matching_rule_form ) %]
Lines 59-66 Link Here
59
</style>
62
</style>
60
</head>
63
</head>
61
<body id="admin_matching-rules" class="admin">
64
<body id="admin_matching-rules" class="admin">
62
[% INCLUDE 'header.inc' %]
65
[% INCLUDE 'header.inc' form=formulaire %]
63
[% INCLUDE 'prefs-admin-search.inc' %]
64
66
65
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
67
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
66
    <ol>
68
    <ol>
Lines 103-108 Link Here
103
            </li>
105
            </li>
104
        [% END %]
106
        [% END %]
105
    </ol>
107
    </ol>
108
        <ol>
109
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
110
        </ol>
111
        <ol>
112
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
113
        </ol>
106
</nav> <!-- /#breadcrumbs -->
114
</nav> <!-- /#breadcrumbs -->
107
115
108
<div class="main container-fluid">
116
<div class="main container-fluid">
Lines 112-120 Link Here
112
120
113
                [% IF ( matching_rule_form ) %]
121
                [% IF ( matching_rule_form ) %]
114
                    [% IF ( edit_matching_rule ) %]
122
                    [% IF ( edit_matching_rule ) %]
115
                        <h1>Modify record matching rule</h1>
123
                        <h2>Modify record matching rule</h2>
116
                    [% ELSE %]
124
                    [% ELSE %]
117
                        <h1>Add record matching rule</h1>
125
                        <h2>Add record matching rule</h2>
118
                    [% END %]
126
                    [% END %]
119
                    <form action="[% script_name | html %]" name="Aform" method="post">
127
                    <form action="[% script_name | html %]" name="Aform" method="post">
120
                        <input type="hidden" name="op" value="[% confirm_op | html %]" />
128
                        <input type="hidden" name="op" value="[% confirm_op | html %]" />
Lines 154-171 Link Here
154
                            </ol>
162
                            </ol>
155
                        </fieldset> <!-- /.rows -->
163
                        </fieldset> <!-- /.rows -->
156
164
157
                        <fieldset class="rows" id="match_points">
165
                        <fieldset  class="rows" id="match_points">
158
                            <h4>Match points</h4>
166
                            <h3>Match points</h3>
159
                            [% IF ( edit_matching_rule ) %]
167
                            [% IF ( edit_matching_rule ) %]
160
                                [% IF ( matchpoints ) %]
168
                                [% IF ( matchpoints ) %]
161
                                    <p id="addMatchPoint" style="display:none;">
169
                                    <p id="addMatchPoint" style="display:none;">
162
                                [% ELSE %]
170
                                [% ELSE %]
163
                                    <p id="addMatchPoint">
171
                                    <p id="addMatchPoint">
164
                                [% END %]
172
                                [% END %]
165
                                    <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">Add match point</a>
173
                                    <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;" id="lientype">Add match point</a>
166
                                </p>
174
                                </p>
167
                            [% ELSE %]
175
                            [% ELSE %]
168
                                <p id="addMatchPoint" style="display:none;"><a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">
176
                                <p id="addMatchPoint" style="display:none;"><a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;" id="lientype">
169
                                    Add match point</a>
177
                                    Add match point</a>
170
                                </p>
178
                                </p>
171
                            [% END %]
179
                            [% END %]
Lines 173-180 Link Here
173
                            [% IF ( edit_matching_rule ) %]
181
                            [% IF ( edit_matching_rule ) %]
174
                                [% FOREACH matchpoint IN matchpoints %]
182
                                [% FOREACH matchpoint IN matchpoints %]
175
                                    <div id="mp_[% matchpoint.mp_num | html %]" class="matchgroup">
183
                                    <div id="mp_[% matchpoint.mp_num | html %]" class="matchgroup">
176
                                        <fieldset class="rows">
184
                                        <fieldset>
177
                                            <legend>Match point [% matchpoint.mp_num | html %] | <a href="#" class="button" onclick="InsertMatchpoint('mp_[% matchpoint.mp_num | html %]', 'mp_template'); return false;">Add match point</a> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></legend>
185
                                            <h3>Match point [% matchpoint.mp_num | html %] | <a href="#" id="lientype" class="button" onclick="InsertMatchpoint('mp_[% matchpoint.mp_num | html %]', 'mp_template'); return false;">Add match point</a> | <a href="#" id="lientype" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
178
                                            <ol>
186
                                            <ol>
179
                                                <li>
187
                                                <li>
180
                                                    <label for="mp_[% matchpoint.mp_num | html %]_search_index">Search index: </label>
188
                                                    <label for="mp_[% matchpoint.mp_num | html %]_search_index">Search index: </label>
Lines 186-193 Link Here
186
                                                </li>
194
                                                </li>
187
                                            </ol>
195
                                            </ol>
188
                                            [% FOREACH component IN matchpoint.components %]
196
                                            [% FOREACH component IN matchpoint.components %]
189
                                                <fieldset class="rows" id="mp_[% matchpoint.mp_num | html %]_c_[% component.comp_num | html %]">
197
                                                <fieldset id="mp_[% matchpoint.mp_num | html %]_c_[% component.comp_num | html %]">
190
                                                    <legend>Matchpoint components</legend>
198
                                                    <h3>Matchpoint components</h3>
191
                                                    <ol>
199
                                                    <ol>
192
                                                        <li>
200
                                                        <li>
193
                                                            <label for="mp_[% matchpoint.mp_num | html %]_c_[% component.comp_num | html %]_tag">Tag: </label>
201
                                                            <label for="mp_[% matchpoint.mp_num | html %]_c_[% component.comp_num | html %]_tag">Tag: </label>
Lines 224-231 Link Here
224
                                [% END # /FOREACH matchpoint %]
232
                                [% END # /FOREACH matchpoint %]
225
                            [% ELSE # IF ( edit_matching_rule ) %]
233
                            [% ELSE # IF ( edit_matching_rule ) %]
226
                                <div id="mp_1" class="matchgroup">
234
                                <div id="mp_1" class="matchgroup">
227
                                    <fieldset class="rows">
235
                                    <fieldset>
228
                                        <legend>Match point 1 | <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;">Add match point</a> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></legend>
236
                                        <h3>Match point 1 | <a href="#" class="button" onclick="InsertMatchpoint('mp_1', 'mp_template'); return false;" id="lientype">Add match point</a> | <a href="#" id="lientype" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
229
                                        <ol>
237
                                        <ol>
230
                                            <li>
238
                                            <li>
231
                                                <label for="mp_1_search_index">Search index: </label>
239
                                                <label for="mp_1_search_index">Search index: </label>
Lines 236-243 Link Here
236
                                                <input type ="text" id="mp_1_score" name="mp_1_score" size="5" maxlength="5" />
244
                                                <input type ="text" id="mp_1_score" name="mp_1_score" size="5" maxlength="5" />
237
                                            </li>
245
                                            </li>
238
                                        </ol>
246
                                        </ol>
239
                                        <fieldset class="rows" id="mp_1_c_1">
247
                                        <fieldset id="mp_1_c_1">
240
                                            <legend>Matchpoint components</legend>
248
                                            <h3>Matchpoint components</h3>
241
                                            <ol>
249
                                            <ol>
242
                                                <li>
250
                                                <li>
243
                                                    <label for="mp_1_c_1_tag">Tag: </label>
251
                                                    <label for="mp_1_c_1_tag">Tag: </label>
Lines 261-294 Link Here
261
                                                </li>
269
                                                </li>
262
                                            </ol>
270
                                            </ol>
263
                                        </fieldset> <!-- /#mp_1_c_1 -->
271
                                        </fieldset> <!-- /#mp_1_c_1 -->
264
                                    </fieldset> <!-- /.rows -->
272
                                    </fieldset>
265
                                    <br style="clear:both;" />
273
                                    <br style="clear:both;" />
266
                                </div> <!-- /#mp_1 -->
274
                                </div> <!-- /#mp_1 -->
267
                            [% END # /IF ( edit_matching_rule ) %]
275
                            [% END # /IF ( edit_matching_rule ) %]
268
                        </fieldset> <!-- /#match_points -->
276
                        </fieldset> <!-- /#match_points -->
269
277
270
                        <fieldset class="rows" id="match_checks">
278
                        <fieldset  class="rows" id="match_checks">
271
                            <h4>Required match checks</h4>
279
                            <h3>Required match checks</h3>
272
                            [% IF ( edit_matching_rule ) %]
280
                            [% IF ( edit_matching_rule ) %]
273
                                [% IF ( matchchecks ) %]
281
                                [% IF ( matchchecks ) %]
274
                                    <p id="addMatchCheck" style="display:none;">
282
                                    <p id="addMatchCheck" style="display:none;">
275
                                [% ELSE %]
283
                                [% ELSE %]
276
                                    <p id="addMatchCheck">
284
                                    <p id="addMatchCheck">
277
                                [% END %]
285
                                [% END %]
278
                                <a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a></p>
286
                                <a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">  Add match check</a></p>
279
                            [% ELSE %]
287
                            [% ELSE %]
280
                                <p id="addMatchCheck" style="display:none;"><a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a></p>
288
                                <p id="addMatchCheck" style="display:none;"><a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">  Add match check</a></p>
281
                            [% END %]
289
                            [% END %]
282
290
283
                            [% IF ( edit_matching_rule ) %]
291
                            [% IF ( edit_matching_rule ) %]
284
                                [% FOREACH matchcheck IN matchchecks %]
292
                                [% FOREACH matchcheck IN matchchecks %]
285
                                    <div id="mc_[% matchcheck.mc_num | html %]" class="matchgroup">
293
                                    <div id="mc_[% matchcheck.mc_num | html %]" class="matchgroup">
286
                                        <fieldset class="rows">
294
                                        <fieldset>
287
                                            <legend>Match check [% matchcheck.mc_num | html %]<a href="#" class="button" onclick="InsertMatchcheck('mc_[% matchcheck.mc_num | html %]', 'mc_template'); return false;">Add match check</a> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></legend>
295
                                            <h3>Match check [% matchcheck.mc_num | html %]<a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_[% matchcheck.mc_num | html %]', 'mc_template'); return false;">  Add match check</a> | <a id="lientype" href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
288
                                            <input type="hidden" id="mc_[% matchcheck.mc_num | html %]_id" name="mc_[% matchcheck.mc_num | html %]_id" value="1" />
296
                                            <input type="hidden" id="mc_[% matchcheck.mc_num | html %]_id" name="mc_[% matchcheck.mc_num | html %]_id" value="1" />
289
                                            [% FOREACH src_component IN matchcheck.src_components %]
297
                                            [% FOREACH src_component IN matchcheck.src_components %]
290
                                                <fieldset class="rows" id="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]">
298
                                                <fieldset id="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]">
291
                                                    <legend>Source (incoming) record check field</legend>
299
                                                    <h3>Source (incoming) record check field</h3>
292
                                                    <ol>
300
                                                    <ol>
293
                                                        <li>
301
                                                        <li>
294
                                                            <label for="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]_tag">Tag: </label>
302
                                                            <label for="mc_[% src_component.mc_num | html %]_src_c_[% src_component.comp_num | html %]_tag">Tag: </label>
Lines 318-325 Link Here
318
                                            [% END # /FOREACH src_component %]
326
                                            [% END # /FOREACH src_component %]
319
327
320
                                            [% FOREACH tgt_component IN matchcheck.tgt_components %]
328
                                            [% FOREACH tgt_component IN matchcheck.tgt_components %]
321
                                                <fieldset class="rows" id="mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %]">
329
                                                <fieldset id="mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %]">
322
                                                    <legend>Target (database) record check field</legend>
330
                                                    <h3>Target (database) record check field</h3>
323
                                                    <ol>
331
                                                    <ol>
324
                                                        <li>
332
                                                        <li>
325
                                                            <label for="mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %]_tag">Tag: </label>
333
                                                            <label for="mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %]_tag">Tag: </label>
Lines 347-363 Link Here
347
                                                    </ol>
355
                                                    </ol>
348
                                                </fieldset> <!-- /#mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %] -->
356
                                                </fieldset> <!-- /#mc_[% matchcheck.mc_num | html %]_tgt_c_[% tgt_component.comp_num | html %] -->
349
                                            [% END # /FOREACH tgt_component %]
357
                                            [% END # /FOREACH tgt_component %]
350
                                        </fieldset> <!-- /.rows -->
358
                                        </fieldset>
351
                                        <br style="clear:both;" />
359
                                        <br style="clear:both;" />
352
                                    </div> <!-- /#mc_[% matchcheck.mc_num | html %] -->
360
                                    </div> <!-- /#mc_[% matchcheck.mc_num | html %] -->
353
                                [% END # /FOREACH matchcheck %]
361
                                [% END # /FOREACH matchcheck %]
354
                            [% ELSE # IF ( edit_matching_rule ) %]
362
                            [% ELSE # IF ( edit_matching_rule ) %]
355
                                <div id="mc_1" class="matchgroup">
363
                                <div id="mc_1" class="matchgroup">
356
                                    <fieldset class="rows">
364
                                    <fieldset>
357
                                        <legend>Match check 1 | <a href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></legend>
365
                                        <h3>Match check 1 | <a id="lientype" href="#" class="button" onclick="InsertMatchcheck('mc_1', 'mc_template'); return false;">Add match check</a> | <a id="lientype" href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
358
                                        <input type="hidden" id="mc_1_id" name="mc_1_id" value="1" />
366
                                        <input type="hidden" id="mc_1_id" name="mc_1_id" value="1" />
359
                                        <fieldset class="rows" id="mc_1_src_c_1">
367
                                        <fieldset id="mc_1_src_c_1">
360
                                            <legend>Source (incoming) record check field</legend>
368
                                            <h3>Source (incoming) record check field</h3>
361
                                            <ol>
369
                                            <ol>
362
                                                <li>
370
                                                <li>
363
                                                    <label for="mc_1_src_c_1_tag">Tag: </label>
371
                                                    <label for="mc_1_src_c_1_tag">Tag: </label>
Lines 382-389 Link Here
382
                                            </ol>
390
                                            </ol>
383
                                        </fieldset>
391
                                        </fieldset>
384
392
385
                                        <fieldset class="rows" id="mc_1_tgt_c_1">
393
                                        <fieldset id="mc_1_tgt_c_1">
386
                                            <legend>Target (database) record check field</legend>
394
                                            <h3>Target (database) record check field</h3>
387
                                            <ol>
395
                                            <ol>
388
                                                <li>
396
                                                <li>
389
                                                    <label for="mc_1_tgt_c_1_tag">Tag: </label>
397
                                                    <label for="mc_1_tgt_c_1_tag">Tag: </label>
Lines 407-431 Link Here
407
                                                </li>
415
                                                </li>
408
                                            </ol>
416
                                            </ol>
409
                                        </fieldset> <!-- /#mc_1_tgt_c_1 -->
417
                                        </fieldset> <!-- /#mc_1_tgt_c_1 -->
410
                                    </fieldset> <!-- /.rows -->
418
                                    </fieldset>
411
                                    <br style="clear:both;" />
419
                                    <br style="clear:both;" />
412
                                </div> <!-- /#mc_1 -->
420
                                </div> <!-- /#mc_1 -->
413
                            [% END # /IF ( edit_matching_rule ) %]
414
                        </fieldset>
415
                        <fieldset class="action">
421
                        <fieldset class="action">
416
                            [% IF ( edit_matching_rule ) %]
422
                            [% IF ( edit_matching_rule ) %]
417
                                <input type="button" value="Save" onclick="CheckMatchingRuleForm(this.form)" />
423
                                <input type="button" class="principal" value="Save" onclick="CheckMatchingRuleForm(this.form)" />
418
                            [% ELSE %]
424
                            [% ELSE %]
419
                                <input type="button" value="Save" onclick="CheckMatchingRuleForm(this.form)" />
425
                                <input type="button" class="principal" value="Save" onclick="CheckMatchingRuleForm(this.form)" />
420
                            [% END %]
426
                            [% END %]
421
                            <a class="cancel" href="/cgi-bin/koha/admin/matching-rules.pl">Cancel</a>
427
                            <a class="cancel" href="/cgi-bin/koha/admin/matching-rules.pl">Cancel</a>
422
                        </fieldset> <!-- /.action -->
428
                        </fieldset> <!-- /.action -->
429
                            [% END # /IF ( edit_matching_rule ) %]
430
                        </fieldset> <!-- /.rows -->
423
                    </form>
431
                    </form>
424
                [% END # /IF ( matching_rule_form ) %]
432
                [% END # /IF ( matching_rule_form ) %]
425
433
426
                [% IF ( delete_matching_rule_form ) %]
434
                [% IF ( delete_matching_rule_form ) %]
427
                    <div class="dialog alert">
435
                    <div class="dialog alert">
428
                        <h1>Confirm deletion of record matching rule <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1>
436
                        <h2>Confirm deletion of record matching rule <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h2>
429
                        <form action="[% script_name | html %]" name="Aform" method="post">
437
                        <form action="[% script_name | html %]" name="Aform" method="post">
430
                            <input type="hidden" name="op" value="[% confirm_op | html %]" />
438
                            <input type="hidden" name="op" value="[% confirm_op | html %]" />
431
                            <input type="hidden" name="matcher_id" value="[% matcher_id | html %]" />
439
                            <input type="hidden" name="matcher_id" value="[% matcher_id | html %]" />
Lines 440-449 Link Here
440
                [% IF ( display_list ) %]
448
                [% IF ( display_list ) %]
441
449
442
                    <div id="toolbar" class="btn-toolbar">
450
                    <div id="toolbar" class="btn-toolbar">
443
                        <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_matching_rule"><i class="fa fa-plus"></i> New record matching rule</a>
451
                    <div>
444
                    </div>
452
                        <a class="pat" id="newrule" href="[% script_name | url %]?op=add_matching_rule"><i class="fa fa-plus"></i> New record matching rule</a>
453
                    </div></div>
445
454
446
                    <h1>Record matching rules</h1>
455
                    <h2>Record matching rules</h2>
447
456
448
                    [% IF ( added_matching_rule ) %]
457
                    [% IF ( added_matching_rule ) %]
449
                        <div class="dialog message">Added record matching rule &quot;[% added_matching_rule | html %]&quot;</div>
458
                        <div class="dialog message">Added record matching rule &quot;[% added_matching_rule | html %]&quot;</div>
Lines 455-460 Link Here
455
                        <div class="dialog message">Deleted record matching rule &quot;[% deleted_matching_rule | html %]&quot;</div>
464
                        <div class="dialog message">Deleted record matching rule &quot;[% deleted_matching_rule | html %]&quot;</div>
456
                    [% END %]
465
                    [% END %]
457
                    [% IF ( available_matching_rules ) %]
466
                    [% IF ( available_matching_rules ) %]
467
                    <div id="searchresults">
458
                        <table>
468
                        <table>
459
                            <tr>
469
                            <tr>
460
                                <th>#</th>
470
                                <th>#</th>
Lines 468-479 Link Here
468
                                    <td>[% available_matching_rule.code | html %]</td>
478
                                    <td>[% available_matching_rule.code | html %]</td>
469
                                    <td>[% available_matching_rule.description | html %]</td>
479
                                    <td>[% available_matching_rule.description | html %]</td>
470
                                    <td class="actions">
480
                                    <td class="actions">
471
                                        <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-pencil"></i> Edit</a>
481
                                        <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
472
                                        <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-trash"></i> Delete</a>
482
                                        <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
473
                                    </td>
483
                                    </td>
474
                                </tr>
484
                                </tr>
475
                            [% END %]
485
                            [% END %]
476
                        </table>
486
                        </table>
487
                    </div>
477
                    [% ELSE %]
488
                    [% ELSE %]
478
                        <p>There are no saved matching rules.</p>
489
                        <p>There are no saved matching rules.</p>
479
                    [% END # /IF ( available_matching_rules ) %]
490
                    [% END # /IF ( available_matching_rules ) %]
Lines 483-490 Link Here
483
494
484
                [% IF ( matching_rule_form ) %]
495
                [% IF ( matching_rule_form ) %]
485
                    <div id="mp_template" class="matchgroup" style="display:none;">
496
                    <div id="mp_template" class="matchgroup" style="display:none;">
486
                        <fieldset class="rows">
497
                        <fieldset>
487
                            <legend>Match point <span class="counter"></span> | <a href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></legend>
498
                            <h3>Match point <span class="counter"></span> | <a id="lientype" href="#" class="button" onclick="DeleteMatchpoint(this); return false;">Remove this match point</a></h3>
488
                            <ol>
499
                            <ol>
489
                                <li>
500
                                <li>
490
                                    <label for="mp_num_search_index">Search index: </label>
501
                                    <label for="mp_num_search_index">Search index: </label>
Lines 495-502 Link Here
495
                                    <input type ="text" id="mp_num_score" name="mp_num_score" size="5" maxlength="5" />
506
                                    <input type ="text" id="mp_num_score" name="mp_num_score" size="5" maxlength="5" />
496
                                </li>
507
                                </li>
497
                            </ol>
508
                            </ol>
498
                            <fieldset id="mp_num_c_1" class="rows">
509
                            <fieldset id="mp_num_c_1">
499
                                <legend>Matchpoint components</legend>
510
                                <h3>Matchpoint components</h3>
500
                                <ol>
511
                                <ol>
501
                                    <li>
512
                                    <li>
502
                                        <label for="mp_num_c_1_tag">Tag: </label>
513
                                        <label for="mp_num_c_1_tag">Tag: </label>
Lines 520-535 Link Here
520
                                    </li>
531
                                    </li>
521
                                </ol>
532
                                </ol>
522
                            </fieldset> <!-- /#mp_num_c_1 -->
533
                            </fieldset> <!-- /#mp_num_c_1 -->
523
                        </fieldset> <!-- /.rows -->
534
                        </fieldset>
524
                        <br style="clear:both;" />
535
                        <br style="clear:both;" />
525
                    </div> <!-- /#mp_template -->
536
                    </div> <!-- /#mp_template -->
526
537
527
                    <div id="mc_template" class="matchgroup" style="display:none">
538
                    <div id="mc_template" class="matchgroup" style="display:none">
528
                        <fieldset class="rows">
539
                        <fieldset>
529
                            <legend>Match check <span class="counter"></span> | <a href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></legend>
540
                            <h3>Match check <span class="counter"></span> | <a id="lientype" href="#" class="button" onclick="DeleteMatchcheck(this); return false;">Remove this match check</a></h3>
530
                            <input type="hidden" id="mc_num_id" name="mc_num_id" value="1" />
541
                            <input type="hidden" id="mc_num_id" name="mc_num_id" value="1" />
531
                            <fieldset class="rows" id="mc_num_src_c_1">
542
                            <fieldset id="mc_num_src_c_1">
532
                                <legend>Source (incoming) record check field</legend>
543
                                <h3>Source (incoming) record check field</h3>
533
                                <ol>
544
                                <ol>
534
                                    <li>
545
                                    <li>
535
                                        <label for="mc_num_src_c_1_tag">Tag: </label>
546
                                        <label for="mc_num_src_c_1_tag">Tag: </label>
Lines 553-560 Link Here
553
                                    </li>
564
                                    </li>
554
                                </ol>
565
                                </ol>
555
                            </fieldset> <!-- /#mc_num_src_c_1 -->
566
                            </fieldset> <!-- /#mc_num_src_c_1 -->
556
                            <fieldset class="rows" id="mc_num_tgt_c_1">
567
                            <fieldset id="mc_num_tgt_c_1">
557
                                <legend>Target (database) record check field</legend>
568
                                <h3>Target (database) record check field</h3>
558
                                <ol>
569
                                <ol>
559
                                    <li>
570
                                    <li>
560
                                        <label for="mc_num_tgt_c_1_tag">Tag: </label>
571
                                        <label for="mc_num_tgt_c_1_tag">Tag: </label>
Lines 578-584 Link Here
578
                                    </li>
589
                                    </li>
579
                                </ol>
590
                                </ol>
580
                            </fieldset> <!-- #mc_num_tgt_c_1 -->
591
                            </fieldset> <!-- #mc_num_tgt_c_1 -->
581
                        </fieldset> <!-- /.rows -->
592
                        </fieldset>
582
                        <br style="clear:both;" />
593
                        <br style="clear:both;" />
583
                    </div> <!-- /#mc_template -->
594
                    </div> <!-- /#mc_template -->
584
                [% END # /IF ( matching_rule_form ) %]
595
                [% END # /IF ( matching_rule_form ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt (-2 / +10 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>OAI set mappings &rsaquo; OAI sets &rsaquo; Administration &rsaquo; Koha</title>
8
<title>OAI set mappings &rsaquo; OAI sets &rsaquo; Administration &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="admin_oai_set_mappings" class="admin">
12
<body id="admin_oai_set_mappings" class="admin">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'prefs-admin-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 25-30 Link Here
25
            <a href="#" aria-current="page">OAI set mappings</a>
27
            <a href="#" aria-current="page">OAI set mappings</a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt (-15 / +28 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [% IF ( op_new ) %]
9
    [% IF ( op_new ) %]
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="admin_oai_sets" class="admin">
16
<body id="admin_oai_sets" class="admin">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'prefs-admin-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 51-56 Link Here
51
            </li>
53
            </li>
52
        [% END %]
54
        [% END %]
53
    </ol>
55
    </ol>
56
        <ol>
57
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
58
        </ol>
59
        <ol>
60
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
61
        </ol>
54
</nav>
62
</nav>
55
63
56
<div class="main container-fluid">
64
<div class="main container-fluid">
Lines 61-70 Link Here
61
        [% IF ( op_new || op_mod ) %]
69
        [% IF ( op_new || op_mod ) %]
62
            <form method="post" action="/cgi-bin/koha/admin/oai_sets.pl" class="validated">
70
            <form method="post" action="/cgi-bin/koha/admin/oai_sets.pl" class="validated">
63
            [% IF ( op_new ) %]
71
            [% IF ( op_new ) %]
64
                <h1>Add a new OAI set</h1>
72
                <h2>Add a new OAI set</h2>
65
                <input type="hidden" name="op" value="savenew" />
73
                <input type="hidden" name="op" value="savenew" />
66
            [% ELSIF ( op_mod ) %]
74
            [% ELSIF ( op_mod ) %]
67
                <h1>Edit OAI set '[% spec | html %]'</h1>
75
                <h2>Edit OAI set '[% spec | html %]'</h2>
68
                    <input type="hidden" name="op" value="savemod" />
76
                    <input type="hidden" name="op" value="savemod" />
69
                    <input type="hidden" name="id" value="[% id | html %]" />
77
                    <input type="hidden" name="id" value="[% id | html %]" />
70
            [% END %]
78
            [% END %]
Lines 84-108 Link Here
84
                            <li>
92
                            <li>
85
                                <label>setDescription: </label>
93
                                <label>setDescription: </label>
86
                                <textarea style="vertical-align:middle" rows="2" cols="30" name="description">[% desc.description | html %]</textarea>
94
                                <textarea style="vertical-align:middle" rows="2" cols="30" name="description">[% desc.description | html %]</textarea>
87
                                <a class="remove_description" href="#"><i class="fa fa-fw fa-trash"></i> Remove</a>
95
                                <a class="remove_description" href="#" id="lientype"><i class="fa fa-fw fa-trash"></i> Remove</a>
88
                            </li>
96
                            </li>
89
                        [% END %]
97
                        [% END %]
90
                        <li id="adddescription"><span class="label">&nbsp;</span><a href="#" class="add_description"><i class="fa fa-fw fa-plus"></i> Add description</a></li>
98
                        <li id="adddescription"><span class="label">&nbsp;</span><a href="#" class="add_description" id="lientype"><i class="fa fa-fw fa-plus"></i> Add description</a></li>
91
99
92
                    </ol>
100
                    </ol>
93
                </fieldset>
94
                <fieldset class="action">
101
                <fieldset class="action">
95
                    <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/oai_sets.pl">Cancel</a>
102
                    <input type="submit" class="principal" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/oai_sets.pl">Cancel</a>
103
                </fieldset>
96
                </fieldset>
104
                </fieldset>
97
            </form>
105
            </form>
98
        [% ELSE %]
106
        [% ELSE %]
99
107
100
        <div id="toolbar" class="btn-toolbar">
108
        <div id="toolbar" class="btn-toolbar">
101
            <a class="btn btn-default" id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new"><i class="fa fa-plus"></i> New set</a>
109
        <div>
102
        </div>
110
            <a class="pat" id="newoaiset" href="/cgi-bin/koha/admin/oai_sets.pl?op=new"><i class="fa fa-plus"></i> New set</a>
111
        </div></div>
103
112
104
        <h1>OAI sets</h1>
113
        <h2>OAI sets</h2>
105
        [% IF sets_loop %]
114
        [% IF sets_loop %]
115
        <div id="searchresults">
116
        <div>
106
            <table>
117
            <table>
107
                <thead>
118
                <thead>
108
                    <tr>
119
                    <tr>
Lines 130-141 Link Here
130
                            </td>
141
                            </td>
131
                            <td>
142
                            <td>
132
                              <div class="btn-group dropup">
143
                              <div class="btn-group dropup">
133
                                <a class="btn btn-default btn-xs dropdown-toggle" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
144
                                <a class="btn btn-default btn-xs dropdown-toggle lientype" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
134
                                  Actions <b class="caret"></b></a>
145
                                  Actions <b class="caret"></b></a>
135
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
146
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
136
                                  <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&amp;id=[% set.id | uri %]"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
147
                                  <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&amp;id=[% set.id | uri %]" id="lientype"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
137
                                  <li><a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&amp;id=[% set.id | html %]"><i class="fa fa-fw fa-trash"></i> Delete</a></li>
148
                                  <li><a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&amp;id=[% set.id | html %]" id="lientype"><i class="fa fa-fw fa-trash"></i> Delete</a></li>
138
                                  <li><a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id | uri %]"><i class="fa fa-fw fa-info"></i> Define mappings</a></li>
149
                                  <li><a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id | uri %]" id="lientype"><i class="fa fa-fw fa-info"></i> Define mappings</a></li>
139
                                </ul>
150
                                </ul>
140
                              </div>
151
                              </div>
141
                            </td>
152
                            </td>
Lines 143-148 Link Here
143
                    [% END %]
154
                    [% END %]
144
                </tbody>
155
                </tbody>
145
            </table>
156
            </table>
157
            </div>
158
            </div>
146
        [% ELSE %]
159
        [% ELSE %]
147
            <div class="dialog message"><p>There are no sets defined.</p></div>
160
            <div class="dialog message"><p>There are no sets defined.</p></div>
148
        [% END %]
161
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/overdrive.tt (-2 / +10 lines)
Lines 3-8 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE HtmlTags %]
4
[% USE HtmlTags %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'prefs-admin-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>OverDrive library authnames &rsaquo; Administration &rsaquo; Koha</title>
10
<title>OverDrive library authnames &rsaquo; Administration &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 10-17 Link Here
10
13
11
<body id="admin_overdrive" class="admin">
14
<body id="admin_overdrive" class="admin">
12
15
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'prefs-admin-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 25-30 Link Here
25
            <a href="#" aria-current="page">OverDrive library authnames</a>
27
            <a href="#" aria-current="page">OverDrive library authnames</a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-12 / +24 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE scalar %]
6
[% USE scalar %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'prefs-admin-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>
12
<title>
10
[% IF ( attribute_type_form ) %]
13
[% IF ( attribute_type_form ) %]
Lines 22-29 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
22
</head>
25
</head>
23
26
24
<body id="admin_patron-attr-types" class="admin">
27
<body id="admin_patron-attr-types" class="admin">
25
[% INCLUDE 'header.inc' %]
28
[% INCLUDE 'header.inc' form=formulaire %]
26
[% INCLUDE 'prefs-admin-search.inc' %]
27
29
28
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
30
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
29
    <ol>
31
    <ol>
Lines 66-71 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
66
            </li>
68
            </li>
67
        [% END %]
69
        [% END %]
68
    </ol>
70
    </ol>
71
        <ol>
72
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
73
        </ol>
74
        <ol>
75
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
76
        </ol>
69
</nav>
77
</nav>
70
78
71
<div class="main container-fluid">
79
<div class="main container-fluid">
Lines 79-87 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
79
87
80
[% IF ( attribute_type_form ) %]
88
[% IF ( attribute_type_form ) %]
81
  [% IF ( edit_attribute_type ) %]
89
  [% IF ( edit_attribute_type ) %]
82
<h1>Modify patron attribute type</h1>
90
<h2>Modify patron attribute type</h2>
83
  [% ELSE %]
91
  [% ELSE %]
84
<h1>Add patron attribute type</h1>
92
<h2>Add patron attribute type</h2>
85
  [% END %]
93
  [% END %]
86
[% IF ( duplicate_code_error ) %]
94
[% IF ( duplicate_code_error ) %]
87
<div class="dialog message">Could not add patron attribute type &quot;[% duplicate_code_error | html %]&quot; 
95
<div class="dialog message">Could not add patron attribute type &quot;[% duplicate_code_error | html %]&quot; 
Lines 241-257 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
241
            </div>
249
            </div>
242
        </li>
250
        </li>
243
    </ol>
251
    </ol>
244
  </fieldset>
245
  <fieldset class="action">
252
  <fieldset class="action">
246
      <input type="submit" value="Save" />
253
      <input type="submit" class="principal" value="Save" />
247
    <a class="cancel" href="/cgi-bin/koha/admin/patron-attr-types.pl">Cancel</a>
254
    <a class="cancel" href="/cgi-bin/koha/admin/patron-attr-types.pl">Cancel</a>
248
  </fieldset>
255
  </fieldset>
256
  </fieldset>
249
</form>
257
</form>
250
[% END %]
258
[% END %]
251
259
252
[% IF ( delete_attribute_type_form ) %]
260
[% IF ( delete_attribute_type_form ) %]
253
    <div class="dialog alert">
261
    <div class="dialog alert">
254
        <h1>Confirm deletion of patron attribute type <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1>
262
        <h2>Confirm deletion of patron attribute type <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h2>
255
        <form action="[% script_name | html %]" name="Aform" method="post">
263
        <form action="[% script_name | html %]" name="Aform" method="post">
256
            <input type="hidden" name="op" value="[% confirm_op | html %]" />
264
            <input type="hidden" name="op" value="[% confirm_op | html %]" />
257
            <input type="hidden" name="code" value="[% code | html %]" />
265
            <input type="hidden" name="code" value="[% code | html %]" />
Lines 266-275 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
266
[% IF ( display_list ) %]
274
[% IF ( display_list ) %]
267
275
268
<div id="toolbar" class="btn-toolbar">
276
<div id="toolbar" class="btn-toolbar">
269
    <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_attribute_type"><i class="fa fa-plus"></i> New patron attribute type</a>
277
<div>
270
</div>
278
    <a class="pat" id="newrule" href="[% script_name | url %]?op=add_attribute_type"><i class="fa fa-plus"></i> New patron attribute type</a>
279
</div></div>
280
271
281
272
<h1>Patron attribute types</h1>
282
<h2>Patron attribute types</h2>
273
[% IF ( added_attribute_type ) %]
283
[% IF ( added_attribute_type ) %]
274
<div class="dialog message">Added patron attribute type &quot;[% added_attribute_type | html %]&quot;</div>
284
<div class="dialog message">Added patron attribute type &quot;[% added_attribute_type | html %]&quot;</div>
275
[% END %]
285
[% END %]
Lines 288-293 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
288
    &mdash; it was already absent from the database.</div>
298
    &mdash; it was already absent from the database.</div>
289
[% END %]
299
[% END %]
290
[% IF ( available_attribute_types ) %]
300
[% IF ( available_attribute_types ) %]
301
<div id="searchresults">
291
  [% FOREACH attribute IN available_attribute_types %]
302
  [% FOREACH attribute IN available_attribute_types %]
292
    [% IF attribute.class %]
303
    [% IF attribute.class %]
293
        <h4>[% attribute.lib | html %]</h4>
304
        <h4>[% attribute.lib | html %]</h4>
Lines 340-347 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
340
                [% END %]
351
                [% END %]
341
            </td>
352
            </td>
342
            <td class="actions">
353
            <td class="actions">
343
              <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=edit_attribute_type&amp;code=[% item.code | uri %]"><i class="fa fa-pencil"></i> Edit</a>
354
              <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=edit_attribute_type&amp;code=[% item.code | uri %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
344
              <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=delete_attribute_type&amp;code=[% item.code | uri %]"><i class="fa fa-trash"></i> Delete</a>
355
              <a class="btn btn-default btn-xs" href="[% script_name | url %]?op=delete_attribute_type&amp;code=[% item.code | uri %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
345
            </td>
356
            </td>
346
          </tr>
357
          </tr>
347
        [% END %]
358
        [% END %]
Lines 350-355 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
350
  [% END %]
361
  [% END %]
351
[% ELSE %]
362
[% ELSE %]
352
  <p>There are no saved patron attribute types.</p>
363
  <p>There are no saved patron attribute types.</p>
364
</div>
353
[% END %]
365
[% END %]
354
366
355
<div class="pages">[% pagination_bar | $raw %]</div>
367
<div class="pages">[% pagination_bar | $raw %]</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-4 / +12 lines)
Lines 4-9 Link Here
4
[% USE Koha %]
4
[% USE Koha %]
5
[% USE HtmlId %]
5
[% USE HtmlId %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'prefs-admin-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>System preferences &rsaquo; Administration &rsaquo; Koha</title>
11
<title>System preferences &rsaquo; Administration &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 14-21 Link Here
14
[% Asset.css("lib/codemirror/lint.min.css") | $raw %]
17
[% Asset.css("lib/codemirror/lint.min.css") | $raw %]
15
</head>
18
</head>
16
<body id="admin_preferences" class="admin">
19
<body id="admin_preferences" class="admin">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'prefs-admin-search.inc' %]
19
21
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
23
    <ol>
Lines 31-36 Link Here
31
            </a>
33
            </a>
32
        </li>
34
        </li>
33
    </ol>
35
    </ol>
36
        <ol>
37
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
38
        </ol>
39
        <ol>
40
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
        </ol>
34
</nav>
42
</nav>
35
43
36
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 55-61 Link Here
55
    <div class="prefs-tab">
63
    <div class="prefs-tab">
56
    <h2>[% TAB.tab_title | html %] preferences</h2>
64
    <h2>[% TAB.tab_title | html %] preferences</h2>
57
    <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
65
    <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
58
        [% UNLESS ( searchfield ) %]<div id="toolbar"><button class="save-all submit" type="submit">Save all [% TAB.tab_title | html %] preferences</button></div>[% END %]
66
        [% UNLESS ( searchfield ) %]<div id="toolbar"><button class="save-all submit principal" type="submit">Save all [% TAB.tab_title | html %] preferences</button></div>[% END %]
59
        <input type="hidden" name="op" value="save" />
67
        <input type="hidden" name="op" value="save" />
60
        <input type="hidden" name="tab" value="[% TAB.tab_id | html %]" />
68
        <input type="hidden" name="tab" value="[% TAB.tab_id | html %]" />
61
69
Lines 197-203 Link Here
197
            [% IF ( loop.last ) %]</tbody></table>[% END %]
205
            [% IF ( loop.last ) %]</tbody></table>[% END %]
198
            [% END %]
206
            [% END %]
199
        [% END %]
207
        [% END %]
200
        <fieldset class="action"><button class="save-all submit" type="submit">Save all [% TAB.tab_title | html %] preferences</button> <a href="/cgi-bin/koha/admin/preferences.pl" class="force_reload cancel">Cancel</a></fieldset>
208
        <fieldset class="action"><button class="save-all submit principal" type="submit">Save all [% TAB.tab_title | html %] preferences</button> <a href="/cgi-bin/koha/admin/preferences.pl" class="force_reload cancel">Cancel</a></fieldset>
201
    </form>
209
    </form>
202
    </div>
210
    </div>
203
    [% END %]
211
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt (-230 / +231 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% PROCESS 'i18n.inc' %]
7
[% PROCESS 'i18n.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Search engine configuration (Elasticsearch) &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Search engine configuration (Elasticsearch) &rsaquo; Administration &rsaquo; Koha</title>
Lines 13-20 a.add, a.delete { Link Here
13
</head>
16
</head>
14
17
15
<body id="admin_searchengine_mappings" class="admin">
18
<body id="admin_searchengine_mappings" class="admin">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'prefs-admin-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 30-35 a.add, a.delete { Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
[% INCLUDE 'blocking_errors.inc' %]
43
[% INCLUDE 'blocking_errors.inc' %]
Lines 69-75 a.add, a.delete { Link Here
69
      </div>
77
      </div>
70
    [% END %]
78
    [% END %]
71
79
72
    <h1>Search engine configuration (Elasticsearch)</h1>
80
    <h2>Search engine configuration (Elasticsearch)</h2>
73
81
74
    [% IF errors %]
82
    [% IF errors %]
75
        <div class="dialog alert">
83
        <div class="dialog alert">
Lines 116-367 a.add, a.delete { Link Here
116
124
117
    <form id="es_mappings" method="post">
125
    <form id="es_mappings" method="post">
118
        <div id="tabs" class="toptabs">
126
        <div id="tabs" class="toptabs">
127
        <fieldset id="searchresults">
119
            <ul class="nav nav-tabs" role="tablist">
128
            <ul class="nav nav-tabs" role="tablist">
120
                <li role="presentation" class="active">
129
                <li role="presentation" class="active">
121
                    <a href="#search_fields" data-tab="search_fields" aria-controls="search_fields" role="tab" data-toggle="tab" >Search fields</a>
130
                    <a href="#search_fields" data-tab="search_fields" aria-controls="search_fields" role="tab" data-toggle="tab" >Search fields</a>
122
                </li>
131
                </li>
123
                [% FOREACH index IN indexes %]
132
                [% FOREACH index IN indexes %]
124
                    [% SWITCH index.index_name %]
133
                    [% SWITCH index.index_name %]
125
                        [% CASE 'biblios' %]
134
                        [% CASE 'biblios' %]<li><a href="#mapping_biblios">Bibliographic records</a></li>
126
                            <li role="presentation">
135
                        [% CASE 'authorities' %]<li><a href="#mapping_authorities">Authorities</a></li>
127
                                <a href="#mapping_biblios" data-tab="mapping_biblios" aria-controls="mapping_biblios" role="tab" data-toggle="tab">Bibliographic records</a>
128
                            </li>
129
                        [% CASE 'authorities' %]
130
                            <li role="presentation">
131
                                <a href="#mapping_authorities" data-tab="mapping_authorities" aria-controls="mapping_authorities" role="tab" data-toggle="tab">Authorities</a>
132
                            </li>
133
                    [% END %]
136
                    [% END %]
134
                [% END %]
137
                [% END %]
135
            </ul>
138
            </ul>
139
136
            <div class="tab-content">
140
            <div class="tab-content">
137
                <div id="search_fields" role="tabpanel" class="tab-pane active">
141
            <div id="search_fields" style="border:none">
138
                    <table class="search_fields" id="search_fields_table">
142
              <table class="search_fields" id="search_fields_table">
139
                        <thead>
143
                <thead>
140
                        <tr>
144
                  <tr>
141
                            <th>Name</th>
145
                    <th>Name</th>
142
                            <th>Aliases</th>
146
                    <th>Aliases</th>
143
                            <th>Label</th>
147
                    <th>Label</th>
144
                            <th>Type</th>
148
                    <th>Type</th>
145
                            <th>Weight</th>
149
                    <th>Weight</th>
146
                            <th colspan="2">Searchable</th>
150
                    <th colspan="2">Searchable</th>
147
                        </tr>
151
                  </tr>
148
                        <tr>
152
                  <tr>
149
                            <th colspan="5" class="NoSort">&nbsp;</th>
153
                    <th colspan="5" class="NoSort">&nbsp;</th>
150
                            <th class="NoSort">Staff interface</th>
154
                    <th class="NoSort">Staff interface</th>
151
                            <th class="NoSort">OPAC</th>
155
                    <th class="NoSort">OPAC</th>
156
                  </tr>
157
                </thead>
158
                <tbody>
159
                  [% FOREACH search_field IN all_search_fields %]
160
                    <tr>
161
                      <td data-order="[% search_field.name | html %]">
162
                        [% IF search_field.mandatory %]
163
                            <input type="text" name="search_field_name" value="[% search_field.name | html %]" readonly />
164
                        [% ELSE %]
165
                            <input type="text" name="search_field_name" value="[% search_field.name | html %]" />
166
                        [% END %]
167
                      </td>
168
                      <td>
169
                          [% search_field.aliases.join(', ') | html %]
170
                      </td>
171
                      <td data-order="[% search_field.label | html %]">
172
                        [% IF search_field.mandatory %]
173
                            <input type="text" name="search_field_label" value="[% search_field.label | html %]" readonly />
174
                        [% ELSE %]
175
                            <input type="text" name="search_field_label" value="[% search_field.label | html %]" />
176
                        [% END %]
177
                      </td>
178
                      <td data-order="[% search_field.type | html %]">
179
                        [% IF search_field.mandatory %]
180
                            <input type="hidden" name="search_field_type" value="[% search_field.type | html %]" />
181
                            <select name="search_field_type" disabled>
182
                        [% ELSE %]
183
                            <select name="search_field_type">
184
                        [% END %]
185
                              <option value=""></option>
186
                              [% IF search_field.type == "string" %]
187
                                <option value="string" selected="selected">String</option>
188
                              [% ELSE %]
189
                                <option value="string">String</option>
190
                              [% END %]
191
                              [% IF search_field.type == "date" %]
192
                                <option value="date" selected="selected">Date</option>
193
                              [% ELSE %]
194
                                <option value="date">Date</option>
195
                              [% END %]
196
                              [% IF search_field.type == "year" %]
197
                                <option value="year" selected="selected">Year</option>
198
                              [% ELSE %]
199
                                <option value="year">Year</option>
200
                              [% END %]
201
                              [% IF search_field.type == "number" %]
202
                                <option value="number" selected="selected">Number</option>
203
                              [% ELSE %]
204
                                <option value="number">Number</option>
205
                              [% END %]
206
                              [% IF search_field.type == "boolean" %]
207
                                <option value="boolean" selected="selected">Boolean</option>
208
                              [% ELSE %]
209
                                <option value="boolean">Boolean</option>
210
                              [% END %]
211
                              [% IF search_field.type == "sum" %]
212
                                <option value="sum" selected="selected">Sum</option>
213
                              [% ELSE %]
214
                                <option value="sum">Sum</option>
215
                              [% END %]
216
                              [% IF search_field.type == "isbn" %]
217
                                <option value="isbn" selected="selected">ISBN</option>
218
                              [% ELSE %]
219
                                <option value="isbn">ISBN</option>
220
                              [% END %]
221
                              [% IF search_field.type == "stdno" %]
222
                                <option value="stdno" selected="selected">Std. Number</option>
223
                              [% ELSE %]
224
                                <option value="stdno">Std. Number</option>
225
                              [% END %]
226
                            </select>
227
                      </td>
228
                        <td data-order="[% search_field.weight | html %]">
229
                            [% IF search_field.mapped_biblios %]
230
                                <input type="text" inputmode="decimal" pattern="[0-9\.]*" name="search_field_weight" value="[% search_field.weight | html %]" />
231
                            [% ELSE %]
232
                                <input type="text" name="search_field_weight" value="">
233
                            [% END %]
234
                        </td>
235
                      <td>
236
                        <select name="search_field_staff_client">
237
                          [% IF search_field.staff_client %]
238
                            <option value="1" selected="selected">Yes</option>
239
                            <option value="0">No</option>
240
                          [% ELSE %]
241
                            <option value="1">Yes</option>
242
                            <option value="0" selected="selected">No</option>
243
                          [% END %]
244
                        </select>
245
                      </td>
246
                      <td>
247
                        <select name="search_field_opac">
248
                          [% IF search_field.opac %]
249
                            <option value="1" selected="selected">Yes</option>
250
                            <option value="0">No</option>
251
                          [% ELSE %]
252
                            <option value="1">Yes</option>
253
                            <option value="0" selected="selected">No</option>
254
                          [% END %]
255
                        </select>
256
                      </td>
257
                    </tr>
258
                  [% END %]
259
                </tbody>
260
              </table>
261
            </div>
262
            [% FOREACH index IN indexes %]
263
                <div id="mapping_[% index.index_name | html %]" style="border:none">
264
                    <table class="mappings" data-index_name="[% index.index_name | html %]" data-ordering="false" id="mapping_[% index.index_name | html %]_table">
265
                      <thead>
266
                        <tr class="nodrag nodrop">
267
                          <th>Search field</th>
268
                          <th>Sortable</th>
269
                          <th>Facetable</th>
270
                          <th>Suggestible</th>
271
                          <th>Searchable</th>
272
                          <th>Mapping</th>
273
                          <th>&nbsp;</th>
152
                        </tr>
274
                        </tr>
153
                        </thead>
275
                      </thead>
154
                        <tbody>
276
                      <tbody>
155
                        [% FOREACH search_field IN all_search_fields %]
277
                        [% FOREACH mapping IN index.mappings %]
156
                            <tr>
278
                            [% IF mapping.search_field_mandatory && mapping.search_field_label != loop.next.search_field_label && mapping.search_field_label != loop.prev.search_field_label %]
157
                            <td data-order="[% search_field.name | html %]">
279
                              <tr>
158
                                [% IF search_field.mandatory %]
280
                                <td>
159
                                    <input type="text" name="search_field_name" value="[% search_field.name | html %]" readonly />
281
                                  <input type="hidden" name="mapping_index_name" value="[% index.index_name | html %]" />
160
                                [% ELSE %]
282
                                  <input type="hidden" name="mapping_search_field_name" value="[% mapping.search_field_name | html %]">
161
                                    <input type="text" name="search_field_name" value="[% search_field.name | html %]" />
283
                                  [% mapping.search_field_label | html %]
162
                                [% END %]
163
                            </td>
164
                            <td>
165
                                [% search_field.aliases.join(', ') | html %]
166
                            </td>
167
                            <td data-order="[% search_field.label | html %]">
168
                                [% IF search_field.mandatory %]
169
                                    <input type="text" name="search_field_label" value="[% search_field.label | html %]" readonly />
170
                                [% ELSE %]
171
                                    <input type="text" name="search_field_label" value="[% search_field.label | html %]" />
172
                                [% END %]
173
                            </td>
174
                            <td data-order="[% search_field.type | html %]">
175
                                [% IF search_field.mandatory %]
176
                                    <input type="hidden" name="search_field_type" value="[% search_field.type | html %]" />
177
                                    <select name="search_field_type" disabled>
178
                                [% ELSE %]
179
                                    <select name="search_field_type">
180
                                [% END %]
181
                                    <option value=""></option>
182
                                    [% IF search_field.type == "string" %]
183
                                        <option value="string" selected="selected">String</option>
184
                                    [% ELSE %]
185
                                        <option value="string">String</option>
186
                                    [% END %]
187
                                    [% IF search_field.type == "date" %]
188
                                        <option value="date" selected="selected">Date</option>
189
                                    [% ELSE %]
190
                                        <option value="date">Date</option>
191
                                    [% END %]
192
                                    [% IF search_field.type == "year" %]
193
                                        <option value="year" selected="selected">Year</option>
194
                                    [% ELSE %]
195
                                        <option value="year">Year</option>
196
                                    [% END %]
197
                                    [% IF search_field.type == "number" %]
198
                                        <option value="number" selected="selected">Number</option>
199
                                    [% ELSE %]
200
                                        <option value="number">Number</option>
201
                                    [% END %]
202
                                    [% IF search_field.type == "boolean" %]
203
                                        <option value="boolean" selected="selected">Boolean</option>
204
                                    [% ELSE %]
205
                                        <option value="boolean">Boolean</option>
206
                                    [% END %]
207
                                    [% IF search_field.type == "sum" %]
208
                                        <option value="sum" selected="selected">Sum</option>
209
                                    [% ELSE %]
210
                                        <option value="sum">Sum</option>
211
                                    [% END %]
212
                                    [% IF search_field.type == "isbn" %]
213
                                        <option value="isbn" selected="selected">ISBN</option>
214
                                    [% ELSE %]
215
                                        <option value="isbn">ISBN</option>
216
                                    [% END %]
217
                                    [% IF search_field.type == "stdno" %]
218
                                        <option value="stdno" selected="selected">Std. Number</option>
219
                                    [% ELSE %]
220
                                        <option value="stdno">Std. Number</option>
221
                                    [% END %]
222
                                    </select>
223
                            </td>
224
                                <td data-order="[% search_field.weight | html %]">
225
                                    [% IF search_field.mapped_biblios %]
226
                                        <input type="text" inputmode="decimal" pattern="[0-9\.]*" name="search_field_weight" value="[% search_field.weight | html %]" />
227
                                    [% ELSE %]
228
                                        <input type="text" name="search_field_weight" value="">
229
                                    [% END %]
230
                                </td>
284
                                </td>
231
                            <td>
285
                                <td>
232
                                <select name="search_field_staff_client">
286
                                  [% IF mapping.sort == 0 %]
233
                                [% IF search_field.staff_client %]
287
                                      <input type="hidden" name="mapping_sort" value="0" readonly />No
234
                                    <option value="1" selected="selected">Yes</option>
288
                                  [% ELSE %]
235
                                    <option value="0">No</option>
289
                                      <input type="hidden" name="mapping_sort" value="1" readonly />Yes
236
                                [% ELSE %]
290
                                  [% END %]
237
                                    <option value="1">Yes</option>
291
                                </td>
238
                                    <option value="0" selected="selected">No</option>
292
                                <td>
239
                                [% END %]
293
                                  <input type="hidden" name="mapping_facet" value="[% mapping.facet | html %]" readonly />[% IF mapping.facet == 1 %]Yes[% ELSE %]No[% END %]
240
                                </select>
294
                                </td>
241
                            </td>
295
                                <td>
242
                            <td>
296
                                  <input type="hidden" name="mapping_suggestible" value="[% mapping.suggestible | html %]" readonly />[% IF mapping.suggestible == 1 %]Yes[% ELSE %]No[% END %]
243
                                <select name="search_field_opac">
297
                                </td>
244
                                [% IF search_field.opac %]
298
                                <td>
245
                                    <option value="1" selected="selected">Yes</option>
299
                                  <input type="hidden" name="mapping_search" value="[% mapping.search | html %]" readonly />[% IF mapping.search == 1 %]Yes[% ELSE %]No[% END %]
246
                                    <option value="0">No</option>
300
                                </td>
247
                                [% ELSE %]
301
                                <td>
248
                                    <option value="1">Yes</option>
302
                                    <input name="mapping_marc_field" type="text" value="[% mapping.marc_field | html %]" />
249
                                    <option value="0" selected="selected">No</option>
303
                                </td>
250
                                [% END %]
304
                                <td>&nbsp;</td>
251
                                </select>
305
                              </tr>
252
                            </td>
306
                            [% ELSE %]
253
                            </tr>
307
                              <tr>
254
                        [% END %]
308
                                <td>
255
                        </tbody>
309
                                  <input type="hidden" name="mapping_index_name" value="[% index.index_name | html %]" />
256
                    </table>
310
                                  <input type="hidden" name="mapping_search_field_name" value="[% mapping.search_field_name | html %]">
257
                </div>
311
                                  [% mapping.search_field_label | html %]
258
                [% FOREACH index IN indexes %]
312
                                </td>
259
                    <div id="mapping_[% index.index_name | html %]" role="tabpanel" class="tab-pane">
313
                                <td>
260
                        <table class="mappings" data-index_name="[% index.index_name | html %]" data-ordering="false" id="mapping_[% index.index_name | html %]_table">
314
                                  <select name="mapping_sort">
261
                        <thead>
262
                            <tr class="nodrag nodrop">
263
                            <th>Search field</th>
264
                            <th>Sortable</th>
265
                            <th>Facetable</th>
266
                            <th>Suggestible</th>
267
                            <th>Searchable</th>
268
                            <th>Mapping</th>
269
                            <th>&nbsp;</th>
270
                            </tr>
271
                        </thead>
272
                        <tbody>
273
                            [% FOREACH mapping IN index.mappings %]
274
                                [% IF mapping.search_field_mandatory && mapping.search_field_label != loop.next.search_field_label && mapping.search_field_label != loop.prev.search_field_label %]
275
                                <tr>
276
                                    <td>
277
                                    <input type="hidden" name="mapping_index_name" value="[% index.index_name | html %]" />
278
                                    <input type="hidden" name="mapping_search_field_name" value="[% mapping.search_field_name | html %]">
279
                                    [% mapping.search_field_label | html %]
280
                                    </td>
281
                                    <td>
282
                                    [% IF mapping.sort == 0 %]
315
                                    [% IF mapping.sort == 0 %]
283
                                        <input type="hidden" name="mapping_sort" value="0" readonly />No
316
                                      <option value="0" selected="selected">No</option>
284
                                    [% ELSE %]
317
                                      <option value="1">Yes</option>
285
                                        <input type="hidden" name="mapping_sort" value="1" readonly />Yes
286
                                    [% END %]
287
                                    </td>
288
                                    <td>
289
                                    <input type="hidden" name="mapping_facet" value="[% mapping.facet | html %]" readonly />[% IF mapping.facet == 1 %]Yes[% ELSE %]No[% END %]
290
                                    </td>
291
                                    <td>
292
                                    <input type="hidden" name="mapping_suggestible" value="[% mapping.suggestible | html %]" readonly />[% IF mapping.suggestible == 1 %]Yes[% ELSE %]No[% END %]
293
                                    </td>
294
                                    <td>
295
                                    <input type="hidden" name="mapping_search" value="[% mapping.search | html %]" readonly />[% IF mapping.search == 1 %]Yes[% ELSE %]No[% END %]
296
                                    </td>
297
                                    <td>
298
                                        <input name="mapping_marc_field" type="text" value="[% mapping.marc_field | html %]" />
299
                                    </td>
300
                                    <td>&nbsp;</td>
301
                                </tr>
302
                                [% ELSE %]
303
                                <tr>
304
                                    <td>
305
                                    <input type="hidden" name="mapping_index_name" value="[% index.index_name | html %]" />
306
                                    <input type="hidden" name="mapping_search_field_name" value="[% mapping.search_field_name | html %]">
307
                                    [% mapping.search_field_label | html %]
308
                                    </td>
309
                                    <td>
310
                                    <select name="mapping_sort">
311
                                        [% IF mapping.sort == 0 %]
312
                                        <option value="0" selected="selected">No</option>
313
                                        <option value="1">Yes</option>
314
                                        [% ELSE %]
315
                                        <option value="0">No</option>
316
                                        <option value="1" selected="selected">Yes</option>
317
                                        [% END %]
318
                                    </select>
319
                                    </td>
320
                                    <td>
321
                                    [% IF mapping.is_facetable %]
322
                                        <select name="mapping_facet">
323
                                        [% IF mapping.facet %]
324
                                            <option value="0">No</option>
325
                                            <option value="1" selected="selected">Yes</option>
326
                                        [% ELSE %]
327
                                            <option value="0" selected="selected">No</option>
328
                                            <option value="1">Yes</option>
329
                                        [% END %]
330
                                        </select>
331
                                    [% ELSE %]
318
                                    [% ELSE %]
332
                                        <input type="hidden" name="mapping_facet" value="0" />
319
                                      <option value="0">No</option>
333
                                        No
320
                                      <option value="1" selected="selected">Yes</option>
334
                                    [% END %]
321
                                    [% END %]
335
                                    </td>
322
                                  </select>
336
                                    <td>
323
                                </td>
337
                                    <select name="mapping_suggestible">
324
                                <td>
338
                                        [% IF mapping.suggestible %]
325
                                  [% IF mapping.is_facetable %]
339
                                        <option value="0">No</option>
326
                                    <select name="mapping_facet">
340
                                        <option value="1" selected="selected">Yes</option>
327
                                      [% IF mapping.facet %]
341
                                        [% ELSE %]
342
                                        <option value="0" selected="selected">No</option>
343
                                        <option value="1">Yes</option>
344
                                        [% END %]
345
                                    </select>
346
                                    </td>
347
                                    <td>
348
                                    <select name="mapping_search">
349
                                        [% IF mapping.search %]
350
                                        <option value="0">No</option>
328
                                        <option value="0">No</option>
351
                                        <option value="1" selected="selected">Yes</option>
329
                                        <option value="1" selected="selected">Yes</option>
352
                                        [% ELSE %]
330
                                      [% ELSE %]
353
                                        <option value="0" selected="selected">No</option>
331
                                        <option value="0" selected="selected">No</option>
354
                                        <option value="1">Yes</option>
332
                                        <option value="1">Yes</option>
355
                                        [% END %]
333
                                      [% END %]
356
                                    </select>
334
                                    </select>
357
                                    </td>
335
                                    </td>
358
                                    <td>
336
                                    <td>
359
                                        <input name="mapping_marc_field" type="text" value="[% mapping.marc_field | html %]" />
337
                                        <input name="mapping_marc_field" type="text" value="[% mapping.marc_field | html %]" />
360
                                    </td>
338
                                    </td>
361
                                    [% IF mapping.search_field_mandatory %]
339
                                    [% IF mapping.search_field_mandatory %]
362
                                        <td><a class="btn btn-default btn-xs delete mandatory" data-field_name="[% mapping.search_field_name | html %]" style="cursor: pointer;"><i class="fa fa-trash"></i> Delete</a></td>
340
                                        <td><a class="btn btn-default btn-xs delete mandatory" data-field_name="[% mapping.search_field_name | html %]" style="cursor: pointer;" id="lientype"><i class="fa fa-trash"></i> Delete</a></td>
363
                                    [% ELSE %]
341
                                    [% ELSE %]
364
                                        <td><a class="btn btn-default btn-xs delete" style="cursor: pointer;"><i class="fa fa-trash"></i> Delete</a></td>
342
                                        <td><a class="btn btn-default btn-xs delete" style="cursor: pointer;" id="lientype"><i class="fa fa-trash"></i> Delete</a></td>
365
                                    [% END %]
343
                                    [% END %]
366
                                </tr>
344
                                </tr>
367
                                [% END %]
345
                                [% END %]
Lines 418-437 a.add, a.delete { Link Here
418
                                </select>
396
                                </select>
419
                            </td>
397
                            </td>
420
                            <td><input data-id="mapping_marc_field" type="text" /></td>
398
                            <td><input data-id="mapping_marc_field" type="text" /></td>
421
                            <td><a class="btn btn-default btn-xs add"><i class="fa fa-plus"></i> Add</a></td>
399
                            <td><a id="lientype" class="btn btn-default btn-xs add"><i class="fa fa-plus"></i> Add</a></td>
422
                            </tr>
400
                            </tr>
423
                        </tfoot>
401
                        </tfoot>
424
                        </table>
402
                        </table>
425
403
426
                        [% IF index.index_name == 'biblios' %]
404
                        [% IF index.index_name == 'biblios' %]
427
                            <h3>Facet order</h3>
405
                            <h3>Facet order</h3>
428
                            <div id="facet_[% index.index_name | html %]" class="ui-tabs-panel">
406
                            <div id="facet_[% index.index_name | html %]" style="border: none;">
429
                                <table>
407
                                <table>
430
                                    <thead>
408
                                    <thead>
431
                                        <tr>
409
                                        <tr>
432
                                            <th>Search field</th>
410
                                            <td>
433
                                            <th>Label</th>
411
                                                [% f.name | html %]
434
                                            <th>Display</th>
412
                                            </td>
413
                                            <td>
414
                                                [% SWITCH f.name %]
415
                                                [% CASE 'author' %]Authors
416
                                                [% CASE 'itype' %]Item types
417
                                                [% CASE 'location' %]Locations
418
                                                [% CASE 'su-geo' %]Places
419
                                                [% CASE 'title-series' %]Series
420
                                                [% CASE 'subject' %]Topics
421
                                                [% CASE 'ccode' %]Collections
422
                                                [% CASE 'holdingbranch' %]Holding libraries
423
                                                [% CASE 'homebranch' %]Home libraries
424
                                                [% CASE 'ln' %]Language
425
                                                [% CASE %][% f | html %]
426
                                                [% END %]
427
                                            </td>
428
                                            <td>
429
                                                [% IF f.facet_order %]
430
                                                    <input type="checkbox" name="display_facet" value="[% f.name | html %]" checked="checked" />
431
                                                [% ELSE %]
432
                                                    <input type="checkbox" name="display_facet" value="[% f.name | html %]" />
433
                                                [% END %]
434
                                            </td>
435
                                        </tr>
435
                                        </tr>
436
                                    </thead>
436
                                    </thead>
437
                                    <tbody>
437
                                    <tbody>
Lines 471-480 a.add, a.delete { Link Here
471
                    </div>
471
                    </div>
472
                [% END %]
472
                [% END %]
473
            </div> <!-- /.tab-content -->
473
            </div> <!-- /.tab-content -->
474
          </fieldset>
474
        </div> <!-- /#tabs -->
475
        </div> <!-- /#tabs -->
475
        <fieldset class="action">
476
        <fieldset class="action">
476
            <button class="btn btn-default" type="submit" name="op" value="edit"><i class="fa fa-hdd-o" aria-hidden="true"></i> Save</button>
477
            <button class="btn btn-default principal" type="submit" name="op" value="edit"><i class="fa fa-hdd-o" aria-hidden="true"></i> Save</button>
477
            <button class="btn btn-default" type="submit" name="op" value="reset_confirm"><i class="fa fa-refresh" aria-hidden="true"></i> Reset mappings</button>
478
            <button class="btn btn-default cancel" type="submit" name="op" value="reset_confirm"><i class="fa fa-refresh" aria-hidden="true"></i> Reset mappings</button>
478
        </fieldset>
479
        </fieldset>
479
    </form>
480
    </form>
480
481
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt (-6 / +14 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% USE Koha %]
7
[% USE Koha %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Share content with Mana KB &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Share content with Mana KB &rsaquo; Administration &rsaquo; Koha</title>
Lines 8-15 Link Here
8
</head>
11
</head>
9
12
10
<body id="admin_share_content" class="admin">
13
<body id="admin_share_content" class="admin">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 25-36 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
31
    <div class="row">
39
    <div class="row">
32
        <div class="col-sm-10 col-sm-push-2">
40
        <div class="col-sm-10 col-sm-push-2">
33
            <div class="col-sm-6">
41
            <div class="col-sm-12">
34
                [% IF result.code != 201 && result.msg %]
42
                [% IF result.code != 201 && result.msg %]
35
                    <div class="dialog alert" role="alert">
43
                    <div class="dialog alert" role="alert">
36
                        [% result.msg | html %]
44
                        [% result.msg | html %]
Lines 102-108 Link Here
102
                            </ol>
110
                            </ol>
103
                            <fieldset class="action">
111
                            <fieldset class="action">
104
                                <input type="hidden" name="op" value="save" />
112
                                <input type="hidden" name="op" value="save" />
105
                                <input type="submit" value="Save" />
113
                                <input type="submit" class="principal" value="Save" />
106
                            </fieldset>
114
                            </fieldset>
107
                        </fieldset>
115
                        </fieldset>
108
                    </form>
116
                    </form>
Lines 126-132 Link Here
126
                                </ol>
134
                                </ol>
127
                                <fieldset class="action">
135
                                <fieldset class="action">
128
                                    <input type="hidden" name="op" value="reset" />
136
                                    <input type="hidden" name="op" value="reset" />
129
                                    <input type="submit" value="Reset your token" />
137
                                    <input type="submit" class="principal" value="Reset your token" />
130
                                </fieldset>
138
                                </fieldset>
131
                            </fieldset>
139
                            </fieldset>
132
                        </form>
140
                        </form>
Lines 146-152 Link Here
146
                                </ol>
154
                                </ol>
147
                                <fieldset class="action">
155
                                <fieldset class="action">
148
                                    <input type="hidden" name="op" value="send" />
156
                                    <input type="hidden" name="op" value="send" />
149
                                    <input type="submit" value="Send to Mana KB" />
157
                                    <input type="submit" class="principal" value="Send to Mana KB" />
150
                                </fieldset>
158
                                </fieldset>
151
                            </fieldset>
159
                            </fieldset>
152
                        </form>
160
                        </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-23 / +39 lines)
Lines 8-13 Link Here
8
[% USE CirculationRules %]
8
[% USE CirculationRules %]
9
[% USE Price %]
9
[% USE Price %]
10
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
11
[% formulaire = BLOCK %]
12
    [% INCLUDE 'prefs-admin-search.inc' %]
13
[% END %]
11
14
12
[% SET branchcode = humanbranch || undef %]
15
[% SET branchcode = humanbranch || undef %]
13
16
Lines 29-36 Link Here
29
</head>
32
</head>
30
33
31
<body id="admin_smart-rules" class="admin">
34
<body id="admin_smart-rules" class="admin">
32
[% INCLUDE 'header.inc' %]
35
[% INCLUDE 'header.inc' form=formulaire %]
33
[% INCLUDE 'prefs-admin-search.inc' %]
34
36
35
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
37
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
36
    <ol>
38
    <ol>
Lines 46-51 Link Here
46
            </a>
48
            </a>
47
        </li>
49
        </li>
48
    </ol>
50
    </ol>
51
        <ol>
52
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
53
        </ol>
54
        <ol>
55
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
56
        </ol>
49
</nav>
57
</nav>
50
58
51
<div class="main container-fluid">
59
<div class="main container-fluid">
Lines 53-65 Link Here
53
        <div class="col-sm-10 col-sm-push-2">
61
        <div class="col-sm-10 col-sm-push-2">
54
            <main>
62
            <main>
55
63
56
    <h1 class="parameters">
64
    <h2 class="parameters">
57
        [% IF humanbranch %]
65
        [% IF humanbranch %]
58
            Defining circulation and fine rules for "[% Branches.GetName( humanbranch ) | html %]"
66
            Defining circulation and fine rules for "[% Branches.GetName( humanbranch ) | html %]"
59
        [% ELSE %]
67
        [% ELSE %]
60
            Defining circulation and fine rules for all libraries
68
            Defining circulation and fine rules for all libraries
61
        [% END %]
69
        [% END %]
62
    </h1>
70
    </h2>
63
    <div class="help">
71
    <div class="help">
64
        <p>The rules are applied from most specific to less specific, using the first found in this order:</p>
72
        <p>The rules are applied from most specific to less specific, using the first found in this order:</p>
65
        <ul>
73
        <ul>
Lines 94-105 Link Here
94
                    <select name="tobranch" id="tobranch">
102
                    <select name="tobranch" id="tobranch">
95
                        [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
103
                        [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
96
                    </select>
104
                    </select>
97
                    <input type="submit" id="clone_rules" value="Clone" />
105
                    <input type="submit" id="clone_rules" class="principal" value="Clone" />
98
                </form>
106
                </form>
99
            [% END %]
107
            [% END %]
100
        [% END %]
108
        [% END %]
101
109
102
        <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
110
        <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
111
        <div id="searchresults">
103
            <input type="hidden" name="op" value="add" />
112
            <input type="hidden" name="op" value="add" />
104
            <input type="hidden" name="branch" value="[% current_branch | html %]"/>
113
            <input type="hidden" name="branch" value="[% current_branch | html %]"/>
105
            <table id="default-circulation-rules">
114
            <table id="default-circulation-rules">
Lines 228-235 Link Here
228
                                        [% END %]
237
                                        [% END %]
229
                                    </td>
238
                                    </td>
230
                                    <td class="actions">
239
                                    <td class="actions">
231
                                      <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
240
                                      <a href="#" class="editrule btn btn-default btn-xs" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
232
                                      <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% i || '*' | html %]&amp;categorycode=[% c || '*' | html %]&amp;branch=[% current_branch | html %]"><i class="fa fa-trash"></i> Delete</a>
241
                                      <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% i || '*' | html %]&amp;categorycode=[% c || '*' | html %]&amp;branch=[% current_branch | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
233
                                    </td>
242
                                    </td>
234
                                    <td>
243
                                    <td>
235
                                        [% IF note.defined && note != '' %]
244
                                        [% IF note.defined && note != '' %]
Lines 382-389 Link Here
382
                                        <td>[% recall_shelf_time | html %]</td>
391
                                        <td>[% recall_shelf_time | html %]</td>
383
                                    [% END %]
392
                                    [% END %]
384
                                    <td class="actions">
393
                                    <td class="actions">
385
                                      <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
394
                                      <a href="#" class="editrule btn btn-default btn-xs" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
386
                                      <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% i || '*' | uri %]&amp;categorycode=[% c || '*' | uri %]&amp;branch=[% current_branch | uri %]"><i class="fa fa-trash"></i> Delete</a>
395
                                      <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% i || '*' | uri %]&amp;categorycode=[% c || '*' | uri %]&amp;branch=[% current_branch | uri %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
387
                                    </td>
396
                                    </td>
388
                            </tr>
397
                            </tr>
389
                        [% END %]
398
                        [% END %]
Lines 421-428 Link Here
421
                    </td>
430
                    </td>
422
                    <td class="actions">
431
                    <td class="actions">
423
                        <input type="hidden" name="branch" value="[% current_branch | html %]"/>
432
                        <input type="hidden" name="branch" value="[% current_branch | html %]"/>
424
                        <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
433
                        <button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-save"></i> Save</button>
425
                        <button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button>
434
                        <button name="cancel" class="clear_edit btn btn-default btn-xs" id="lientype"><i class="fa fa-undo"></i> Clear</button>
426
                    </td>
435
                    </td>
427
                    <td><input type="text" name="note" id="note" size="15" value="" maxlength="100"></td>
436
                    <td><input type="text" name="note" id="note" size="15" value="" maxlength="100"></td>
428
                    <td><input type="text" name="maxissueqty" id="maxissueqty" size="3" /></td>
437
                    <td><input type="text" name="maxissueqty" id="maxissueqty" size="3" /></td>
Lines 525-531 Link Here
525
                    [% END %]
534
                    [% END %]
526
                    <td class="actions">
535
                    <td class="actions">
527
                        <input type="hidden" name="branch" value="[% current_branch | html %]"/>
536
                        <input type="hidden" name="branch" value="[% current_branch | html %]"/>
528
                        <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
537
                        <button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-save"></i> Save</button>
529
                        <button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button>
538
                        <button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button>
530
                    </td>
539
                    </td>
531
                </tr>
540
                </tr>
Lines 582-590 Link Here
582
                  </tfoot>
591
                  </tfoot>
583
                </tbody>
592
                </tbody>
584
            </table>
593
            </table>
594
            </div>
585
        </form>
595
        </form>
586
    </div>
596
    </div>
587
    <div id="defaults-for-this-library" class="container">
597
    <div id="defaults-for-this-library" class="container">
598
    <div id=searchresults>
588
    <h3>Default checkout, hold and return policy[% IF humanbranch %] for [% Branches.GetName( humanbranch ) | html %][% END %]</h3>
599
    <h3>Default checkout, hold and return policy[% IF humanbranch %] for [% Branches.GetName( humanbranch ) | html %][% END %]</h3>
589
        <p>You can set a default maximum number of checkouts, hold policy and return policy that will be used if none is defined below for a particular item type or category.</p>
600
        <p>You can set a default maximum number of checkouts, hold policy and return policy that will be used if none is defined below for a particular item type or category.</p>
590
        <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
601
        <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
Lines 755-761 Link Here
755
                        </select>
766
                        </select>
756
                    </td>
767
                    </td>
757
                    <td class="actions">
768
                    <td class="actions">
758
                        <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
769
                        <button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-save"></i> Save</button>
759
                        [% IF ( default_checkout_hold_and_return_policy ) %]
770
                        [% IF ( default_checkout_hold_and_return_policy ) %]
760
                            <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&amp;categorycode=*&amp;branch=[% current_branch | html %]" id="unset"><i class="fa fa-undo"></i> Unset</a>
771
                            <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&amp;categorycode=*&amp;branch=[% current_branch | html %]" id="unset"><i class="fa fa-undo"></i> Unset</a>
761
                        [% END %]
772
                        [% END %]
Lines 763-771 Link Here
763
                </tr>
774
                </tr>
764
            </table>
775
            </table>
765
        </form>
776
        </form>
766
    </div>
777
    </div></div>
767
    [% IF ( show_branch_cat_rule_form ) %]
778
    [% IF ( show_branch_cat_rule_form ) %]
768
    <div id="holds-policy-by-patron-category" class="container">
779
    <div id="holds-policy-by-patron-category" class="container">
780
    <div id=searchresults>
769
    <h3>[% IF humanbranch %]Checkout, hold policy by patron category for [% Branches.GetName( humanbranch ) | html %][% ELSE %]Default checkout, hold policy by patron category[% END %]</h3>
781
    <h3>[% IF humanbranch %]Checkout, hold policy by patron category for [% Branches.GetName( humanbranch ) | html %][% ELSE %]Default checkout, hold policy by patron category[% END %]</h3>
770
        <p>For this library, you can specify the maximum number of loans that
782
        <p>For this library, you can specify the maximum number of loans that
771
            a patron of a given category can make, regardless of the item type.
783
            a patron of a given category can make, regardless of the item type.
Lines 838-852 Link Here
838
                    <td><input name="patron_maxissueqty" size="3" type="text" /></td>
850
                    <td><input name="patron_maxissueqty" size="3" type="text" /></td>
839
                    <td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td>
851
                    <td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td>
840
                    <td><input name="max_holds" size="3" type="text" /></td>
852
                    <td><input name="max_holds" size="3" type="text" /></td>
841
                    <td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td>
853
                    <td class="actions"><button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-plus"></i> Add</td>
842
                </tr>
854
                </tr>
843
            </table>
855
            </table>
844
        </form>
856
        </form>
845
    </div>
857
    </div></div>
846
    [% END %]
858
    [% END %]
847
859
848
[% IF Koha.Preference('ArticleRequests') %]
860
[% IF Koha.Preference('ArticleRequests') %]
849
    <div id="open-article-requests-limit-patron-category" class="container">
861
    <div id="open-article-requests-limit-patron-category" class="container">
862
    <div id=searchresults>
850
    [% IF humanbranch %]
863
    [% IF humanbranch %]
851
        <h3>Daily open article requests limit for [% Branches.GetName( humanbranch ) | html %]</h3>
864
        <h3>Daily open article requests limit for [% Branches.GetName( humanbranch ) | html %]</h3>
852
    [% ELSE %]
865
    [% ELSE %]
Lines 898-905 Link Here
898
                </tr>
911
                </tr>
899
            </table>
912
            </table>
900
        </form>
913
        </form>
901
    </div>
914
    </div></div>
902
    <div id="article-request-fee-category" class="container">
915
    <div id="article-request-fee-category" class="container">
916
    <div id=searchresults>
903
    [% IF humanbranch %]
917
    [% IF humanbranch %]
904
        <h3>Article request fees for [% Branches.GetName( humanbranch ) | html %]</h3>
918
        <h3>Article request fees for [% Branches.GetName( humanbranch ) | html %]</h3>
905
    [% ELSE %]
919
    [% ELSE %]
Lines 952-966 Link Here
952
                        </select>
966
                        </select>
953
                    </td>
967
                    </td>
954
                    <td><input name="article_request_fee" size="3" type="text" /></td>
968
                    <td><input name="article_request_fee" size="3" type="text" /></td>
955
                    <td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td>
969
                    <td class="actions"><button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-plus"></i> Add</td>
956
                </tr>
970
                </tr>
957
            </table>
971
            </table>
958
        </form>
972
        </form>
959
    </div>
973
    </div></div>
960
974
961
[% END %]
975
[% END %]
962
976
963
    <div id="refund-lost-item-fee-on-return" class="container">
977
    <div id="refund-lost-item-fee-on-return" class="container">
978
    <div id=searchresults>
964
        [% IF current_branch == '*' %]
979
        [% IF current_branch == '*' %]
965
            <h3>Default lost item fee refund on return policy</h3>
980
            <h3>Default lost item fee refund on return policy</h3>
966
        [% ELSE %]
981
        [% ELSE %]
Lines 1056-1070 Link Here
1056
                        </select>
1071
                        </select>
1057
                    </td>
1072
                    </td>
1058
                    <td class="actions">
1073
                    <td class="actions">
1059
                        <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
1074
                        <button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-save"></i> Save</button>
1060
                    </td>
1075
                    </td>
1061
                    </td>
1076
                    </td>
1062
                </tr>
1077
                </tr>
1063
            </table>
1078
            </table>
1064
        </form>
1079
        </form>
1065
    </div>
1080
    </div></div>
1066
1081
1067
    <div id="holds-policy-by-item-type" class="container">
1082
    <div id="holds-policy-by-item-type" class="container">
1083
    <div id=searchresults>
1068
    <h3>[% IF humanbranch %]Holds policy by item type for [% Branches.GetName( humanbranch ) | html %][% ELSE %]Default holds policy by item type[% END %]</h3>
1084
    <h3>[% IF humanbranch %]Holds policy by item type for [% Branches.GetName( humanbranch ) | html %][% ELSE %]Default holds policy by item type[% END %]</h3>
1069
        <p>
1085
        <p>
1070
            For this library, you can edit rules for given itemtypes, regardless
1086
            For this library, you can edit rules for given itemtypes, regardless
Lines 1190-1200 Link Here
1190
                            <option value="noreturn">Item floats</option>
1206
                            <option value="noreturn">Item floats</option>
1191
                        </select>
1207
                        </select>
1192
                    </td>
1208
                    </td>
1193
                    <td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</button></td>
1209
                    <td class="actions"><button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-plus"></i> Add</button></td>
1194
                </tr>
1210
                </tr>
1195
            </table>
1211
            </table>
1196
        </form>
1212
        </form>
1197
    </div>
1213
    </div></div>
1198
            </main>
1214
            </main>
1199
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
1215
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
1200
1216
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt (-2 / +10 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>SMS cellular providers &rsaquo; Administration &rsaquo; Koha</title>
8
<title>SMS cellular providers &rsaquo; Administration &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="admin_sms_providers" class="admin">
12
<body id="admin_sms_providers" class="admin">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'prefs-admin-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt (-9 / +19 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'prefs-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [% IF op == 'add_form' %]
9
    [% IF op == 'add_form' %]
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="admin_smtp_servers" class="admin">
18
<body id="admin_smtp_servers" class="admin">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'prefs-admin-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 53-58 Link Here
53
            </li>
55
            </li>
54
        [% END %]
56
        [% END %]
55
    </ol>
57
    </ol>
58
        <ol>
59
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
60
        </ol>
61
        <ol>
62
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
63
        </ol>
56
</nav>
64
</nav>
57
65
58
<div class="main container-fluid">
66
<div class="main container-fluid">
Lines 135-145 Link Here
135
                    <span>Enables additional debug output in the logs</span>
143
                    <span>Enables additional debug output in the logs</span>
136
                </li>
144
                </li>
137
            </ol>
145
            </ol>
138
        </fieldset>
139
        <fieldset class="action">
146
        <fieldset class="action">
140
            <input type="submit" value="Submit" />
147
            <input type="submit" class="principal" value="Submit" />
141
            <a class="cancel" href="/cgi-bin/koha/admin/smtp_servers.pl">Cancel</a>
148
            <a class="cancel" href="/cgi-bin/koha/admin/smtp_servers.pl">Cancel</a>
142
        </fieldset>
149
        </fieldset>
150
        </fieldset>
143
    </form>
151
    </form>
144
[% END %]
152
[% END %]
145
153
Lines 217-235 Link Here
217
                    </select>
225
                    </select>
218
                </li>
226
                </li>
219
            </ol>
227
            </ol>
220
        </fieldset>
221
        <fieldset class="action">
228
        <fieldset class="action">
222
            <input type="submit" value="Submit" />
229
            <input type="submit" class="principal" value="Submit" />
223
            <a class="cancel" href="/cgi-bin/koha/admin/smtp_servers.pl">Cancel</a>
230
            <a class="cancel" href="/cgi-bin/koha/admin/smtp_servers.pl">Cancel</a>
224
        </fieldset>
231
        </fieldset>
232
        </fieldset>
225
    </form>
233
    </form>
226
[% END %]
234
[% END %]
227
235
228
[% IF op == 'list' %]
236
[% IF op == 'list' %]
229
237
230
    <div id="toolbar" class="btn-toolbar">
238
    <div id="toolbar" class="btn-toolbar"><div>
231
        <a class="btn btn-default" id="new_smtp_server" href="/cgi-bin/koha/admin/smtp_servers.pl?op=add_form"><i class="fa fa-plus"></i> New SMTP server</a>
239
        <a class="pat" id="new_smtp_server" href="/cgi-bin/koha/admin/smtp_servers.pl?op=add_form"><i class="fa fa-plus"></i> New SMTP server</a>
232
    </div>
240
    </div></div>
233
241
234
    <h1>SMTP servers</h1>
242
    <h1>SMTP servers</h1>
235
243
Lines 246-251 Link Here
246
    </div>
254
    </div>
247
255
248
    [% IF servers_count > 0 %]
256
    [% IF servers_count > 0 %]
257
    <div id="searchresults">
249
        <table id="smtp_servers">
258
        <table id="smtp_servers">
250
            <thead>
259
            <thead>
251
                <tr>
260
                <tr>
Lines 259-264 Link Here
259
                </tr>
268
                </tr>
260
            </thead>
269
            </thead>
261
        </table>
270
        </table>
271
        </div>
262
    [% END %]
272
    [% END %]
263
[% END %]
273
[% END %]
264
274
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-10 / +24 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
    [% IF ( add_form ) %]
10
    [% IF ( add_form ) %]
Lines 26-33 Link Here
26
</head>
29
</head>
27
30
28
<body id="admin_systempreferences" class="admin">
31
<body id="admin_systempreferences" class="admin">
29
[% INCLUDE 'header.inc' %]
32
[% INCLUDE 'header.inc' form=formulaire %]
30
[% INCLUDE 'prefs-admin-search.inc' %]
31
33
32
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
34
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
33
    <ol>
35
    <ol>
Lines 97-102 Link Here
97
            </li>
99
            </li>
98
        [% END %]
100
        [% END %]
99
    </ol>
101
    </ol>
102
        <ol>
103
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
104
        </ol>
105
        <ol>
106
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
107
        </ol>
100
</nav>
108
</nav>
101
109
102
<div class="main container-fluid">
110
<div class="main container-fluid">
Lines 207-223 Link Here
207
                    <label for="value-no" class="yesno">OFF</label>
215
                    <label for="value-no" class="yesno">OFF</label>
208
                [% END %]
216
                [% END %]
209
                </li>
217
                </li>
210
        </ol></fieldset>
218
        </ol>
211
        <fieldset class="action"><input type="submit" value="Save" /> 
219
        <fieldset class="action"><input type="submit" class="principal" value="Save" /> 
212
          [% IF ( return_tab ) %]
220
          [% IF ( return_tab ) %]
213
            <a class="cancel" href="/cgi-bin/koha/admin/systempreferences.pl?tab=[% return_tab | html %]">Cancel</a>
221
            <a class="cancel" href="/cgi-bin/koha/admin/systempreferences.pl?tab=[% return_tab | html %]">Cancel</a>
214
          [% ELSE %]
222
          [% ELSE %]
215
            <a class="cancel" href="/cgi-bin/koha/admin/systempreferences.pl">Cancel</a>
223
            <a class="cancel" href="/cgi-bin/koha/admin/systempreferences.pl">Cancel</a>
216
          [% END %]
224
          [% END %]
217
        </fieldset>
225
        </fieldset></fieldset>
218
        
226
        
219
        <fieldset class="brief">
227
        <fieldset class="brief">
220
        <legend>Koha internal</legend>
228
        <h3>Koha internal</h3>
221
        <div class="hint">Note: change the variable type to one of the dropdown values as needed</div>
229
        <div class="hint">Note: change the variable type to one of the dropdown values as needed</div>
222
        <ol>
230
        <ol>
223
        <li><label for="preftype">Variable type:</label>
231
        <li><label for="preftype">Variable type:</label>
Lines 322-335 Link Here
322
    [% IF ( else ) %]
330
    [% IF ( else ) %]
323
331
324
    <div id="toolbar" class="btn-toolbar">
332
    <div id="toolbar" class="btn-toolbar">
325
        <a class="btn btn-default" id="newstopword" href="[% script_name | url %]?op=add_form"><i class="fa fa-plus"></i> New preference</a>
333
    <div>
334
        <a class="pat" id="newstopword" href="[% script_name | url %]?op=add_form"><i class="fa fa-plus"></i> New preference</a>
335
    </div>
326
    </div>
336
    </div>
327
337
328
    [% IF ( tab != 'local_use' ) %]
338
    [% IF ( tab != 'local_use' ) %]
329
        <p>Please click on one of the tabs at the left side of this form.</p>
339
        <p>Please click on one of the tabs at the left side of this form.</p>
340
        <div id="searchresults">
330
        <table>
341
        <table>
331
    [% ELSE %]
342
    [% ELSE %]
332
        <h1>Local use preferences</h1>
343
        <h2>Local use preferences</h2>
344
        <div id="searchresults">
333
        <table width="80%" id="sysprefst">
345
        <table width="80%" id="sysprefst">
334
        <thead><tr>
346
        <thead><tr>
335
        <th>Preference</th>
347
        <th>Preference</th>
Lines 337-342 Link Here
337
        <th>Value</th>
349
        <th>Value</th>
338
        <th class="noExport">Actions</th>
350
        <th class="noExport">Actions</th>
339
        </tr></thead>
351
        </tr></thead>
352
    
340
    [% END %]
353
    [% END %]
341
    <tbody>[% FOREACH loo IN loop %]
354
    <tbody>[% FOREACH loo IN loop %]
342
        <tr>
355
        <tr>
Lines 446-459 Link Here
446
                <input type="hidden" name="prefoptions" value="[% loo.prefoptions | html %]" />
459
                <input type="hidden" name="prefoptions" value="[% loo.prefoptions | html %]" />
447
                <input type="hidden" name="preftype" value="[% loo.type | html %]" />
460
                <input type="hidden" name="preftype" value="[% loo.type | html %]" />
448
                <input type="hidden" name="explanation" value="[% loo.explanation | html %]" />
461
                <input type="hidden" name="explanation" value="[% loo.explanation | html %]" />
449
                <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
462
                <button type="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-save"></i> Save</button>
450
            </form>
463
            </form>
451
        </td>
464
        </td>
452
465
453
        <td class="actions"><a class="btn btn-default btn-xs" href="[% loo.edit | url %]"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-default btn-xs" href="[% loo.delete | url %]"><i class="fa fa-trash"></i> Delete</a></td>
466
        <td class="actions"><a class="btn btn-default btn-xs" href="[% loo.edit | url %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-default btn-xs" href="[% loo.delete | url %]" id="lientype"><i class="fa fa-trash"></i> Delete</a></td>
454
    </tr>
467
    </tr>
455
    [% END %]</tbody>
468
    [% END %]</tbody>
456
    </table>
469
    </table>
470
    </div>
457
    
471
    
458
    [% END %]
472
    [% END %]
459
473
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transfer_limits.tt (-10 / +18 lines)
Lines 6-11 Link Here
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'prefs-admin-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Library checkin and transfer policy &rsaquo; Administration &rsaquo; Koha</title>
13
<title>Library checkin and transfer policy &rsaquo; Administration &rsaquo; Koha</title>
11
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
Lines 16-23 Link Here
16
[% SET branches = Branches.all %]
19
[% SET branches = Branches.all %]
17
20
18
<body id="admin_branch_transfer_limits" class="admin">
21
<body id="admin_branch_transfer_limits" class="admin">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form=formulaire %]
20
[% INCLUDE 'prefs-admin-search.inc' %]
21
23
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <ol>
25
    <ol>
Lines 32-44 Link Here
32
            </a>
34
            </a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
</nav>
43
</nav>
36
44
37
<div class="main container-fluid">
45
<div class="main container-fluid">
38
    <div class="row">
46
    <div class="row">
39
        <div class="col-sm-10 col-sm-push-2">
47
        <div class="col-sm-10 col-sm-push-2">
40
            <main>
48
            <main>
41
                <h1>Checkin and transfer policy</h1>
49
                <h2>Checkin and transfer policy</h2>
42
50
43
                <p>
51
                <p>
44
                    [% IF BranchTransferLimitsType == "itemtype" %]
52
                    [% IF BranchTransferLimitsType == "itemtype" %]
Lines 68-79 Link Here
68
                </p>
76
                </p>
69
77
70
                <p class="help">Check the boxes for the libraries you allow your items to be transferred to.</p>
78
                <p class="help">Check the boxes for the libraries you allow your items to be transferred to.</p>
71
                <fieldset>
79
                <fieldset class="rows">
72
                    <a id="check-all" class="limit-action" href="#"><i class="fa fa-check"></i> Check all</a>
80
                    <a id="check-all" class="limit-action" href="#"><i class="fa fa-check"></i> Check all</a>
73
                    |
81
                    |
74
                    <a id="uncheck-all" class="limit-action" href="#"><i class="fa fa-remove"></i> Uncheck all</a>
82
                    <a id="uncheck-all" class="limit-action lientype" href="#"><i class="fa fa-remove"></i> Uncheck all</a>
75
                    |
83
                    |
76
                    <a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Switch to basic editor</a>
84
                    <a href="/cgi-bin/koha/admin/branch_transfer_limits.pl" id="lientype">Switch to basic editor</a>
77
                </fieldset>
85
                </fieldset>
78
86
79
                <table id="transfer_limits" class="table table-striped table-bordered table-hover table-condensed">
87
                <table id="transfer_limits" class="table table-striped table-bordered table-hover table-condensed">
Lines 84-91 Link Here
84
                            <td>&nbsp;</td>
92
                            <td>&nbsp;</td>
85
                            [% FOREACH to IN branches %]
93
                            [% FOREACH to IN branches %]
86
                                <td>
94
                                <td>
87
                                    <p><a class="btn btn-default btn-xs check-all-col limit-action" data-to="[% to.branchcode | html %]" href="#"><i class="fa fa-check"></i> Check</a></p>
95
                                    <p><a class="btn btn-default btn-xs check-all-col limit-action" data-to="[% to.branchcode | html %]" href="#" id="lientype"<i class="fa fa-check"></i> Check</a></p>
88
                                    <p><a class="btn btn-default btn-xs uncheck-all-col limit-action" data-to="[% to.branchcode | html %]" href="#"><i class="fa fa-remove"></i> Uncheck</a></p>
96
                                    <p><a class="btn btn-default btn-xs uncheck-all-col limit-action" data-to="[% to.branchcode | html %]" href="#" id="lientype"><i class="fa fa-remove"></i> Uncheck</a></p>
89
                                </td>
97
                                </td>
90
                            [% END %]
98
                            [% END %]
91
                        </tr>
99
                        </tr>
Lines 103-110 Link Here
103
                        [% FOREACH from IN branches %]
111
                        [% FOREACH from IN branches %]
104
                            <tr>
112
                            <tr>
105
                                <td>
113
                                <td>
106
                                    <p><a class="btn btn-default btn-xs check-all-row limit-action" data-from="[% from.branchcode | html %]" href="#"><i class="fa fa-check"></i> Check</a></p>
114
                                    <p><a class="btn btn-default btn-xs check-all-row limit-action" data-from="[% from.branchcode | html %]" href="#" id="lientype"><i class="fa fa-check"></i> Check</a></p>
107
                                    <p><a class="btn btn-default btn-xs uncheck-all-row limit-action" data-from="[% from.branchcode | html %]" href="#"><i class="fa fa-remove"></i> Uncheck</a></p>
115
                                    <p><a class="btn btn-default btn-xs uncheck-all-row limit-action" data-from="[% from.branchcode | html %]" href="#" id="lientype"><i class="fa fa-remove"></i> Uncheck</a></p>
108
                                </td>
116
                                </td>
109
                                <th>[% from.branchname | html %]</th>
117
                                <th>[% from.branchname | html %]</th>
110
                                [% FOREACH to IN branches %]
118
                                [% FOREACH to IN branches %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt (-7 / +15 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Transport cost matrix &rsaquo; Administration &rsaquo; Koha</title>
9
<title>Transport cost matrix &rsaquo; Administration &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="admin_transport_cost_matrix" class="admin">
18
<body id="admin_transport_cost_matrix" class="admin">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'prefs-admin-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 30-35 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
Lines 37-47 Link Here
37
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
38
            <main>
46
            <main>
39
47
40
    <h1 class="parameters">
48
    <h2 class="parameters">
41
            Defining transport costs between libraries
49
            Defining transport costs between libraries
42
    </h1>
50
    </h2>
43
[% IF ( WARNING_transport_cost_matrix_off ) %]
51
[% IF ( WARNING_transport_cost_matrix_off ) %]
44
<div class="dialog message">Because the "UseTransportCostMatrix" system preference is currently not enabled, the transport cost matrix is not being used.  <br/>Go to the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&amp;searchfield=UseTransportCostMatrix">UseTransportCostMatrix</a> system preference if you wish to enable this feature.</div>
52
<div class="dialog message">Because the "UseTransportCostMatrix" system preference is currently not enabled, the transport cost matrix is not being used.  <br/>Go to the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&amp;searchfield=UseTransportCostMatrix" id="lientype">UseTransportCostMatrix</a> system preference if you wish to enable this feature.</div>
45
[% END %]
53
[% END %]
46
54
47
    [% IF ( errors ) %]<div class="dialog alert">
55
    [% IF ( errors ) %]<div class="dialog alert">
Lines 94-102 Link Here
94
                    </tr>
102
                    </tr>
95
                [% END %]
103
                [% END %]
96
                </table>
104
                </table>
97
            </fieldset>
98
            <fieldset class="action">
105
            <fieldset class="action">
99
                <input type="submit" value="Save" class="submit" /> <a href="/cgi-bin/koha/admin/transport-cost-matrix.pl" class="cancel">Cancel</a>
106
                <input type="submit" value="Save" class="principal" /> <a href="/cgi-bin/koha/admin/transport-cost-matrix.pl" class="cancel">Cancel</a>
107
            </fieldset>
100
            </fieldset>
108
            </fieldset>
101
        </form>
109
        </form>
102
110
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt (-5 / +13 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% USE Koha %]
7
[% USE Koha %]
5
[% USE KohaDates %]
8
[% USE KohaDates %]
6
[% USE Price %]
9
[% USE Price %]
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="admin_usage_statistics" class="admin">
16
<body id="admin_usage_statistics" class="admin">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'cat-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 28-33 Link Here
28
            </a>
30
            </a>
29
        </li>
31
        </li>
30
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
31
</nav>
39
</nav>
32
40
33
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 63-69 Link Here
63
[% END %]
71
[% END %]
64
72
65
    <form id="category_form" action="/cgi-bin/koha/admin/usage_statistics.pl" method="post">
73
    <form id="category_form" action="/cgi-bin/koha/admin/usage_statistics.pl" method="post">
66
        <h1>Modify the statistics you share with the Koha community</h1>
74
        <h2>Modify the statistics you share with the Koha community</h2>
67
        <div class="row">
75
        <div class="row">
68
            <div class="col-xs-12 col-sm-6">
76
            <div class="col-xs-12 col-sm-6">
69
                <fieldset class="rows">
77
                <fieldset class="rows">
Lines 204-210 Link Here
204
212
205
                        <li id="libraries_info">
213
                        <li id="libraries_info">
206
                            <fieldset class="rows">
214
                            <fieldset class="rows">
207
                            <legend>Libraries</legend>
215
                            <h3>Libraries</h3>
208
                            <ol>
216
                            <ol>
209
                                [% FOR l IN libraries %]
217
                                [% FOR l IN libraries %]
210
                                <li>
218
                                <li>
Lines 245-251 Link Here
245
253
246
        <fieldset class="action">
254
        <fieldset class="action">
247
            <input type="hidden" name="op" value="update" />
255
            <input type="hidden" name="op" value="update" />
248
            <input type="submit" value="Update your statistics usage" />
256
            <input type="submit" class="principal" value="Update your statistics usage" />
249
            <a class="cancel" href="/cgi-bin/koha/admin/usage_statistics.pl">Cancel</a>
257
            <a class="cancel" href="/cgi-bin/koha/admin/usage_statistics.pl">Cancel</a>
250
        </fieldset>
258
        </fieldset>
251
    </form>
259
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-9 / +19 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'z3950-admin-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
8
6
[% BLOCK ServerType %]
9
[% BLOCK ServerType %]
Lines 24-31 Link Here
24
</head>
27
</head>
25
28
26
<body id="admin_z3950servers" class="admin">
29
<body id="admin_z3950servers" class="admin">
27
[% INCLUDE 'header.inc' %]
30
[% INCLUDE 'header.inc' form=formulaire %]
28
[% INCLUDE 'z3950-admin-search.inc' %]
29
31
30
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
32
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
31
    <ol>
33
    <ol>
Lines 65-70 Link Here
65
        [% END %]
67
        [% END %]
66
68
67
    </ol>
69
    </ol>
70
        <ol>
71
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
72
        </ol>
73
        <ol>
74
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
75
        </ol>
68
</nav>
76
</nav>
69
77
70
<div class="main container-fluid">
78
<div class="main container-fluid">
Lines 86-98 Link Here
86
    <form action="[% script_name | html %]" name="Aform" method="post" id="serverentry">
94
    <form action="[% script_name | html %]" name="Aform" method="post" id="serverentry">
87
        <input type="hidden" name="op" value="add_validated" />
95
        <input type="hidden" name="op" value="add_validated" />
88
        <input type="hidden" name="servertype" value="[% server.servertype||type||'zed' | html %]"/>
96
        <input type="hidden" name="servertype" value="[% server.servertype||type||'zed' | html %]"/>
97
        <fieldset class="rows">
89
        [% IF op == 'edit' %]
98
        [% IF op == 'edit' %]
90
            <h1>Modify [% PROCESS ServerType %] server</h1>
99
            <h3>Modify [% PROCESS ServerType %] server</h3>
91
            <input type="hidden" name="id" value="[% server.id | html %]" />
100
            <input type="hidden" name="id" value="[% server.id | html %]" />
92
        [% ELSE %]
101
        [% ELSE %]
93
            <h1>New [% PROCESS ServerType %] server</h1>
102
            <h3>New [% PROCESS ServerType %] server</h3>
94
        [% END %]
103
        [% END %]
95
        <fieldset class="rows">
96
        <ol>
104
        <ol>
97
        <li><label for="name" class="required">Server name: </label>
105
        <li><label for="name" class="required">Server name: </label>
98
            <input type="text" name="servername" id="servername" size="65" maxlength="100" value="[% server.servername | html %]" required="required" /> <span class="required">Required</span>
106
            <input type="text" name="servername" id="servername" size="65" maxlength="100" value="[% server.servername | html %]" required="required" /> <span class="required">Required</span>
Lines 196-211 Link Here
196
        </li>
204
        </li>
197
205
198
        </ol>
206
        </ol>
207
        <fieldset class="action"><input type="submit" class="principal" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/z3950servers.pl">Cancel</a></fieldset>
199
        </fieldset>
208
        </fieldset>
200
209
201
        <fieldset class="action"><input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/z3950servers.pl">Cancel</a></fieldset>
202
    </form>
210
    </form>
203
[% END %]
211
[% END %]
204
212
205
[% IF op == 'list' %]
213
[% IF op == 'list' %]
206
    <div id="toolbar" class="btn-toolbar">
214
    <div id="toolbar" class="btn-toolbar">
207
        <a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=zed"><i class="fa fa-plus"></i> New Z39.50 server</a>
215
        <a id="newserver" class="btn btn-default pat" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=zed"><i class="fa fa-plus"></i> New Z39.50 server</a>
208
        <a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=sru"><i class="fa fa-plus"></i> New SRU server</a>
216
        <a id="newserver" class="btn btn-default pat" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=sru"><i class="fa fa-plus"></i> New SRU server</a>
209
    </div>
217
    </div>
210
    <h1>Z39.50/SRU servers administration</h1>
218
    <h1>Z39.50/SRU servers administration</h1>
211
    [% IF id %]
219
    [% IF id %]
Lines 213-218 Link Here
213
    [% ELSIF searchfield %]
221
    [% ELSIF searchfield %]
214
        You searched for [% searchfield | html %]
222
        You searched for [% searchfield | html %]
215
    [% END %]
223
    [% END %]
224
    <div id="searchresults">
216
    <table id="serverst">
225
    <table id="serverst">
217
226
218
        <thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Preselected</th><th>Rank</th><th>Syntax</th><th>Encoding</th><th>Timeout</th><th>Record type</th><th>Attributes</th><th class="noExport">Actions</th>
227
        <thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Preselected</th><th>Rank</th><th>Syntax</th><th>Encoding</th><th>Timeout</th><th>Record type</th><th>Attributes</th><th class="noExport">Actions</th>
Lines 231-237 Link Here
231
            <td>[% loo.attributes | html %]</td>
240
            <td>[% loo.attributes | html %]</td>
232
            <td>
241
            <td>
233
                <div class="btn-group dropup">
242
                <div class="btn-group dropup">
234
                    <a class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown" href="#">
243
                    <a class="btn btn-default btn-xs dropdown-toggle lientype" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown" href="#">
235
                        Actions <b class="caret"></b>
244
                        Actions <b class="caret"></b>
236
                    </a>
245
                    </a>
237
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
246
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
Lines 245-250 Link Here
245
        [% END %]
254
        [% END %]
246
        </tbody>
255
        </tbody>
247
    </table>
256
    </table>
257
    </div>
248
[% END %]
258
[% END %]
249
259
250
            </main>
260
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt (-1 / +1 lines)
Lines 38-44 Link Here
38
[% END %]
38
[% END %]
39
39
40
[% IF ( different_ip ) %]
40
[% IF ( different_ip ) %]
41
<div id="login_error"><strong>Error: </strong>IP address has changed. Please log in again </div>
41
<div id="login_error"><strong>Error: </strong>IP address has changed from '[% oldip %]' to '[% newip %]', please log in again </div>
42
[% END %]
42
[% END %]
43
43
44
[% IF ( wrongip ) %]
44
[% IF ( wrongip ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt (-3 / +19 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'authorities-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Authorities &rsaquo; Koha</title>
6
<title>Authorities &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="auth_authorities_home" class="auth">
10
<body id="auth_authorities_home" class="auth">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'authorities-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 19-24 Link Here
19
            </a>
21
            </a>
20
        </li>
22
        </li>
21
    </ol>
23
    </ol>
24
25
    <ol>
26
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
    </ol>
28
29
    <ol>
30
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
22
</nav>
38
</nav>
23
39
24
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 27-33 Link Here
27
43
28
    [% INCLUDE 'authorities-toolbar.inc' %]
44
    [% INCLUDE 'authorities-toolbar.inc' %]
29
45
30
    <h1>Authorities</h1>
46
    <h2>Authorities</h2>
31
47
32
    <div id="merge_in_progress"></div>
48
    <div id="merge_in_progress"></div>
33
49
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-5 / +7 lines)
Lines 313-331 Link Here
313
                    <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" />
313
                    <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" />
314
314
315
                    <div id="toolbar" class="btn-toolbar">
315
                    <div id="toolbar" class="btn-toolbar">
316
                        <div class="btn-group"><a href="#" id="addauth" class="btn btn-default" accesskey="w"><i class="fa fa-save"></i> Save</a></div>
316
                        <div class="btn-group"><a href="#" id="addauth" class="btn btn-default principal" accesskey="w"><i class="fa fa-save"></i> Save</a></div>
317
                        <div class="btn-group">
317
                        <div class="btn-group">
318
                            [% IF ( authid ) %]
318
                            [% IF ( authid ) %]
319
                                <a class="btn btn-default" id="z3950submit" href="#"><i class="fa fa-search"></i> Replace record via Z39.50/SRU search</a>
319
                                <a class="btn btn-default pat" id="z3950submit" href="#"><i class="fa fa-search"></i> Replace record via Z39.50/SRU search</a>
320
                            [% ELSE %]
320
                            [% ELSE %]
321
                                <a class="btn btn-default" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a>
321
                                <a class="btn btn-default pat" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a>
322
                            [% END %]
322
                            [% END %]
323
                        </div>
323
                        </div>
324
                        <div class="btn-group">
324
                        <div class="btn-group">
325
                            [% IF ( authid ) %]
325
                            [% IF ( authid ) %]
326
                                <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/detail.pl?authid=[% authid | url %]">Cancel</a>
326
                                <a class="btn btn-default cancel" id="cancel" href="/cgi-bin/koha/authorities/detail.pl?authid=[% authid | url %]">Cancel</a>
327
                            [% ELSE %]
327
                            [% ELSE %]
328
                                <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/authorities-home.pl">Cancel</a>
328
                                <a class="btn btn-default cancel" id="cancel" href="/cgi-bin/koha/authorities/authorities-home.pl">Cancel</a>
329
                            [% END %]
329
                            [% END %]
330
                        </div>
330
                        </div>
331
                        <div class="toolbar-tabs-container">
331
                        <div class="toolbar-tabs-container">
Lines 363-368 Link Here
363
                                This authority is not used in any records.
363
                                This authority is not used in any records.
364
                        [% END %]
364
                        [% END %]
365
                    </div>
365
                    </div>
366
                    <fieldset class="select-libs">
366
                    <div id="authoritytabs" class="toptabs numbered">
367
                    <div id="authoritytabs" class="toptabs numbered">
367
                        <ul>
368
                        <ul>
368
                            [% FOREACH BIG_LOO IN BIG_LOOP %]
369
                            [% FOREACH BIG_LOO IN BIG_LOOP %]
Lines 589-594 Link Here
589
                            <input type="hidden" name="tag_mandatory" value="[% hidden_loo.tag_mandatory | html %]" />
590
                            <input type="hidden" name="tag_mandatory" value="[% hidden_loo.tag_mandatory | html %]" />
590
                        [% END %]
591
                        [% END %]
591
                    </div> <!-- /.tab -->
592
                    </div> <!-- /.tab -->
593
                    </fieldset>
592
                    [% IF ( oldauthnumtagfield ) %]
594
                    [% IF ( oldauthnumtagfield ) %]
593
                        <input type="hidden" name="tag" value="[% oldauthnumtagfield | html %]" />
595
                        <input type="hidden" name="tag" value="[% oldauthnumtagfield | html %]" />
594
                        <input type="hidden" name="subfield" value="[% oldauthnumtagsubfield | html %]" />
596
                        <input type="hidden" name="subfield" value="[% oldauthnumtagsubfield | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-4 / +15 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'authorities-search.inc' %]
6
[% END %]
4
[% PROCESS 'authorities.inc' %]
7
[% PROCESS 'authorities.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
Lines 18-25 Link Here
18
</head>
21
</head>
19
22
20
<body id="auth_detail" class="auth">
23
<body id="auth_detail" class="auth">
21
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'header.inc' form=formulaire %]
22
[% INCLUDE 'authorities-search.inc' %]
23
25
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
27
    <ol>
Lines 40-45 Link Here
40
            </a>
42
            </a>
41
        </li>
43
        </li>
42
    </ol>
44
    </ol>
45
        <ol>
46
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
47
        </ol>
48
        <ol>
49
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
50
        </ol>
43
</nav>
51
</nav>
44
52
45
<div class="main container-fluid">
53
<div class="main container-fluid">
Lines 56-66 Link Here
56
64
57
65
58
            [% IF ( unknownauthid ) %]
66
            [% IF ( unknownauthid ) %]
59
                <h1>Authority does not exist</h1>
67
                <h2>Authority does not exist</h2>
60
                <div class="dialog message">The authority record you requested does not exist ([% errauthid | html %]).</div>
68
                <div class="dialog message">The authority record you requested does not exist ([% errauthid | html %]).</div>
61
            [% ELSE %]
69
            [% ELSE %]
62
70
63
                <h1>Authority #[% authid | html %] ([% authtypetext | html %])</h1>
71
                <h2>Authority #[% authid | html %] ([% authtypetext | html %])</h2>
64
72
65
                <div id="action">
73
                <div id="action">
66
                    [% IF count %]
74
                    [% IF count %]
Lines 121-126 Link Here
121
                            </div> <!-- /.tab-pane -->
129
                            </div> <!-- /.tab-pane -->
122
                        [% END # /FOREACH BIG_LOO %]
130
                        [% END # /FOREACH BIG_LOO %]
123
                    </div> <!-- /.tab-content -->
131
                    </div> <!-- /.tab-content -->
132
            </fieldset>
133
            </div>
134
            </div>
124
                </div> <!-- /#authoritiestabs -->
135
                </div> <!-- /#authoritiestabs -->
125
            [% END # /IF ( unknownauthid ) %]
136
            [% END # /IF ( unknownauthid ) %]
126
        </div> <!-- /.col-md-8 col-md-offset-2 -->
137
        </div> <!-- /.col-md-8 col-md-offset-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt (-2 / +10 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% PROCESS 'merge-record.inc' %]
3
[% PROCESS 'merge-record.inc' %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'authorities-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Merging records &rsaquo; Cataloging &rsaquo; Koha</title>
9
<title>Merging records &rsaquo; Cataloging &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 13-20 div#result { margin-top: 1em; } Link Here
13
</head>
16
</head>
14
17
15
<body id="auth_merge" class="cat">
18
<body id="auth_merge" class="cat">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'authorities-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 30-35 div#result { margin-top: 1em; } Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt (-3 / +11 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'authorities-search.inc' %]
7
[% END %]
5
[% PROCESS 'authorities-search-results.inc' %]
8
[% PROCESS 'authorities-search-results.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Authority search results &rsaquo; Authorities &rsaquo; Koha</title>
10
<title>Authority search results &rsaquo; Authorities &rsaquo; Koha</title>
Lines 19-26 Link Here
19
</head>
22
</head>
20
23
21
<body id="auth_searchresultlist" class="auth">
24
<body id="auth_searchresultlist" class="auth">
22
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' form=formulaire %]
23
[% INCLUDE 'authorities-search.inc' %]
24
26
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <ol>
28
    <ol>
Lines 36-41 Link Here
36
            </a>
38
            </a>
37
        </li>
39
        </li>
38
    </ol>
40
    </ol>
41
        <ol>
42
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
43
        </ol>
44
        <ol>
45
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
        </ol>
39
</nav>
47
</nav>
40
48
41
<div class="main container-fluid">
49
<div class="main container-fluid">
Lines 97-103 Link Here
97
    [% IF ( CAN_user_editauthorities ) %]
105
    [% IF ( CAN_user_editauthorities ) %]
98
      <td>
106
      <td>
99
      <div class="btn-group dropup">
107
      <div class="btn-group dropup">
100
        <a class="btn btn-default btn-xs dropdown-toggle" id="authactions[% resul.authid | html %]" role="button" data-toggle="dropdown" href="#">
108
        <a class="btn btn-default btn-xs dropdown-toggle lientype" id="authactions[% resul.authid | html %]" role="button" data-toggle="dropdown" href="#">
101
        Actions <b class="caret"></b></a>
109
        Actions <b class="caret"></b></a>
102
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid | html %]">
110
        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid | html %]">
103
          <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
111
          <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-7 / +9 lines)
Lines 40-54 Link Here
40
                    <h1>Your cart</h1>
40
                    <h1>Your cart</h1>
41
41
42
                    <div id="toolbar" class="btn-toolbar">
42
                    <div id="toolbar" class="btn-toolbar">
43
                    <div>
43
                        [% IF ( verbose ) %]
44
                        [% IF ( verbose ) %]
44
                            <a href="basket.pl" class="btn btn-default showdetails showless"><i class="fa fa-folder"></i> Brief display</a>
45
                            <a href="basket.pl" class="pat showdetails showless"><i class="fa fa-folder"></i> Brief display</a>
45
                        [% ELSE %]
46
                        [% ELSE %]
46
                            <a href="basket.pl" class="btn btn-default showdetails showmore"><i class="fa fa-folder-open"></i> More details</a>
47
                            <a href="basket.pl" class="pat showdetails showmore"><i class="fa fa-folder-open"></i> More details</a>
47
                        [% END %]
48
                        [% END %]
48
49
49
                        <a class="btn btn-default" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> Send</a>
50
                        <a class="pat" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> Send</a>
50
                        <div class="btn-group">
51
                        <div class="btn-group">
51
                            <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a>
52
                            <a class="pat dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a>
52
                            <ul class="dropdown-menu">
53
                            <ul class="dropdown-menu">
53
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list | uri %]">iso2709</a></li>
54
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list | uri %]">iso2709</a></li>
54
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list | uri %]">RIS</a></li>
55
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list | uri %]">RIS</a></li>
Lines 58-66 Link Here
58
                            [% END %]
59
                            [% END %]
59
                            </ul>
60
                            </ul>
60
                        </div>
61
                        </div>
61
                        <a class="btn btn-default" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> Print</a>
62
                        <a class="pat" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> Print</a>
62
                        <a class="btn btn-default" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a>
63
                        <a class="pat" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a>
63
                        <a class="btn btn-default close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a>
64
                        <a class="pat close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a>
65
                    </div>
64
                    </div>
66
                    </div>
65
67
66
68
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-5 / +13 lines)
Lines 2-7 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
  [% IF ( unknownbiblionumber ) %]
10
  [% IF ( unknownbiblionumber ) %]
Lines 14-21 Link Here
14
</head>
17
</head>
15
<body id="catalog_ISBDdetail" class="catalog">
18
<body id="catalog_ISBDdetail" class="catalog">
16
19
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'cat-search.inc' %]
19
21
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
23
    <ol>
Lines 43-48 Link Here
43
            </li>
45
            </li>
44
        [% END %]
46
        [% END %]
45
    </ol>
47
    </ol>
48
        <ol>
49
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
50
        </ol>
51
        <ol>
52
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
53
        </ol>
46
</nav>
54
</nav>
47
55
48
<div class="main container-fluid">
56
<div class="main container-fluid">
Lines 50-68 Link Here
50
        <div class="col-sm-10 col-sm-push-2">
58
        <div class="col-sm-10 col-sm-push-2">
51
            <main>
59
            <main>
52
60
53
                <h1>
61
	[% INCLUDE 'cat-toolbar.inc' %]
62
                <h2>
54
                    [% IF ( unknownbiblionumber ) %]
63
                    [% IF ( unknownbiblionumber ) %]
55
                        Unknown record
64
                        Unknown record
56
                    [% ELSE %]
65
                    [% ELSE %]
57
                        ISBD details for [% INCLUDE 'biblio-title-head.inc' %]
66
                        ISBD details for [% INCLUDE 'biblio-title-head.inc' %]
58
                    [% END %]
67
                    [% END %]
59
                </h1>
68
                </h2>
60
69
61
[% IF ( unknownbiblionumber ) %]
70
[% IF ( unknownbiblionumber ) %]
62
    <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
71
    <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
63
[% ELSE %]
72
[% ELSE %]
64
73
65
	[% INCLUDE 'cat-toolbar.inc' %]
66
    [% IF ( ocoins ) %]
74
    [% IF ( ocoins ) %]
67
    <!-- COinS / OpenURL -->
75
    <!-- COinS / OpenURL -->
68
    <span class="Z3988" title="[% ocoins | html %]"></span>
76
    <span class="Z3988" title="[% ocoins | html %]"></span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-4 / +14 lines)
Lines 2-7 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
  [% IF ( unknownbiblionumber ) %]
10
  [% IF ( unknownbiblionumber ) %]
Lines 15-22 Link Here
15
18
16
<body id="catalog_MARCdetail" class="catalog">
19
<body id="catalog_MARCdetail" class="catalog">
17
20
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'cat-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 44-49 Link Here
44
            </li>
46
            </li>
45
        [% END %]
47
        [% END %]
46
    </ol>
48
    </ol>
49
        <ol>
50
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
51
        </ol>
52
        <ol>
53
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
54
        </ol>
47
</nav>
55
</nav>
48
56
49
<div class="main container-fluid">
57
<div class="main container-fluid">
Lines 52-65 Link Here
52
            <main>
60
            <main>
53
61
54
[% IF ( unknownbiblionumber ) %]
62
[% IF ( unknownbiblionumber ) %]
55
    <h1>Unknown record</h1>
63
    <h2>Unknown record</h2>
56
  <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
64
  <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
57
[% ELSE %]
65
[% ELSE %]
58
66
59
[% INCLUDE 'cat-toolbar.inc' %]
67
[% INCLUDE 'cat-toolbar.inc' %]
60
68
61
[% UNLESS ( popup ) %]
69
[% UNLESS ( popup ) %]
62
    <h1>MARC record: [% biblionumber | html %]  ( [% bibliotitle | html %] )</h1>
70
    <h2>MARC record: [% biblionumber | html %]  ( [% bibliotitle | html %] )</h2>
63
[% END %]
71
[% END %]
64
72
65
    <p><strong>With framework : <select name="Frameworks" id="Frameworks">
73
    <p><strong>With framework : <select name="Frameworks" id="Frameworks">
Lines 117-122 Link Here
117
[% END %]
125
[% END %]
118
126
119
    <div id="bibliotabs" class="toptabs">
127
    <div id="bibliotabs" class="toptabs">
128
    <fieldset id="searchresults">
120
        <ul class="nav nav-tabs" role="tablist">
129
        <ul class="nav nav-tabs" role="tablist">
121
            [% IF ( tab0XX ) %]
130
            [% IF ( tab0XX ) %]
122
                <li role="presentation"><a href="#tab0XX" aria-controls="tab0XX" role="tab" data-toggle="tab">&#48;</a></li>
131
                <li role="presentation"><a href="#tab0XX" aria-controls="tab0XX" role="tab" data-toggle="tab">&#48;</a></li>
Lines 192-197 Link Here
192
                </div>
201
                </div>
193
            [% END %]
202
            [% END %]
194
        </div> <!-- /.tab-content -->
203
        </div> <!-- /.tab-content -->
204
        </fieldset>
195
    </div> <!-- /#bibliotabs -->
205
    </div> <!-- /#bibliotabs -->
196
206
197
            </main>
207
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-21 / +32 lines)
Lines 3-8 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'adv-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Advanced search &rsaquo; Catalog &rsaquo; Koha</title>
10
<title>Advanced search &rsaquo; Catalog &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 26-33 Link Here
26
[%- END -%]
29
[%- END -%]
27
30
28
<body id="catalog_advsearch" class="catalog">
31
<body id="catalog_advsearch" class="catalog">
29
[% INCLUDE 'header.inc' %]
32
[% INCLUDE 'header.inc' form=formulaire %]
30
[% INCLUDE 'adv-search.inc' %]
31
33
32
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
34
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
33
    <ol>
35
    <ol>
Lines 40-45 Link Here
40
            </a>
42
            </a>
41
        </li>
43
        </li>
42
    </ol>
44
    </ol>
45
46
    <ol>
47
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
48
    </ol>
49
    <ol>
50
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
51
    </ol>
43
</nav>
52
</nav>
44
53
45
<div class="main container-fluid">
54
<div class="main container-fluid">
Lines 49-79 Link Here
49
            <form action="search.pl" method="get">
58
            <form action="search.pl" method="get">
50
                <div id="advanced-search">
59
                <div id="advanced-search">
51
                    <input type="hidden" name="advsearch" value="1"/>
60
                    <input type="hidden" name="advsearch" value="1"/>
52
                    <h1>Advanced search</h1>
61
                    <h2>Advanced search</h2>
53
                    <p>
54
                        <a href="/cgi-bin/koha/catalogue/itemsearch.pl">Go to item search</a>
55
                        [% IF searchid %]
56
                            <div id="previous_search_link"></div>
57
                        [% END %]
58
                    </p>
59
62
60
                    <!-- SEARCH BUTTONS -->
63
                    <!-- SEARCH BUTTONS -->
61
                    <div id="toolbar" class="btn-toolbar">
64
                    <div id="toolbar" class="btn-toolbar">
62
                        <fieldset class="action" id="submit1">
65
                        <fieldset class="action" id="submit1">
63
                            <div class="btn-group">
66
                            <div class="btn-group">
64
                                <button class="btn btn-default" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button>
67
                                <button class="btn btn-default principal" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button>
65
                            </div>
68
                            </div>
66
                            <div class="btn-group">
69
                            <div class="btn-group">
67
                            [% IF ( expanded_options ) %]
70
                            [% IF ( expanded_options ) %]
68
                                <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="btn btn-link"><i class="fa fa-search-minus"></i> Fewer options</a>
71
                                <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="btn btn-link pat"><i class="fa fa-search-minus"></i> Fewer options</a>
69
                            </div>
72
                            </div>
70
                            [% ELSE %]
73
                            [% ELSE %]
71
                                <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="btn btn-link"><i class="fa fa-search-plus"></i> More options</a>
74
                                <a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="btn btn-link pat"><i class="fa fa-search-plus"></i> More options</a>
72
                            </div>
75
                            </div>
73
                            [% END %]
76
                            [% END %]
74
                            <div class="btn-group">
77
                            <div class="btn-group">
75
                                <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options | uri %]" class="btn btn-link"><i class="fa fa-trash"></i> Clear fields</a>
78
                                <a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options | uri %]" class="btn btn-link pat"><i class="fa fa-trash"></i> Clear fields</a>
76
                            </div>
79
                            </div>
80
                            <div class="btn-group">
81
                                <a href="/cgi-bin/koha/catalogue/itemsearch.pl" class="btn btn-default pat"><i class="fa fa-search-minus"></i> Go to item search</a>
82
                            </div>
83
                            [% IF searchid %]
84
                                <div id="previous_search_link"></div>
85
                            [% END %]
77
                        </fieldset> <!-- /.action -->
86
                        </fieldset> <!-- /.action -->
78
                    </div> <!-- /#toolbar -->
87
                    </div> <!-- /#toolbar -->
79
                    <!-- /SEARCH BUTTONS -->
88
                    <!-- /SEARCH BUTTONS -->
Lines 81-87 Link Here
81
                    [% IF ( outer_servers_loop ) %]
90
                    [% IF ( outer_servers_loop ) %]
82
                        <!-- DATABASES -->
91
                        <!-- DATABASES -->
83
                        <fieldset>
92
                        <fieldset>
84
                            <legend>Select local databases</legend>
93
                            <h3>Select local databases</h3>
85
                            [% FOREACH local_servers_loo IN local_servers_loop %]
94
                            [% FOREACH local_servers_loo IN local_servers_loop %]
86
                                [% IF ( local_servers_loo.checked ) %]
95
                                [% IF ( local_servers_loo.checked ) %]
87
                                    <input type="checkbox" id="[% local_servers_loo.id | html %]" name="[% local_servers_loo.name | html %]" checked="checked" value="[% local_servers_loo.value | html %]" />
96
                                    <input type="checkbox" id="[% local_servers_loo.id | html %]" name="[% local_servers_loo.name | html %]" checked="checked" value="[% local_servers_loo.value | html %]" />
Lines 99-105 Link Here
99
                    [% IF ( outer_servers_loop ) %]
108
                    [% IF ( outer_servers_loop ) %]
100
                        <!-- REMOTE DATABASES -->
109
                        <!-- REMOTE DATABASES -->
101
                        <fieldset id="databases">
110
                        <fieldset id="databases">
102
                            <legend>Select remote databases</legend>
111
                            <h3>Select remote databases</h3>
103
                            [% FOREACH outer_servers_loo IN outer_servers_loop %]
112
                            [% FOREACH outer_servers_loo IN outer_servers_loop %]
104
                                [% IF ( outer_servers_loo.checked ) %]
113
                                [% IF ( outer_servers_loo.checked ) %]
105
                                    <input type="checkbox" id="[% outer_servers_loo.id | html %]" name="[% outer_servers_loo.name | html %]" checked="checked" value="[% outer_servers_loo.value | html %]" />
114
                                    <input type="checkbox" id="[% outer_servers_loo.id | html %]" name="[% outer_servers_loo.name | html %]" checked="checked" value="[% outer_servers_loo.value | html %]" />
Lines 116-122 Link Here
116
125
117
                    <!-- BOOLEAN SEARCH OPTIONS -->
126
                    <!-- BOOLEAN SEARCH OPTIONS -->
118
                    <fieldset id="searchterms">
127
                    <fieldset id="searchterms">
119
                        <legend>Search for </legend>
128
                        <h3>Search for </h3>
120
                        [% FOREACH query IN queries %]
129
                        [% FOREACH query IN queries %]
121
                            [% IF ( expanded_options ) %]
130
                            [% IF ( expanded_options ) %]
122
                                [% IF loop.first %]
131
                                [% IF loop.first %]
Lines 178-183 Link Here
178
187
179
                <!-- MC-TYPE LIMITS -->
188
                <!-- MC-TYPE LIMITS -->
180
                <div id="advsearches" class="toptabs">
189
                <div id="advsearches" class="toptabs">
190
                <fieldset>
181
                    <ul class="nav nav-tabs" role="tablist">
191
                    <ul class="nav nav-tabs" role="tablist">
182
                        [% FOREACH advsearchloo IN advancedsearchesloop %]
192
                        [% FOREACH advsearchloo IN advancedsearchesloop %]
183
                            <li role="presentation" id="advsearch-tab-[% advsearchloo.advanced_search_type | html %]">
193
                            <li role="presentation" id="advsearch-tab-[% advsearchloo.advanced_search_type | html %]">
Lines 230-242 Link Here
230
                            </div> <!-- /#advsearch-[% advsearchloo.advanced_search_type | html %] -->
240
                            </div> <!-- /#advsearch-[% advsearchloo.advanced_search_type | html %] -->
231
                        [% END # /FOREACH advsearchloo %]
241
                        [% END # /FOREACH advsearchloo %]
232
                    </div> <!-- /.tab-content -->
242
                    </div> <!-- /.tab-content -->
243
                </fieldset>
233
                </div> <!-- /#advsearches -->
244
                </div> <!-- /#advsearches -->
234
                <!-- /MC-TYPE LIMIT -->
245
                <!-- /MC-TYPE LIMIT -->
235
246
236
                [% IF ( expanded_options ) %]
247
                [% IF ( expanded_options ) %]
237
                    <!-- BASIC LIMITS -->
248
                    <!-- BASIC LIMITS -->
238
                    <fieldset id="basiclimits">
249
                    <fieldset id="basiclimits">
239
                        <legend>Limits</legend>
250
                        <h3>Limits</h3>
240
                        <fieldset id="pubrange">
251
                        <fieldset id="pubrange">
241
                            <!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options -->
252
                            <!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options -->
242
                            <p>
253
                            <p>
Lines 272-281 Link Here
272
                    [% PROCESS 'subtype_limits.inc' %]
283
                    [% PROCESS 'subtype_limits.inc' %]
273
                    <!-- SUBTYPE LIMITS -->
284
                    <!-- SUBTYPE LIMITS -->
274
                    <fieldset id="subtype">
285
                    <fieldset id="subtype">
275
                        <legend>Subtype limits</legend><p>
286
                        <h3>Subtype limits</h3><p>
276
                        [% PROCESS subtype_dropdowns %]
287
                        [% PROCESS subtype_dropdowns %]
277
                        <fieldset id="current_subtype_limits">
288
                        <fieldset id="current_subtype_limits">
278
                            <legend>Current subtype limits</legend>
289
                            <h3>Current subtype limits</h3>
279
                            [% FOREACH subtype IN ['aud','fic','bio','ctype','l-format'] %]
290
                            [% FOREACH subtype IN ['aud','fic','bio','ctype','l-format'] %]
280
                                [% FOREACH limit IN limits.$subtype %]
291
                                [% FOREACH limit IN limits.$subtype %]
281
                                    <span>
292
                                    <span>
Lines 292-298 Link Here
292
303
293
                <!-- AVAILABILITY LIMITS -->
304
                <!-- AVAILABILITY LIMITS -->
294
                <fieldset id="availability">
305
                <fieldset id="availability">
295
                    <legend>Location and availability</legend>
306
                    <h3>Location and availability</h3>
296
                    <fieldset id="currently-avail">
307
                    <fieldset id="currently-avail">
297
                        [% IF limit_available %]
308
                        [% IF limit_available %]
298
                            <p><label for="available-items">Only items currently available:</label> <input type="checkbox" id="available-items" name="limit" value="available"  checked="checked" /></p>
309
                            <p><label for="available-items">Only items currently available:</label> <input type="checkbox" id="available-items" name="limit" value="available"  checked="checked" /></p>
Lines 355-361 Link Here
355
366
356
                <!-- RANK LIMITS -->
367
                <!-- RANK LIMITS -->
357
                <fieldset id="sortby">
368
                <fieldset id="sortby">
358
                    <legend>Sorting</legend>
369
                    <h3>Sorting</h3>
359
                    <p>
370
                    <p>
360
                        <label for="sort_by">Sort by: </label>
371
                        <label for="sort_by">Sort by: </label>
361
                        <select id="sort_by" name="sort_by">
372
                        <select id="sort_by" name="sort_by">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-6 / +16 lines)
Lines 32-37 Link Here
32
[% SET plugins_intranet_catalog_biblio_tabs = KohaPlugins.get_plugins_intranet_catalog_biblio_tab({ biblio => biblio, biblio_id => biblionumber }) %]
32
[% SET plugins_intranet_catalog_biblio_tabs = KohaPlugins.get_plugins_intranet_catalog_biblio_tab({ biblio => biblio, biblio_id => biblionumber }) %]
33
33
34
[% SET footerjs = 1 %]
34
[% SET footerjs = 1 %]
35
[% formulaire = BLOCK %]
36
    [% INCLUDE 'cat-search.inc' %]
37
[% END %]
35
[% INCLUDE 'doc-head-open.inc' %]
38
[% INCLUDE 'doc-head-open.inc' %]
36
<title>
39
<title>
37
  [% IF ( unknownbiblionumber ) %]
40
  [% IF ( unknownbiblionumber ) %]
Lines 46-53 Link Here
46
49
47
<body id="catalog_detail" class="catalog">
50
<body id="catalog_detail" class="catalog">
48
51
49
[% INCLUDE 'header.inc' %]
52
[% INCLUDE 'header.inc' form=formulaire %]
50
[% INCLUDE 'cat-search.inc' %]
51
53
52
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
54
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
53
    <ol>
55
    <ol>
Lines 75-80 Link Here
75
            </li>
77
            </li>
76
        [% END %]
78
        [% END %]
77
    </ol>
79
    </ol>
80
        <ol>
81
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
82
        </ol>
83
        <ol>
84
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
85
        </ol>
78
</nav>
86
</nav>
79
87
80
<div class="main container-fluid">
88
<div class="main container-fluid">
Lines 269-274 Link Here
269
</div>
277
</div>
270
278
271
<div id="bibliodetails" class="toptabs">
279
<div id="bibliodetails" class="toptabs">
280
<fieldset id="searchresults">
272
281
273
<ul class="nav nav-tabs" role="tablist">
282
<ul class="nav nav-tabs" role="tablist">
274
    [% IF (SeparateHoldings) %]
283
    [% IF (SeparateHoldings) %]
Lines 609-621 Note that permanent location is a code, and location may be an authval. Link Here
609
                        [% UNLESS item.cannot_be_edited %]
618
                        [% UNLESS item.cannot_be_edited %]
610
                            [% IF Koha.Preference('LocalCoverImages') OR Koha.Preference('OPACLocalCoverImages') %]
619
                            [% IF Koha.Preference('LocalCoverImages') OR Koha.Preference('OPACLocalCoverImages') %]
611
                                <div class="btn-group">
620
                                <div class="btn-group">
612
                                    <a  class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
621
                                    <a  class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem" id="lientype"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" id="lientype"><span class="caret"></span></a>
613
                                    <ul class="dropdown-menu pull-right">
622
                                    <ul class="dropdown-menu pull-right">
614
                                        <li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?itemnumber=[% item.itemnumber | uri %]&amp;filetype=image"><i class="fa fa-upload"></i> Upload image</a></li>
623
                                        <li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?itemnumber=[% item.itemnumber | uri %]&amp;filetype=image"><i class="fa fa-upload"></i> Upload image</a></li>
615
                                    </ul>
624
                                    </ul>
616
                                </div>
625
                                </div>
617
                            [% ELSE %]
626
                            [% ELSE %]
618
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem"><i class="fa fa-pencil"></i> Edit</a>
627
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
619
                            [% END %]
628
                            [% END %]
620
                        [% END %]
629
                        [% END %]
621
                    </td>
630
                    </td>
Lines 972-978 Note that permanent location is a code, and location may be an authval. Link Here
972
            <span class="noimagesuploaded">No images have been uploaded for this bibliographic record yet.</span>
981
            <span class="noimagesuploaded">No images have been uploaded for this bibliographic record yet.</span>
973
        [% END %]
982
        [% END %]
974
        [% IF ( CAN_user_tools_upload_local_cover_images ) %]
983
        [% IF ( CAN_user_tools_upload_local_cover_images ) %]
975
            <p>Upload an image file: <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber | uri %]&amp;filetype=image"><i class="fa fa-upload" aria-hidden="true"></i> Upload</a>
984
            <p>Upload an image file: <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber | uri %]&amp;filetype=image" id="lientype"><i class="fa fa-upload" aria-hidden="true"></i> Upload</a>
976
            </p>
985
            </p>
977
        [% END %]
986
        [% END %]
978
    </div>
987
    </div>
Lines 1009-1014 Note that permanent location is a code, and location may be an authval. Link Here
1009
[% END %]
1018
[% END %]
1010
1019
1011
</div><!-- /tab-content -->
1020
</div><!-- /tab-content -->
1021
</fieldset>
1012
</div><!-- /bibliodetails -->
1022
</div><!-- /bibliodetails -->
1013
1023
1014
<div id="export" style="margin-top: 1em;">
1024
<div id="export" style="margin-top: 1em;">
Lines 1021-1027 Note that permanent location is a code, and location may be an authval. Link Here
1021
        <option value="marcxml">MARCXML</option>
1031
        <option value="marcxml">MARCXML</option>
1022
        <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1032
        <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1023
        <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
1033
        <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
1024
        <input type="submit" name="save" value="Download record" /></td>
1034
        <input type="submit" class="principal" name="save" value="Download record" /></td>
1025
  </tr>
1035
  </tr>
1026
  <tr><td>
1036
  <tr><td>
1027
    <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber | html %]" />
1037
    <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt (-2 / +10 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Images &rsaquo; [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
8
<title>Images &rsaquo; [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
Lines 24-31 Link Here
24
27
25
<body id="catalog_imageviewer" class="catalog">
28
<body id="catalog_imageviewer" class="catalog">
26
29
27
[% INCLUDE 'header.inc' %]
30
[% INCLUDE 'header.inc' form=formulaire %]
28
[% INCLUDE 'cat-search.inc' %]
29
31
30
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
32
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
31
    <ol>
33
    <ol>
Lines 44-49 Link Here
44
            </a>
46
            </a>
45
        </li>
47
        </li>
46
    </ol>
48
    </ol>
49
        <ol>
50
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
51
        </ol>
52
        <ol>
53
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
54
        </ol>
47
</nav>
55
</nav>
48
56
49
<div class="main container-fluid">
57
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-3 / +11 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE TablesSettings %]
6
[% USE TablesSettings %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'cat-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Checkout history for [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
12
<title>Checkout history for [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
Lines 12-19 Link Here
12
15
13
<body id="catalog_issuehistory" class="catalog">
16
<body id="catalog_issuehistory" class="catalog">
14
17
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'cat-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 32-37 Link Here
32
            </a>
34
            </a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
</nav>
43
</nav>
36
44
37
<div class="main container-fluid">
45
<div class="main container-fluid">
Lines 39-45 Link Here
39
        <div class="col-sm-10 col-sm-push-2">
47
        <div class="col-sm-10 col-sm-push-2">
40
            <main>
48
            <main>
41
49
42
<h1>Checkout history for [% INCLUDE 'biblio-title.inc' %]</h1>
50
<h2>Checkout history for [% INCLUDE 'biblio-title.inc' %]</h2>
43
[% IF biblio.author %]<h3>by [% biblio.author | html %]</h3>[% END %]
51
[% IF biblio.author %]<h3>by [% biblio.author | html %]</h3>[% END %]
44
52
45
[% SET show_patron_column = Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
53
[% SET show_patron_column = Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-18 / +29 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE To %]
2
[% USE To %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'home-search.inc' %]
6
[% END %]
4
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
5
8
6
[%- BLOCK form_label -%]
9
[%- BLOCK form_label -%]
Lines 148-155 Link Here
148
</head>
151
</head>
149
152
150
<body id="catalog_itemsearch" class="catalog">
153
<body id="catalog_itemsearch" class="catalog">
151
  [% INCLUDE 'header.inc' %]
154
  [% INCLUDE 'header.inc' form=formulaire %]
152
  [% INCLUDE 'home-search.inc' %]
153
155
154
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
156
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
155
    <ol>
157
    <ol>
Lines 165-170 Link Here
165
            </a>
167
            </a>
166
        </li>
168
        </li>
167
    </ol>
169
    </ol>
170
171
    <ol>
172
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
173
    </ol>
174
175
    <ol>
176
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
177
    </ol>
168
</nav>
178
</nav>
169
179
170
<div class="main container-fluid">
180
<div class="main container-fluid">
Lines 172-187 Link Here
172
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
182
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
173
183
174
    <div id="item-search-block">
184
    <div id="item-search-block">
175
      <h1>Item search</h1>
185
      <h2>Item search</h2>
176
177
      <p><a href="/cgi-bin/koha/catalogue/search.pl">Go to advanced search</a></p>
178
      <form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform">
186
      <form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform">
179
          <div id="toolbar" class="btn-toolbar">
187
          <div id="toolbar" class="btn-toolbar">
180
              <fieldset class="action">
188
              <div>
181
                  <div class="btn-group">
189
                <div class="btn-group">
182
                      <button class="btn btn-default"><i class="fa fa-search"></i> Search</button>
190
                  <button class="principal" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button>
183
                  </div>
191
                </div>
184
              </fieldset>
192
                <div class="btn-group">
193
                  <a href="/cgi-bin/koha/catalogue/search.pl" class="pat"><i class="fa fa-search-minus"></i> Go to advanced search</a>
194
                </div>
195
              </div>
185
          </div>
196
          </div>
186
          <fieldset>
197
          <fieldset>
187
            [% INCLUDE form_field_select name="homebranch" options = branches empty_option = "All libraries" %]
198
            [% INCLUDE form_field_select name="homebranch" options = branches empty_option = "All libraries" %]
Lines 343-352 Link Here
343
                + '  <tbody></tbody>'
354
                + '  <tbody></tbody>'
344
                + '</table>';
355
                + '</table>';
345
356
346
            var advSearchLink = $('<a>')
357
            var advSearchLink = $('<a id="lientype">')
347
                .attr('href', '/cgi-bin/koha/catalogue/search.pl')
358
                .attr('href', '/cgi-bin/koha/catalogue/search.pl')
348
                .html(_("Go to advanced search"));
359
                .html(_("Go to advanced search"));
349
            var editSearchLink = $('<a>')
360
            var editSearchLink = $('<a id="lientype">')
350
                .attr('href', '#')
361
                .attr('href', '#')
351
                .html(_("Edit search"))
362
                .html(_("Edit search"))
352
                .addClass('btn btn-default btn-xs')
363
                .addClass('btn btn-default btn-xs')
Lines 379-392 Link Here
379
              }
390
              }
380
            }
391
            }
381
392
382
            var csvExportLink = $('<a>')
393
            var csvExportLink = $('<a id="lientype">')
383
                .attr('href', '#')
394
                .attr('href', '#')
384
                .html("CSV")
395
                .html("CSV")
385
                .on('click', function(e) {
396
                .on('click', function(e) {
386
                    e.preventDefault();
397
                    e.preventDefault();
387
                    exportItems('csv');
398
                    exportItems('csv');
388
                });
399
                });
389
            var barcodesExportLink = $('<a>')
400
            var barcodesExportLink = $('<a id="lientype">')
390
                .attr('href', '#')
401
                .attr('href', '#')
391
                .html(_("Barcodes file"))
402
                .html(_("Barcodes file"))
392
                .on('click', function(e) {
403
                .on('click', function(e) {
Lines 408-414 Link Here
408
                  .append($('<li>').append(csvExportLink))
419
                  .append($('<li>').append(csvExportLink))
409
                  .append($('<li>').append(barcodesExportLink)));
420
                  .append($('<li>').append(barcodesExportLink)));
410
421
411
            var selectVisibleRows = $('<a>')
422
            var selectVisibleRows = $('<a id="lientype">')
412
              .attr('href', '#')
423
              .attr('href', '#')
413
              .append('<i class="fa fa-check"></i> ')
424
              .append('<i class="fa fa-check"></i> ')
414
              .append(_("Select visible rows"))
425
              .append(_("Select visible rows"))
Lines 416-422 Link Here
416
                  e.preventDefault();
427
                  e.preventDefault();
417
                  $('#results input[type="checkbox"]').prop('checked', true).change();
428
                  $('#results input[type="checkbox"]').prop('checked', true).change();
418
              });
429
              });
419
            var clearSelection = $('<a>')
430
            var clearSelection = $('<a id="lientype">')
420
              .attr('href', '#')
431
              .attr('href', '#')
421
              .append('<i class="fa fa-remove"></i> ')
432
              .append('<i class="fa fa-remove"></i> ')
422
              .append(_("Clear selection"))
433
              .append(_("Clear selection"))
Lines 433-439 Link Here
433
              .append(exportButton);
444
              .append(exportButton);
434
445
435
            var results_heading = $('<div>').addClass('results-heading')
446
            var results_heading = $('<div>').addClass('results-heading')
436
                .append("<h1>" + _("Item search results") + "</h1>")
447
                .append("<h2>" + _("Item search results") + "</h2>")
437
                .append($('<p>').append(advSearchLink))
448
                .append($('<p>').append(advSearchLink))
438
                .append($('<p>').append(editSearchLink))
449
                .append($('<p>').append(editSearchLink))
439
                .append(exportLinks);
450
                .append(exportLinks);
Lines 583-589 Link Here
583
            // Add the "New field" link.
594
            // Add the "New field" link.
584
            var form_field = $('div.form-field-select-text').last()
595
            var form_field = $('div.form-field-select-text').last()
585
            var NEW_FIELD = _("New field");
596
            var NEW_FIELD = _("New field");
586
      var button_field_new = $('<a href="#" class="button-field-new" title="Add a new field"><i class="fa fa-plus"></i> ' + NEW_FIELD + '</a>');
597
      var button_field_new = $('<a id="lientype" href="#" class="button-field-new" id="lientype" title="Add a new field"><i class="fa fa-plus"></i> ' + NEW_FIELD + '</a>');
587
      button_field_new.click(function(e) {
598
      button_field_new.click(function(e) {
588
          e.preventDefault();
599
          e.preventDefault();
589
          addNewField( $(this) );
600
          addNewField( $(this) );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (-2 / +10 lines)
Lines 2-7 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
9
7
<title>
10
<title>
Lines 16-23 Link Here
16
</head>
19
</head>
17
20
18
<body id="catlaog_labeledMARCdetail" class="catalog">
21
<body id="catlaog_labeledMARCdetail" class="catalog">
19
	[% INCLUDE 'header.inc' %]
22
	[% INCLUDE 'header.inc' form=formulaire %]
20
	[% INCLUDE 'cat-search.inc' %]
21
23
22
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
        <ol>
25
        <ol>
Lines 37-42 Link Here
37
                </a>
39
                </a>
38
            </li>
40
            </li>
39
        </ol>
41
        </ol>
42
        <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
45
        <ol>
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
        </ol>
40
    </nav>
48
    </nav>
41
49
42
<div class="main container-fluid">
50
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-15 / +23 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE Price %]
6
[% USE Price %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'cat-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Item details for [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
12
<title>Item details for [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
Lines 12-19 Link Here
12
</head>
15
</head>
13
<body id="catalog_moredetail" class="catalog">
16
<body id="catalog_moredetail" class="catalog">
14
[% USE KohaDates %]
17
[% USE KohaDates %]
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'cat-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 32-37 Link Here
32
            </a>
34
            </a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
</nav>
43
</nav>
36
44
37
<div class="main container-fluid">
45
<div class="main container-fluid">
Lines 39-47 Link Here
39
        <div class="col-sm-10 col-sm-push-2">
47
        <div class="col-sm-10 col-sm-push-2">
40
            <main>
48
            <main>
41
49
42
            <h1>Item details for [% INCLUDE 'biblio-title-head.inc' %]</h1>
43
44
[% INCLUDE 'cat-toolbar.inc' %]
50
[% INCLUDE 'cat-toolbar.inc' %]
51
            <h2>Item details for [% INCLUDE 'biblio-title-head.inc' %]</h2>
52
45
53
46
<div id="catalogue_detail_biblio">
54
<div id="catalogue_detail_biblio">
47
55
Lines 64-70 Link Here
64
        <li><span class="label">Physical details:</span> [% pages | html %] [% illus | html %] [% size | html %]&nbsp;</li>
72
        <li><span class="label">Physical details:</span> [% pages | html %] [% illus | html %] [% size | html %]&nbsp;</li>
65
        [% IF ( bnotes ) %]<li><span class="label">Notes:</span> [% bnotes | html %]</li>[% END %]
73
        [% IF ( bnotes ) %]<li><span class="label">Notes:</span> [% bnotes | html %]</li>[% END %]
66
        <li><span class="label">No. of items:</span> [% count | html %]&nbsp;[% IF ( hiddencount ) %]total ([% showncount | html %] shown / [% hiddencount | html %] hidden)
74
        <li><span class="label">No. of items:</span> [% count | html %]&nbsp;[% IF ( hiddencount ) %]total ([% showncount | html %] shown / [% hiddencount | html %] hidden)
67
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]&amp;showallitems=1">Show all items</a>[% END %]</li>
75
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]&amp;showallitems=1" id="lientype">Show all items</a>[% END %]</li>
68
    </ol>
76
    </ol>
69
    </div>
77
    </div>
70
    </div>
78
    </div>
Lines 74-80 Link Here
74
    [% END %]
82
    [% END %]
75
83
76
    [% IF ( ONLY_ONE ) %]
84
    [% IF ( ONLY_ONE ) %]
77
        <div class="dialog message">You are only viewing one item.  <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]&amp;bi=[% biblioitemnumber | uri %]#item[% itemnumber | uri %]">View all</a></div>
85
        <div class="dialog message">You are only viewing one item.  <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]&amp;bi=[% biblioitemnumber | uri %]#item[% itemnumber | uri %]" id="lientype">View all</a></div>
78
    [% END %]
86
    [% END %]
79
87
80
    [% IF updated_exclude_from_local_holds_priority.defined %]
88
    [% IF updated_exclude_from_local_holds_priority.defined %]
Lines 93-99 Link Here
93
101
94
        <h4>Item information [% UNLESS ( ITEM_DAT.nomod ) %]
102
        <h4>Item information [% UNLESS ( ITEM_DAT.nomod ) %]
95
         [% IF ( CAN_user_editcatalogue_edit_items ) %]
103
         [% IF ( CAN_user_editcatalogue_edit_items ) %]
96
            <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&amp;biblionumber=[% ITEM_DAT.biblionumber | uri %]&amp;itemnumber=[% ITEM_DAT.itemnumber | uri %]"><i class="fa fa-pencil"></i> Edit item</a>
104
            <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&amp;biblionumber=[% ITEM_DAT.biblionumber | uri %]&amp;itemnumber=[% ITEM_DAT.itemnumber | uri %]" id="lientype"><i class="fa fa-pencil"></i> Edit item</a>
97
         [% END %]
105
         [% END %]
98
         [% END %]</h4>
106
         [% END %]</h4>
99
            <div class="rows">
107
            <div class="rows">
Lines 161-171 Link Here
161
                            <input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" />
169
                            <input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" />
162
170
163
                            [% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %]
171
                            [% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %]
164
                                <input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/>
172
                                <input type="submit" name="submit" class="principal" value="Set status" disabled="disabled"/>
165
                                <p class="help-block">Item has been claimed as returned.</p>
173
                                <p class="help-block">Item has been claimed as returned.</p>
166
                            [% ELSE %]
174
                            [% ELSE %]
167
                                <input type="hidden" name="op" value="set_lost" />
175
                                <input type="hidden" name="op" value="set_lost" />
168
                                <input type="submit" name="submit" class="submit" value="Set status" />
176
                                <input type="submit" name="submit" class="principal" value="Set status" />
169
                            [% END %]
177
                            [% END %]
170
                        </form>
178
                        </form>
171
                    [% ELSE %]
179
                    [% ELSE %]
Lines 199-205 Link Here
199
            [% END %]
207
            [% END %]
200
                    </select>
208
                    </select>
201
                    <input type="hidden" name="op" value="set_damaged" />
209
                    <input type="hidden" name="op" value="set_damaged" />
202
                    <input type="submit" name="submit" class="submit" value="Set status" /></form>
210
                    <input type="submit" name="submit" class="principal" value="Set status" /></form>
203
                [% ELSE %]
211
                [% ELSE %]
204
                    [% FOREACH itemdamagedloo IN itemdamagedloop %]
212
                    [% FOREACH itemdamagedloo IN itemdamagedloop %]
205
                        [% IF ( itemdamagedloo.selected ) %]
213
                        [% IF ( itemdamagedloo.selected ) %]
Lines 232-238 Link Here
232
                                [% END %]
240
                                [% END %]
233
                            </select>
241
                            </select>
234
                            <input type="hidden" name="op" value="set_withdrawn" />
242
                            <input type="hidden" name="op" value="set_withdrawn" />
235
                            <input type="submit" name="submit" class="submit" value="Set status" /></form>
243
                            <input type="submit" name="submit" class="principal" value="Set status" /></form>
236
                    [% ELSE %]
244
                    [% ELSE %]
237
                        [% FOREACH itemwithdrawn IN itemwithdrawnloop %]
245
                        [% FOREACH itemwithdrawn IN itemwithdrawnloop %]
238
                            [% IF itemwithdrawn.authorised_value == ITEM_DAT.withdrawn %]
246
                            [% IF itemwithdrawn.authorised_value == ITEM_DAT.withdrawn %]
Lines 268-274 Link Here
268
                            [% END %]
276
                            [% END %]
269
                            </select>
277
                            </select>
270
                            <input type="hidden" name="op" value="set_exclude_priority" />
278
                            <input type="hidden" name="op" value="set_exclude_priority" />
271
                            <input type="submit" name="submit" class="submit" value="Update" /></form>
279
                            <input type="submit" name="submit" class="principal" value="Update" /></form>
272
                        </li>
280
                        </li>
273
                    </ol>
281
                    </ol>
274
                </div>
282
                </div>
Lines 311-317 Link Here
311
                        [% ITEM_DAT.issues | html %]
319
                        [% ITEM_DAT.issues | html %]
312
                    [% ELSE %]
320
                    [% ELSE %]
313
                        0
321
                        0
314
                    [% END %]  (<a href="/cgi-bin/koha/circ/bookcount.pl?&amp;biblionumber=[% ITEM_DAT.biblionumber | uri %]&amp;itm=[% ITEM_DAT.itemnumber | uri %]">View item's checkout history</a>)</li>
322
                    [% END %]  (<a href="/cgi-bin/koha/circ/bookcount.pl?&amp;biblionumber=[% ITEM_DAT.biblionumber | uri %]&amp;itm=[% ITEM_DAT.itemnumber | uri %]" id="lientype">View item's checkout history</a>)</li>
315
323
316
                <li><span class="label">Last seen:</span>[% IF ( ITEM_DAT.datelastseen ) %][% ITEM_DAT.datelastseen | $KohaDates %] [%END %]&nbsp;</li>
324
                <li><span class="label">Last seen:</span>[% IF ( ITEM_DAT.datelastseen ) %][% ITEM_DAT.datelastseen | $KohaDates %] [%END %]&nbsp;</li>
317
                <li><span class="label">Last borrowed:</span>[% IF (ITEM_DAT.datelastborrowed ) %][% ITEM_DAT.datelastborrowed | $KohaDates %][% END %]&nbsp;</li>
325
                <li><span class="label">Last borrowed:</span>[% IF (ITEM_DAT.datelastborrowed ) %][% ITEM_DAT.datelastborrowed | $KohaDates %][% END %]&nbsp;</li>
Lines 331-337 Link Here
331
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
339
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
332
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
340
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
333
                        <input type="hidden" name="op" value="set_public_note" />
341
                        <input type="hidden" name="op" value="set_public_note" />
334
                        <textarea name="itemnotes" rows="2" cols="30">[% ITEM_DAT.itemnotes | html %]</textarea><input type="submit" name="submit" class="submit" value="Update" />
342
                        <textarea name="itemnotes" rows="2" cols="30">[% ITEM_DAT.itemnotes | html %]</textarea><input type="submit" name="submit" class="principal" value="Update" />
335
                    </form>
343
                    </form>
336
                    [% ELSE %]
344
                    [% ELSE %]
337
                        [% ITEM_DAT.itemnotes | html %]
345
                        [% ITEM_DAT.itemnotes | html %]
Lines 345-351 Link Here
345
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
353
                    <form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
346
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
354
                        <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
347
                        <input type="hidden" name="op" value="set_non_public_note" />
355
                        <input type="hidden" name="op" value="set_non_public_note" />
348
                        <textarea name="itemnotes_nonpublic" rows="2" cols="30">[% ITEM_DAT.itemnotes_nonpublic | html %]</textarea><input type="submit" name="submit" class="submit" value="Update" />
356
                        <textarea name="itemnotes_nonpublic" rows="2" cols="30">[% ITEM_DAT.itemnotes_nonpublic | html %]</textarea><input type="submit" name="submit" class="principal" value="Update" />
349
                    </form>
357
                    </form>
350
                    [% ELSE %]
358
                    [% ELSE %]
351
                        [% ITEM_DAT.itemnotes_nonpublic | html %]
359
                        [% ITEM_DAT.itemnotes_nonpublic | html %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-32 / +42 lines)
Lines 6-11 Link Here
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% PROCESS 'i18n.inc' %]
7
[% PROCESS 'i18n.inc' %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'cat-search.inc' %]
11
[% END %]
9
[% USE AuthorisedValues %]
12
[% USE AuthorisedValues %]
10
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
11
14
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="catalog_results" class="catalog">
19
<body id="catalog_results" class="catalog">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'cat-search.inc' %]
19
21
20
[% IntranetCoce    = Koha.Preference('IntranetCoce') %]
22
[% IntranetCoce    = Koha.Preference('IntranetCoce') %]
21
[% CoceProviders   = Koha.Preference('CoceProviders') %]
23
[% CoceProviders   = Koha.Preference('CoceProviders') %]
Lines 37-42 Link Here
37
            </a>
39
            </a>
38
        </li>
40
        </li>
39
    </ol>
41
    </ol>
42
        <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
45
        <ol>
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
        </ol>
40
</nav>
48
</nav>
41
49
42
<div class="main container-fluid">
50
<div class="main container-fluid">
Lines 44-50 Link Here
44
        <div class="col-sm-10 col-sm-push-2">
52
        <div class="col-sm-10 col-sm-push-2">
45
            <main>
53
            <main>
46
54
47
            <h1>Search results</h1>
55
            <h2>Search results</h2>
48
56
49
                [% IF ( outer_sup_results_loop ) %]
57
                [% IF ( outer_sup_results_loop ) %]
50
                    <div class="row">
58
                    <div class="row">
Lines 63-80 Link Here
63
                    </div>
71
                    </div>
64
                [% END %]
72
                [% END %]
65
73
74
                <div id="searchresults">
66
                [% IF ( total ) %]
75
                [% IF ( total ) %]
67
68
                    <h3>
76
                    <h3>
69
                        [% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc  %]&nbsp;with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
77
                        [% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc  %]&nbsp;with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
70
                    </h3>
78
                    </h3>
71
                    <a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
79
                    <a id="lientype" href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
72
80
73
                    <div class="searchheader" id="searchheader">
81
                    <div class="searchheader" id="searchheader">
74
                        <div id="selection_ops">
82
                        <div id="selection_ops">
75
                            <a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a>
83
                            <a href="#" class="btn btn-link" id="select_all"><i class="fa fa-check"></i> Select all</a>
76
                            |
84
                            <a href="#" class="btn btn-link" id="clear_all"><i class="fa fa-remove"></i> Clear all</a>
77
                            <a href="#" id="clear_all"><i class="fa fa-remove"></i> Clear all</a>
78
                            |
85
                            |
79
                            [% IF Koha.Preference("StaffHighlightedWords") == 1 %]
86
                            [% IF Koha.Preference("StaffHighlightedWords") == 1 %]
80
                                <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
87
                                <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
Lines 90-96 Link Here
90
97
91
                            [% IF Koha.Preference('virtualshelves') %]
98
                            [% IF Koha.Preference('virtualshelves') %]
92
                                <div class="btn-group">
99
                                <div class="btn-group">
93
                                    <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
100
                                    <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="lientype">
94
                                        <i class="fa fa-list"></i> Add to list <span class="caret"></span>
101
                                        <i class="fa fa-list"></i> Add to list <span class="caret"></span>
95
                                    </button>
102
                                    </button>
96
                                    <ul class="dropdown-menu">
103
                                    <ul class="dropdown-menu">
Lines 123-133 Link Here
123
                                        <li role="separator" class="divider"></li>
130
                                        <li role="separator" class="divider"></li>
124
                                        [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
131
                                        [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
125
                                            <li>
132
                                            <li>
126
                                                <a href="#" class="addtolist morelists">More lists</a>
133
                                                <a  id="lientype" href="#" class="addtolist morelists">More lists</a>
127
                                            </li>
134
                                            </li>
128
                                        [% END %]
135
                                        [% END %]
129
                                        <li>
136
                                        <li>
130
                                            <a href="#" class="addtolist newlist">New list</a>
137
                                            <a  id="lientype" href="#" class="addtolist newlist">New list</a>
131
                                        </li>
138
                                        </li>
132
                                    </ul>
139
                                    </ul>
133
                                </div>
140
                                </div>
Lines 136-143 Link Here
136
                            [% IF ( CAN_user_reserveforothers_place_holds && DisplayMultiPlaceHold ) %]
143
                            [% IF ( CAN_user_reserveforothers_place_holds && DisplayMultiPlaceHold ) %]
137
                                [% IF ( holdfor or holdforclub ) %]
144
                                [% IF ( holdfor or holdforclub ) %]
138
                                    <div id="placeholdc" class="btn-group">
145
                                    <div id="placeholdc" class="btn-group">
139
                                        <button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button>
146
                                        <button class="btn btn-default btn-xs placehold" id="lientype"><i class="fa fa-sticky-note-o"></i> Place hold</button>
140
                                        <button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
147
                                        <button class="btn btn-default btn-xs dropdown-toggle" id="lientype" data-toggle="dropdown">
141
                                        <span class="caret"></span>
148
                                        <span class="caret"></span>
142
                                        </button>
149
                                        </button>
143
                                        <ul class="dropdown-menu">
150
                                        <ul class="dropdown-menu">
Lines 156-175 Link Here
156
                                    </div>
163
                                    </div>
157
                                [% ELSE %]
164
                                [% ELSE %]
158
                                    <div id="placeholdc" class="btn-group">
165
                                    <div id="placeholdc" class="btn-group">
159
                                        <a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> Place hold</a>
166
                                        <a class="btn btn-default btn-xs placehold" href="#" id="lientype"><i class="fa fa-sticky-note-o"></i> Place hold</a>
160
                                    </div>
167
                                    </div>
161
                                [% END # /IF holfor %]
168
                                [% END # /IF holfor %]
162
                            [% END # /IF CAN_user_reserveforothers_place_holds %]
169
                            [% END # /IF CAN_user_reserveforothers_place_holds %]
163
170
164
                            [% IF Koha.Preference('BrowseResultSelection') %]
171
                            [% IF Koha.Preference('BrowseResultSelection') %]
165
                                <div id="browse_selection" class="btn-group">
172
                                <div id="browse_selection" class="btn-group">
166
                                    <a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> Browse selected records</a>
173
                                    <a class="btn btn-default btn-xs browse_selection" href="#" id="lientype"><i class="fa fa-sticky-note-o"></i> Browse selected records</a>
167
                                </div>
174
                                </div>
168
                            [% END %]
175
                            [% END %]
169
176
170
                            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
177
                            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
171
                                <div class="btn-group">
178
                                <div class="btn-group">
172
                                    <a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a>
179
                                    <a class="btn btn-default btn-xs lientype" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a>
173
                                </div>
180
                                </div>
174
                                <div class="btn-group">
181
                                <div class="btn-group">
175
                                    <button type="button" id="results_batch_ops" class="btn btn-default btn-xs dropdown-toggle disabled" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
182
                                    <button type="button" id="results_batch_ops" class="btn btn-default btn-xs dropdown-toggle disabled" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Lines 201-207 Link Here
201
                            [% END %]
208
                            [% END %]
202
209
203
                            <div class="btn-group">
210
                            <div class="btn-group">
204
                                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
211
                                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="lientype">
205
                                    Sort <span class="caret"></span>
212
                                    Sort <span class="caret"></span>
206
                                </button>
213
                                </button>
207
                                <ul class="dropdown-menu">
214
                                <ul class="dropdown-menu">
Lines 304-310 Link Here
304
                                                [% END %] Library default: [% Koha.Preference('numSearchResults') | html %]
311
                                                [% END %] Library default: [% Koha.Preference('numSearchResults') | html %]
305
                                            </a></li>
312
                                            </a></li>
306
                                        [% END %]
313
                                        [% END %]
307
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=20[% PROCESS sort_search_query %]">[% IF results_per_page == '20' %]<i class="fa fa-check"></i>[% END %] 20</a></li>
314
                                        <li><a results_batch_opshref="/cgi-bin/koha/catalogue/search.pl?count=20[% PROCESS sort_search_query %]">[% IF results_per_page == '20' %]<i class="fa fa-check"></i>[% END %] 20</a></li>
308
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=40[% PROCESS sort_search_query %]" id="resultsperpage-40">[% IF results_per_page == '40' %]<i class="fa fa-check"></i>[% END %] 40</a></li>
315
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=40[% PROCESS sort_search_query %]" id="resultsperpage-40">[% IF results_per_page == '40' %]<i class="fa fa-check"></i>[% END %] 40</a></li>
309
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=60[% PROCESS sort_search_query %]" id="resultsperpage-60">[% IF results_per_page == '60' %]<i class="fa fa-check"></i>[% END %] 60</a></li>
316
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=60[% PROCESS sort_search_query %]" id="resultsperpage-60">[% IF results_per_page == '60' %]<i class="fa fa-check"></i>[% END %] 60</a></li>
310
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=80[% PROCESS sort_search_query %]" id="resultsperpage-80">[% IF results_per_page == '80' %]<i class="fa fa-check"></i>[% END %] 80</a></li>
317
                                        <li><a href="/cgi-bin/koha/catalogue/search.pl?count=80[% PROCESS sort_search_query %]" id="resultsperpage-80">[% IF results_per_page == '80' %]<i class="fa fa-check"></i>[% END %] 80</a></li>
Lines 317-341 Link Here
317
                    </div> <!-- /#searchheader -->
324
                    </div> <!-- /#searchheader -->
318
325
319
                [% ELSE # /IF total %]
326
                [% ELSE # /IF total %]
327
                    <form method="post" name="fz3950" class="fz3950bigrpad">
328
                        <div id="toolbar" class="btn-toolbar" style="background-color:transparent"><div>
329
                            <button class="btn btn-default pat" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button>
330
                        </div></div>
331
                    </form>
320
332
321
                    <div id="searchheader">
333
                    <div id="searchheader">
322
                        <form method="post" name="fz3950" class="fz3950bigrpad">
323
                            <button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button>
324
                        </form>
325
                        <h3>No results found</h3>
334
                        <h3>No results found</h3>
326
                        [% IF ( searchdesc ) %]
335
                        [% IF ( searchdesc ) %]
327
                            <p>
336
                            <p>
328
                                No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
337
                                No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %].
329
                            </p>
338
                            </p>
330
                            [% IF CAN_user_acquisition_order_manage && searchtoorder_basketno && searchtoorder_vendorid %][%# Coming from the basket or vendor view %]
339
                            [% IF CAN_user_acquisition_order_manage && searchtoorder_basketno && searchtoorder_vendorid %][%# Coming from the basket or vendor view %]
331
                                <p><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% searchtoorder_basketno | uri %]">View basket<a></p>
340
                                <p><a id="lientype" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% searchtoorder_basketno | uri %]">View basket<a></p>
332
                            [% END %]
341
                            [% END %]
333
                            <a href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
342
                            <a id="lientype" href="/cgi-bin/koha/catalogue/search.pl?advsearch=1&edit_search=1&[% query_cgi | $raw %]&[% limit_cgi | $raw %]&sort_by=[% sort_by | $raw %]">Edit this search</a>
334
                        [% ELSE %]
343
                        [% ELSE %]
335
                            <p>You did not specify any search criteria.</p>
344
                            <p>You did not specify any search criteria.</p>
336
                        [% END %]
345
                        [% END %]
337
                    </div>
346
                    </div>
338
                [% END # /IF total %]
347
                [% END # /IF total %]
348
                
339
349
340
                [% IF ( query_error ) %]
350
                [% IF ( query_error ) %]
341
                    <div class="dialog alert"><p><strong>Error:</strong> [% query_error | html %]</p></div>
351
                    <div class="dialog alert"><p><strong>Error:</strong> [% query_error | html %]</p></div>
Lines 344-350 Link Here
344
                <!-- Search Results Table -->
354
                <!-- Search Results Table -->
345
                [% IF ( total ) %]
355
                [% IF ( total ) %]
346
                    [% IF ( scan ) %]
356
                    [% IF ( scan ) %]
347
                        <h1>Scan index:</h1>
357
                        <h2>Scan index:</h2>
348
                        <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
358
                        <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
349
                            <table>
359
                            <table>
350
                                <tr>
360
                                <tr>
Lines 411-417 Link Here
411
                        </form>
421
                        </form>
412
                    [% ELSE # /IF scan %]
422
                    [% ELSE # /IF scan %]
413
423
414
                        <div id="searchresults">
424
                        
415
                            [% INCLUDE 'page-numbers.inc' %]
425
                            [% INCLUDE 'page-numbers.inc' %]
416
426
417
                            <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
427
                            <form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form">
Lines 531-562 Link Here
531
541
532
                                                    [% IF Koha.Preference('intranetbookbag') == 1 %]
542
                                                    [% IF Koha.Preference('intranetbookbag') == 1 %]
533
                                                        [% IF ( SEARCH_RESULT.incart ) %]
543
                                                        [% IF ( SEARCH_RESULT.incart ) %]
534
                                                            | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
544
                                                            | <a id="lientype" class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">In your cart</a> <a class="cartRemove lientype" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
535
                                                        [% ELSE %]
545
                                                        [% ELSE %]
536
                                                            | <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
546
                                                            | <a id="lientype" class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a>
537
                                                        [% END %]
547
                                                        [% END %]
538
                                                    [% END # / IF intranetbookbag %]
548
                                                    [% END # / IF intranetbookbag %]
539
549
540
                                                    [% IF Koha.Preference('ArticleRequests') %]
550
                                                    [% IF Koha.Preference('ArticleRequests') %]
541
                                                        | <a id="requst_article_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Request article</a>
551
                                                        | <a class="lientype" id="requst_article_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Request article</a>
542
                                                    [% END %]
552
                                                    [% END %]
543
553
544
                                                    [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
554
                                                    [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
545
                                                        | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit record</a>
555
                                                        | <a id="lientype" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit record</a>
546
                                                    [% END %]
556
                                                    [% END %]
547
                                                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
557
                                                    [% IF ( CAN_user_editcatalogue_edit_items ) %]
548
                                                        | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit items</a>
558
                                                        | <a id="lientype" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit items</a>
549
                                                    [% END %]
559
                                                    [% END %]
550
560
551
                                                    [% IF ( CAN_user_acquisition_order_manage ) %]
561
                                                    [% IF ( CAN_user_acquisition_order_manage ) %]
552
                                                        [% IF ( searchtoorder_basketno && searchtoorder_vendorid ) %]
562
                                                        [% IF ( searchtoorder_basketno && searchtoorder_vendorid ) %]
553
                                                            | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% searchtoorder_vendorid | uri %]&amp;basketno=[% searchtoorder_basketno | uri %]&amp;biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Add order</a>
563
                                                            | <a id="lientype" href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% searchtoorder_vendorid | uri %]&amp;basketno=[% searchtoorder_basketno | uri %]&amp;biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Add order</a>
554
                                                        [% END %]
564
                                                        [% END %]
555
                                                    [% END %]
565
                                                    [% END %]
556
566
557
                                                    [% IF ( OPACBaseURL ) %]
567
                                                    [% IF ( OPACBaseURL ) %]
558
                                                        <span class="view-in-opac">
568
                                                        <span class="view-in-opac">
559
                                                            | <a href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" target="_blank">OPAC view</a>
569
                                                            | <a id="lientype" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" target="_blank">OPAC view</a>
560
                                                        </span>
570
                                                        </span>
561
                                                    [% END %]
571
                                                    [% END %]
562
                                                </p> <!-- /.holds -->
572
                                                </p> <!-- /.holds -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt (-2 / +10 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
[% USE Koha %]
8
[% USE Koha %]
6
[% USE KohaDates %]
9
[% USE KohaDates %]
Lines 10-17 Link Here
10
13
11
<body id="catalogue_search-history" class="catalogue">
14
<body id="catalogue_search-history" class="catalogue">
12
15
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'cat-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 27-32 Link Here
27
            </a>
29
            </a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
30
</nav>
38
</nav>
31
39
32
<div class="container-fluid">
40
<div class="container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt (-2 / +10 lines)
Lines 3-16 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Stock rotation details for [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
10
<title>Stock rotation details for [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Catalog &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
<body id="catalog_stockrotation" class="catalog">
13
<body id="catalog_stockrotation" class="catalog">
11
[% USE KohaDates %]
14
[% USE KohaDates %]
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'cat-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 29-34 Link Here
29
            </a>
31
            </a>
30
        </li>
32
        </li>
31
    </ol>
33
    </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
32
</nav>
40
</nav>
33
41
34
<div class="main container-fluid">
42
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-55 / +47 lines)
Lines 4-10 Link Here
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( biblionumber ) %]Editing [% title | html %] (Record number [% biblionumber | html %])[% ELSE %]Add MARC record[% END %] &rsaquo; Cataloging &rsaquo; Koha</title>
5
<title>[% IF ( biblionumber ) %]Editing [% title | html %] (Record number [% biblionumber | html %])[% ELSE %]Add MARC record[% END %] &rsaquo; Cataloging &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'calendar.inc' %]
8
[% Asset.js("lib/hc-sticky.js") | $raw %]
7
[% Asset.js("lib/hc-sticky.js") | $raw %]
9
[% INCLUDE 'select2.inc' %]
8
[% INCLUDE 'select2.inc' %]
10
<script>
9
<script>
Lines 131-137 Link Here
131
130
132
            if ( !confirm( breedingid ? _("This record cannot be transferred to the advanced editor. Continue?") : _("Any changes will not be saved. Continue?") ) ) return false;
131
            if ( !confirm( breedingid ? _("This record cannot be transferred to the advanced editor. Continue?") : _("Any changes will not be saved. Continue?") ) ) return false;
133
132
134
            Cookies.set( 'catalogue_editor_[% logged_in_user.borrowernumber | html %]', 'advanced', { expires: 365, path: '/', sameSite: 'Lax'  } );
133
            Cookies.set( 'catalogue_editor_[% logged_in_user.borrowernumber | html %]', 'advanced', { expires: 365, path: '/' } );
135
134
136
            var biblionumber = [% biblionumber || "null" | html %];
135
            var biblionumber = [% biblionumber || "null" | html %];
137
136
Lines 509-519 function PopupMARCFieldDoc(field) { Link Here
509
    function toggleMARCdocLinks(flag){
508
    function toggleMARCdocLinks(flag){
510
        if( flag === true ){
509
        if( flag === true ){
511
            $(".marcdocs").show();
510
            $(".marcdocs").show();
512
            Cookies.set("marcdocs_[% borrowernumber | html %]",'show', { path: "/", expires: 365, sameSite: 'Lax'  });
511
            Cookies.set("marcdocs_[% borrowernumber | html %]",'show', { path: "/", expires: 365 });
513
            $("#marcDocsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o');
512
            $("#marcDocsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o');
514
        } else {
513
        } else {
515
            $(".marcdocs").hide();
514
            $(".marcdocs").hide();
516
            Cookies.set("marcdocs_[% borrowernumber | html %]",'hide', { path: "/", expires: 365, sameSite: 'Lax'  });
515
            Cookies.set("marcdocs_[% borrowernumber | html %]",'hide', { path: "/", expires: 365 });
517
            $("#marcDocsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o');
516
            $("#marcDocsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o');
518
        }
517
        }
519
    }
518
    }
Lines 522-533 function PopupMARCFieldDoc(field) { Link Here
522
        if( flag === true ){
521
        if( flag === true ){
523
            $(".tagnum").show();
522
            $(".tagnum").show();
524
            $(".subfieldcode").show();
523
            $(".subfieldcode").show();
525
            Cookies.set("marctags_[% borrowernumber | html %]",'show', { path: "/", expires: 365, sameSite: 'Lax'  });
524
            Cookies.set("marctags_[% borrowernumber | html %]",'show', { path: "/", expires: 365 });
526
            $("#marcTagsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o');
525
            $("#marcTagsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o');
527
        } else {
526
        } else {
528
            $(".tagnum").hide();
527
            $(".tagnum").hide();
529
            $(".subfieldcode").hide();
528
            $(".subfieldcode").hide();
530
            Cookies.set("marctags_[% borrowernumber | html %]",'hide', { path: "/", expires: 365, sameSite: 'Lax'  });
529
            Cookies.set("marctags_[% borrowernumber | html %]",'hide', { path: "/", expires: 365 });
531
            $("#marcTagsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o');
530
            $("#marcTagsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o');
532
        }
531
        }
533
    }
532
    }
Lines 541-547 function PopupMARCFieldDoc(field) { Link Here
541
        var subfields = new Array();
540
        var subfields = new Array();
542
        var tab = new Array();
541
        var tab = new Array();
543
        var label = new Array();
542
        var label = new Array();
544
        var flag = false;
543
        var flag=0;
545
        var tabflag= new Array();
544
        var tabflag= new Array();
546
        var StrAlert = "<div id='form-errors' class='dialog alert list'>";
545
        var StrAlert = "<div id='form-errors' class='dialog alert list'>";
547
        var notFilledClass = "subfield_not_filled";
546
        var notFilledClass = "subfield_not_filled";
Lines 560-566 function PopupMARCFieldDoc(field) { Link Here
560
                    [% END %]
559
                    [% END %]
561
                [% END %]
560
                [% END %]
562
            [% END %]
561
            [% END %]
563
            StrAlert += "<h4>" + _("The following mandatory subfields aren't filled:") + "</h4>";
562
            StrAlert += "<h4>" + _("The following subfields aren't filled:") + "</h4>";
564
        } else {
563
        } else {
565
            [% FOREACH BIG_LOO IN BIG_LOOP %]
564
            [% FOREACH BIG_LOO IN BIG_LOOP %]
566
                [% FOREACH innerloo IN BIG_LOO.innerloop %]
565
                [% FOREACH innerloo IN BIG_LOO.innerloop %]
Lines 575-581 function PopupMARCFieldDoc(field) { Link Here
575
                    [% END %]
574
                    [% END %]
576
                [% END %]
575
                [% END %]
577
            [% END %]
576
            [% END %]
578
            StrAlert += "<h4>" + _("The following important subfields aren’t filled:") + "</h4>";
577
            StrAlert += "<h4>" + _("A few important fields are not filled:") + "</h4>";
579
            notFilledClass = "important_subfield_not_filled";
578
            notFilledClass = "important_subfield_not_filled";
580
        }
579
        }
581
        StrAlert += "<ul>";
580
        StrAlert += "<ul>";
Lines 610-616 function PopupMARCFieldDoc(field) { Link Here
610
                var tag=tagsubfieldid.substr(0,3);
609
                var tag=tagsubfieldid.substr(0,3);
611
                var subfield=tagsubfieldid.substr(3,1);
610
                var subfield=tagsubfieldid.substr(3,1);
612
                StrAlert += "<li>"+_("Tag %s subfield %s %s in tab %s").format(tag, subfield, formatFieldName( tabflag[tagsubfieldid][1] ), tabflag[tagsubfieldid][2]) + ' <a class="linkfield btn btn-link" href="#" data-tab="' + tabflag[tagsubfieldid][2] + '" data-field="' + tabflag[tagsubfieldid][3] + '"><i class="fa fa-arrow-right" aria-hidden="true"></i> ' + _("Go to field") + '</a></li>';
611
                StrAlert += "<li>"+_("Tag %s subfield %s %s in tab %s").format(tag, subfield, formatFieldName( tabflag[tagsubfieldid][1] ), tabflag[tagsubfieldid][2]) + ' <a class="linkfield btn btn-link" href="#" data-tab="' + tabflag[tagsubfieldid][2] + '" data-field="' + tabflag[tagsubfieldid][3] + '"><i class="fa fa-arrow-right" aria-hidden="true"></i> ' + _("Go to field") + '</a></li>';
613
                flag = true;
612
                flag=1;
614
            }
613
            }
615
        }
614
        }
616
        StrAlert += "</ul>";
615
        StrAlert += "</ul>";
Lines 664-670 function PopupMARCFieldDoc(field) { Link Here
664
            }
663
            }
665
664
666
            if(isempty){
665
            if(isempty){
667
                flag = true;
666
                flag = 1;
668
                if (mandatory) {
667
                if (mandatory) {
669
                    mandatoryFields[ arr[0] ] = {
668
                    mandatoryFields[ arr[0] ] = {
670
                        importance: "mandatory",
669
                        importance: "mandatory",
Lines 689-702 function PopupMARCFieldDoc(field) { Link Here
689
                if( mandatoryFields[prop]["importance"] == "mandatory" ){
688
                if( mandatoryFields[prop]["importance"] == "mandatory" ){
690
                    StrAlert += "<li>" + _("Field %s is mandatory, at least one of its subfields must be filled.").format( prop ) + ' <a class="linkfield btn btn-link" href="#" data-tab="' + mandatoryFields[prop]["tab"] + '" data-field="' + mandatoryFields[prop]["elemid"] + '"><i class="fa fa-arrow-right" aria-hidden="true"></i> ' + _("Go to field") + '</a></li>';
689
                    StrAlert += "<li>" + _("Field %s is mandatory, at least one of its subfields must be filled.").format( prop ) + ' <a class="linkfield btn btn-link" href="#" data-tab="' + mandatoryFields[prop]["tab"] + '" data-field="' + mandatoryFields[prop]["elemid"] + '"><i class="fa fa-arrow-right" aria-hidden="true"></i> ' + _("Go to field") + '</a></li>';
691
                } else {
690
                } else {
692
                    StrAlert += "<li>" + _("Field %s is important, at least one of its subfields must be filled.").format(prop) + ' <a class="linkfield btn btn-link" href="#" data-tab="' + mandatoryFields[prop]["tab"] + '" data-field="' + mandatoryFields[prop]["elemid"] + '"><i class="fa fa-arrow-right" aria-hidden="true"></i> ' + _("Go to field") + '</a></li>';
691
                    StrAlert += "<li>" + _("Field %s is important, at least one of its subfields must be filled.").format(arr[0]) + ' <a class="linkfield btn btn-link" href="#" data-tab="' + mandatoryFields[prop]["tab"] + '" data-field="' + mandatoryFields[prop]["elemid"] + '"><i class="fa fa-arrow-right" aria-hidden="true"></i> ' + _("Go to field") + '</a></li>';
693
                }
692
                }
694
            }
693
            }
695
            StrAlert += "</ul>";
694
            StrAlert += "</ul>";
696
        }
695
        }
697
        StrAlert += "</div>";
696
        StrAlert += "</div>";
698
        if ( flag ) {
697
        if (flag) {
699
            $("#show-errors").html('<button type="button" class="btn btn-danger show-errors"><i class="fa fa-warning"></i> ' + _("Errors") + '</span>');
698
            $("#show-errors").html('<button type="button" style="margin-top: 5px" class="btn btn-danger show-errors"><i class="fa fa-warning"></i> ' + _("Errors") + '</span>');
700
            return StrAlert;
699
            return StrAlert;
701
        } else {
700
        } else {
702
            return flag;
701
            return flag;
Lines 704-739 function PopupMARCFieldDoc(field) { Link Here
704
    }
703
    }
705
704
706
    /**
705
    /**
707
     * Run checks for mandatory and important fields
706
     *
708
     * Output errors if necessary, or submit the form
707
     *
709
     */
708
     */
710
    function Check(){
709
    function Check(){
711
        var StrAlert = AreFieldsNotOk();
710
        var StrAlert = AreFieldsNotOk();
712
        var StrWarning = AreFieldsNotOk( false );
711
        if( ! StrAlert ){
713
        if( !StrAlert && StrWarning ){
712
            var StrWarning = AreFieldsNotOk(false);
714
            // Check important fields
713
            if (StrWarning){
715
            $("#check_errors").html( StrWarning );
714
                StrWarning += "\n" + _("Are you sure you want to save?");
716
            $('html, body').animate({ scrollTop: 0 }, 'fast');
715
                var r=confirm(StrWarning);
717
716
                if (! r){
718
            var r=confirm( _("Important fields(s) are not filled. Are you sure you want to save?" ) );
717
                    return false;
719
            if (! r){
718
                }
720
                return false;
721
            } else {
722
                document.f.submit();
723
                return true;
724
            }
725
        } else if( StrAlert ){
726
            var strAll = StrAlert;
727
            if( StrWarning ){
728
                strAll += StrWarning;
729
            }
719
            }
730
            $("#check_errors").html( strAll );
720
            document.f.submit();
721
            return true;
722
        } else {
723
            $("#check_errors").html( StrAlert );
731
            $('html, body').animate({ scrollTop: 0 }, 'fast');
724
            $('html, body').animate({ scrollTop: 0 }, 'fast');
732
            Sticky.hcSticky('refresh');
725
            Sticky.hcSticky('refresh');
733
            return false;
726
            return false;
734
        } else if( !StrAlert && !StrWarning ){
735
            document.f.submit();
736
            return true;
737
        }
727
        }
738
    }
728
    }
739
729
Lines 814-826 function PopupMARCFieldDoc(field) { Link Here
814
804
815
                <div id="check_errors"></div>
805
                <div id="check_errors"></div>
816
806
817
                <h1>
807
                <h2>
818
                    [% IF ( biblionumber ) %]
808
                    [% IF ( biblionumber ) %]
819
                        Editing <em>[% title | html %]</em> (Record number [% biblionumber | html %])
809
                        Editing <em>[% title | html %]</em> (Record number [% biblionumber | html %])
820
                    [% ELSE %]
810
                    [% ELSE %]
821
                        Add MARC record [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %]
811
                        Add MARC record [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %]
822
                    [% END %]
812
                    [% END %]
823
                </h1>
813
                </h2>
824
814
825
                [% UNLESS ( number ) %]
815
                [% UNLESS ( number ) %]
826
                    <!-- show duplicate warning on tab 0 only -->
816
                    <!-- show duplicate warning on tab 0 only -->
Lines 867-878 function PopupMARCFieldDoc(field) { Link Here
867
                    [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
857
                    [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
868
                        [% IF (circborrowernumber) %][%# fast cataloging must lead to items %]
858
                        [% IF (circborrowernumber) %][%# fast cataloging must lead to items %]
869
                            <!-- Action is under fast cataloging - Save button redirecting to items -->
859
                            <!-- Action is under fast cataloging - Save button redirecting to items -->
870
                            <div class="btn-group"><a href="#" id="saveanditems" class="btn btn-default"><i class="fa fa-save"></i> Save</a></div>
860
                            <div class="btn-group"><a href="#" id="saveanditems" class="btn btn-default principal"><i class="fa fa-save"></i> Save</a></div>
871
                        [% ELSE %]
861
                        [% ELSE %]
872
                            <!-- Not using fast cataloging - Display split menu -->
862
                            <!-- Not using fast cataloging - Display split menu -->
873
                            <div class="btn-group">
863
                            <div class="btn-group">
874
                                <button class="btn btn-default" id="saverecord"><i class="fa fa-save"></i> Save</button>
864
                                <button class="btn btn-default principal" id="saverecord"><i class="fa fa-save"></i> Save</button>
875
                                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
865
                                <button class="btn btn-default dropdown-toggle principal" data-toggle="dropdown">
876
                                <span class="caret"></span>
866
                                <span class="caret"></span>
877
                                </button>
867
                                </button>
878
                                <ul class="dropdown-menu">
868
                                <ul class="dropdown-menu">
Lines 884-912 function PopupMARCFieldDoc(field) { Link Here
884
                        [% END %]
874
                        [% END %]
885
                    [% ELSE %]
875
                    [% ELSE %]
886
                        <!-- User cannot edit items - single button redirecting to view -->
876
                        <!-- User cannot edit items - single button redirecting to view -->
887
                        <div class="btn-group"><a href="#" id="saveandview" class="btn btn-default"><i class="fa fa-save"></i> Save</a></div>
877
                        <div class="btn-group"><a href="#" id="saveandview" class="btn btn-default principal"><i class="fa fa-save"></i> Save</a></div>
888
                    [% END # /IF CAN_user_editcatalogue_edit_items %]
878
                    [% END # /IF CAN_user_editcatalogue_edit_items %]
889
879
890
                    [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %]
880
                    [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %]
891
                        [% IF biblionumber %]
881
                        [% IF biblionumber %]
892
                            <div class="btn-group"><a class="btn btn-default" href="#" id="z3950search"><i class="fa fa-search"></i> Replace record via Z39.50/SRU search</a></div>
882
                            <div class="btn-group"><a class="btn btn-default pat" href="#" id="z3950search"><i class="fa fa-search"></i> Replace record via Z39.50/SRU search</a></div>
893
                        [% ELSE %]
883
                        [% ELSE %]
894
                            <div class="btn-group"><a class="btn btn-default" href="#" id="z3950search"><i class="fa fa-search"></i> Z39.50/SRU search</a></div>
884
                            <div class="btn-group"><a class="btn btn-default pat" href="#" id="z3950search"><i class="fa fa-search"></i> Z39.50/SRU search</a></div>
895
                        [% END %]
885
                        [% END %]
896
                        [% IF ( CAN_user_editauthorities ) %]
886
                        [% IF ( CAN_user_editauthorities ) %]
897
                            <div class="btn-group"><a class="btn btn-default" href="#" id="linkerbutton"><i class="fa fa-refresh"></i> Link authorities automatically</a></div>
887
                            <div class="btn-group"><a class="btn btn-default pat" href="#" id="linkerbutton"><i class="fa fa-refresh"></i> Link authorities automatically</a></div>
898
                        [% END %]
888
                        [% END %]
899
                    [% END %]
889
                    [% END %]
900
890
901
                    <div class="btn-group">
891
                    <div class="btn-group">
902
                        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
892
                        <button class="btn btn-default dropdown-toggle pat" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
903
                        <ul id="settings-menu" class="dropdown-menu">
893
                        <ul id="settings-menu" class="dropdown-menu">
904
                            [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 && CAN_user_editcatalogue_advanced_editor %]
894
                            [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 && CAN_user_editcatalogue_advanced_editor %]
905
                                <li><a href="#" id="switcheditor">Switch to advanced editor</a></li>
895
                                <li><a href="#" id="switcheditor">Switch to advanced editor</a></li>
906
                            [% END %]
896
                            [% END %]
907
                            [% UNLESS advancedMARCEditor %]
897
                            [% UNLESS advancedMARCEditor %]
908
                                <li>
898
                                <li>
909
                                    <a href="#" id="marcDocsSelect"><i class="fa fa-check-square-o"></i> Show MARC tag documentation links</a>
899
                                    <a href="#" id="marcDocsSelect"><i class="fa fa-check-square-o"></i> Show MARC tag documentation links</a></li>
910
                                <li>
900
                                <li>
911
                                    <a href="#" id="marcTagsSelect"><i class="fa fa-check-square-o"></i> Show tags</a>
901
                                    <a href="#" id="marcTagsSelect"><i class="fa fa-check-square-o"></i> Show tags</a>
912
                                </li>
902
                                </li>
Lines 924-930 function PopupMARCFieldDoc(field) { Link Here
924
                            </li>
914
                            </li>
925
                            [% FOREACH framework IN frameworks%]
915
                            [% FOREACH framework IN frameworks%]
926
                                <li>
916
                                <li>
927
                                    <a href="#" class="change-framework" data-frameworkcode="[% framework.frameworkcode | html %]">
917
                                    <a href="#" id="lientype" class="change-framework" data-frameworkcode="[% framework.frameworkcode | html %]">
928
                                        [% IF framework.frameworkcode == frameworkcode %]
918
                                        [% IF framework.frameworkcode == frameworkcode %]
929
                                            <i class="fa fa-fw fa-check"></i>
919
                                            <i class="fa fa-fw fa-check"></i>
930
                                        [% ELSE %]
920
                                        [% ELSE %]
Lines 933-954 function PopupMARCFieldDoc(field) { Link Here
933
                                        [% framework.frameworktext | html %]
923
                                        [% framework.frameworktext | html %]
934
                                    </a>
924
                                    </a>
935
                                </li>
925
                                </li>
936
                            [% END %]
926
                            [% END %]</li>
937
                        </ul> <!-- /#settings-menu -->
927
                        </ul> <!-- /#settings-menu -->
938
                    </div> <!-- /.btn-group -->
928
                    </div> <!-- /.btn-group -->
939
                    [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %]
929
                    [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %]
940
                        [% IF (biblionumber) %]
930
                        [% IF (biblionumber) %]
941
                            <div class="btn-group">
931
                            <div class="btn-group">
942
                                <a href="[% PROCESS biblio_a_href biblionumber => biblionumber %]" class="btn btn-default" id="cancel">Cancel</a>
932
                                <a href="[% PROCESS biblio_a_href biblionumber => biblionumber %]" class="btn btn-default cancel" id="cancel">Cancel</a>
943
                            </div>
933
                            </div>
944
                        [% ELSE %]
934
                        [% ELSE %]
945
                            <div class="btn-group">
935
                            <div class="btn-group">
946
                                <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cancel</a>
936
                                <a class="btn btn-default cancel" id="cancel" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cancel</a>
947
                            </div>
937
                            </div>
948
                        [% END %]
938
                        [% END %]
949
                        <div id="show-errors" class="btn-group"></div>
939
                        <div id="show-errors" class="btn-group"></div>
950
                    [% END # /UNLESS circborrowernumber %]
940
                    [% END # /UNLESS circborrowernumber %]
951
                    <div class="toolbar-tabs-container">
941
                    <div class="toolbar-tabs-container">
942
                    <div id="searchresults">
952
                        [% IF ( BIG_LOOP && BIG_LOOP.size > 1 ) %]
943
                        [% IF ( BIG_LOOP && BIG_LOOP.size > 1 ) %]
953
                            <ul class="toolbar-tabs">
944
                            <ul class="toolbar-tabs">
954
                                [%- FOREACH BIG_LOO IN BIG_LOOP -%]
945
                                [%- FOREACH BIG_LOO IN BIG_LOOP -%]
Lines 974-980 function PopupMARCFieldDoc(field) { Link Here
974
                                [% END %]
965
                                [% END %]
975
                            [% END %]
966
                            [% END %]
976
                        </ul>
967
                        </ul>
977
                    </div>
968
                    </div></div>
978
                </div> <!-- /#toolbar.btn-toolbar -->
969
                </div> <!-- /#toolbar.btn-toolbar -->
979
970
980
                [% IF bib_doesnt_exist %]
971
                [% IF bib_doesnt_exist %]
Lines 994-999 function PopupMARCFieldDoc(field) { Link Here
994
                <input type="hidden" name="breedingid" value="[% breedingid | html %]" />
985
                <input type="hidden" name="breedingid" value="[% breedingid | html %]" />
995
                <input type="hidden" name="changed_framework" value="" />
986
                <input type="hidden" name="changed_framework" value="" />
996
987
988
                <div id="searchresults">
997
                <div id="addbibliotabs" class="toptabs numbered">
989
                <div id="addbibliotabs" class="toptabs numbered">
998
                    <ul>
990
                    <ul>
999
                        [% FOREACH BIG_LOO IN BIG_LOOP %]
991
                        [% FOREACH BIG_LOO IN BIG_LOOP %]
Lines 1026-1032 function PopupMARCFieldDoc(field) { Link Here
1026
                                    [% ELSE %]
1018
                                    [% ELSE %]
1027
                                        <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
1019
                                        <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
1028
                                    [% END %]
1020
                                    [% END %]
1029
                                        <div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
1021
                                        <div class="tag_title" style="background-color: #f3f4f4" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
1030
                                            [% IF advancedMARCEditor %]
1022
                                            [% IF advancedMARCEditor %]
1031
                                                <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a>
1023
                                                <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a>
1032
                                            [% ELSE %]
1024
                                            [% ELSE %]
Lines 1194-1200 function PopupMARCFieldDoc(field) { Link Here
1194
                            </ul> <!--  /.sortable_field -->
1186
                            </ul> <!--  /.sortable_field -->
1195
                        </div> <!-- /#tabXXX -->
1187
                        </div> <!-- /#tabXXX -->
1196
                    [% END # /FOREACH BIG_LOOP %]
1188
                    [% END # /FOREACH BIG_LOOP %]
1197
                </div><!-- /#addbibliotabs -->
1189
                </div></div><!-- /#addbibliotabs -->
1198
1190
1199
                [%# Fields for fast cataloging %]
1191
                [%# Fields for fast cataloging %]
1200
                <input type="hidden" name="barcode" value="[% barcode | html %]" />
1192
                <input type="hidden" name="barcode" value="[% barcode | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-9 / +17 lines)
Lines 2-16 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE TablesSettings %]
4
[% USE TablesSettings %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %][% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Cataloging [% IF ( total || breeding_loop ) %] &rsaquo; Search results [% ELSIF ( query ) %] &rsaquo; No results found [% END %] &rsaquo; Koha</title>
10
<title>Cataloging [% IF ( total || breeding_loop ) %] &rsaquo; Search results [% ELSIF ( query ) %] &rsaquo; No results found [% END %] &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
13
11
<body id="cat_addbooks" class="cat">
14
<body id="cat_addbooks" class="cat">
12
    [% INCLUDE 'header.inc' %]
15
    [% INCLUDE 'header.inc' form=formulaire %]
13
    [% INCLUDE 'cataloging-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 39-44 Link Here
39
            </li>
41
            </li>
40
        [% END %]
42
        [% END %]
41
    </ol>
43
    </ol>
44
45
    <ol>
46
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
47
    </ol>
48
49
    <ol>
50
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
51
    </ol>
42
</nav>
52
</nav>
43
53
44
    <div class="main container-fluid">
54
    <div class="main container-fluid">
Lines 48-59 Link Here
48
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
58
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
49
                    <div id="toolbar" class="btn-toolbar">
59
                    <div id="toolbar" class="btn-toolbar">
50
                        [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 && CAN_user_editcatalogue_advanced_editor %]
60
                        [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 && CAN_user_editcatalogue_advanced_editor %]
51
                            <a id="useadvanced" href="/cgi-bin/koha/cataloguing/editor.pl" class="btn btn-default"><i class="fa fa-pencil"></i> Advanced editor</a>
61
                            <a id="useadvanced" href="/cgi-bin/koha/cataloguing/editor.pl" class="pat"><i class="fa fa-pencil"></i> Advanced editor</a>
52
                        [% END %]
62
                        [% END %]
53
                        <div class="btn-group">
63
                        <div class="btn-group">
54
                            <button class="btn btn-default" id="newRecord"><i class="fa fa-plus"></i> New record</button>
64
                            <button class="pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New record<span class="caret"></span>
55
                            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
56
                                <span class="caret"></span>
57
                            </button>
65
                            </button>
58
                            <ul class="dropdown-menu">
66
                            <ul class="dropdown-menu">
59
                                <li><a id="newRecordDefault" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">Default framework</a></li>
67
                                <li><a id="newRecordDefault" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">Default framework</a></li>
Lines 64-71 Link Here
64
                        </div>
72
                        </div>
65
                        [% IF servers.count > 0 %]
73
                        [% IF servers.count > 0 %]
66
                            <div class="btn-group">
74
                            <div class="btn-group">
67
                                <button class="btn btn-default" id="z3950search"><i class="fa fa-search"></i> New from Z39.50/SRU</button>
75
                                <button class="pat mot" id="z3950search"><i class="fa fa-search"></i> New from Z39.50/SRU</button>
68
                                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
76
                                <button class="pat fleche" data-toggle="dropdown">
69
                                    <span class="caret"></span>
77
                                    <span class="caret"></span>
70
                                </button>
78
                                </button>
71
                                <ul class="dropdown-menu">
79
                                <ul class="dropdown-menu">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-11 / +26 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% USE TablesSettings %]
9
[% USE TablesSettings %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Items &rsaquo; [% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.biblionumber | html %]) &rsaquo; Cataloging &rsaquo; Koha</title>
11
<title>Items &rsaquo; [% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.biblionumber | html %]) &rsaquo; Cataloging &rsaquo; Koha</title>
Lines 26-33 Link Here
26
</head>
29
</head>
27
30
28
<body id="cat_additem" class="cat">
31
<body id="cat_additem" class="cat">
29
[% INCLUDE 'header.inc' %]
32
[% INCLUDE 'header.inc' form=formulaire %]
30
[% INCLUDE 'cataloging-search.inc' %]
31
33
32
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
34
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
33
    <ol>
35
    <ol>
Lines 46-51 Link Here
46
            </a>
48
            </a>
47
        </li>
49
        </li>
48
    </ol>
50
    </ol>
51
        <ol>
52
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
53
        </ol>
54
        <ol>
55
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
56
        </ol>
49
</nav>
57
</nav>
50
58
51
<div class="main container-fluid">
59
<div class="main container-fluid">
Lines 53-59 Link Here
53
        <div class="col-sm-12">
61
        <div class="col-sm-12">
54
            <main>
62
            <main>
55
                [% INCLUDE 'blocking_errors.inc' %]
63
                [% INCLUDE 'blocking_errors.inc' %]
56
<h1>Items for [% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.biblionumber | html %])</h1>
64
<h2>Items for [% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.biblionumber | html %])</h2>
57
65
58
[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
66
[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
59
[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
67
[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
Lines 65-70 Link Here
65
73
66
<div id="cataloguing_additem_itemlist">
74
<div id="cataloguing_additem_itemlist">
67
    [% IF items %]
75
    [% IF items %]
76
    <div id="searchresults">
68
        [% SET date_fields = [ 'dateaccessioned', 'onloan', 'datelastseen', 'datelastborrowed', 'replacementpricedate' ] %]
77
        [% SET date_fields = [ 'dateaccessioned', 'onloan', 'datelastseen', 'datelastborrowed', 'replacementpricedate' ] %]
69
        <div>
78
        <div>
70
        <table id="itemst">
79
        <table id="itemst">
Lines 99-105 Link Here
99
                    [% ELSE %]
108
                    [% ELSE %]
100
                      <td>
109
                      <td>
101
                          <div class="btn-group dropup">
110
                          <div class="btn-group dropup">
102
                          <a class="btn btn-default btn-xs dropdown-toggle" id="itemactions[% item.itemnumber | html %]" role="button" data-toggle="dropdown" href="#">
111
                          <a class="btn btn-default btn-xs dropdown-toggle lientype" id="itemactions[% item.itemnumber | html %]" role="button" data-toggle="dropdown" href="#">
103
                              Actions <b class="caret"></b>
112
                              Actions <b class="caret"></b>
104
                          </a>
113
                          </a>
105
                          <ul class="dropdown-menu" role="menu" aria-labelledby="itemactions[% item.itemnumber | html %]">
114
                          <ul class="dropdown-menu" role="menu" aria-labelledby="itemactions[% item.itemnumber | html %]">
Lines 132-142 Link Here
132
          </tbody>
141
          </tbody>
133
        </table>
142
        </table>
134
        </div>
143
        </div>
144
    </div>
135
    [% END %]
145
    [% END %]
136
146
137
<div class="row">
147
<div class="row">
138
    <div class="col-sm-2">
148
    <div class="col-sm-2">
149
    <aside>
139
        [% INCLUDE 'biblio-view-menu.inc' %]
150
        [% INCLUDE 'biblio-view-menu.inc' %]
151
    </aside>
140
    </div>
152
    </div>
141
    <div class="col-sm-10">
153
    <div class="col-sm-10">
142
154
Lines 147-157 Link Here
147
        <input type="hidden" name="popup" value="1" />
159
        <input type="hidden" name="popup" value="1" />
148
    [% END %]
160
    [% END %]
149
    <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]" />
161
    <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]" />
162
163
150
    [% IF op != 'saveitem' %]
164
    [% IF op != 'saveitem' %]
151
        <h2 id="additema">Add item [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %]</h2>
165
        <h2 id="additema">Add item [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %]</h2>
152
    [% ELSE %]
166
    [% ELSE %]
153
        <h2 id="edititem">Edit item #[% itemnumber | html %][% IF ( barcode ) %] / Barcode [% barcode | html %][% END %]</h2>
167
        <h2 id="edititem">Edit item #[% itemnumber | html %][% IF ( barcode ) %] / Barcode [% barcode | html %][% END %]</h2>
154
    [% END %]
168
    [% END %]
169
155
	<fieldset class="rows">
170
	<fieldset class="rows">
156
        [% PROCESS subfields_for_item subfields => subfields %]
171
        [% PROCESS subfields_for_item subfields => subfields %]
157
    </fieldset>
172
    </fieldset>
Lines 160-181 Link Here
160
    [% END %]
175
    [% END %]
161
176
162
<fieldset class="action">    [% IF op != 'saveitem' %]
177
<fieldset class="action">    [% IF op != 'saveitem' %]
163
    <input type="submit" name="phony_submit" value="phony_submit" id="phony_submit" style="display:none;" onclick="return false;" />
178
    <input type="submit" class="principal" name="phony_submit" value="phony_submit" id= "phony_submit" style="display:none;" onclick="return false;" />
164
    <!-- Note : We use here a false submit button because we have several submit buttons and we don't want the user to believe they validated the adding of multiple items
179
    <!-- Note : We use here a false submit button because we have several submit buttons and we don't want the user to believe they validated the adding of multiple items
165
		when pressing the enter key, while in fact it is the first submit button that is validated, in our case the "add (single) item" button.
180
		when pressing the enter key, while in fact it is the first submit button that is validated, in our case the "add (single) item" button.
166
		It is a bit tricky, but necessary in the sake of UI correctness.
181
		It is a bit tricky, but necessary in the sake of UI correctness.
167
    -->
182
    -->
168
    <span id="addsingle">
183
    <span id="addsingle">
169
        <input type="submit" name="add_submit" value="Add item" onclick="return Check(this.form)" />
184
        <input type="submit" name="add_submit" value="Add item" class="principal" onclick="return Check(this.form)" />
170
        <input type="submit" name="add_duplicate_submit" value="Add &amp; duplicate" onclick="return Check(this.form)" />
185
        <input type="submit" name="add_duplicate_submit" class="principal" value="Add &amp; duplicate" onclick="return Check(this.form)" />
171
    </span>
186
    </span>
172
    <span id="addmultiple">
187
    <span id="addmultiple">
173
        <input type="button" name="add_multiple_copies" id="add_multiple_copies" value="Add multiple copies of this item" />
188
        <input type="button" name="add_multiple_copies" class="principal" id="add_multiple_copies" value="Add multiple copies of this item" />
174
    </span>
189
    </span>
175
    <fieldset id="add_multiple_copies_span">
190
    <fieldset id="add_multiple_copies_span">
176
        <label for="number_of_copies">Number of copies of this item to add: </label>
191
        <label for="number_of_copies">Number of copies of this item to add: </label>
177
        <input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" />
192
        <input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" />
178
        <input type="submit" id="add_multiple_copies_submit" name="add_multiple_copies_submit" value="Add" onclick="javascript:return Check(this.form) && CheckMultipleAdd(this.form.number_of_copies.value);" /> <a href="#" id="cancel_add_multiple" class="cancel">Cancel</a>
193
        <input type="submit" id="add_multiple_copies_submit" class="principal" name="add_multiple_copies_submit" value="Add" onclick="javascript:return Check(this.form) && CheckMultipleAdd(this.form.number_of_copies.value);" /> <a href="#" id="cancel_add_multiple" class="cancel">Cancel</a>
179
        <div class="hint"><p>The barcode you enter will be incremented for each additional item.</p></div>
194
        <div class="hint"><p>The barcode you enter will be incremented for each additional item.</p></div>
180
    </fieldset>
195
    </fieldset>
181
196
Lines 183-190 Link Here
183
    [% IF op != 'add_item' %]
198
    [% IF op != 'add_item' %]
184
        <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
199
        <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
185
    [% END %]
200
    [% END %]
186
    <input type="submit" value="Save changes" onclick="return Check(this.form)">
201
    <input type="submit" class="principal" value="Save changes" onclick="return Check(this.form)">
187
    <input type="button" id="addnewitem" value="Add a new item">
202
    <input type="button" class="lientype" id="addnewitem" value="Add a new item">
188
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">Cancel</a>
203
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">Cancel</a>
189
    [% END %]</fieldset>
204
    [% END %]</fieldset>
190
205
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt (-2 / +11 lines)
Lines 7-13 Link Here
7
[% Asset.css("lib/codemirror/codemirror.min.css") | $raw %]
7
[% Asset.css("lib/codemirror/codemirror.min.css") | $raw %]
8
[% Asset.css("css/humanmsg.css") | $raw %]
8
[% Asset.css("css/humanmsg.css") | $raw %]
9
[% Asset.js("js/cataloging.js") | $raw %]
9
[% Asset.js("js/cataloging.js") | $raw %]
10
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
10
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %][% SET footerjs = 1 %]
11
[% formulaire = BLOCK %]
12
    [% INCLUDE 'cat-search.inc' %]
13
[% END %]
11
</head>
14
</head>
12
<body id="cat_addbiblio" class="cat">
15
<body id="cat_addbiblio" class="cat">
13
16
Lines 15-21 Link Here
15
       <div>Loading, please wait...</div>
18
       <div>Loading, please wait...</div>
16
   </div>
19
   </div>
17
20
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% PROCESS 'keyboard_shortcuts.inc' %]
22
[% PROCESS 'keyboard_shortcuts.inc' %]
20
23
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 32-37 Link Here
32
            </a>
35
            </a>
33
        </li>
36
        </li>
34
    </ol>
37
    </ol>
38
        <ol>
39
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
40
        </ol>
41
        <ol>
42
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
43
        </ol>
35
</nav>
44
</nav>
36
45
37
<div class="main container-fluid">
46
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt (-2 / +11 lines)
Lines 1-10 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
1
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Link to host record &rsaquo; Cataloging &rsaquo; Koha</title>
6
<title>Link to host record &rsaquo; Cataloging &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
8
</head>
5
<body id="catalog_linkitem" class="catalog">
9
<body id="catalog_linkitem" class="catalog">
6
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'header.inc' form=formulaire %]
7
[% INCLUDE 'cat-search.inc' %]
8
11
9
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
10
    <ol>
13
    <ol>
Lines 20-25 Link Here
20
            </a>
23
            </a>
21
        </li>
24
        </li>
22
    </ol>
25
    </ol>
26
        <ol>
27
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
28
        </ol>
29
        <ol>
30
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
31
        </ol>
23
</nav>
32
</nav>
24
33
25
<div class="container-fluid">
34
<div class="container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-2 / +10 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% PROCESS 'merge-record.inc' %]
7
[% PROCESS 'merge-record.inc' %]
5
8
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
Lines 15-22 div#result { margin-top: 1em; } Link Here
15
</head>
18
</head>
16
19
17
<body id="cat_merge" class="cat">
20
<body id="cat_merge" class="cat">
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'cataloging-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 32-37 div#result { margin-top: 1em; } Link Here
32
            </a>
34
            </a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
    <ol>
38
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
    </ol>
40
    <ol>
41
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
    </ol>
35
</nav>
43
</nav>
36
44
37
<div class="main container-fluid">
45
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-2 / +10 lines)
Lines 1-11 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Attach an item to [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Cataloging &rsaquo; Koha</title>
6
<title>Attach an item to [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Cataloging &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
<body id="catalog_moveitem" class="catalog">
9
<body id="catalog_moveitem" class="catalog">
7
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'header.inc' form=formulaire %]
8
[% INCLUDE 'cat-search.inc' %]
9
11
10
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
11
    <ol>
13
    <ol>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-3 / +3 lines)
Lines 43-49 Link Here
43
                        <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
43
                        <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
44
                        <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title | html %]" /></li>
44
                        <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title | html %]" /></li>
45
                        <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle | html %]" /></li>
45
                        <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle | html %]" /></li>
46
                        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
46
                        <li><a id="resetZ3950Search" href="#">Clear search form</a></li>
47
                    </ol>
47
                    </ol>
48
                    </fieldset>
48
                    </fieldset>
49
                </div>
49
                </div>
Lines 68-74 Link Here
68
            </div>
68
            </div>
69
            <nav class="navbar navbar-default navbar-fixed-bottom">
69
            <nav class="navbar navbar-default navbar-fixed-bottom">
70
                <div class="container-fluid">
70
                <div class="container-fluid">
71
                     <fieldset class="action"><input type="submit"  class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
71
                     <fieldset class="action"><input type="submit" id="principal" class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
72
                </div>
72
                </div>
73
            </nav>
73
            </nav>
74
        </form>
74
        </form>
Lines 90-96 Link Here
90
            <td>[% breeding_loo.heading_code | html %]</td>
90
            <td>[% breeding_loo.heading_code | html %]</td>
91
            <td class="actions">
91
            <td class="actions">
92
                <div class="btn-group dropup">
92
                <div class="btn-group dropup">
93
                    <a class="btn btn-default btn-xs z3950actions" href="#">MARC</a><button class="btn-xs dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
93
                    <a class="btn btn-default btn-xs z3950actions" id="lientype" href="#">MARC</a><button class="btn-xs dropdown-toggle" id="lientype" data-toggle="dropdown"><span class="caret"></span></button>
94
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]">
94
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]">
95
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData" data-action="show_marc"><i class="fa fa-eye"></i> MARC preview</a></li>
95
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData" data-action="show_marc"><i class="fa fa-eye"></i> MARC preview</a></li>
96
                        <li><a href="/cgi-bin/koha/authorities/authorities.pl?breedingid=[% breeding_loo.breedingid | uri %]&authtypecode=[% breeding_loo.heading_code | uri %]&authid=[% breeding_loo.authid | uri %]&index=[% index | uri %]" class="chosen" title="Import" data-action="import"><i class="fa fa-download"></i> Import</a></li>
96
                        <li><a href="/cgi-bin/koha/authorities/authorities.pl?breedingid=[% breeding_loo.breedingid | uri %]&authtypecode=[% breeding_loo.heading_code | uri %]&authid=[% breeding_loo.authid | uri %]&index=[% index | uri %]" class="chosen" title="Import" data-action="import"><i class="fa fa-download"></i> Import</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-5 / +5 lines)
Lines 77-83 Link Here
77
                                    <label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="[% stdid | html %]" />
77
                                    <label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="[% stdid | html %]" />
78
                                </li>
78
                                </li>
79
                                <li>
79
                                <li>
80
                                    <a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a>
80
                                    <a id="resetZ3950Search" href="#">Clear search form</a>
81
                                </li>
81
                                </li>
82
                            </ol>
82
                            </ol>
83
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
83
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
Lines 108-114 Link Here
108
108
109
                <nav class="navbar navbar-default navbar-fixed-bottom">
109
                <nav class="navbar navbar-default navbar-fixed-bottom">
110
                    <div class="container-fluid">
110
                    <div class="container-fluid">
111
                        <fieldset class="action"><input type="submit"  class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
111
                        <fieldset class="action"><input type="submit" id="principal" class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
112
                    </div>
112
                    </div>
113
                </nav>
113
                </nav>
114
            </form> <!-- /.checkboxed -->
114
            </form> <!-- /.checkboxed -->
Lines 188-194 Link Here
188
                                            [% END %]
188
                                            [% END %]
189
                                            <td class="actions">
189
                                            <td class="actions">
190
                                                <div class="btn-group dropup">
190
                                                <div class="btn-group dropup">
191
                                                    <a class="btn btn-default btn-xs z3950actions" href="#">MARC</a><button class="btn-xs dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
191
                                                    <a class="btn btn-default btn-xs z3950actions" id="lientype" href="#">MARC</a><button class="btn-xs dropdown-toggle" id="lientype" data-toggle="dropdown"><span class="caret"></span></button>
192
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]">
192
                                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]">
193
                                                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData" data-action="show_marc"><i class="fa fa-eye"></i> MARC preview</a></li>
193
                                                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData" data-action="show_marc"><i class="fa fa-eye"></i> MARC preview</a></li>
194
                                                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid | uri %]" title="Card" class="previewData" data-action="show_card"><i class="fa fa-eye"></i> Card preview</a></li>
194
                                                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid | uri %]" title="Card" class="previewData" data-action="show_card"><i class="fa fa-eye"></i> Card preview</a></li>
Lines 207-213 Link Here
207
                                <div class="modal-content">
207
                                <div class="modal-content">
208
                                    <div class="modal-header">
208
                                    <div class="modal-header">
209
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
209
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
210
                                        <h3 id="dataPreviewLabel">Preview</h3>
210
                                        <h2 id="dataPreviewLabel">Preview</h2>
211
                                    </div>
211
                                    </div>
212
                                    <div class="modal-body">
212
                                    <div class="modal-body">
213
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
213
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
Lines 254-260 Link Here
254
                        <p>
254
                        <p>
255
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
255
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
256
                            <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/>
256
                            <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/>
257
                            <input type="submit" value="Try another search"/>
257
                            <input type="submit" class="principal" value="Try another search"/>
258
                        </p>
258
                        </p>
259
                    </form>
259
                    </form>
260
                </div> <!-- /.col-xs-12 -->
260
                </div> <!-- /.col-xs-12 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-2 / +10 lines)
Lines 5-10 Link Here
5
[% USE Asset %]
5
[% USE Asset %]
6
[% USE raw %]
6
[% USE raw %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'cat-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Article requests &rsaquo; Circulation &rsaquo; Koha</title>
12
<title>Article requests &rsaquo; Circulation &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
Lines 128-135 Link Here
128
[% END %]
131
[% END %]
129
132
130
<body id="circ_article-requests" class="circ">
133
<body id="circ_article-requests" class="circ">
131
    [% INCLUDE 'header.inc' %]
134
    [% INCLUDE 'header.inc' form=formulaire %]
132
    [% INCLUDE 'cat-search.inc' %]
133
135
134
136
135
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
137
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 144-149 Link Here
144
                <a href="#" aria-current="page">Article requests</a>
146
                <a href="#" aria-current="page">Article requests</a>
145
            </li>
147
            </li>
146
        </ol>
148
        </ol>
149
        <ol>
150
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
151
        </ol>
152
        <ol>
153
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
154
        </ol>
147
    </nav>
155
    </nav>
148
156
149
    <div class="main container-fluid starthidden">
157
    <div class="main container-fluid starthidden">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt (-2 / +10 lines)
Lines 2-15 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'circ-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Circulation statistics for [% title | html %] &rsaquo; Circulation &rsaquo; Koha</title>
9
<title>Circulation statistics for [% title | html %] &rsaquo; Circulation &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="circ_bookcount" class="circ">
13
<body id="circ_bookcount" class="circ">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'circ-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 35-40 Link Here
35
            </li>
37
            </li>
36
        [% END %]
38
        [% END %]
37
    </ol>
39
    </ol>
40
        <ol>
41
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
42
        </ol>
43
        <ol>
44
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
45
        </ol>
38
</nav>
46
</nav>
39
47
40
<div class="main container-fluid">
48
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt (-4 / +12 lines)
Lines 1-12 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% USE Koha %]
2
[% USE Koha %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'circ-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Overdues at [% Branches.GetLoggedInBranchname | html %] &rsaquo; Circulation &rsaquo; Koha</title>
7
<title>Overdues at [% Branches.GetLoggedInBranchname | html %] &rsaquo; Circulation &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
<body id="circ_branchoverdues" class="circ">
10
<body id="circ_branchoverdues" class="circ">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'circ-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 22-27 Link Here
22
            </a>
24
            </a>
23
        </li>
25
        </li>
24
    </ol>
26
    </ol>
27
    <ol>
28
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
29
    </ol>
30
    <ol>
31
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
32
    </ol>
25
</nav>
33
</nav>
26
34
27
<div class="main container-fluid">
35
<div class="main container-fluid">
Lines 33-39 Link Here
33
        [% END %]
41
        [% END %]
34
            <main>
42
            <main>
35
43
36
<h1>Circulation: Overdues at [% Branches.GetLoggedInBranchname | html %]</h1>
44
<h2>Circulation: Overdues at [% Branches.GetLoggedInBranchname | html %]</h2>
37
45
38
<form name="selectlocation" action="branchoverdues.pl" method="post">
46
<form name="selectlocation" action="branchoverdues.pl" method="post">
39
    <label for="location">Shelving location selected: </label><select id="location" name="location">
47
    <label for="location">Shelving location selected: </label><select id="location" name="location">
Lines 42-48 Link Here
42
            [% IF ( locationsloo.selected ) %]<option value="[% locationsloo.authorised_value | html %]" selected="selected">[% locationsloo.lib | html %]</option>[% ELSE %]<option value="[% locationsloo.authorised_value | html %]">[% locationsloo.lib | html %]</option>[% END %]
50
            [% IF ( locationsloo.selected ) %]<option value="[% locationsloo.authorised_value | html %]" selected="selected">[% locationsloo.lib | html %]</option>[% ELSE %]<option value="[% locationsloo.authorised_value | html %]">[% locationsloo.lib | html %]</option>[% END %]
43
        [% END %]
51
        [% END %]
44
    </select>
52
    </select>
45
    <input type="submit" name="location" class="submit" value="OK" />
53
    <input type="submit" name="location" class="submit" value="OK" id="principal" />
46
</form>
54
</form>
47
55
48
    [% IF ( overduesloop ) %]
56
    [% IF ( overduesloop ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt (-11 / +17 lines)
Lines 2-14 Link Here
2
[% USE Branches %]
2
[% USE Branches %]
3
[% USE ItemTypes %]
3
[% USE ItemTypes %]
4
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'circ-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Transfers &rsaquo; Circulation &rsaquo; Koha</title>
9
<title>Transfers &rsaquo; Circulation &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="circ_branchtransfers" class="circ">
12
<body id="circ_branchtransfers" class="circ">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'circ-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
    <ol>
30
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
    </ol>
32
    <ol>
33
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
    </ol>
27
</nav>
35
</nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
Lines 171-189 Link Here
171
<div id="branchtransfers">
179
<div id="branchtransfers">
172
    <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
180
    <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
173
        <fieldset class="brief">
181
        <fieldset class="brief">
174
            <legend>Transfer</legend>
182
            <h3>Transfer</h3>
175
            <ol>
183
            <ol><li>
176
            <li>
184
                <p>Destination library:  
177
                <label for="tobranchcd">Destination library: </label>
178
                    <select name="tobranchcd" id="tobranchcd">
185
                    <select name="tobranchcd" id="tobranchcd">
179
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %]
186
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %]
180
                    </select>
187
                    </select></p>
181
            </li>
188
            </li>
182
            <li>
189
            <li>
183
                <label for="barcode">Enter barcode: </label>
190
                <input name="barcode" size="15" class="petit-barcode" type="text" placeholder="Enter barcode" /><button type="submit" class="submit" id="principal">Submit</button>
184
                <input name="barcode" id="barcode" size="15" class="focus" type="text" /> <input type="submit" value="Submit" />
191
            </li></ol>
185
            </li>
192
186
			</ol>
187
        </fieldset>
193
        </fieldset>
188
        [% FOREACH trsfitemloo IN trsfitemloop %]
194
        [% FOREACH trsfitemloo IN trsfitemloop %]
189
            <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
195
            <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt (-2 / +11 lines)
Lines 4-9 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'circ-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Checkout notes &rsaquo; Circulation &rsaquo; Koha</title>
11
<title>Checkout notes &rsaquo; Circulation &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 11-18 Link Here
11
14
12
<body id="circ_checkout-notes" class="circ">
15
<body id="circ_checkout-notes" class="circ">
13
16
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'circ-search.inc' %]
18
16
19
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
21
    <ol>
Lines 28-33 Link Here
28
            </a>
31
            </a>
29
        </li>
32
        </li>
30
    </ol>
33
    </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
31
</nav>
40
</nav>
32
41
33
<div class="main container-fluid">
42
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt (-63 / +45 lines)
Lines 1-13 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Circulation &rsaquo; Koha</title>
8
<title>Circulation &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
<body id="circ_circulation-home" class="circ">
11
<body id="circ_circulation-home" class="circ">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form = formulaire %]
10
[% INCLUDE 'circ-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 20-91 Link Here
20
            </a>
22
            </a>
21
        </li>
23
        </li>
22
    </ol>
24
    </ol>
25
26
    <ol>
27
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
28
    </ol>
29
30
    <ol>
31
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
32
    </ol>
23
</nav>
33
</nav>
24
34
25
    <div class="main container-fluid">
35
    <div class="main container-fluid">
26
36
27
        <h1>Circulation</h1>
28
29
        <div class="row">
37
        <div class="row">
30
31
            <div class="col-sm-5 col-md-4">
38
            <div class="col-sm-5 col-md-4">
32
                <h3>Circulation</h3>
39
                <h1>Circulation</h1>
33
40
34
                <ul class="buttons-list">
41
                <ul class="buttons-list">
35
                    <li>
42
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/circulation.pl"><i class="fa fa-upload fa-2x"></i><h1> Check out</h1></a></li>
36
                        <a class="circ-button" href="/cgi-bin/koha/circ/circulation.pl"><i class="fa fa-upload"></i> Check out</a>
43
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/returns.pl"><i class="fa fa-download fa-2x"></i><h1> Check in</h1></a></li>
37
                    </li>
44
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/renew.pl"><i class="fa fa-retweet fa-2x"></i><h1> Renew</h1></a></li>
38
                    <li>
39
                        <a class="circ-button" href="/cgi-bin/koha/circ/returns.pl"><i class="fa fa-download"></i> Check in</a>
40
                    </li>
41
                    <li>
42
                        <a class="circ-button" href="/cgi-bin/koha/circ/renew.pl"><i class="fa fa-retweet"></i> Renew</a>
43
                    </li>
44
                    [% UNLESS IndependentBranches %]
45
                    [% UNLESS IndependentBranches %]
45
                        <li>
46
                        <li>
46
                            [% IF Koha.Preference('UseCirculationDesks') %]
47
                            [% IF Koha.Preference('UseCirculationDesks') %]
47
                            <a class="circ-button" href="/cgi-bin/koha/circ/set-library.pl"><i class="fa fa-home"></i> Set library and desk</a>
48
                            <a class="menucirc" href="/cgi-bin/koha/circ/set-library.pl"><i class="fa fa-home fa-2x"></i><h1> Set library and desk</h1></a>
48
                            [% ELSE %]
49
                            [% ELSE %]
49
                            <a class="circ-button" href="/cgi-bin/koha/circ/set-library.pl"><i class="fa fa-home"></i> Set library</a>
50
                            <a class="menucirc" href="/cgi-bin/koha/circ/set-library.pl"><i class="fa fa-home fa-2x"></i><h1> Set library</h1></a>
50
                            [% END %]
51
                            [% END %]
51
                        </li>
52
                        </li>
52
                    [% END %]
53
                    [% END %]
53
                    [% IF ( fast_cataloging ) %]
54
                    [% IF ( fast_cataloging ) %]
54
                        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
55
                        [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
55
                            <li>
56
                            <li><a class="menucirc" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA fa-2x"><i class="fa fa-plus"></i><h1> Fast cataloging</h1></a></li>
56
                                <a class="circ-button" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"><i class="fa fa-plus"></i> Fast cataloging</a>
57
                            </li>
58
                        [% END %]
57
                        [% END %]
59
                    [% END %]
58
                    [% END %]
60
                    [% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
59
                    [% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
61
                        <li>
60
                        <li><a class="menucirc" href="/cgi-bin/koha/circ/checkout-notes.pl"><i class="fa fa-sticky-note fa-2x"></i><h1> Checkout notes</h1></a></li>
62
                            <a class="circ-button" href="/cgi-bin/koha/circ/checkout-notes.pl"><i class="fa fa-sticky-note"></i> Checkout notes</a>
63
                        </li>
64
                    [% END %]
61
                    [% END %]
65
                    [% IF Koha.Preference('OnSiteCheckouts') %]
62
                    [% IF Koha.Preference('OnSiteCheckouts') %]
66
                        <li>
63
                        <li><a class="menucirc" href="/cgi-bin/koha/circ/on-site_checkouts.pl"><i class="fa fa-map-marker fa-2x"></i><h1> Pending on-site checkouts</h1></a></li>
67
                            <a class="circ-button" href="/cgi-bin/koha/circ/on-site_checkouts.pl"><i class="fa fa-map-marker"></i> Pending on-site checkouts</a>
68
                        </li>
69
                    [% END %]
64
                    [% END %]
70
                </ul>
65
                </ul>
71
            </div>
66
            </div>
72
67
73
            <div class="col-sm-5 col-md-4">
68
            <div class="col-sm-5 col-md-4">
74
                <h3>Holds</h3>
69
                <h1>Holds</h1>
75
70
76
                <ul class="buttons-list">
71
                <ul class="buttons-list">
77
                    <li>
72
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/view_holdsqueue.pl"><i class="fa fa-tasks fa-2x"></i><h1> Holds queue</h1></a></li>
78
                        <a class="circ-button" href="/cgi-bin/koha/circ/view_holdsqueue.pl"><i class="fa fa-tasks"></i> Holds queue</a>
73
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/pendingreserves.pl"><i class="fa fa-hand-grab-o fa-2x"></i><h1> Holds to pull</h1></a></li>
79
                    </li>
74
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/waitingreserves.pl"><i class="fa fa-calendar fa-2x"></i><h1> Holds awaiting pickup</h1></a></li>
80
                    <li>
75
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/reserveratios.pl"><i class="fa fa-line-chart fa-2x"></i><h1> Hold ratios</h1></a></li>
81
                        <a class="circ-button" href="/cgi-bin/koha/circ/pendingreserves.pl"><i class="fa fa-hand-grab-o"></i> Holds to pull</a>
82
                    </li>
83
                    <li>
84
                        <a class="circ-button" href="/cgi-bin/koha/circ/waitingreserves.pl"><i class="fa fa-calendar"></i> Holds awaiting pickup</a>
85
                    </li>
86
                    <li>
87
                        <a class="circ-button" href="/cgi-bin/koha/circ/reserveratios.pl"><i class="fa fa-line-chart"></i> Hold ratios</a>
88
                    </li>
89
                </ul>
76
                </ul>
90
77
91
                [% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
78
                [% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
Lines 106-175 Link Here
106
93
107
            <div class="col-sm-5 col-md-4">
94
            <div class="col-sm-5 col-md-4">
108
                [% IF Koha.Preference('ArticleRequests') %]
95
                [% IF Koha.Preference('ArticleRequests') %]
109
                    <h3>Patron request</h3>
96
                    <h1>Patron request</h1>
110
                    <ul class="buttons-list">
97
                    <ul class="buttons-list">
111
                        <li>
98
                        <li><a class="menucirc" href="/cgi-bin/koha/circ/article-requests.pl" title="Article requests"><i class="fa fa-newspaper-o"></i><h1> Article requests</h1></a></li>
112
                            <a class="circ-button" href="/cgi-bin/koha/circ/article-requests.pl" title="Article requests"><i class="fa fa-newspaper-o"></i> Article requests</a>
113
                        </li>
114
                    </ul>
99
                    </ul>
115
                [% END %]
100
                [% END %]
116
101
117
                <h3>Transfers</h3>
102
                <h1>Transfers</h1>
118
103
119
                <ul class="buttons-list">
104
                <ul class="buttons-list">
120
                    [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
105
                    [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
121
                        <li>
106
                        <li><a class="menucirc" href="/cgi-bin/koha/circ/branchtransfers.pl"><i class="fa fa-exchange fa-2x"></i><h1> Transfer</h1></a></li>
122
                            <a class="circ-button" href="/cgi-bin/koha/circ/branchtransfers.pl"><i class="fa fa-exchange"></i> Transfer</a>
123
                        </li>
124
                    [% END %]
107
                    [% END %]
125
                    <li>
108
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/transfers_to_send.pl"><i class="fa fa-sign-out fa-2x"></i><h1> Transfers to send</h1></a></li>
126
                        <a class="circ-button" href="/cgi-bin/koha/circ/transfers_to_send.pl"><i class="fa fa-sign-out"></i> Transfers to send</a>
109
                    <li><a class="menucirc" href="/cgi-bin/koha/circ/transferstoreceive.pl"><i class="fa fa-sign-in fa-2x"></i><h1> Transfers to receive</h1></a></li>
127
                    </li>
128
                    <li>
129
                        <a class="circ-button" href="/cgi-bin/koha/circ/transferstoreceive.pl"><i class="fa fa-sign-in"></i> Transfers to receive</a>
130
                    </li>
131
                </ul>
110
                </ul>
132
111
133
                <h3>Overdues</h3>
112
                <h1>Overdues</h1>
134
113
135
                <ul class="buttons-list">
114
                <ul class="buttons-list">
136
                     [% IF ( CAN_user_circulate_overdues_report ) %]
115
                     [% IF ( CAN_user_circulate_overdues_report ) %]
137
                        <li>
116
                        <li>
138
                            <a class="circ-button"
117
                            <a class="menucirc"
139
                                href="/cgi-bin/koha/circ/overdue.pl"
118
                                href="/cgi-bin/koha/circ/overdue.pl"
140
                                title="Warning: This report is very resource intensive on systems with large numbers of overdue items."
119
                                title="Warning: This report is very resource intensive on systems with large numbers of overdue items."
141
                            ><i class="fa fa-clock-o"></i> Overdues</a>
120
                            ><i class="fa fa-clock-o fa-2x"></i><h1> Overdues</h1></a>
142
                        </li>
121
                        </li>
143
                    [% END %]
122
                    [% END %]
144
                    <li>
123
                    <li>
145
                        <a class="circ-button"
124
                        <a class="menucirc"
146
                            href="/cgi-bin/koha/circ/branchoverdues.pl"
125
                            href="/cgi-bin/koha/circ/branchoverdues.pl"
147
                            title="Limited to your library.  See report help for other details."
126
                            title="Limited to your library.  See report help for other details."
148
                        ><i class="fa fa-clock-o"></i> Overdues with fines</a>
127
                        ><i class="fa fa-clock-o fa-2x"></i><i class="fond fa fa-dollar"></i><h1> Overdues with fines</h1></a>
149
                    </li>
128
                    </li>
150
                </ul>
129
                </ul>
151
            </div>
130
            </div>
152
        </div>
131
        </div>
132
153
        <div class="row" id="intranet-circulation-home-html">
133
        <div class="row" id="intranet-circulation-home-html">
154
            <div class="col-md-12">
134
            <div class="col-md-12">
155
                [% Koha.Preference('IntranetCirculationHomeHTML') | $raw  %]
135
                [% Koha.Preference('IntranetCirculationHomeHTML') | $raw  %]
156
            </div>
136
            </div>
157
        </div>
137
        </div>
138
158
        <div class="row" id="offline-circulation">
139
        <div class="row" id="offline-circulation">
159
            <div class="col-md-12">
140
            <div class="col-md-12">
160
                <h4>Offline circulation</h4>
141
                <h4>Offline circulation</h4>
161
                    <div class="col-sm-5 col-md-3">
142
                    <div class="col-sm-5 col-md-3">
162
                    [% IF (AllowOfflineCirculation) %]
143
                    [% IF (AllowOfflineCirculation) %]
163
                        <a href="/cgi-bin/koha/circ/offline.pl">Built-in offline circulation interface</a>
144
                        <a class="noir" href="/cgi-bin/koha/circ/offline.pl">Built-in offline circulation interface</a>
164
                    [% END %]
145
                    [% END %]
165
                       <p><a href="/cgi-bin/koha/offline_circ/process_koc.pl">Upload offline circulation file (.koc)</a></p>
146
                        <p><a class="noir" href="/cgi-bin/koha/offline_circ/process_koc.pl">Upload offline circulation file (.koc)</a></p>
166
                       <p><a href="/cgi-bin/koha/offline_circ/list.pl">Pending offline circulation actions</a></p>
147
                        <p><a class="noir" href="/cgi-bin/koha/offline_circ/list.pl">Pending offline circulation actions</a></p>
167
                    </div>
148
                    </div>
168
                    <div class="col-sm-5 col-md-3">
149
                    <div class="col-sm-5 col-md-3">
169
                    <p><a href="https://github.com/bywatersolutions/koha-offline-circulation/releases"><i class="fa fa-window-maximize"></i> Get desktop application</a></p>
150
                    <p><a class="noir" href="https://github.com/bywatersolutions/koha-offline-circulation/releases"><i class="fa fa-window-maximize"></i> Get desktop application</a></p>
170
                    <p><a href="https://addons.mozilla.org/[% lang | uri %]/firefox/addon/koct/"><i class="fa fa-firefox"></i> Get Firefox add-on</a></p>
151
                    <p><a class="noir" href="https://addons.mozilla.org/[% lang | uri %]/firefox/addon/koct/"><i class="fa fa-firefox"></i> Get Firefox add-on</a></p>
171
                    </div>
152
                    </div>
172
            </div>
153
            </div>
173
        </div>
154
        </div>
155
    </div>
174
156
175
[% INCLUDE 'intranet-bottom.inc' %]
157
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-115 / +69 lines)
Lines 10-15 Link Here
10
[% USE Price %]
10
[% USE Price %]
11
[% USE AuthorisedValues %]
11
[% USE AuthorisedValues %]
12
[% SET footerjs = 1 %]
12
[% SET footerjs = 1 %]
13
[% formulaire = BLOCK %]
14
    [% INCLUDE 'circ-search.inc' %]
15
[% END %]
13
[% INCLUDE 'doc-head-open.inc' %]
16
[% INCLUDE 'doc-head-open.inc' %]
14
[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
17
[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
15
[% SET destination = "circ" %]
18
[% SET destination = "circ" %]
Lines 24-31 Link Here
24
27
25
<body id="circ_circulation" class="circ">
28
<body id="circ_circulation" class="circ">
26
29
27
    [% INCLUDE 'header.inc' %]
30
    [% INCLUDE 'header.inc' form=formulaire %]
28
    [% INCLUDE 'circ-search.inc' %]
29
31
30
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
32
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
31
        <ol>
33
        <ol>
Lines 64-71 Link Here
64
                        [% INCLUDE 'members-toolbar.inc' %]
66
                        [% INCLUDE 'members-toolbar.inc' %]
65
                    [% END %]
67
                    [% END %]
66
68
67
                    <h1>Checkouts</h1>
68
69
                    <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
69
                    <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
70
                    [% IF ( was_renewed ) %]
70
                    [% IF ( was_renewed ) %]
71
                        <div class="dialog message">Patron's account has been renewed until [% expiry | $KohaDates %]</div>
71
                        <div class="dialog message">Patron's account has been renewed until [% expiry | $KohaDates %]</div>
Lines 235-249 Link Here
235
                                        Please confirm that the accompanying materials are present: [% ADDITIONAL_MATERIALS | html %]
235
                                        Please confirm that the accompanying materials are present: [% ADDITIONAL_MATERIALS | html %]
236
                                    </li>
236
                                    </li>
237
                                [% END %]
237
                                [% END %]
238
239
                                [% IF RECALLED %]
240
                                    [% IF RECALLED.waiting %]
241
                                        <li>Item <i>[% RECALLED.biblio.title | html %]</i> ([% RECALLED.item.barcode | html %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% RECALLED.patron_id | uri %]">[% RECALLED.patron.firstname | html %] [% RECALLED.patron.surname | html %]</a> ([% RECALLED.patron.cardnumber | html %]) at [% Branches.GetName( RECALLED.pickup_library_id ) | html %] since [% RECALLED.waiting_date | $KohaDates %]</li>
242
                                    [% ELSIF RECALLED.requested or RECALLED.overdue %]
243
                                        <li>Item <i>[% RECALLED.biblio.title | html %]</i> [% IF RECALLED.item %]([% RECALLED.item.barcode | html %])[% END %] has been recalled by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% RECALLED.patron_id | uri %]">[% RECALLED.patron.firstname | html %] [% RECALLED.patron.surname | html %]</a> ([% RECALLED.patron.cardnumber | html %]) at [% Branches.GetName( RECALLED.pickup_library_id ) | html %] since [% RECALLED.created_date | $KohaDates %]</li>
244
                                    [% END %]
245
                                [% END %]
246
247
                            </ul>
238
                            </ul>
248
239
249
                            [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
240
                            [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
Lines 293-313 Link Here
293
                                        </p>
284
                                        </p>
294
                                    [% END %]
285
                                    [% END %]
295
286
296
                                    [% IF ( RECALLED ) %]
297
                                        <p>
298
                                            <label for="cancelrecall">Cancel recall</label>
299
                                            <input type="radio" value="cancel" name="cancel_recall" id="cancelrecall" />
300
                                            <input type="hidden" value="[% RECALLED.id | html %]" name="recall_id" />
301
                                        </p>
302
                                        [% IF RECALLED.waiting %]
303
                                            <p>
304
                                                <label for="revertrecall">Revert waiting status</label>
305
                                                <input type="radio" value="revert" name="cancel_recall" id="revertrecall" checked="checked"/>
306
                                                <input type="hidden" value="[% RECALLED.id | html %]" name="recall_id" />
307
                                            </p>
308
                                        [% END %]
309
                                    [% END %]
310
311
                                    <input type="hidden" name="barcode" value="[% barcode | html %]" />
287
                                    <input type="hidden" name="barcode" value="[% barcode | html %]" />
312
                                    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
288
                                    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
313
                                    <input type="hidden" name="issueconfirmed" value="1" />
289
                                    <input type="hidden" name="issueconfirmed" value="1" />
Lines 372-383 Link Here
372
                                </form>
348
                                </form>
373
                            [% END %]
349
                            [% END %]
374
350
375
                            [% IF ( RECALLED ) %]
376
                                <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
377
                                    <button class="print" type="submit" onclick="Dopop('/cgi-bin/koha/recalls/recall_pickup_slip.pl?recall_id=[% RECALLED.id | html %]');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button>
378
                                </form>
379
                            [% END %]
380
381
                            <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
351
                            <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
382
                                [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
352
                                [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
383
                                <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
353
                                <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
Lines 395-403 Link Here
395
                                [% END %]
365
                                [% END %]
396
                            </form>
366
                            </form>
397
367
398
                            [% IF ( RESERVED || ISSUED_TO_ANOTHER || RECALLED ) && (CAN_user_reserveforothers_place_holds ) %]
368
                            [% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
399
                                [% UNLESS noissues %]
369
                                [% UNLESS noissues %]
400
                                    <button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber | html %]&borrowernumber=[% patron.borrowernumber | html %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button>
370
                                    <button type="submit" id="lientype" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber | html %]&borrowernumber=[% patron.borrowernumber | html %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button>
401
                                [% END %]
371
                                [% END %]
402
                            [% END %]
372
                            [% END %]
403
                        </div> <!-- /#circ_needsconfirmation -->
373
                        </div> <!-- /#circ_needsconfirmation -->
Lines 436-442 Link Here
436
406
437
                                            [% IF ( fast_cataloging ) %]
407
                                            [% IF ( fast_cataloging ) %]
438
                                                [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
408
                                                [% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
439
                                                    <a class="approve" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&amp;barcode=[% barcode |uri %]&amp;circborrowernumber=[% patron.borrowernumber | html %]&amp;branch=[% branch | html %]&amp;duedatespec=[% duedatespec | html %]&amp;stickyduedate=[% stickyduedate | html %]"><i class="fa fa-plus"></i> Add record using fast cataloging</a>
409
                                                    <a class="approve" id="lientype" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&amp;barcode=[% barcode |uri %]&amp;circborrowernumber=[% patron.borrowernumber | html %]&amp;branch=[% branch | html %]&amp;duedatespec=[% duedatespec | html %]&amp;stickyduedate=[% stickyduedate | html %]"><i class="fa fa-plus"></i> Add record using fast cataloging</a>
440
                                                [% END %]
410
                                                [% END %]
441
                                            [% END %]
411
                                            [% END %]
442
                                        </div>
412
                                        </div>
Lines 517-526 Link Here
517
                                [% IF ( USERBLOCKEDOVERDUE ) %]
487
                                [% IF ( USERBLOCKEDOVERDUE ) %]
518
                                    <li>Checkouts are BLOCKED because patron has overdue items.</li>
488
                                    <li>Checkouts are BLOCKED because patron has overdue items.</li>
519
                                [% END %]
489
                                [% END %]
520
521
                                [% IF ( RECALLED_INTRANSIT ) %]
522
                                    <li>Item has been recalled and is in transit for pickup at [% Branches.GetName( RECALLED_INTRANSIT ) | html %].</li>
523
                                [% END %]
524
                                </ul>
490
                                </ul>
525
491
526
                                [% IF (forceallow) %]
492
                                [% IF (forceallow) %]
Lines 588-594 Link Here
588
                                                                    <input type="hidden" name="barcode" value="[% item.barcode | html %]" />
554
                                                                    <input type="hidden" name="barcode" value="[% item.barcode | html %]" />
589
                                                                    <input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
555
                                                                    <input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
590
                                                                    <input type="hidden" name="auto_renew" value="[% auto_renew | html %]" />
556
                                                                    <input type="hidden" name="auto_renew" value="[% auto_renew | html %]" />
591
                                                                    <button class="btn btn-default btn-xs" type="submit" name="x"><i class="fa fa-check"></i> Check out</button>
557
                                                                    <button class="btn btn-default btn-xs" type="submit" id="lientype" name="x"><i class="fa fa-check"></i> Check out</button>
592
                                                                </form>
558
                                                                </form>
593
                                                            </td>
559
                                                            </td>
594
                                                        </tr>
560
                                                        </tr>
Lines 597-603 Link Here
597
                                                </table>
563
                                                </table>
598
                                            </div> <!-- /.modal-body -->
564
                                            </div> <!-- /.modal-body -->
599
                                            <div class="modal-footer">
565
                                            <div class="modal-footer">
600
                                                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
566
                                                <button type="button" class="btn btn-default cancel" data-dismiss="modal">Cancel</button>
601
                                            </div>
567
                                            </div>
602
                                        </div> <!-- /.modal-content -->
568
                                        </div> <!-- /.modal-content -->
603
                                    </div> <!-- /.modal-dialog.modal-wide -->
569
                                    </div> <!-- /.modal-dialog.modal-wide -->
Lines 637-642 Link Here
637
                                <div class="col-sm-6">
603
                                <div class="col-sm-6">
638
                                    <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
604
                                    <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
639
                                        <input type="hidden" name="restoreduedatespec" />
605
                                        <input type="hidden" name="restoreduedatespec" />
606
                                        <div id="searchresults">
640
                                        [% IF ( issue ) %]
607
                                        [% IF ( issue ) %]
641
                                            <fieldset id="circ_circulation_issue" class="lastchecked">
608
                                            <fieldset id="circ_circulation_issue" class="lastchecked">
642
                                        [% ELSE %]
609
                                        [% ELSE %]
Lines 653-659 Link Here
653
620
654
                                        [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
621
                                        [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
655
622
656
                                        <label class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
623
                                        <h3 class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</h3>
657
624
658
                                        [% IF Koha.Preference('itemBarcodeFallbackSearch') %]
625
                                        [% IF Koha.Preference('itemBarcodeFallbackSearch') %]
659
                                            <div class="hint">Enter item barcode or keyword:</div>
626
                                            <div class="hint">Enter item barcode or keyword:</div>
Lines 667-678 Link Here
667
                                            <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
634
                                            <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
668
                                        [% END %]
635
                                        [% END %]
669
636
670
                                        <button type="submit" class="btn btn-default">Check out</button>
671
672
                                        <div id="show-circ-settings">
637
                                        <div id="show-circ-settings">
673
                                            <a href="#"><i class="fa fa-caret-right circ-settings-icon"></i> Checkout settings</a>
638
                                            <a href="#"><i class="fa-sign-out"></i></a>
674
                                        </div>
639
                                        </div>
675
640
641
                                        <button type="submit" class="btn btn-default principal">Check out</button>
642
676
                                        <div class="circ-settings">
643
                                        <div class="circ-settings">
677
644
678
                                                [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
645
                                                [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
Lines 695-727 Link Here
695
                                                [% END %]
662
                                                [% END %]
696
663
697
                                                [% UNLESS ( noissues ) %]
664
                                                [% UNLESS ( noissues ) %]
698
                                                    [% IF Koha.Preference('AllowSetAutomaticRenewal') %]
665
                                                    <div id="set-automatic-renewal" class="circ-setting">
699
                                                        <div id="set-automatic-renewal" class="circ-setting">
666
                                                        [% IF NEEDSCONFIRMATION %]
700
                                                            [% IF NEEDSCONFIRMATION %]
667
                                                            [% IF auto_renew %]
701
                                                                [% IF auto_renew %]
668
                                                                [% IF patron.autorenew_checkouts %]
702
                                                                    [% IF patron.autorenew_checkouts %]
703
                                                                        <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled"
704
                                                                        title="Patron has opted out of auto-renewal"/>
705
                                                                    [% ELSE %]
706
                                                                        <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" checked="checked" />
707
                                                                    [% END %]
708
                                                                [% ELSE %]
709
                                                                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
710
                                                                [% END %]
711
                                                            [% ELSE %]
712
                                                                [% IF ( auto_renew && patron.autorenew_checkouts ) %]
713
                                                                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" checked="checked" />
714
                                                                [% ELSIF patron.autorenew_checkouts %]
715
                                                                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" />
716
                                                                [% ELSE %]
717
                                                                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled"
669
                                                                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled"
718
                                                                    title="Patron has opted out of auto-renewal"/>
670
                                                                    title="Patron has opted out of auto-renewal"/>
671
                                                                [% ELSE %]
672
                                                                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" checked="checked" />
719
                                                                [% END %]
673
                                                                [% END %]
674
                                                            [% ELSE %]
675
                                                                <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
676
                                                            [% END %]
677
                                                        [% ELSE %]
678
                                                            [% IF ( auto_renew && patron.autorenew_checkouts ) %]
679
                                                                <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" checked="checked" />
680
                                                            [% ELSIF patron.autorenew_checkouts %]
681
                                                                <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" />
682
                                                            [% ELSE %]
683
                                                                <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled"
684
                                                                title="Patron has opted out of auto-renewal"/>
720
                                                            [% END %]
685
                                                            [% END %]
686
                                                        [% END %]
721
687
722
                                                            <label for="auto_renew">Automatic renewal</label>
688
                                                        <label for="auto_renew">Automatic renewal</label>
723
                                                        </div>
689
                                                    </div>
724
                                                    [% END %]
725
                                                    [% IF Koha.Preference('decreaseLoanHighHolds') %]
690
                                                    [% IF Koha.Preference('decreaseLoanHighHolds') %]
726
                                                        <div id="set_high_holds_overrride" class="circ-setting">
691
                                                        <div id="set_high_holds_overrride" class="circ-setting">
727
                                                            [% IF NEEDSCONFIRMATION %]
692
                                                            [% IF NEEDSCONFIRMATION %]
Lines 769-774 Link Here
769
                                                    <input type="hidden" name="charges" value="yes" />
734
                                                    <input type="hidden" name="charges" value="yes" />
770
                                            [% END %]
735
                                            [% END %]
771
                                        </fieldset> <!-- /#circ_circulation_issue -->
736
                                        </fieldset> <!-- /#circ_circulation_issue -->
737
                                        </div>
772
738
773
                                        [% IF ( issue ) %]
739
                                        [% IF ( issue ) %]
774
                                            <div class="lastchecked">
740
                                            <div class="lastchecked">
Lines 790-795 Link Here
790
                                <div class="col-sm-6">
756
                                <div class="col-sm-6">
791
                            [% END %]
757
                            [% END %]
792
758
759
                            <div id="searchresults">
793
                            [% IF ( noissues ) %]
760
                            [% IF ( noissues ) %]
794
                                [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
761
                                [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %]
795
                                    <div id="circmessages" class="circmessage attention">
762
                                    <div id="circmessages" class="circmessage attention">
Lines 806-844 Link Here
806
                            [% ELSE %]
773
                            [% ELSE %]
807
                                <div id="circmessages" class="circmessage attention">
774
                                <div id="circmessages" class="circmessage attention">
808
                            [% END %]
775
                            [% END %]
776
                            </div>
809
777
810
                            [% INCLUDE 'patron_messages.inc' %]
778
                            [% INCLUDE 'patron_messages.inc' %]
811
779
812
                        </div> <!-- /#circmessages -->
780
                        </div>
813
                    </div> <!-- /div or div.col-sm-6 -->
781
                    </div> <!-- /div or div.col-sm-6 -->
814
                </div> <!-- /.row -->
782
                </div> <!-- /.row -->
815
783
816
                <div id="patronlists" class="toptabs">
784
                <div id="patronlists" class="toptabs">
817
                    <ul>
785
                    <ul>
818
                        <li>
786
                        <li>
819
                            <a href="#checkouts">Checkouts ([% issuecount || 0 | html %])</a>
787
                            [% IF ( issuecount ) %]
788
                                <a href="#checkouts">[% issuecount | html %] Checkout(s)</a>
789
                            [% ELSE %]
790
                                <a href="#checkouts">0 Checkouts</a>
791
                            [% END %]
820
                        </li>
792
                        </li>
821
793
822
                        [% IF relatives_issues_count %]
794
                        [% IF relatives_issues_count %]
823
                            <li>
795
                            <li><a id="relatives-issues-tab" href="#relatives-issues">[% relatives_issues_count | html %] Relatives' checkouts</a></li>
824
                                <a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts ([% relatives_issues_count | html %])</a>
825
                            </li>
826
                        [% END %]
796
                        [% END %]
827
797
828
                        <li>
798
                        <li>
829
                            <a href="#reserves" id="holds-tab">Holds ([% holds_count || 0 | html %])</a>
799
                            [% IF ( holds_count ) %]
800
                                <a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a>
801
                            [% ELSE %]
802
                                <a href="#reserves" id="holds-tab">0 Holds</a>
803
                            [% END %]
830
                        </li>
804
                        </li>
831
805
832
                        [% IF Koha.Preference('UseRecalls') %]
833
                            <li>
834
                                <a href="#recalls" id="recalls-tab">Recalls ([% recalls.count || 0 | html %])</a>
835
                            </li>
836
                        [% END %]
837
838
                        [% IF Koha.Preference('ArticleRequests') %]
806
                        [% IF Koha.Preference('ArticleRequests') %]
839
                            [% SET current_article_requests = Context.Scalar( Context.Scalar( patron, 'article_requests' ), 'filter_by_current' ) %]
807
                            [% SET current_article_requests = Context.Scalar( Context.Scalar( patron, 'article_requests' ), 'filter_by_current' ) %]
840
                            <li>
808
                            <li>
841
                                <a href="#article-requests" id="article-requests-tab">Article requests ([% current_article_requests.count || 0 | html %])</a>
809
                                <a href="#article-requests" id="article-requests-tab"> [% current_article_requests.count | html %] Article requests</a>
842
                            </li>
810
                            </li>
843
                        [% END %]
811
                        [% END %]
844
812
Lines 846-853 Link Here
846
                            <li>
814
                            <li>
847
                                [% IF ( patron.return_claims.count ) %]
815
                                [% IF ( patron.return_claims.count ) %]
848
                                    <a href="#return-claims" id="return-claims-tab">
816
                                    <a href="#return-claims" id="return-claims-tab">
849
                                        Claims
817
                                        Claim(s)
850
                                        ([% IF patron.return_claims.resolved.count == 0 %]
818
                                        [% IF patron.return_claims.resolved.count == 0 %]
851
                                            <span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
819
                                            <span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
852
                                        [% ELSE %]
820
                                        [% ELSE %]
853
                                            <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
821
                                            <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span>
Lines 856-879 Link Here
856
                                            <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
824
                                            <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
857
                                        [% ELSE %]
825
                                        [% ELSE %]
858
                                            <span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
826
                                            <span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span>
859
                                        [% END %])
827
                                        [% END %]
860
                                    </a>
828
                                    </a>
861
                                [% ELSE %]
829
                                [% ELSE %]
862
                                    <a href="#return-claims" id="return-claims-tab">
830
                                    <a href="#return-claims" id="return-claims-tab">
863
                                        Claims
831
                                        Claim(s)
864
                                        (<span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">0</span>
832
                                        <span title="Resolved claims" class="label label-default" id="return-claims-count-resolved">0</span>
865
                                        <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">0</span>)
833
                                        <span title="Unresolved claims" class="label label-default" id="return-claims-count-unresolved">0</span>
866
                                    </a>
834
                                    </a>
867
                                [% END %]
835
                                [% END %]
868
                            </li>
836
                            </li>
869
                        [% END %]
837
                        [% END %]
870
838
871
                        <li>
839
                        <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count | html %] Restrictions</a></li>
872
                            <a id="debarments-tab-link" href="#reldebarments">Restrictions ([% debarments.count || 0 | html %])</a>
873
                        </li>
874
840
875
                        [% SET enrollments = patron.get_club_enrollments %]
841
                        [% SET enrollments = patron.get_club_enrollments(1) %]
876
                        [% SET enrollable  = patron.get_enrollable_clubs(0) %] <!-- 0 => not OPAC -->
842
                        [% SET enrollable  = patron.get_enrollable_clubs(0,1) %]
877
                        [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
843
                        [% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %]
878
                            <li>
844
                            <li>
879
                                <a id="clubs-tab-link" href="#clubs-tab">
845
                                <a id="clubs-tab-link" href="#clubs-tab">
Lines 907-913 Link Here
907
                                            <th>Hold date</th>
873
                                            <th>Hold date</th>
908
                                            <th>Title</th>
874
                                            <th>Title</th>
909
                                            <th>Call number</th>
875
                                            <th>Call number</th>
910
                                            <th>Item type</th>
911
                                            <th>Barcode</th>
876
                                            <th>Barcode</th>
912
                                            <th>Pickup at</th>
877
                                            <th>Pickup at</th>
913
                                            <th>Expiration</th>
878
                                            <th>Expiration</th>
Lines 923-929 Link Here
923
                                    <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
888
                                    <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
924
889
925
                                    [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
890
                                    [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
926
                                    [% IF hold_cancellation.count %]
891
                                    [% IF hold_cancellation %]
927
                                        <select name="cancellation-reason">
892
                                        <select name="cancellation-reason">
928
                                            <option value="">No reason given</option>
893
                                            <option value="">No reason given</option>
929
                                            [% FOREACH reason IN hold_cancellation %]
894
                                            [% FOREACH reason IN hold_cancellation %]
Lines 939-945 Link Here
939
                                    <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
904
                                    <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
940
                                        <input type="hidden" name="from" value="circ" />
905
                                        <input type="hidden" name="from" value="circ" />
941
                                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
906
                                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
942
                                        <input type="submit" value="Suspend all holds" />
907
                                        <input type="submit" class="principal" value="Suspend all holds" />
943
908
944
                                        [% IF Koha.Preference('AutoResumeSuspendedHolds') %]
909
                                        [% IF Koha.Preference('AutoResumeSuspendedHolds') %]
945
                                        <label for="suspend_until">until</label>
910
                                        <label for="suspend_until">until</label>
Lines 954-960 Link Here
954
                                        <input type="hidden" name="from" value="circ" />
919
                                        <input type="hidden" name="from" value="circ" />
955
                                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
920
                                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
956
                                        <input type="hidden" name="suspend" value="0" />
921
                                        <input type="hidden" name="suspend" value="0" />
957
                                        <input type="submit" value="Resume all suspended holds" />
922
                                        <input type="submit" class="principal" value="Resume all suspended holds" />
958
                                    </form>
923
                                    </form>
959
                                </fieldset>
924
                                </fieldset>
960
                            [% END # /IF SuspendHoldsIntranet %]
925
                            [% END # /IF SuspendHoldsIntranet %]
Lines 964-975 Link Here
964
                        [% END # /IF holds_count %]
929
                        [% END # /IF holds_count %]
965
                    </div> <!-- /#reserves -->
930
                    </div> <!-- /#reserves -->
966
931
967
                    [% IF Koha.Preference('UseRecalls') %]
968
                        <div id="recalls">
969
                            [% INCLUDE 'recalls.inc' %]
970
                        </div>
971
                    [% END %]
972
973
                    [% IF Koha.Preference('ClaimReturnedLostValue') %]
932
                    [% IF Koha.Preference('ClaimReturnedLostValue') %]
974
                        [% INCLUDE 'patron-return-claims.inc' %]
933
                        [% INCLUDE 'patron-return-claims.inc' %]
975
                    [% END %]
934
                    [% END %]
Lines 980-986 Link Here
980
939
981
                </div> <!-- /#patronlists -->
940
                </div> <!-- /#patronlists -->
982
                [% ELSIF borrowernumber # IF patron %]
941
                [% ELSIF borrowernumber # IF patron %]
983
                    <div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div>
942
                    <div class="dialog message">Patron not found. <a id="lientype" href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div>
984
                [% END # /IF patron %]
943
                [% END # /IF patron %]
985
944
986
                </div> <!-- /.col-sm-10.col-sm-push-2 -->
945
                </div> <!-- /.col-sm-10.col-sm-push-2 -->
Lines 1006-1015 Link Here
1006
            </div> <!-- /.row -->
965
            </div> <!-- /.row -->
1007
        </main>
966
        </main>
1008
967
1009
        [% IF Koha.Preference('ClaimReturnedLostValue') %]
1010
            [% INCLUDE 'modals/resolve_return_claim.inc' %]
1011
        [% END %]
1012
1013
<!-- Modal -->
968
<!-- Modal -->
1014
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true">
969
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true">
1015
    <div class="modal-dialog">
970
    <div class="modal-dialog">
Lines 1025-1032 Link Here
1025
</div> <!-- /#barcodeSubmittedModal -->
980
</div> <!-- /#barcodeSubmittedModal -->
1026
981
1027
[% MACRO jsinclude BLOCK %]
982
[% MACRO jsinclude BLOCK %]
983
    [% INCLUDE 'calendar.inc' %]
1028
    [% INCLUDE 'datatables.inc' %]
984
    [% INCLUDE 'datatables.inc' %]
1029
    [% INCLUDE 'columns_settings.inc' %]
985
    [% INCLUDE 'columns_settings.inc' %]
986
    [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") | $raw %]
987
    [% INCLUDE 'timepicker.inc' %]
1030
    [% INCLUDE 'select2.inc' %]
988
    [% INCLUDE 'select2.inc' %]
1031
    [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %]
989
    [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %]
1032
    [% INCLUDE 'js-date-format.inc' %]
990
    [% INCLUDE 'js-date-format.inc' %]
Lines 1054-1067 Link Here
1054
    </script>
1012
    </script>
1055
    [% Asset.js("js/pages/circulation.js") | $raw %]
1013
    [% Asset.js("js/pages/circulation.js") | $raw %]
1056
    [% Asset.js("js/checkouts.js") | $raw %]
1014
    [% Asset.js("js/checkouts.js") | $raw %]
1057
    [% IF Koha.Preference('ClaimReturnedLostValue') %]
1058
        [% Asset.js("js/resolve_claim_modal.js") | $raw %]
1059
    [% END %]
1060
    [% Asset.js("js/holds.js") | $raw %]
1015
    [% Asset.js("js/holds.js") | $raw %]
1061
    [% INCLUDE 'calendar.inc' %]
1062
    <script>
1016
    <script>
1063
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
1017
        columns_settings_issues_table = [% TablesSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %]
1064
        table_settings_borrowers_table = [% TablesSettings.GetTableSettings( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]
1018
        columns_settings_borrowers_table = [% TablesSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]
1065
1019
1066
        [% IF borrowernumber and patron %]
1020
        [% IF borrowernumber and patron %]
1067
            if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){
1021
            if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){
Lines 1136-1142 Link Here
1136
    </script>
1090
    </script>
1137
    [% INCLUDE 'str/members-menu.inc' %]
1091
    [% INCLUDE 'str/members-menu.inc' %]
1138
    [% Asset.js("js/members-menu.js") | $raw %]
1092
    [% Asset.js("js/members-menu.js") | $raw %]
1139
    [% Asset.js("js/recalls.js") | $raw %]
1140
[% END %]
1093
[% END %]
1141
1094
1142
[% INCLUDE 'intranet-bottom.inc' %]
1095
[% INCLUDE 'intranet-bottom.inc' %]
1096
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-2 / +10 lines)
Lines 6-11 Link Here
6
[% USE Price %]
6
[% USE Price %]
7
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'circ-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
[% SET destination = "circ" %]
13
[% SET destination = "circ" %]
11
<title>
14
<title>
Lines 20-27 Link Here
20
23
21
<body id="circ_circulation_batch_checkouts" class="circ">
24
<body id="circ_circulation_batch_checkouts" class="circ">
22
25
23
[% INCLUDE 'header.inc' %]
26
[% INCLUDE 'header.inc' form=formulaire %]
24
[% INCLUDE 'circ-search.inc' %]
25
27
26
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
28
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
    <ol>
29
    <ol>
Lines 49-54 Link Here
49
            </li>
51
            </li>
50
        [% END %]
52
        [% END %]
51
    </ol>
53
    </ol>
54
        <ol>
55
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
56
        </ol>
57
        <ol>
58
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
59
        </ol>
52
</nav>
60
</nav>
53
61
54
<div class="main container-fluid">
62
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt (-2 / +10 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'circ-search.inc' %]
7
[% END %]
5
<!DOCTYPE html>
8
<!DOCTYPE html>
6
[% IF (AllowOfflineCirculation) %]
9
[% IF (AllowOfflineCirculation) %]
7
[% SET manifestattr = 'manifest="/cgi-bin/koha/circ/offline-mf.pl"' %]
10
[% SET manifestattr = 'manifest="/cgi-bin/koha/circ/offline-mf.pl"' %]
Lines 16-23 Link Here
16
</head>
19
</head>
17
20
18
<body id="circ_offline" class="circ">
21
<body id="circ_offline" class="circ">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form = formulaire %]
20
[% INCLUDE 'circ-search.inc' %]
21
<div class="loading-overlay" style="display: none;">
23
<div class="loading-overlay" style="display: none;">
22
    <div>Downloading records, please wait...</div>
24
    <div>Downloading records, please wait...</div>
23
</div>
25
</div>
Lines 32-37 Link Here
32
            <a id="go-to-home" href="#offline-home" aria-current="page">Offline circulation</a>
34
            <a id="go-to-home" href="#offline-home" aria-current="page">Offline circulation</a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
</nav>
43
</nav>
36
44
37
<div class="main container-fluid">
45
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt (-2 / +10 lines)
Lines 5-18 Link Here
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% USE AuthorisedValues %]
6
[% USE AuthorisedValues %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'circ-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Pending on-site checkouts &rsaquo; Circulation &rsaquo; Koha</title>
12
<title>Pending on-site checkouts &rsaquo; Circulation &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="circ_stats" class="circ">
16
<body id="circ_stats" class="circ">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'circ-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 28-33 Link Here
28
            </a>
30
            </a>
29
        </li>
31
        </li>
30
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
31
</nav>
39
</nav>
32
40
33
<div class="main container-fluid">
41
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-110 / +105 lines)
Lines 8-13 Link Here
8
[%- USE Categories -%]
8
[%- USE Categories -%]
9
[%- USE TablesSettings -%]
9
[%- USE TablesSettings -%]
10
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
11
[% formulaire = BLOCK %]
12
    [% INCLUDE 'circ-search.inc' %]
13
[% END %]
11
[% INCLUDE 'doc-head-open.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
12
<title>Items overdue as of [% todaysdate | html %] &rsaquo; Circulation &rsaquo; Koha</title>
15
<title>Items overdue as of [% todaysdate | html %] &rsaquo; Circulation &rsaquo; Koha</title>
13
[% INCLUDE 'doc-head-close.inc' %]
16
[% INCLUDE 'doc-head-close.inc' %]
Lines 29-36 Link Here
29
</head>
32
</head>
30
33
31
<body id="circ_overdue" class="circ">
34
<body id="circ_overdue" class="circ">
32
[% INCLUDE 'header.inc' %]
35
[% INCLUDE 'header.inc' form=formulaire %]
33
[% INCLUDE 'circ-search.inc' %]
34
36
35
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
37
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
36
    <ol>
38
    <ol>
Lines 46-51 Link Here
46
            </a>
48
            </a>
47
        </li>
49
        </li>
48
    </ol>
50
    </ol>
51
    <ol>
52
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
53
    </ol>
54
    <ol>
55
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
56
    </ol>
49
</nav>
57
</nav>
50
58
51
<div class="main container-fluid">
59
<div class="main container-fluid">
Lines 140-262 Link Here
140
148
141
        <div class="col-sm-2 col-sm-pull-10">
149
        <div class="col-sm-2 col-sm-pull-10">
142
            <aside>
150
            <aside>
151
                <div id="filters">
152
                    <form method="post" action="/cgi-bin/koha/circ/overdue.pl">
153
                        <fieldset class="brief">
154
                            <h4>Filter on</h4>
143
155
144
<form method="post" action="/cgi-bin/koha/circ/overdue.pl">
156
                            <fieldset><label>Date due:</label>
145
  <fieldset class="brief">
157
                                    <li class="radio">
146
<h4>Filter on:</h4>
158
                                        <p for="showall">Show any items currently checked out:
147
    <fieldset><legend>Date due:</legend>
159
                                        [% IF ( showall ) %]
148
        <ol>
160
                                            <input type="checkbox" id="showall" name="showall" value="show" checked="checked" />
149
            <li class="radio">
161
                                        [% ELSE %]
150
                <label for="showall">Show any items currently checked out:</label>
162
                                            <input type="checkbox" id="showall" name="showall" value="show" />
151
                [% IF ( showall ) %]
163
                                        [% END %]
152
                        <input type="checkbox" id="showall" name="showall" value="show" checked="checked" />
164
                                        </p>
153
                [% ELSE %]
154
                    <input type="checkbox" id="showall" name="showall" value="show" />
155
                [% END %]
156
            </li>
157
165
158
            <li class="date_due_filter">
166
                                        <p>From: <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-date_to="to" /></p>
159
                <label for="from">From:</label>
167
                                        <p>To:<input type="text" id="to" name="datedueto" size="10" value="[% filters.datedueto | $KohaDates %]" class="flatpickr" /></p>
160
                <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-date_to="to" />
168
                                    </li>
161
            </li>
162
            <li class="date_due_filter">
163
                <label for="to">To:</label>
164
                <input type="text" id="to" name="datedueto" size="10" value="[% filters.datedueto | $KohaDates %]" class="flatpickr" />
165
            </li>
166
        </ol>
167
    </fieldset>
168
    <ol>
169
    <li><label>Name or cardnumber:</label><input type="text" name="borname" value="[% filters.borname | html %]" /></li>
170
    <li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
171
      [% FOREACH borcatloo IN borcatloop %]
172
        [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value | html %]" selected="selected">[% borcatloo.catname | html %]</option>[% ELSE %]<option value="[% borcatloo.value | html %]">[% borcatloo.catname | html %]</option>[% END %]
173
      [% END %]
174
      </select>
175
    </li>
176
169
177
    <li><label>Patron flags:</label>
170
                                    <li><p>Name or cardnumber:<input type="text" name="borname" value="[% filters.borname | html %]" /></p>
178
        <select name="borflag" id="borflag">
171
                                        <p>Patron category:<select name="borcat" id="borcat"><option value="">Any</option>
179
            <option value="">None</option>
172
                                        [% FOREACH borcatloo IN borcatloop %]
180
            [% IF ( borflag_gonenoaddress ) %]<option value="gonenoaddress" selected="selected">Address in question</option>
173
                                            [% IF ( borcatloo.selected ) %]<option value="[% borcatloo.value | html %]" selected="selected">[% borcatloo.catname | html %]</option>[% ELSE %]<option value="[% borcatloo.value | html %]">[% borcatloo.catname | html %]</option>[% END %]
181
            [% ELSE %]<option value="gonenoaddress">Address in question</option>[% END %]
174
                                        [% END %]
182
            [% IF ( borflag_debarred ) %]<option value="debarred" selected="selected">Restricted</option>
175
                                        </select></p>
183
            [% ELSE %]<option value="debarred">Restricted</option>[% END %]
176
                                        <p>Patron flags:
184
            [% IF ( borflag_lost ) %]<option value="lost" selected="selected">Lost card</option>
177
                                            <select name="borflag" id="borflag">
185
            [% ELSE %]<option value="lost">Lost card</option>[% END %]
178
                                                <option value="">None</option>
186
        </select>
179
                                                [% IF ( borflag_gonenoaddress ) %]<option value="gonenoaddress" selected="selected">Address in question</option>
187
    </li>
180
                                                [% ELSE %]<option value="gonenoaddress">Address in question</option>[% END %]
188
	[% FOREACH patron_attr_filter_loo IN patron_attr_filter_loop %]
181
                                                [% IF ( borflag_debarred ) %]<option value="debarred" selected="selected">Restricted</option>
189
		<!-- domid cgivalue ismany isclone ordinal code description repeatable authorised_value_category -->
182
                                                [% ELSE %]<option value="debarred">Restricted</option>[% END %]
190
		<li>
183
                                                [% IF ( borflag_lost ) %]<option value="lost" selected="selected">Lost card</option>
191
			<label>[% patron_attr_filter_loo.description | html %]:</label>
184
                                                [% ELSE %]<option value="lost">Lost card</option>[% END %]
192
            [% IF ( patron_attr_filter_loo.authorised_value_category ) %]
185
                                            </select>
193
                [% SET authvals = AuthorisedValues.GetAuthValueDropbox( patron_attr_filter_loo.authorised_value_category ) %]
186
                                        </p>
194
                <select id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" class="pattrodue-input">
195
                    <option></option>
196
                    [% FOREACH authval IN authvals %]
197
                        [% IF ( patron_attr_filter_loo.cgivalue == authval.authorised_value ) -%]
198
                            <option value="[% authval.authorised_value | html %]" selected="selected">[% authval.lib | html %]</option>
199
                        [% ELSE -%]
200
                            <option value="[% authval.authorised_value | html %]">[% authval.lib | html %]</option>
201
                        [% END %]
202
                    [% END %]
203
                </select>
204
			[% ELSE %]
205
                <input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" value="[% patron_attr_filter_loo.cgivalue | html %]"/>
206
			[% END %]
207
			[% IF ( patron_attr_filter_loo.repeatable ) %]
208
                <a href="#" class="btn btn-link clone-attribute" data-original-id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]"><i class="fa fa-plus"></i> Add</a>
209
                [% IF ( patron_attr_filter_loo.isclone ) %]
210
                    <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>
211
                [% ELSIF ( patron_attr_filter_loo.ismany ) %]
212
                    <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>
213
                [% ELSE %]
214
                    <a href="#" class="btn btn-link delete_clone" style="display:none"><i class="fa fa-remove"></i> Delete</a>
215
                [% END %]
216
			[% END %]
217
		</li>
218
	[% END %]
219
187
220
    <li><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>
188
                                    [% FOREACH patron_attr_filter_loo IN patron_attr_filter_loop %]
221
      [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]
189
                                        <!-- domid cgivalue ismany isclone ordinal code description repeatable authorised_value_category -->
222
        <option value="[% itemtypeloo.value | html %]" selected="selected">[% itemtypeloo.itemtypename | html %]</option>[% ELSE %]
190
                                            <p>[% patron_attr_filter_loo.description | html %]:
223
        <option value="[% itemtypeloo.value | html %]">[% itemtypeloo.itemtypename | html %]</option>[% END %]
191
                                            [% IF ( patron_attr_filter_loo.authorised_value_category ) %]
224
      [% END %]
192
                                                [% SET authvals = AuthorisedValues.GetAuthValueDropbox( patron_attr_filter_loo.authorised_value_category ) %]
225
      </select>
193
                                                <select id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" class="pattrodue-input">
226
    </li>
194
                                                    <option></option>
195
                                                    [% FOREACH authval IN authvals %]
196
                                                        [% IF ( patron_attr_filter_loo.cgivalue == authval.authorised_value ) -%]
197
                                                            <option value="[% authval.authorised_value | html %]" selected="selected">[% authval.lib | html %]</option>
198
                                                        [% ELSE -%]
199
                                                            <option value="[% authval.authorised_value | html %]">[% authval.lib | html %]</option>
200
                                                        [% END %]
201
                                                    [% END %]
202
                                                </select>
203
                                            [% ELSE %]
204
                                                <input type="text" name="patron_attr_filter_[% patron_attr_filter_loo.code | html %]" value="[% patron_attr_filter_loo.cgivalue | html %]"/>
205
                                            [% END %]
206
                                            [% IF ( patron_attr_filter_loo.repeatable ) %]
207
                                                <a href="#" class="btn btn-link clone-attribute" data-original-id="pattrodue-input-[% patron_attr_filter_loo.domid | html %]"><i class="fa fa-plus"></i> Add</a>
208
                                                [% IF ( patron_attr_filter_loo.isclone ) %]
209
                                                    <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>
210
                                                [% ELSIF ( patron_attr_filter_loo.ismany ) %]
211
                                                    <a href="#" class="btn btn-link delete_clone"><i class="fa fa-remove"></i> Delete</a>
212
                                                [% ELSE %]
213
                                                    <a href="#" class="btn btn-link delete_clone" style="display:none"><i class="fa fa-remove"></i> Delete</a>
214
                                                [% END %]
215
                                            [% END %]</p>
216
                                    [% END %]
227
217
228
    <li>
218
                                    <p>
229
        <label>Item home library:</label>
219
                                        Item type:<select name="itemtype" id="itemtype"><option value="">Any</option>
230
        <select name="homebranch" id="homebranch">
220
                                        [% FOREACH itemtypeloo IN itemtypeloop %][% IF ( itemtypeloo.selected ) %]
231
            <option value="">Any</option>
221
                                            <option value="[% itemtypeloo.value | html %]" selected="selected">[% itemtypeloo.itemtypename | html %]</option>[% ELSE %]
232
            [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.homebranch ) %]
222
                                            <option value="[% itemtypeloo.value | html %]">[% itemtypeloo.itemtypename | html %]</option>[% END %]
233
        </select>
223
                                        [% END %]
234
    </li>
224
                                        </select>
225
                                    </p>
235
226
236
    <li>
227
                                        <p>Item home library:
237
        <label>Item holding library:</label>
228
                                        <select name="homebranch" id="homebranch">
238
        <select name="holdingbranch" id="holdingbranch">
229
                                            <option value="">Any</option>
239
            <option value="">Any</option>
230
                                            [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.homebranch ) %]
240
            [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.holdingbranch ) %]
231
                                        </select></p>
241
        </select>
242
    </li>
243
232
244
    <li>
233
                                        <p>Item holding library:
245
        <label>Library of the patron:</label>
234
                                        <select name="holdingbranch" id="holdingbranch">
246
        <select name="branch" id="branch">
235
                                            <option value="">Any</option>
247
            <option value="">Any</option>
236
                                            [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.holdingbranch ) %]
248
            [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.branch, only_from_group => 1 ) %]
237
                                        </select></p>
249
        </select>
250
    </li>
251
238
252
</ol>
239
                                        <p>Library of the patron:
253
   <fieldset class="action">
240
                                        <select name="branch" id="branch">
254
      <input type="submit" value="Apply filter" class="submit" />
241
                                            <option value="">Any</option>
255
      <input type="hidden" name="op" value="apply filter" />
242
                                            [% PROCESS options_for_libraries libraries => Branches.all( selected => filters.branch, only_from_group => 1 ) %]
256
   </fieldset>
243
                                        </select></p>
257
   </fieldset>
244
                                    </li>
258
  </form>
245
                                </ol>
246
                                <fieldset class="action">
247
                                    <button type="submit" class="submit" id="principal">Apply filter</button>
248
                                    <input type="hidden" name="op" value="apply filter" />
249
                                </fieldset>
259
250
251
                            </fieldset>
252
                        </fieldset>
253
                    </form>
254
                </div>
260
            </aside>
255
            </aside>
261
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
256
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
262
     </div> <!-- /.row -->
257
     </div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-32 / +36 lines)
Lines 7-20 Link Here
7
[%- USE Branches -%]
7
[%- USE Branches -%]
8
[%- USE ItemTypes -%]
8
[%- USE ItemTypes -%]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'circ-search.inc' %]
12
[% END %]
10
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Holds to pull &rsaquo; Circulation &rsaquo; Koha</title>
14
<title>Holds to pull &rsaquo; Circulation &rsaquo; Koha</title>
12
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
13
</head>
16
</head>
14
17
15
<body id="circ_pendingreserves" class="circ">
18
<body id="circ_pendingreserves" class="circ">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'circ-search.inc' %]
18
20
19
21
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 31-36 Link Here
31
            </a>
33
            </a>
32
        </li>
34
        </li>
33
    </ol>
35
    </ol>
36
    <ol>
37
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
38
    </ol>
39
    <ol>
40
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
    </ol>
34
</nav>
42
</nav>
35
43
36
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 250-256 Link Here
250
    </tfoot>
258
    </tfoot>
251
    </table>
259
    </table>
252
    [% ELSE %]
260
    [% ELSE %]
253
        <strong>No items found.</strong>
261
        <fieldset><strong>No items found.</strong></fieldset>
254
    [% END %]
262
    [% END %]
255
</div>
263
</div>
256
264
Lines 260-296 Link Here
260
268
261
        <div class="col-sm-2 col-sm-pull-10">
269
        <div class="col-sm-2 col-sm-pull-10">
262
            <aside>
270
            <aside>
271
                <div id="filters">
272
                    <form action="/cgi-bin/koha/circ/pendingreserves.pl" method="post" >
273
                        <fieldset class="brief">
274
                            <h4>Refine results</h4>
275
                            <fieldset>
276
                                <ol>
277
                                    <li>
278
                                        <p>Start date:
279
                                        <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" /></p>
280
                                    </li>
281
                                    <li>
282
                                        <p>End date:
283
                                        <input type="text" size="10" id="to" name="to" value="[% to | $KohaDates %]" class="flatpickr" /></p>
284
                                    </li>
285
                                </ol>
263
286
264
<div id="filters">
287
                                [% IF ( HoldsToPullEndDate ) %]
288
                                    <p><em>(Inclusive, default is [% HoldsToPullStartDate | html %] days ago to [% HoldsToPullEndDate | html %] days ahead. Set other date ranges as needed.)</em></p>
289
                                [% ELSE %]
290
                                    <p><em>(Inclusive, default is [% HoldsToPullStartDate | html %] days ago to today. Set other date ranges as needed.)</em></p>
291
                                [% END %]
265
292
266
<form action="/cgi-bin/koha/circ/pendingreserves.pl" method="post" >
293
                                <button type="submit" class="submit" id="principal">Submit</button>
267
<fieldset class="brief">
294
                            </fieldset>
268
<h4>Refine results</h4>
295
                        </fieldset>
269
<ol>
296
                    </form>
270
<li>
297
                </div>
271
<label for="from">
272
    Start date:
273
</label>
274
<input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" />
275
</li>
276
<li><label for="to">
277
    End date:
278
</label>
279
<input type="text" size="10" id="to" name="to" value="[% to | $KohaDates %]" class="flatpickr" />
280
</li>
281
</ol>
282
283
[% IF ( HoldsToPullEndDate ) %]
284
    <p><em>(Inclusive, default is [% HoldsToPullStartDate | html %] days ago to [% HoldsToPullEndDate | html %] days ahead. Set other date ranges as needed.)</em></p>
285
[% ELSE %]
286
    <p><em>(Inclusive, default is [% HoldsToPullStartDate | html %] days ago to today. Set other date ranges as needed.)</em></p>
287
[% END %]
288
289
<fieldset class="action"><input type="submit" name="run_report" value="Submit" class="submit"/></fieldset>
290
</fieldset>
291
</form>
292
293
</div>
294
            </aside>
298
            </aside>
295
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
299
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
296
     </div> <!-- /.row -->
300
     </div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-24 / +24 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'circ-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
10
8
<title>Renew [% title | html %] &rsaquo; Circulation &rsaquo; Koha</title>
11
<title>Renew [% title | html %] &rsaquo; Circulation &rsaquo; Koha</title>
Lines 11-18 Link Here
11
14
12
<body id="circ_renew" class="circ">
15
<body id="circ_renew" class="circ">
13
16
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'circ-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 28-33 Link Here
28
            </a>
30
            </a>
29
        </li>
31
        </li>
30
    </ol>
32
    </ol>
33
    <ol>
34
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
    </ol>
36
    <ol>
37
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
    </ol>
31
</nav>
39
</nav>
32
40
33
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 196-229 Link Here
196
            [% UNLESS error %]
204
            [% UNLESS error %]
197
                <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off" >
205
                <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off" >
198
206
199
                    <fieldset>
207
                    <fieldset class="brief">
200
                        <h1>Renew</h1>
208
                        <h1>Renew</h1>
201
209
202
                        [% IF Koha.Preference('UnseenRenewals') %]
210
                        [% IF Koha.Preference('UnseenRenewals') %]
203
                            <div class="renew_formfield">
211
                            <div class="renew_formfield">
204
                                <div>
212
                                <input name="barcode" id="barcode" size="14" class="barcode focus" type="text" placeholder="Enter item barcode" />
205
                                    <label for="barcode" class="hint">Enter item barcode: </label>
206
                                </div>
207
                                <input name="barcode" id="barcode" size="14" class="barcode focus" type="text" />
208
                            </div>
213
                            </div>
209
                            <div class="renew_formfield">
214
                            <div class="renew_formfield">
210
                                <label for="unseen" class="hint">Record renewal as unseen if appropriate: </label>
215
                                <label for="unseen" class="hint">Record renewal as unseen if appropriate: </label>
211
                                <input value="1" name="unseen" id="unseen" type="checkbox" />
216
                                <input value="1" name="unseen" id="unseen" type="checkbox" />
212
                            </div>
217
                            </div>
213
                        [% ELSE %]
218
                        [% ELSE %]
214
                            <div>
219
                            <input name="barcode" size="14" class="barcode focus" type="text" placeholder="Enter item barcode" />
215
                                <label for="barcode" class="hint">Enter item barcode: </label>
216
                            </div>
217
218
                            <input name="barcode" id="barcode" size="14" class="barcode focus" type="text" />
219
220
220
                        [% END %]
221
                        [% END %]
221
                        <button type="submit" class="btn btn-default">Submit</button>
222
                        <button type="submit" class="submit" id="principal">Submit</button>
222
223
223
                        <div class="circ-settings show">
224
                        <div class="circ-settings show">
224
                            <div class="date-select" id="renew_date_override_fields">
225
                            <div class="date-select" id="renew_date_override_fields">
225
                                <div><label for="hard_due_date" class="hint">Renewal due date [% INCLUDE 'date-format.inc' %]:</label></div>
226
                                <input type="text" size="20" id="hard_due_date" name="hard_due_date" value="[% hard_due_date | $KohaDates with_hours => 1 %]" class="flatpickr" data-flatpickr-futuredate="true" data-flatpickr-enable-time="true" placeholder="Renewal due date [% INCLUDE 'date-format.inc' %]" />
226
                                <input type="text" size="20" id="hard_due_date" name="hard_due_date" value="[% hard_due_date | $KohaDates with_hours => 1 %]" class="flatpickr" data-flatpickr-futuredate="true" data-flatpickr-enable-time="true" />
227
                            </div> <!-- /.date-select -->
227
                            </div> <!-- /.date-select -->
228
                        </div>
228
                        </div>
229
                    </fieldset>
229
                    </fieldset>
Lines 232-246 Link Here
232
                </form>
232
                </form>
233
            [% END %]
233
            [% END %]
234
234
235
                    [% IF Koha.Preference('CircSidebar') %]
235
                [% IF Koha.Preference('CircSidebar') %]
236
                            </div> <!-- /.col-sm-10.col-sm-push-2 -->
236
                        </div> <!-- /.col-sm-10.col-sm-push-2 -->
237
                            <div class="col-sm-2 col-sm-pull-10">
237
                        <div class="col-sm-2 col-sm-pull-10">
238
                                <aside>
238
                            <aside>
239
                                    [% INCLUDE 'circ-nav.inc' %]
239
                                [% INCLUDE 'circ-nav.inc' %]
240
                                </aside>
240
                            </aside>
241
                            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
241
                        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
242
                        </div> <!-- /.row -->
242
                    </div> <!-- /.row -->
243
                    [% END %]
243
                [% END %]
244
244
245
            </main>
245
            </main>
246
        </div> <!-- /.col-sm-12 -->
246
        </div> <!-- /.col-sm-12 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (-2 / +10 lines)
Lines 8-13 Link Here
8
[% USE AuthorisedValues %]
8
[% USE AuthorisedValues %]
9
[% USE Price %]
9
[% USE Price %]
10
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
11
[% formulaire = BLOCK %]
12
    [% INCLUDE 'circ-search.inc' %]
13
[% END %]
11
[% SET article_requests_view = 1 %]
14
[% SET article_requests_view = 1 %]
12
[% SET biblionumber = biblio.biblionumber %]
15
[% SET biblionumber = biblio.biblionumber %]
13
[% INCLUDE 'doc-head-open.inc' %]
16
[% INCLUDE 'doc-head-open.inc' %]
Lines 59-66 Link Here
59
[% END %]
62
[% END %]
60
63
61
<body id="circ_request-article" class="circ">
64
<body id="circ_request-article" class="circ">
62
    [% INCLUDE 'header.inc' %]
65
    [% INCLUDE 'header.inc' form=formulaire %]
63
    [% INCLUDE 'circ-search.inc' %]
64
66
65
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
67
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
66
        <ol>
68
        <ol>
Lines 84-89 Link Here
84
                </li>
86
                </li>
85
            [% END %]
87
            [% END %]
86
        </ol>
88
        </ol>
89
        <ol>
90
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
91
        </ol>
92
        <ol>
93
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
94
        </ol>
87
    </nav>
95
    </nav>
88
96
89
[% INCLUDE 'blocking_errors.inc' %]
97
[% INCLUDE 'blocking_errors.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-55 / +68 lines)
Lines 6-11 Link Here
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'circ-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Hold ratios &rsaquo; Circulation &rsaquo; Koha</title>
13
<title>Hold ratios &rsaquo; Circulation &rsaquo; Koha</title>
11
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
Lines 17-24 Link Here
17
</head>
20
</head>
18
21
19
<body id="circ_reserveratios" class="circ">
22
<body id="circ_reserveratios" class="circ">
20
[% INCLUDE 'header.inc' %]
23
[% INCLUDE 'header.inc' form=formulaire %]
21
[% INCLUDE 'circ-search.inc' %]
22
24
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
    <ol>
26
    <ol>
Lines 34-39 Link Here
34
            </a>
36
            </a>
35
        </li>
37
        </li>
36
    </ol>
38
    </ol>
39
        <ol>
40
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
41
        </ol>
42
        <ol>
43
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
44
        </ol>
37
</nav>
45
</nav>
38
46
39
<div class="main container-fluid">
47
<div class="main container-fluid">
Lines 41-47 Link Here
41
        <div class="col-sm-10 col-sm-push-2">
49
        <div class="col-sm-10 col-sm-push-2">
42
            <main>
50
            <main>
43
51
44
<h1>Hold ratios to calculate items needed</h1>
52
<h2>Hold ratios to calculate items needed</h2>
45
   <h3>Calculated on [% todaysdate | $KohaDates %]. From [% from | $KohaDates %]
53
   <h3>Calculated on [% todaysdate | $KohaDates %]. From [% from | $KohaDates %]
46
    to [% to | $KohaDates %]</h3>
54
    to [% to | $KohaDates %]</h3>
47
<p>These items have a hold ratio &ge; [% ratio | html %].</p>
55
<p>These items have a hold ratio &ge; [% ratio | html %].</p>
Lines 111-123 Link Here
111
                <p>
119
                <p>
112
                    [% IF ( reserveloo.thisratio_atleast1 ) %]
120
                    [% IF ( reserveloo.thisratio_atleast1 ) %]
113
                        [% IF ( CAN_user_acquisition && basketno && booksellerid ) %]<!-- [% reserveloo.copies_to_buy | html %] -->
121
                        [% IF ( CAN_user_acquisition && basketno && booksellerid ) %]<!-- [% reserveloo.copies_to_buy | html %] -->
114
                            <a href="/cgi-bin/koha/acqui/neworderempty.pl?biblionumber=[% reserveloo.biblionumber | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;rr_quantity_to_order=[% reserveloo.copies_to_buy | uri %]" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> [% reserveloo.copies_to_buy | html %] to order</a>
122
                            <a href="/cgi-bin/koha/acqui/neworderempty.pl?biblionumber=[% reserveloo.biblionumber | uri %]&amp;booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;rr_quantity_to_order=[% reserveloo.copies_to_buy | uri %]" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-plus"></i> [% reserveloo.copies_to_buy | html %] to order</a>
115
                        [% ELSE %]
123
                        [% ELSE %]
116
                            <strong>[% reserveloo.copies_to_buy | html %] to order</strong>
124
                            <strong>[% reserveloo.copies_to_buy | html %] to order</strong>
117
                        [% END %]
125
                        [% END %]
118
                        [% IF ( reserveloo.pendingorders ) %]<br><strong>[% reserveloo.pendingorders | html %] pending</strong>[% END %]
126
                        [% IF ( reserveloo.pendingorders ) %]<br><strong>[% reserveloo.pendingorders | html %] pending</strong>[% END %]
119
                    [% ELSE %]
127
                    [% ELSE %]
120
                        <span>0 to order</span>
128
                        0 to order
121
                    [% END %]
129
                    [% END %]
122
                </p>
130
                </p>
123
            </td>
131
            </td>
Lines 134-187 Link Here
134
142
135
        <div class="col-sm-2 col-sm-pull-10">
143
        <div class="col-sm-2 col-sm-pull-10">
136
            <aside>
144
            <aside>
137
145
                <div id="filters">
138
<form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
146
                    <form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
139
<fieldset class="brief">
147
                        <fieldset class="brief">
140
<h4>Refine results:</h4>
148
                            <h4>Refine results</h4>
141
<ol>
149
142
    <li>
150
                            <fieldset>
143
        <label for="ratio">Hold ratio (greater than or equal to):</label>
151
                                <ol>
144
        <input type="text" size="5" id="ratio" name="ratio" value="[% ratio | html %]" />
152
                                    <li>
145
    </li>
153
                                        <p>Hold ratio (greater than or equal to):
146
154
                                        <input type="text" size="5" id="ratio" name="ratio" value="[% ratio | html %]" /></p>
147
    <li class="checkbox">
155
                                    </li>
148
        [% IF include_ordered %]
156
149
            <input id="include_ordered" name="include_ordered" type="checkbox" checked="checked"/>
157
                                    <li class="checkbox">
150
        [% ELSE %]
158
                                        <label for="include_ordered">
151
            <input id="include_ordered" name="include_ordered" type="checkbox"/>
159
                                        [% IF include_ordered %]
152
        [% END %]
160
                                            <input id="include_ordered" name="include_ordered" type="checkbox" checked="checked"/>
153
        <label for="include_ordered">Include ordered</label>
161
                                        [% ELSE %]
154
    </li>
162
                                            <input id="include_ordered" name="include_ordered" type="checkbox"/>
155
163
                                        [% END %]
156
    <li class="checkbox">
164
                                        Include ordered</label>
157
        [% IF include_suspended %]
165
                                    </li>
158
            <input id="include_suspended" name="include_suspended" type="checkbox" checked="checked"/>
166
159
        [% ELSE %]
167
                                    <li class="checkbox">
160
            <input id="include_suspended" name="include_suspended" type="checkbox"/>
168
                                        <label for="include_suspended">
161
        [% END %]
169
                                        [% IF include_suspended %]
162
        <label for="include_suspended">Include suspended</label>
170
                                            <input id="include_suspended" name="include_suspended" type="checkbox" checked="checked"/>
163
    </li>
171
                                        [% ELSE %]
164
172
                                            <input id="include_suspended" name="include_suspended" type="checkbox"/>
165
    <li>
173
                                        [% END %]
166
        <label for="from">Start date:</label>
174
                                        Include suspended</label>
167
        <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" />
175
                                    </li>
168
    </li>
176
169
177
                                    <li>
170
    <li>
178
                                        <p>Start date:
171
        <label for="to">End date:</label>
179
                                        <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" /></p>
172
        <input size="10" id="to" name="to" value="[% to | $KohaDates %]" type="text" class="flatpickr" />
180
                                    </li>
173
    </li>
181
174
</ol>
182
                                    <li>
175
(inclusive)
183
                                        <p>End date:
176
184
                                        <input size="10" id="to" name="to" value="[% to | $KohaDates %]" type="text" class="flatpickr" /></p>
177
<fieldset class="action"><input type="submit" value="Go" class="submit"/></fieldset>
185
                                    </li>
178
</fieldset>
186
                                </ol>
179
[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]
187
                                <p>(inclusive)</p>
180
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
188
                                <button type="submit" class="submit" id="principal">Go</button>
181
<input type="hidden" name="basketno" value="[% basketno | html %]" />
189
                            </fieldset>
182
[% END %]
190
                        </fieldset>
183
</form>
191
184
192
                        [% IF ( CAN_user_acquisition && basketno && booksellerid ) %]
193
                        <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
194
                        <input type="hidden" name="basketno" value="[% basketno | html %]" />
195
                        [% END %]
196
                    </form>
197
                </div>
185
            </aside>
198
            </aside>
186
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
199
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
187
     </div> <!-- /.row -->
200
     </div> <!-- /.row -->
Lines 191-197 Link Here
191
    [% INCLUDE 'datatables.inc' %]
204
    [% INCLUDE 'datatables.inc' %]
192
    [% INCLUDE 'columns_settings.inc' %]
205
    [% INCLUDE 'columns_settings.inc' %]
193
    <script>
206
    <script>
194
        var table_settings = [% TablesSettings.GetTableSettings( 'circ', 'holdsratios', 'holds-ratios', 'json' ) | $raw %];
207
        var columns_settings = [% TablesSettings.GetColumns( 'circ', 'holdsratios', 'holds-ratios', 'json' ) | $raw %];
195
        $(document).ready(function() {
208
        $(document).ready(function() {
196
            KohaTable("holdst", {
209
            KohaTable("holdst", {
197
                "aaSorting": [ [2,'desc'], [3,'asc'] ],
210
                "aaSorting": [ [2,'desc'], [3,'asc'] ],
Lines 201-207 Link Here
201
                    ],
214
                    ],
202
                "sPaginationType": "full",
215
                "sPaginationType": "full",
203
                "autoWidth": false
216
                "autoWidth": false
204
            }, table_settings);
217
            }, columns_settings);
205
       });
218
       });
206
  </script>
219
  </script>
207
[% END %]
220
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-60 / +68 lines)
Lines 6-11 Link Here
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'checkin-search.inc' %]
11
[% END %]
9
[% PROCESS 'member-display-address-style.inc' %]
12
[% PROCESS 'member-display-address-style.inc' %]
10
[% SET footerjs = 1 %]
13
[% SET footerjs = 1 %]
11
[% BLOCK display_bormessagepref %]
14
[% BLOCK display_bormessagepref %]
Lines 35-42 Link Here
35
<body id="circ_returns" class="circ">
38
<body id="circ_returns" class="circ">
36
    <span class="audio-alert-success"></span>
39
    <span class="audio-alert-success"></span>
37
40
38
    [% INCLUDE 'header.inc' %]
41
    [% INCLUDE 'header.inc' form=formulaire %]
39
    [% INCLUDE 'checkin-search.inc' %]
40
42
41
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
43
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
42
        <ol>
44
        <ol>
Lines 52-57 Link Here
52
                </a>
54
                </a>
53
            </li>
55
            </li>
54
        </ol>
56
        </ol>
57
        <ol>
58
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
59
        </ol>
60
        <ol>
61
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
62
        </ol>
55
    </nav>
63
    </nav>
56
64
57
    <div class="main container-fluid">
65
    <div class="main container-fluid">
Lines 67-124 Link Here
67
                        [% END %]
75
                        [% END %]
68
76
69
                        [% BLOCK all_checkin_messages %]
77
                        [% BLOCK all_checkin_messages %]
70
                            [% IF hold_auto_filled %]
71
                                <div class="dialog message hold-auto-filled">
72
                                    [% IF ( reservenotes ) %]
73
                                        <h4>Notes: [% reservenotes | html %]</h4>
74
                                    [% END %]
75
                                    <h3>Hold filled for:</h3>
76
                                    <ul>
77
                                        <li>
78
                                            [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 %]
79
                                            <span class="patron-category"> - [% patron.category.description | html %]</span>
80
                                        </li>
81
78
82
                                        [% INCLUDE display_holdpatron_address %]
83
79
84
                                        [% IF ( patron.phone ) %]
80
                            <div class="dialog message hold-auto-filled">
85
                                            <li>[% patron.phone | html %]</li>
81
                            [% IF hold_auto_filled %]
86
                                        [% END %]
82
                                [% IF ( reservenotes ) %]
83
                                    <h4>Notes: [% reservenotes | html %]</h4>
84
                                [% END %]
85
                                <h3>Hold filled for:</h3>
86
                                <ul>
87
                                    <li>
88
                                        [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 %]
89
                                        <span class="patron-category"> - [% patron.category.description | html %]</span>
90
                                    </li>
87
91
88
                                        [% IF ( patron.email ) %]
92
                                    [% INCLUDE display_holdpatron_address %]
89
                                            <li>
90
                                                [% IF ( transfertodo ) %]
91
                                                    [% patron.email | html %]
92
                                                [% ELSE %]
93
                                                    <a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a>
94
                                                [% END %]
95
                                            </li>
96
                                        [% END %]
97
93
98
                                        [% UNLESS ( transfertodo) %]
94
                                    [% IF ( patron.phone ) %]
99
                                            [% INCLUDE display_bormessagepref %]
95
                                        <li>[% patron.phone | html %]</li>
100
                                        [% END %]
96
                                    [% END %]
101
97
102
                                        [% IF ( patron.is_debarred ) %]
98
                                    [% IF ( patron.email ) %]
103
                                            <li class="error">Patron is RESTRICTED</li>
99
                                        <li>
104
                                        [% END %]
100
                                            [% IF ( transfertodo ) %]
101
                                                [% patron.email | html %]
102
                                            [% ELSE %]
103
                                                <a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a>
104
                                            [% END %]
105
                                        </li>
106
                                    [% END %]
105
107
106
                                        [% IF ( patron.gonenoaddress ) %]
108
                                    [% UNLESS ( transfertodo) %]
107
                                            <li class="error">Patron's address is in doubt</li>
109
                                        [% INCLUDE display_bormessagepref %]
108
                                        [% END %]
110
                                    [% END %]
109
                                    </ul>
111
112
                                    [% IF ( patron.is_debarred ) %]
113
                                        <li class="error">Patron is RESTRICTED</li>
114
                                    [% END %]
110
115
111
                                    [% IF ( transfertodo ) %]
116
                                    [% IF ( patron.gonenoaddress ) %]
112
                                        <h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4>
117
                                        <li class="error">Patron's address is in doubt</li>
113
                                    [% ELSE %]
114
                                        <h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4>
115
                                    [% END %]
118
                                    [% END %]
119
                                </ul>
120
121
                                [% IF ( transfertodo ) %]
122
                                    <h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4>
123
                                [% ELSE %]
124
                                    <h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4>
125
                                [% END %]
116
126
117
                                    <a href="#" class="btn btn-default print print-slip">
127
                                <a href="#" class="btn btn-default print print-slip">
118
                                        <i class="fa fa-print"></i> Print
128
                                    <i class="fa fa-print"></i> Print
119
                                    </a>
129
                                </a>
120
                                </div> <!-- /.hold-auto-filled -->
121
                            [% END # /IF hold_auto_filled %]
130
                            [% END # /IF hold_auto_filled %]
131
                            </div> <!-- /.hold-auto-filled -->
122
132
123
                            [% IF ( trigger ) %]
133
                            [% IF ( trigger ) %]
124
                                 <div id="transfer-trigger" class="dialog message">
134
                                 <div id="transfer-trigger" class="dialog message">
Lines 170-176 Link Here
170
                            <!-- Patron has added an issue note -->
180
                            <!-- Patron has added an issue note -->
171
                            [% IF ( issue.note) %]
181
                            [% IF ( issue.note) %]
172
                                <div class="dialog message">
182
                                <div class="dialog message">
173
                                    <h1>Patron note</h1>
183
                                    <h2>Patron note</h2>
174
                                    <p>[% issue.notedate | $KohaDates %]</p>
184
                                    <p>[% issue.notedate | $KohaDates %]</p>
175
                                    <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber | uri %]"> [% title | html %]</a> [% author | html %]</p>
185
                                    <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber | uri %]"> [% title | html %]</a> [% author | html %]</p>
176
                                    <p>[% issue.note | html %]</p>
186
                                    <p>[% issue.note | html %]</p>
Lines 937-966 Link Here
937
                        </div>
947
                        </div>
938
948
939
                        <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
949
                        <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
940
                            <fieldset id="circ_returns_checkin">
950
                            <fieldset  class="brief">
941
                                <div class="show_checkin_dialog" style="float:right;display:none"><button type="button" class="btn btn-default btn-sm" data-toggle="tooltip" title="Show the last checkin message"><i class="fa fa-info"></i></button></div>
951
                                <div class="show_checkin_dialog" style="float:right;display:none"><button type="button" class="btn btn-default btn-sm" data-toggle="tooltip" title="Show the last checkin message"><i class="fa fa-info"></i></button></div>
942
                                <h1>Check in</h1>
952
                                <h1>Check in</h1>
943
                                <div class="row">
953
                                <div class="row">
944
                                    <div class="col-sm-6">
954
                                    <div class="col-sm-6">
945
                                        <div class="hint">Enter item barcode:</div>
946
                                            <div class="form-control-group">
955
                                            <div class="form-control-group">
947
                                                [% IF ( exemptfine ) %]
956
                                                [% IF ( exemptfine ) %]
948
                                                    <input name="barcode" id="barcode" size="14" class="focus input-warning" type="text" />
957
                                                    <input name="barcode" size="14" class="barcode class="focus input-warning" type="text" placeholder="Enter item barcode" />
949
                                                [% ELSIF ( dropboxmode ) %]
958
                                                [% ELSIF ( dropboxmode ) %]
950
                                                    <input name="barcode" id="barcode" size="14" class="barcode focus input-warning" />
959
                                                    <input name="barcode" size="14" class="barcode focus input-warning" placeholder="Enter item barcode" />
951
                                                [% ELSE %]
960
                                                [% ELSE %]
952
                                                    <input name="barcode" id="barcode" size="14" class="barcode focus" />
961
                                                    <input name="barcode" size="14" class="barcode focus" placeholder="Enter item barcode" />
953
                                                [% END %]
962
                                                [% END %]
954
                                                <button type="submit" class="btn btn-default">Check in</button>
963
                                                <div id="show-circ-settings">
964
                                                    <a href="#"><i class="fa-sign-out"></i></a>
965
                                                </div>
966
                                                <button class="submit" id="principal" type="submit" >Check in</button>
955
                                                [% FOREACH inputloo IN inputloop %]
967
                                                [% FOREACH inputloo IN inputloop %]
956
                                                    <input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
968
                                                    <input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
957
                                                    <input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
969
                                                    <input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
958
                                                    <input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
970
                                                    <input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
959
                                                [% END %]
971
                                                [% END %]
960
                                            </div>
972
                                            </div>
961
                                        <div id="show-circ-settings">
962
                                            <a href="#"><i class="fa circ-settings-icon fa-caret-down"></i> Checkin settings</a>
963
                                        </div>
964
                                    </div>
973
                                    </div>
965
                                    <div class="col-sm-6">
974
                                    <div class="col-sm-6">
966
                                        [% IF ( exemptfine ) %]
975
                                        [% IF ( exemptfine ) %]
Lines 999-1007 Link Here
999
                                <div class="circ-settings">
1008
                                <div class="circ-settings">
1000
                                    [% IF Koha.Preference('SpecifyReturnDate') %]
1009
                                    [% IF Koha.Preference('SpecifyReturnDate') %]
1001
                                        <div class="date-select" id="return_date_override_fields">
1010
                                        <div class="date-select" id="return_date_override_fields">
1002
                                            <div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div>
1003
1011
1004
                                            <input type="text" size="20" id="return_date_override" name="return_date_override" value="[% return_date_override | html %]" class="flatpickr" data-flatpickr-pastinclusive="true" data-flatpickr-enable-time="true" data-flatpickr-on-close-focus="#barcode" />
1012
                                            <input type="text" size="30" id="return_date_override" name="return_date_override" value="[% return_date_override | html %]" class="flatpickr" data-flatpickr-pastinclusive="true" data-flatpickr-enable-time="true" data-flatpickr-on-close-focus="#barcode" placeholder="Specify return date [% INCLUDE 'date-format.inc' %]" />
1005
1013
1006
                                            <div class="circ-setting">
1014
                                            <div class="circ-setting">
1007
                                                [% IF ( return_date_override_remember ) %]
1015
                                                [% IF ( return_date_override_remember ) %]
Lines 1050-1056 Link Here
1050
                        </form> <!-- /#checkin-form -->
1058
                        </form> <!-- /#checkin-form -->
1051
1059
1052
                        [% IF ( riloop ) %]
1060
                        [% IF ( riloop ) %]
1053
                            <h2>Checked-in items</h2>
1061
                        <fieldset id="searchresults">
1062
                            <h3>Checked-in items</h3>
1054
                            <table id="checkedintable">
1063
                            <table id="checkedintable">
1055
                                <thead>
1064
                                <thead>
1056
                                    <tr>
1065
                                    <tr>
Lines 1138-1144 Link Here
1138
                                                        </span>
1147
                                                        </span>
1139
                                                    </span>
1148
                                                    </span>
1140
                                                [% END %]
1149
                                                [% END %]
1141
                                                <a class="btn btn-default btn-xs printcheckinslip" href="#" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a>
1150
                                                <a class="btn btn-default btn-xs printcheckinslip" id="lientype" href="#" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a>
1142
                                            [% ELSE %]
1151
                                            [% ELSE %]
1143
                                                Not checked out
1152
                                                Not checked out
1144
                                            [% END %]
1153
                                            [% END %]
Lines 1157-1164 Link Here
1157
                                    </tr>
1166
                                    </tr>
1158
                                [% END # /FOREACH riloo %]
1167
                                [% END # /FOREACH riloo %]
1159
                            </table> <!-- /#checkedintable -->
1168
                            </table> <!-- /#checkedintable -->
1169
                            </fieldset>
1160
                        [% END # /IF riloop %]
1170
                        [% END # /IF riloop %]
1161
1162
                    [% IF Koha.Preference('CircSidebar') %]
1171
                    [% IF Koha.Preference('CircSidebar') %]
1163
                            </div> <!-- /.col-sm-10.col-sm-push-2 -->
1172
                            </div> <!-- /.col-sm-10.col-sm-push-2 -->
1164
                            <div class="col-sm-2 col-sm-pull-10">
1173
                            <div class="col-sm-2 col-sm-pull-10">
Lines 1171-1177 Link Here
1171
                            </div> <!-- /.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 -->
1180
                            </div> <!-- /.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 -->
1172
                        </div> <!-- /.row -->
1181
                        </div> <!-- /.row -->
1173
                    [% END %]
1182
                    [% END %]
1174
1175
                </main>
1183
                </main>
1176
            </div> <!-- /.col-sm-12 -->
1184
            </div> <!-- /.col-sm-12 -->
1177
        </div> <!-- /.row -->
1185
        </div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt (-14 / +33 lines)
Lines 5-10 Link Here
5
[% USE Registers %]
5
[% USE Registers %]
6
[% USE Koha %]
6
[% USE Koha %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'circ-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
[% IF Koha.Preference('UseCirculationDesks') %]
12
[% IF Koha.Preference('UseCirculationDesks') %]
10
<title>Set library and desk &rsaquo; Circulation &rsaquo; Koha</title>
13
<title>Set library and desk &rsaquo; Circulation &rsaquo; Koha</title>
Lines 17-24 Link Here
17
</style>
20
</style>
18
</head>
21
</head>
19
<body id="circ_set-library" class="circ">
22
<body id="circ_set-library" class="circ">
20
[% INCLUDE 'header.inc' %]
23
[% INCLUDE 'header.inc' form=formulaire %]
21
[% INCLUDE 'circ-search.inc' %]
22
24
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
    <ol>
26
    <ol>
Lines 32-37 Link Here
32
            <a href="#" aria-current="page">Set library</a>
34
            <a href="#" aria-current="page">Set library</a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
38
    <ol>
39
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
40
    </ol>
41
    <ol>
42
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
43
    </ol>
35
</nav>
44
</nav>
36
45
37
<div class="main container-fluid">
46
<div class="main container-fluid">
Lines 82-94 Updated:<ul> Link Here
82
91
83
<form method="post" action="set-library.pl">
92
<form method="post" action="set-library.pl">
84
[% IF !( Koha.Preference('IndependentBranches') && !CAN_user_superlibrarian && !CAN_user_editcatalogue_edit_catalogue ) %]
93
[% IF !( Koha.Preference('IndependentBranches') && !CAN_user_superlibrarian && !CAN_user_editcatalogue_edit_catalogue ) %]
85
<fieldset class="rows">
94
<fieldset  class="brief">
86
    <legend>Set library</legend>
95
    <h3>Set library</h3>
87
    <ol>
96
    <ol>
88
        <li><label for="branch">Choose library:</label>
97
        <li><p>Choose library:
89
        <select name="branch" id="branch">
98
        <select name="branch" id="branch">
90
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
99
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
91
        </select></li>
100
        </select></p></li>
101
102
        <li>
103
            <button class="submit" id="principal" type="submit" >Submit</button>
104
            <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
105
        </li>
92
    </ol>
106
    </ol>
93
</fieldset>
107
</fieldset>
94
[% ELSE %]
108
[% ELSE %]
Lines 98-117 Updated:<ul> Link Here
98
[% END %]
112
[% END %]
99
113
100
[% IF Koha.Preference('UseCirculationDesks') && Desks.all %]
114
[% IF Koha.Preference('UseCirculationDesks') && Desks.all %]
101
<fieldset class="rows">
115
<fieldset  class="brief">
102
    <legend>Set desk</legend>
116
    <h3>Set desk</h3>
103
    <ol>
117
    <ol>
104
        <li><label for="desk">Choose desk:</label>
118
        <li><label for="desk">Choose desk:</label>
105
        <select name="desk_id" id="desk_id">
119
        <select name="desk_id" id="desk_id">
106
            [% PROCESS options_for_desks desks => Desks.all(), selected => desk_id  %]
120
            [% PROCESS options_for_desks desks => Desks.all(), selected => desk_id  %]
107
        </select></li>
121
        </select></li>
122
123
        <li>
124
            <button class="submit" id="principal" type="submit" >Submit</button>
125
            <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
126
        </li>
108
    </ol>
127
    </ol>
109
</fieldset>
128
</fieldset>
110
[% END %]
129
[% END %]
111
130
112
[% IF Koha.Preference('UseCashRegisters') %]
131
[% IF Koha.Preference('UseCashRegisters') %]
113
<fieldset class="rows">
132
<fieldset class="brief">
114
    <legend>Set cash register</legend>
133
    <h3>Set cash register</h3>
115
    <ol>
134
    <ol>
116
        <li>
135
        <li>
117
            <label for="register_id">Choose cash register:</label>
136
            <label for="register_id">Choose cash register:</label>
Lines 120-133 Updated:<ul> Link Here
120
                [% PROCESS options_for_registers registers => Registers.all() %]
139
                [% PROCESS options_for_registers registers => Registers.all() %]
121
            </select>
140
            </select>
122
        </li>
141
        </li>
142
        <li>
143
            <button class="submit" id="principal" type="submit" >Submit</button>
144
            <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
145
        </li>
123
    </ol>
146
    </ol>
124
</fieldset>
147
</fieldset>
125
[% END %]
148
[% END %]
126
149
127
<fieldset class="action">
128
    <input type="submit" value="Submit" />
129
    <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
130
</fieldset>
131
<div class="noshow">
150
<div class="noshow">
132
    [% FOREACH recycle_loo IN recycle_loop %]
151
    [% FOREACH recycle_loo IN recycle_loop %]
133
    <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
152
    <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt (-2 / +10 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'circ-search.inc' %]
10
[% END %]
8
[% PROCESS 'transfer_reasons.inc' %]
11
[% PROCESS 'transfer_reasons.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Transfers to send &rsaquo; Circulation &rsaquo; Koha</title>
13
<title>Transfers to send &rsaquo; Circulation &rsaquo; Koha</title>
Lines 12-19 Link Here
12
</head>
15
</head>
13
16
14
<body id="circ_transferstosend" class="circ">
17
<body id="circ_transferstosend" class="circ">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'circ-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-labal="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-labal="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 27-32 Link Here
27
            <a href="#" aria-current="page">Transfers to send</a>
29
            <a href="#" aria-current="page">Transfers to send</a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
    <ol>
33
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
    </ol>
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-3 / +11 lines)
Lines 4-17 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'circ-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Transfers to receive &rsaquo; Circulation &rsaquo; Koha</title>
11
<title>Transfers to receive &rsaquo; Circulation &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="circ_transferstoreceive" class="circ">
15
<body id="circ_transferstoreceive" class="circ">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'circ-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 27-32 Link Here
27
            </a>
29
            </a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
    <ol>
33
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
    </ol>
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 41-47 Link Here
41
                    <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
49
                    <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
42
                [% END %]
50
                [% END %]
43
51
44
        <h1>Transfers made to your library as of [% show_date | $KohaDates %]</h1>
52
        <h2>Transfers made to your library as of [% show_date | $KohaDates %]</h2>
45
	[% IF ( branchesloop ) %]
53
	[% IF ( branchesloop ) %]
46
        <p>Your library is the destination for the following transfer(s)</p>
54
        <p>Your library is the destination for the following transfer(s)</p>
47
		[% IF ( latetransfers ) %]<p>Transfers are <span class="error">considered late</span> after [% TransfersMaxDaysWarning | html %] days.</p>[% END %]
55
		[% IF ( latetransfers ) %]<p>Transfers are <span class="error">considered late</span> after [% TransfersMaxDaysWarning | html %] days.</p>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-17 / +24 lines)
Lines 8-13 Link Here
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% USE Koha %]
9
[% USE Koha %]
10
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
11
[% formulaire = BLOCK %]
12
    [% INCLUDE 'circ-search.inc' %]
13
[% END %]
11
[% INCLUDE 'doc-head-open.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
12
<title>Holds queue &rsaquo; Circulation &rsaquo; Koha</title>
15
<title>Holds queue &rsaquo; Circulation &rsaquo; Koha</title>
13
[% INCLUDE 'doc-head-close.inc' %]
16
[% INCLUDE 'doc-head-close.inc' %]
Lines 15-22 Link Here
15
</head>
18
</head>
16
19
17
<body id="circ_view_holdsqueue" class="circ">
20
<body id="circ_view_holdsqueue" class="circ">
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'cat-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 45-50 Link Here
45
            </li>
47
            </li>
46
        [% END %]
48
        [% END %]
47
    </ol>
49
    </ol>
50
    <ol>
51
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
52
    </ol>
53
    <ol>
54
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
55
    </ol>
48
</nav>
56
</nav>
49
57
50
<div class="main container-fluid">
58
<div class="main container-fluid">
Lines 59-65 Link Here
59
                    <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
67
                    <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
60
                [% END %]
68
                [% END %]
61
69
62
<h1>Holds queue</h1>
70
<fieldset class="brief">
71
<h3>Holds queue</h3>
63
72
64
[% IF ( run_report ) %]
73
[% IF ( run_report ) %]
65
    [% IF ( total ) %]
74
    [% IF ( total ) %]
Lines 236-280 Link Here
236
[% BLOCK filter_form %]
245
[% BLOCK filter_form %]
237
    <form name="f" action="/cgi-bin/koha/circ/view_holdsqueue.pl">
246
    <form name="f" action="/cgi-bin/koha/circ/view_holdsqueue.pl">
238
        [% IF ( total ) %]
247
        [% IF ( total ) %]
239
            <fieldset class="brief">
248
            <fieldset>
240
        [% ELSE -%]
249
        [% ELSE -%]
241
            <fieldset class="rows">
250
            <fieldset>
242
        [% END %]
251
        [% END %]
243
            <ol>
252
            <ol>
244
                <li>
253
                <li>
245
                    <label for="branchlimit">Library: </label>
254
                    <p>Library: 
246
                    <select name="branchlimit" id="branchlimit">
255
                    <select name="branchlimit" id="branchlimit">
247
                        <option value="">All</option>
256
                        <option value="">All</option>
248
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
257
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
249
                    </select>
258
                    </select></p>
250
                </li>
259
                </li>
251
                <li>
260
                <li>
252
                    <label for="itemtypeslimit">Item type: </label>
261
                    <p>Item type: 
253
                    <select name="itemtypeslimit" id="itemtypeslimit">
262
                    <select name="itemtypeslimit" id="itemtypeslimit">
254
                        <option value="">All</option>
263
                        <option value="">All</option>
255
                        [% PROCESS options_for_item_types itemtypes => ItemTypes.Get(), selected_itemtype => itemtypeslimit %]
264
                        [% PROCESS options_for_item_types itemtypes => ItemTypes.Get(), selected_itemtype => itemtypeslimit %]
256
                    </select>
265
                    </select></p>
257
                </li>
266
                </li>
258
                <li>
267
                <li>
259
                    <label for="ccodeslimit">Collection: </label>
268
                    <p>Collection: 
260
                    <select name="ccodeslimit" id="ccodeslimit">
269
                    <select name="ccodeslimit" id="ccodeslimit">
261
                        <option value="">All</option>
270
                        <option value="">All</option>
262
                        [% PROCESS options_for_authorised_values authorised_values => AuthorisedValues.GetAuthValueDropbox( 'CCODE' ), selected_av => ccodeslimit %]
271
                        [% PROCESS options_for_authorised_values authorised_values => AuthorisedValues.GetAuthValueDropbox( 'CCODE' ), selected_av => ccodeslimit %]
263
                    </select>
272
                    </select></p>
264
                </li>
273
                </li>
265
                <li>
274
                <li>
266
                    <label for="locationsslimit">Shelving location: </label>
275
                    <p>Shelving location: 
267
                    <select name="locationslimit" id="locationslimit">
276
                    <select name="locationslimit" id="locationslimit">
268
                        <option value="">All</option>
277
                        <option value="">All</option>
269
                        [% PROCESS options_for_authorised_values authorised_values => AuthorisedValues.GetAuthValueDropbox( 'LOC' ), selected_av => locationslimit %]
278
                        [% PROCESS options_for_authorised_values authorised_values => AuthorisedValues.GetAuthValueDropbox( 'LOC' ), selected_av => locationslimit %]
270
                    </select>
279
                    </select></p>
271
                </li>
280
                </li>
281
            <button type="submit" class="submit" id="principal">Submit</button>
282
                <input type="hidden" name="run_report" value="1" />
272
            </ol>
283
            </ol>
273
        </fieldset>
284
        </fieldset>
274
        <fieldset class="action">
275
            <input type="submit" value="Submit" />
276
            <input type="hidden" name="run_report" value="1" />
277
        </fieldset>
278
    </form>
285
    </form>
279
[% END %]
286
[% END %]
280
287
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt (-3 / +13 lines)
Lines 6-19 Link Here
6
[% USE TablesSettings %]
6
[% USE TablesSettings %]
7
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'circ-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Holds awaiting pickup &rsaquo; Circulation &rsaquo; Koha</title>
13
<title>Holds awaiting pickup &rsaquo; Circulation &rsaquo; Koha</title>
11
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
12
</head>
15
</head>
13
16
14
<body id="circ_waitingreserves" class="circ">
17
<body id="circ_waitingreserves" class="circ">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc'form=formulaire %]
16
[% INCLUDE 'circ-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 27-32 Link Here
27
            <a href="#" aria-current="page">Holds awaiting pickup</a>
29
            <a href="#" aria-current="page">Holds awaiting pickup</a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
    <ol>
33
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
    </ol>
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 44-50 Link Here
44
            <h1>Holds awaiting pickup for your library on: [% show_date | $KohaDates %]</h1>
52
            <h1>Holds awaiting pickup for your library on: [% show_date | $KohaDates %]</h1>
45
            <h2>
53
            <h2>
46
            [% IF ( all_branches_link ) %]
54
            [% IF ( all_branches_link ) %]
47
            <span><a href="[% all_branches_link | url %]">
55
            <span><a id="lientype" href="[% all_branches_link | url %]">
48
            View all libraries</a></span>
56
            View all libraries</a></span>
49
            [% END %]
57
            [% END %]
50
        </h2>
58
        </h2>
Lines 81-86 Link Here
81
            </div>
89
            </div>
82
        [% END %]
90
        [% END %]
83
        <div id="resultlist" class="toptabs">
91
        <div id="resultlist" class="toptabs">
92
        <fieldset id="searchresults">
84
            <ul class="nav nav-tabs" role="tablist">
93
            <ul class="nav nav-tabs" role="tablist">
85
                <li role="presentation" class="active"><a href="#holdswaiting" aria-controls="holdswaiting" role="tab" data-toggle="tab">Holds waiting: [% reservecount | html %]</a></li>
94
                <li role="presentation" class="active"><a href="#holdswaiting" aria-controls="holdswaiting" role="tab" data-toggle="tab">Holds waiting: [% reservecount | html %]</a></li>
86
                <li role="presentation">
95
                <li role="presentation">
Lines 125-130 Link Here
125
                <div class="dialog message">No holds found.</div>
134
                <div class="dialog message">No holds found.</div>
126
            [% END %]
135
            [% END %]
127
        </div>
136
        </div>
137
        </fieldset>
128
        </div>
138
        </div>
129
    [% END %]
139
    [% END %]
130
140
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt (-3 / +11 lines)
Lines 4-17 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE Koha %]
5
[% USE Koha %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Club enrollments &rsaquo; Patron clubs &rsaquo; Tools &rsaquo; Koha</title>
11
<title>Club enrollments &rsaquo; Patron clubs &rsaquo; Tools &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="club_enrollments" class="clubs">
15
<body id="club_enrollments" class="clubs">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'cat-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 30-35 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
Lines 37-43 Link Here
37
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
38
            <main>
46
            <main>
39
47
40
                <h1>Club enrollments for <em>[% club.name | html %]</em></h1>
48
                <h2>Club enrollments for <em>[% club.name | html %]</em></h2>
41
49
42
                <table id="enrollments-table">
50
                <table id="enrollments-table">
43
                    <thead>
51
                    <thead>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt (-9 / +17 lines)
Lines 3-8 Link Here
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
4
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
    [% IF club %]
11
    [% IF club %]
Lines 15-22 Link Here
15
</head>
18
</head>
16
19
17
<body id="clubs_add_modify" class="clubs">
20
<body id="clubs_add_modify" class="clubs">
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'cat-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 39-44 Link Here
39
            </a>
41
            </a>
40
        </li>
42
        </li>
41
    </ol>
43
    </ol>
44
        <ol>
45
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
46
        </ol>
47
        <ol>
48
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
49
        </ol>
42
</nav>
50
</nav>
43
51
44
<div class="main container-fluid">
52
<div class="main container-fluid">
Lines 49-65 Link Here
49
                <input type="hidden" name="id" value="[% club.id | html %]" />
57
                <input type="hidden" name="id" value="[% club.id | html %]" />
50
                <input type="hidden" name="club_template_id" value="[% club_template.id | html %]" />
58
                <input type="hidden" name="club_template_id" value="[% club_template.id | html %]" />
51
59
52
                <fieldset class="rows">
60
                        <h2>
53
54
                    <legend>
55
                        <h1>
56
                            [% IF club %]
61
                            [% IF club %]
57
                                Modify club <em>[% club.name | html %]</em>
62
                                Modify club <em>[% club.name | html %]</em>
58
                            [% ELSE %]
63
                            [% ELSE %]
59
                                Create a new <em>[% club_template.name | html %]</em> club
64
                                Create a new <em>[% club_template.name | html %]</em> club
60
                            [% END %]
65
                            [% END %]
61
                        </h1>
66
                        </h2>
62
                    </legend>
67
68
                <fieldset class="rows">
69
70
63
71
64
                    <ol>
72
                    <ol>
65
                        <li>
73
                        <li>
Lines 137-143 Link Here
137
                </fieldset>
145
                </fieldset>
138
146
139
                <fieldset class="action">
147
                <fieldset class="action">
140
                    <input type="submit" value="Save" />
148
                    <input type="submit" class="principal" value="Save" />
141
                    <a href="clubs.pl" class="cancel">Cancel</a>
149
                    <a href="clubs.pl" class="cancel">Cancel</a>
142
                </fieldset>
150
                </fieldset>
143
            </form>
151
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt (-30 / +41 lines)
Lines 4-9 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE Koha %]
5
[% USE Koha %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Patron clubs &rsaquo; Tools &rsaquo; Koha</title>
11
<title>Patron clubs &rsaquo; Tools &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="clubs_clubs" class="clubs">
16
<body id="clubs_clubs" class="clubs">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'cat-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 28-33 Link Here
28
            </a>
30
            </a>
29
        </li>
31
        </li>
30
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
31
</nav>
39
</nav>
32
40
33
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 35-41 Link Here
35
        <div class="col-sm-10 col-sm-push-2">
43
        <div class="col-sm-10 col-sm-push-2">
36
            <main>
44
            <main>
37
45
38
                <h1>Patron clubs</h1>
46
                <div id="toolbar" class="btn-toolbar">
47
                    [% IF CAN_user_clubs_edit_templates %]
48
                    <div class="btn-group">
49
                            <a class="btn btn-default pat" href="templates-add-modify.pl"><i class="fa fa-plus"></i> New club template</a>
50
                    </div>
51
                    [% END %]
52
53
                    [% IF CAN_user_clubs_edit_clubs %]
54
                        <div class="btn-group">
55
                            [% IF club_templates.count %]
56
                                <button class="btn btn-default dropdown-toggle pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
57
                            [% ELSE %]
58
                                <button disabled="disabled" class="btn btn-default dropdown-toggle pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
59
                            [% END %]
60
                            <ul class="dropdown-menu">
61
                                [% FOREACH t IN club_templates %]
62
                                    <li><a href="/cgi-bin/koha/clubs/clubs-add-modify.pl?club_template_id=[% t.id | uri %]">[% t.name | html %]</a></li>
63
                                [% END %]
64
                            </ul>
65
                        </div>
66
                    [% END %]
67
                </div>
68
69
70
                <h2>Patron clubs</h2>
39
71
40
                [% IF club_template %]
72
                [% IF club_template %]
41
                    <div class="dialog message">
73
                    <div class="dialog message">
Lines 55-70 Link Here
55
                    </div>
87
                    </div>
56
                [% END %]
88
                [% END %]
57
89
90
            <fieldset id="rows">
58
                <h3>Club templates</h3>
91
                <h3>Club templates</h3>
59
92
60
                [% IF CAN_user_clubs_edit_templates %]
61
                    <div class="btn-toolbar">
62
                        <div class="btn-group">
63
                            <a class="btn btn-default" href="templates-add-modify.pl"><i class="fa fa-plus"></i> New club template</a>
64
                        </div>
65
                    </div>
66
                [% END %]
67
68
                [% IF club_templates.count %]
93
                [% IF club_templates.count %]
69
                    <table id="club-templates-table">
94
                    <table id="club-templates-table">
70
                        <thead>
95
                        <thead>
Lines 99-108 Link Here
99
                                    <td>[% Branches.GetName( t.branchcode ) | html %]</td>
124
                                    <td>[% Branches.GetName( t.branchcode ) | html %]</td>
100
                                    <td class="actions">
125
                                    <td class="actions">
101
                                        [% IF CAN_user_clubs_edit_templates %]
126
                                        [% IF CAN_user_clubs_edit_templates %]
102
                                            <a class="btn btn-xs btn-default" style="white-space:nowrap"  href="/cgi-bin/koha/clubs/templates-add-modify.pl?id=[% t.id | html %]">
127
                                            <a id="lientype" class="btn btn-xs btn-default" style="white-space:nowrap"  href="/cgi-bin/koha/clubs/templates-add-modify.pl?id=[% t.id | html %]">
103
                                                <i class="fa fa-pencil"></i> Edit
128
                                                <i class="fa fa-pencil"></i> Edit
104
                                            </a>
129
                                            </a>
105
                                            <a class="btn btn-xs btn-default delete_template" href="#" data-id="[% t.id | html %]" data-name="[% t.name | html %]">
130
                                            <a id="lientype" class="btn btn-xs btn-default delete_template" href="#" data-id="[% t.id | html %]" data-name="[% t.name | html %]">
106
                                                <i class="fa fa-trash"></i> Delete
131
                                                <i class="fa fa-trash"></i> Delete
107
                                            </a>
132
                                            </a>
108
                                        [% END %]
133
                                        [% END %]
Lines 114-139 Link Here
114
                [% ELSE %]
139
                [% ELSE %]
115
                    <div class="dialog message">No club templates defined.</div>
140
                    <div class="dialog message">No club templates defined.</div>
116
                [% END %]
141
                [% END %]
142
            </fieldset>
117
143
144
            <fieldset id="rows">
118
                <h3>Clubs</h3>
145
                <h3>Clubs</h3>
119
146
120
                [% IF CAN_user_clubs_edit_clubs %]
121
                    <div class="btn-toolbar">
122
                        <div class="btn-group">
123
                            [% IF club_templates.count %]
124
                                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
125
                            [% ELSE %]
126
                                <button disabled="disabled" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New club <span class="caret"></span></button>
127
                            [% END %]
128
                            <ul class="dropdown-menu">
129
                                [% FOREACH t IN club_templates %]
130
                                    <li><a href="/cgi-bin/koha/clubs/clubs-add-modify.pl?club_template_id=[% t.id | uri %]">[% t.name | html %]</a></li>
131
                                [% END %]
132
                            </ul>
133
                        </div>
134
                    </div>
135
                [% END %]
136
137
                [% IF clubs.count %]
147
                [% IF clubs.count %]
138
                    [% INCLUDE 'clubs-table.inc' %]
148
                    [% INCLUDE 'clubs-table.inc' %]
139
                [% ELSE %]
149
                [% ELSE %]
Lines 143-148 Link Here
143
                        <div class="dialog message">No clubs defined. A club template must be defined before a club can be defined.</div>
153
                        <div class="dialog message">No clubs defined. A club template must be defined before a club can be defined.</div>
144
                    [% END %]
154
                    [% END %]
145
                [% END %]
155
                [% END %]
156
            </fieldset>
146
157
147
            </main>
158
            </main>
148
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
159
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt (-2 / +2 lines)
Lines 21-27 Link Here
21
                    <td>[% e.date_enrolled | $KohaDates %]</td>
21
                    <td>[% e.date_enrolled | $KohaDates %]</td>
22
                    [% IF CAN_user_clubs_enroll %]
22
                    [% IF CAN_user_clubs_enroll %]
23
                        <td>
23
                        <td>
24
                            <button class="btn btn-xs btn-default" onclick="cancelEnrollment( [% e.id | html %] )">
24
                            <button id="lientype" class="btn btn-xs btn-default" onclick="cancelEnrollment( [% e.id | html %] )">
25
                                <i class="fa fa-remove"></i> Cancel enrollment
25
                                <i class="fa fa-remove"></i> Cancel enrollment
26
                            </button>
26
                            </button>
27
                        </td>
27
                        </td>
Lines 52-58 Link Here
52
                    <td>[% c.description | html %]</td>
52
                    <td>[% c.description | html %]</td>
53
                    [% IF CAN_user_clubs_enroll %]
53
                    [% IF CAN_user_clubs_enroll %]
54
                        <td class="action">
54
                        <td class="action">
55
                            <button class="btn btn-xs btn-default" onclick="loadEnrollmentForm([% c.id | html %])">
55
                            <button class="btn btn-xs btn-default" id="lientype" onclick="loadEnrollmentForm([% c.id | html %])">
56
                                <i class="fa fa-plus"></i> Enroll
56
                                <i class="fa fa-plus"></i> Enroll
57
                            </button>
57
                            </button>
58
                        </td>
58
                        </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt (-3 / +3 lines)
Lines 1-9 Link Here
1
[% USE AuthorisedValues %]
1
[% USE AuthorisedValues %]
2
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
2
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
3
3
4
<h1>
4
<h2>
5
    Enroll in <em>[% club.name | html %]</em>
5
    Enroll in <em>[% club.name | html %]</em>
6
</h1>
6
</h2>
7
7
8
<div class="container">
8
<div class="container">
9
    <form id="patron-enrollment-form">
9
    <form id="patron-enrollment-form">
Lines 28-34 Link Here
28
                [% END %]
28
                [% END %]
29
29
30
                <li>
30
                <li>
31
                    <a href="#" class="btn btn-sm btn-default" onclick="addEnrollment(); return false;">Finish enrollment</a>
31
                    <a href="#" class="btn btn-sm btn-default principal" onclick="addEnrollment(); return false;">Finish enrollment</a>
32
                    <a class="cancel" href="#" onclick="showClubs(); return false;">Cancel</a>
32
                    <a class="cancel" href="#" onclick="showClubs(); return false;">Cancel</a>
33
                </li>
33
                </li>
34
            </ol>
34
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt (-11 / +19 lines)
Lines 1-6 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [% IF club_template %]
9
    [% IF club_template %]
Lines 19-26 Link Here
19
</head>
22
</head>
20
23
21
<body id="clubs_templates_add_modify" class="clubs">
24
<body id="clubs_templates_add_modify" class="clubs">
22
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' form=formulaire %]
23
[% INCLUDE 'cat-search.inc' %]
24
26
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <ol>
28
    <ol>
Lines 43-48 Link Here
43
            </a>
45
            </a>
44
        </li>
46
        </li>
45
    </ol>
47
    </ol>
48
        <ol>
49
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
50
        </ol>
51
        <ol>
52
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
53
        </ol>
46
</nav>
54
</nav>
47
55
48
<div class="main container-fluid">
56
<div class="main container-fluid">
Lines 52-64 Link Here
52
            <form method="post" class="validated">
60
            <form method="post" class="validated">
53
                <input type="hidden" name="id" value="[% club_template.id | html %]" />
61
                <input type="hidden" name="id" value="[% club_template.id | html %]" />
54
62
55
                <h1>
63
                <h2>
56
                    [% IF club_template %]
64
                    [% IF club_template %]
57
                        Modify club template <em>[% club_template.name | html %]</em>
65
                        Modify club template <em>[% club_template.name | html %]</em>
58
                    [% ELSE %]
66
                    [% ELSE %]
59
                        Create a new club template
67
                        Create a new club template
60
                    [% END %]
68
                    [% END %]
61
                </h1>
69
                </h2>
62
70
63
71
64
                <fieldset class="rows">
72
                <fieldset class="rows">
Lines 107-113 Link Here
107
                </fieldset>
115
                </fieldset>
108
116
109
                <fieldset class="rows">
117
                <fieldset class="rows">
110
                    <legend>Club fields:</legend>
118
                    <h3>Club fields</h3>
111
                    <p><span class="hint">These fields will be used in the creation of clubs based on this template</span></p>
119
                    <p><span class="hint">These fields will be used in the creation of clubs based on this template</span></p>
112
                    <div id="club-template-fields">
120
                    <div id="club-template-fields">
113
                        [% FOREACH f IN club_template.club_template_fields %]
121
                        [% FOREACH f IN club_template.club_template_fields %]
Lines 141-154 Link Here
141
                        [% END %]
149
                        [% END %]
142
                    </div>
150
                    </div>
143
                    <fieldset class="action">
151
                    <fieldset class="action">
144
                        <a href="#" class="add_club_field">
152
                         <a id="lientype" href="#" class="add_club_field">
145
                            <i class="fa fa-plus"></i> Add new field
153
                            <i class="fa fa-plus"></i> Add new field
146
                        </a>
154
                        </a>
147
                    </fieldset>
155
                    </fieldset>
148
                </fieldset>
156
                </fieldset>
149
157
150
                <fieldset class="rows">
158
                <fieldset class="rows">
151
                    <legend>Enrollment fields</legend>
159
                    <h3>Enrollment fields</h3>
152
                    <p><span class="hint">These fields will be used when enrolling a patron in a club based on this template</span></p>
160
                    <p><span class="hint">These fields will be used when enrolling a patron in a club based on this template</span></p>
153
                    <div id="club-template-enrollment-fields">
161
                    <div id="club-template-enrollment-fields">
154
                        [% FOREACH f IN club_template.club_template_enrollment_fields %]
162
                        [% FOREACH f IN club_template.club_template_enrollment_fields %]
Lines 186-192 Link Here
186
                        [% END %]
194
                        [% END %]
187
                    </div>
195
                    </div>
188
                    <fieldset class="action">
196
                    <fieldset class="action">
189
                        <a href="#" class="add_enrollment_field">
197
                        <a id="lientype" href="#" class="add_enrollment_field">
190
                            <i class="fa fa-plus"></i> Add new field
198
                            <i class="fa fa-plus"></i> Add new field
191
                        </a>
199
                        </a>
192
                    </fieldset>
200
                    </fieldset>
Lines 194-200 Link Here
194
202
195
                <fieldset class="action">
203
                <fieldset class="action">
196
                    <input type="hidden" name="id" value="[% club_template.id | html %]" />
204
                    <input type="hidden" name="id" value="[% club_template.id | html %]" />
197
                    <input type="submit" value="Save" />
205
                    <input type="submit" class="principal" value="Save" />
198
                    <a href="clubs.pl" class="cancel">Cancel</a>
206
                    <a href="clubs.pl" class="cancel">Cancel</a>
199
                </fieldset>
207
                </fieldset>
200
            </form>
208
            </form>
Lines 226-232 Link Here
226
            </select>
234
            </select>
227
        </li>
235
        </li>
228
    </ol>
236
    </ol>
229
    <fieldset class="action"><a href="#" class="delete_club_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
237
    <fieldset class="action"><a id="lientype" href="#" class="delete_club_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
230
    <hr/>
238
    <hr/>
231
</div>
239
</div>
232
240
Lines 253-259 Link Here
253
            </select>
261
            </select>
254
        </li>
262
        </li>
255
    </ol>
263
    </ol>
256
    <fieldset class="action"><a href="#" class="delete_enrollment_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
264
    <fieldset class="action"><a id="lientype" href="#" class="delete_enrollment_field"><i class="fa fa-trash"></i> Delete field</a></fieldset>
257
</div>
265
</div>
258
266
259
267
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt (-2 / +10 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Add reserves &rsaquo; [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
6
<title>Add reserves &rsaquo; [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
<body id="courses_add_items_step1" class="course">
9
<body id="courses_add_items_step1" class="course">
7
10
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'cat-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 25-30 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt (-2 / +10 lines)
Lines 1-5 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF is_edit || course_reserve %]Edit reserve[% ELSE %]Add reserves[% END %] &rsaquo; [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
7
<title>[% IF is_edit || course_reserve %]Edit reserve[% ELSE %]Add reserves[% END %] &rsaquo; [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
Lines 7-14 Link Here
7
10
8
<body id="courses_add_items_step2" class="course">
11
<body id="courses_add_items_step2" class="course">
9
12
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'cat-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 28-33 Link Here
28
            </a>
30
            </a>
29
        </li>
31
        </li>
30
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
31
</nav>
39
</nav>
32
40
33
<div class="main container-fluid">
41
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt (-2 / +10 lines)
Lines 3-8 Link Here
3
[% USE ItemTypes %]
3
[% USE ItemTypes %]
4
4
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
9
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Add reserves &rsaquo; [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
11
<title>Add reserves &rsaquo; [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
Lines 10-17 Link Here
10
</head>
13
</head>
11
<body id="courses_add_items_step1" class="course">
14
<body id="courses_add_items_step1" class="course">
12
15
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'cat-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 30-35 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt (-2 / +10 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% PROCESS 'i18n.inc' %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
6
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Remove reserves &rsaquo; Course reserves &rsaquo; Koha</title>
8
<title>Remove reserves &rsaquo; Course reserves &rsaquo; Koha</title>
Lines 7-14 Link Here
7
</head>
10
</head>
8
<body id="courses_rm_items" class="course">
11
<body id="courses_rm_items" class="course">
9
12
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'cat-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-2 / +10 lines)
Lines 6-11 Link Here
6
[% USE TablesSettings %]
6
[% USE TablesSettings %]
7
[% PROCESS 'i18n.inc' %]
7
[% PROCESS 'i18n.inc' %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'cat-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Course details for [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
13
<title>Course details for [% course.course_name | html %] &rsaquo; Course reserves &rsaquo; Koha</title>
11
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
Lines 22-29 Link Here
22
25
23
<body id="courses_course_details" class="course">
26
<body id="courses_course_details" class="course">
24
27
25
[% INCLUDE 'header.inc' %]
28
[% INCLUDE 'header.inc' form=formulaire %]
26
[% INCLUDE 'cat-search.inc' %]
27
29
28
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
30
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
29
    <ol>
31
    <ol>
Lines 39-44 Link Here
39
            </a>
41
            </a>
40
        </li>
42
        </li>
41
    </ol>
43
    </ol>
44
        <ol>
45
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
46
        </ol>
47
        <ol>
48
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
49
        </ol>
42
</nav>
50
</nav>
43
51
44
    <div class="main container-fluid">
52
    <div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt (-2 / +10 lines)
Lines 3-8 Link Here
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE TablesSettings %]
4
[% USE TablesSettings %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% PROCESS 'i18n.inc' %]
9
[% PROCESS 'i18n.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Course reserves &rsaquo; Koha</title>
11
<title>Course reserves &rsaquo; Koha</title>
Lines 12-19 Link Here
12
15
13
<body id="courses_course_reserves" class="course">
16
<body id="courses_course_reserves" class="course">
14
17
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'cat-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 24-29 Link Here
24
            <a href="#" aria-current="page">Course reserves</a>
26
            <a href="#" aria-current="page">Course reserves</a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
    <div class="main container-fluid">
37
    <div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt (-2 / +10 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% PROCESS 'i18n.inc' %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF course_name %] Edit [% course_name | html %] [% ELSE %] New course [% END %] &rsaquo; Course reserves &rsaquo; Koha</title>
7
<title>[% IF course_name %] Edit [% course_name | html %] [% ELSE %] New course [% END %] &rsaquo; Course reserves &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
Lines 15-22 Link Here
15
18
16
<body id="courses_course" class="course">
19
<body id="courses_course" class="course">
17
20
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'cat-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 32-37 Link Here
32
            </a>
34
            </a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
</nav>
43
</nav>
36
44
37
[% IF ( departments ) %]
45
[% IF ( departments ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt (-2 / +12 lines)
Lines 1-10 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
5
1
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Course reserves &rsaquo; Koha</title>
7
<title>Course reserves &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
4
<body id="courses_invalid_course" class="course">
9
<body id="courses_invalid_course" class="course">
5
10
6
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
7
[% INCLUDE 'cat-search.inc' %]
8
12
9
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
10
    <ol>
14
    <ol>
Lines 17-22 Link Here
17
            </a>
21
            </a>
18
        </li>
22
        </li>
19
    </ol>
23
    </ol>
24
        <ol>
25
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
26
        </ol>
27
        <ol>
28
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
29
        </ol>
20
</nav>
30
</nav>
21
31
22
<div class="main container-fluid">
32
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt (-2 / +11 lines)
Lines 1-11 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
1
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Error [% errno | html %] &rsaquo; Koha</title>
6
<title>Error [% errno | html %] &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
8
</head>
5
<body id="err_[% errno | html %]" class="err">
9
<body id="err_[% errno | html %]" class="err">
6
10
7
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
8
[% INCLUDE 'cat-search.inc' %]
9
12
10
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
11
    <ol>
14
    <ol>
Lines 18-23 Link Here
18
            </a>
21
            </a>
19
        </li>
22
        </li>
20
    </ol>
23
    </ol>
24
        <ol>
25
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
26
        </ol>
27
        <ol>
28
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
29
        </ol>
21
</nav>
30
</nav>
22
31
23
    <div class="main container-fluid">
32
    <div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-2 / +10 lines)
Lines 4-9 Link Here
4
[% USE Koha %]
4
[% USE Koha %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% USE AuthorisedValues %]
10
[% USE AuthorisedValues %]
8
[% USE TablesSettings %]
11
[% USE TablesSettings %]
9
[% USE Price %]
12
[% USE Price %]
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="illrequests" class="ill">
19
<body id="illrequests" class="ill">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'cat-search.inc' %]
19
21
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
23
    <ol>
Lines 49-54 Link Here
49
            </li>
51
            </li>
50
        [% END %]
52
        [% END %]
51
    </ol>
53
    </ol>
54
        <ol>
55
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
56
        </ol>
57
        <ol>
58
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
59
        </ol>
52
</nav>
60
</nav>
53
61
54
<div class="main container-fluid">
62
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-133 / +101 lines)
Lines 4-33 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'home-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Koha staff interface</title>
11
<title>Koha staff interface</title>
9
[% Asset.css("css/mainpage.css") | $raw %]
12
[% Asset.css("css/mainpage.css") | $raw %]
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
<body id="main_intranet-main" class="intranet-main">
13
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'home-search.inc' %]
15
15
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<body id="main_intranet-main" class="intranet-main">
17
    <ol>
17
    [% INCLUDE 'header.inc' form=formulaire %]
18
        <li>
18
19
            <a href="#" aria-current="page">Home</a>
19
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
        </li>
20
        <ol>
21
    </ol>
21
            <li>
22
</nav>
22
                <a href="/cgi-bin/koha/mainpage.pl" aria-current="page">Home</a>
23
            </li>
24
        </ol>
25
        <ol>
26
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
        </ol>
28
        <ol>
29
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
30
        </ol>
31
    </nav>
23
32
24
    <div id="container-main" class="container-fluid">
33
    <div id="container-main" class="container-fluid">
25
        <div class="row">
34
        <div class="row">
26
            <h1 class="sr-only">Koha home</h1>
35
            <h1 class="sr-only">Koha home</h1>
27
            <div class="col-sm-3">
36
            <div class="col-sm-3">
37
                <div id="area-news">
38
                    <h3><span class="news_title">News</span></h3>
28
                [% IF ( koha_news.count ) %]
39
                [% IF ( koha_news.count ) %]
29
                    <div id="area-news">
30
                        <h3><span class="news_title">News</span></h3>
31
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
40
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
32
                        [% FOREACH koha_new IN koha_news %]
41
                        [% FOREACH koha_new IN koha_news %]
33
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.title | html %]</h4>
42
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.title | html %]</h4>
Lines 41-173 Link Here
41
                                </p>
50
                                </p>
42
                            </div>
51
                            </div>
43
                        [% END %]
52
                        [% END %]
44
                    </div><!-- /additional-contents -->
45
                [% END %]
53
                [% END %]
54
                </div><!-- /additional-contents -->
55
56
                <div id="area-news">
57
                    <h3>Quote of the day</h3>
58
                    
46
                [% IF ( daily_quote ) %]
59
                [% IF ( daily_quote ) %]
47
                    <div id="area-news">
48
                        <h3>Quote of the day</h3>
49
                        <div class="newsitem">
60
                        <div class="newsitem">
50
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
61
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
51
                        </div>
62
                        </div>
52
                    </div>
53
                [% END %]
63
                [% END %]
54
            </div> <!-- /.col-sm-2 -->
64
                </div>
55
            <div class="col-sm-9">
56
                <div class="row">
57
                    <div class="col-xs-6">
58
                        <ul class="biglinks-list">
59
                            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
60
                            <li>
61
                                <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl"><i class="fa fa-fw fa-exchange"></i>Circulation</a>
62
                            </li>
63
                            [% END %]
64
65
                            [% IF CAN_user_borrowers_edit_borrowers %]
66
                            <li>
67
                                <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-fw fa-id-card-o"></i>Patrons</a>
68
                            </li>
69
                            [% END %]
70
71
                            [% IF ( CAN_user_catalogue ) %]
72
                            <li>
73
                                <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">
74
                                    <span class="fa-stack">
75
                                        <i class="fa fa-fw fa-book fa-stack-1x"></i>
76
                                        <i class="fa fa-fw fa-search fa-stack-2x"></i>
77
                                    </span>
78
                                    Advanced search
79
                                </a>
80
                            </li>
81
                            <li>
82
                                <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/itemsearch.pl">
83
                                    <span class="fa-stack">
84
                                        <i class="fa fa-fw fa-list fa-stack-1x"></i>
85
                                        <i class="fa fa-fw fa-search fa-stack-2x"></i>
86
                                    </span>
87
                                    Item search
88
                                </a>
89
                            </li>
90
                            [% END %]
91
92
                            <li>
93
                                <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl"><i class="fa fa-fw fa-list-alt"></i>Lists</a>
94
                            </li>
95
96
                            [% IF ( UseCourseReserves ) %]
97
                                <li>
98
                                    <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl"><i class="fa fa-fw fa-book"></i>Course reserves</a>
99
                                </li>
100
                            [% END %]
101
102
                            <li>
103
                                <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl"><i class="fa fa-fw fa-link"></i>Authorities</a>
104
                            </li>
105
                            [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
106
                            <li>
107
                                <a class="icon_general icon_ill" href="/cgi-bin/koha/ill/ill-requests.pl"><i class="fa fa-fw fa-retweet"></i>ILL requests</a>
108
                            </li>
109
                            [% END %]
110
                        </ul>
111
                    </div> <!-- /.col-xs-6 -->
112
                    <div class="col-xs-6">
113
                        <ul class="biglinks-list">
114
115
                            [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %]
116
                            <li>
117
                                <a class="icon_general icon_pos" href="/cgi-bin/koha/pos/pay.pl"><i class="fa fa-fw fa-shopping-cart"></i>Point of sale</a>
118
                            </li>
119
                            [% END %]
120
121
                            [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
122
                            <li>
123
                                <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl"><i class="fa fa-fw fa-tag"></i>Cataloging</a>
124
                            </li>
125
                            [% END %]
126
127
                            [% IF ( CAN_user_serials ) %]
128
                            <li>
129
                                <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl"><i class="fa fa-fw fa-newspaper-o"></i>Serials</a>
130
                                <span class="biglink"></span>
131
                            </li>
132
                            [% END %]
133
134
                            [% IF ( CAN_user_acquisition ) %]
135
                            <li>
136
                                <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl"><i class="fa fa-fw fa-gift"></i>Acquisitions</a>
137
                                <span class="biglink"></span>
138
                            </li>
139
                            [% END %]
140
141
                            [% IF ( CAN_user_reports ) %]
142
                            <li>
143
                                <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl"><i class="fa fa-fw fa-pie-chart"></i>Reports</a>
144
                            </li>
145
                            [% END %]
146
147
148
                            [% IF ( CAN_user_tools ) %]
149
                            <li>
150
                                <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl"><i class="fa fa-fw fa-wrench"></i>Tools</a>
151
                            </li>
152
                            [% END %]
153
154
                            [% IF ( CAN_user_parameters ) %]
155
                            <li>
156
                                <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-cogs"></i>Koha administration</a>
157
                            </li>
158
                            [% END %]
159
                            <li>
160
                                <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl"><img src="[% interface | html %]/[% theme | html %]/img/koha-egg.svg" alt="Koha Logo SVG"/> About Koha</a>
161
                            </li>
162
                        </ul>
163
                    </div> <!-- /.col-sm-6 -->
164
65
165
                </div> <!-- /.row -->
66
                [%# Following statement must be in one line for translatability %]
166
                <div class="row">
167
                    <div class="col-sm-12">
168
                        [%# Following statement must be in one line for translatability %]
169
                        [% IF ( CAN_user_tools_moderate_comments  && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) || ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) || ( CAN_user_suggestions_suggestions_manage && ( pendingsuggestions || all_pendingsuggestions )) || ( CAN_user_borrowers_edit_borrowers && pending_discharge_requests ) || pending_article_requests || ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count ) || ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) || already_ran_jobs %]
67
                        [% IF ( CAN_user_tools_moderate_comments  && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) || ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) || ( CAN_user_suggestions_suggestions_manage && ( pendingsuggestions || all_pendingsuggestions )) || ( CAN_user_borrowers_edit_borrowers && pending_discharge_requests ) || pending_article_requests || ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count ) || ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) || already_ran_jobs %]
170
                            <div id="area-pending">
68
                            <div id="area-news">
171
                                [% IF pending_article_requests %]
69
                                [% IF pending_article_requests %]
172
                                <div class="pending-info" id="article_requests_pending">
70
                                <div class="pending-info" id="article_requests_pending">
173
71
Lines 179-185 Link Here
179
                                [% IF CAN_user_suggestions_suggestions_manage && ( pendingsuggestions || all_pendingsuggestions ) %]
77
                                [% IF CAN_user_suggestions_suggestions_manage && ( pendingsuggestions || all_pendingsuggestions ) %]
180
                                <div class="pending-info" id="suggestions_pending">
78
                                <div class="pending-info" id="suggestions_pending">
181
79
182
                                    Suggestions pending approval:
80
                                    <h3>Suggestions pending approval</h3>
183
                                    <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED">
81
                                    <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED">
184
                                    <span id="pendingsuggestions" class="pending-number-link">[% Branches.GetLoggedInBranchname | html %]: [% pendingsuggestions | html %]</span>
82
                                    <span id="pendingsuggestions" class="pending-number-link">[% Branches.GetLoggedInBranchname | html %]: [% pendingsuggestions | html %]</span>
185
                                    </a>
83
                                    </a>
Lines 244-253 Link Here
244
                            </div>
142
                            </div>
245
143
246
                        [% END %]
144
                        [% END %]
145
            </div> <!-- /.col-sm-2 -->
146
147
148
            <div class="col-sm-9">
149
                <div class="row">
150
                    <div class="menuspe"><ul class="biglinks-list">
151
                        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
152
                            <li><a class="accueil" href="/cgi-bin/koha/circ/circulation-home.pl"><i class="fa fa-fw fa-exchange fa-2x"></i><h1>Circulation</h1></a></li>
153
                        [% END %]
154
155
                        [% IF CAN_user_borrowers_edit_borrowers %]
156
                            <li><a class="accueil" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-fw fa-id-card-o fa-2x"></i><h1>Patrons</h1></a></li>
157
                        [% END %]
158
159
                         </ul></div>
160
                        <div class="menuspe"><ul class="biglinks-list">
161
162
                        [% IF ( CAN_user_catalogue ) %]
163
                            <li><a class="accueil" href="/cgi-bin/koha/catalogue/search.pl"><i class="fa fa-fw fa-search fa-2x"></i><h1>Advanced search</h1></a></li>
164
                            <li><a class="accueil" href="/cgi-bin/koha/catalogue/itemsearch.pl"><i class="fa fa-fw fa-search fa-2x"></i><h1>Item search</h1></a></li>
165
                        [% END %]
166
167
                        <li><a class="accueil" href="/cgi-bin/koha/virtualshelves/shelves.pl"><i class="fa fa-fw fa-list-alt fa-2x"></i><h1>Lists</h1></a></li>
247
168
248
                    </div> <!-- /.col-sm-12 -->
169
                        [% IF ( UseCourseReserves ) %]
170
                            <li><a class="accueil" href="/cgi-bin/koha/course_reserves/course-reserves.pl"><i class="fa fa-fw fa-book fa-2x"></i><h1>Course reserves</h1></a></li>
171
                        [% END %]
172
173
                    </ul></div>
174
                    <div class="menuspe"><ul class="biglinks-list">
175
176
                            <li><a class="accueil" href="/cgi-bin/koha/authorities/authorities-home.pl"><i class="fa fa-fw fa-link fa-2x"></i><h1>Authorities</h1></a></li>
177
                        [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
178
                            <li><a class="accueil" href="/cgi-bin/koha/ill/ill-requests.pl"><i class="fa fa-fw fa-retweet fa-2x"></i><h1>ILL requests</h1></a></li>
179
                        [% END %]
180
181
                        [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %]
182
                            <li><a class="accueil" href="/cgi-bin/koha/pos/pay.pl"><i class="fa fa-fw fa-shopping-cart fa-2x"></i><h1>Point of sale</h1></a></li>
183
                        [% END %]
184
185
                        [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
186
                            <li><a class="accueil" href="/cgi-bin/koha/cataloguing/addbooks.pl"><i class="fa fa-fw fa-tag fa-2x"></i><h1>Cataloging</h1></a></li>
187
                        [% END %]
188
189
                        [% IF ( CAN_user_serials ) %]
190
                            <li><a class="accueil" href="/cgi-bin/koha/serials/serials-home.pl"><i class="fa fa-fw fa-newspaper-o fa-2x"></i><span class="biglink"></span><h1>Serials</h1></a></li>
191
                        [% END %]
192
193
                        [% IF ( CAN_user_acquisition ) %]
194
                            <li><a class="accueil" href="/cgi-bin/koha/acqui/acqui-home.pl"><i class="fa fa-fw fa-gift fa-2x"></i><span class="biglink"></span><h1>Acquisitions</h1></a></li>
195
                        [% END %]
196
                    </ul></div>
197
                        <div class="vert"><ul class="biglinks-list">
198
                        [% IF ( CAN_user_reports ) %]
199
                            <li><a class="accueil" id="reglages" href="/cgi-bin/koha/reports/reports-home.pl"><i class="fa fa-fw fa-pie-chart fa-2x"></i><h1>Reports</h1></a></li>
200
                        [% END %]
201
202
203
                        [% IF ( CAN_user_tools ) %]
204
                            <li><a class="accueil" id="reglages" href="/cgi-bin/koha/tools/tools-home.pl"><i class="fa fa-fw fa-wrench fa-2x"></i><h1>Tools</h1></a></li>
205
                        [% END %]
206
207
                        [% IF ( CAN_user_parameters ) %]
208
                            <li><a class="accueil" id="reglages" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-cogs fa-2x"></i><h1>Administration</h1></a></li>
209
                        [% END %]
210
211
                            <li><a class="accueil" id="reglages" href="/cgi-bin/koha/about.pl"><img src="/intranet-tmpl/prog/img/koha-egg.svg" alt="Koha Logo SVG"><h1>About Koha</h1></a></li>
212
                        </div>
213
                    </ul></div>
249
                </div> <!-- /.row -->
214
                </div> <!-- /.row -->
250
215
216
251
                [% IF ( IntranetmainUserblock ) %]
217
                [% IF ( IntranetmainUserblock ) %]
252
                    <div class="row">
218
                    <div class="row">
253
                        <div class="col-sm-12">
219
                        <div class="col-sm-12">
Lines 259-268 Link Here
259
                        </div>
225
                        </div>
260
                    </div>
226
                    </div>
261
                [% END %]
227
                [% END %]
228
            
262
            </div> <!-- /.col-sm-9 -->
229
            </div> <!-- /.col-sm-9 -->
263
230
264
        </div> <!-- /.row -->
231
        </div> <!-- /.row -->
265
    </div> <!-- /.container-fluid -->
232
    </div> <!-- /.container-fluid -->
233
    <div class="menuspebas"><div class="bas"><a target="_blank" href="https://koha-community.org/"></a></div></div>
266
234
267
[% MACRO jsinclude BLOCK %]
235
[% MACRO jsinclude BLOCK %]
268
    <script>
236
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt (-5 / +7 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]<title>Barcode image generator &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-open.inc' %]<title>Barcode image generator &rsaquo; Tools &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
[% Asset.css("css/humanmsg.css") | $raw %]
9
[% Asset.css("css/humanmsg.css") | $raw %]
Lines 40-47 Link Here
40
</head>
43
</head>
41
44
42
<body id="labels_spinelabel-home" class="tools labels">
45
<body id="labels_spinelabel-home" class="tools labels">
43
[% INCLUDE 'header.inc' %]
46
[% INCLUDE 'header.inc' form=formulaire %]
44
[% INCLUDE 'cat-search.inc' %]
45
47
46
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
48
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
47
    <ol>
49
    <ol>
Lines 66-72 Link Here
66
                <h2>Barcode image generator</h2>
68
                <h2>Barcode image generator</h2>
67
69
68
                <form action="/cgi-bin/koha/svc/barcode" method="post" id="barcodegen">
70
                <form action="/cgi-bin/koha/svc/barcode" method="post" id="barcodegen">
69
                    <fieldset class="brief">
71
                    <fieldset class="searchresults">
70
                        <div class="row">
72
                        <div class="row">
71
                            <div class="col-sm-6">
73
                            <div class="col-sm-6">
72
                                <ol>
74
                                <ol>
Lines 109-119 Link Here
109
                                    </li>
111
                                    </li>
110
                                </ol>
112
                                </ol>
111
                                <fieldset class="action">
113
                                <fieldset class="action">
112
                                    <input type="submit" value="Show barcode" />
114
                                    <input type="submit" class="principal" value="Show barcode" />
113
                                </fieldset>
115
                                </fieldset>
114
                            </div>
116
                            </div>
115
                            <div class="col-sm-6">
117
                            <div class="col-sm-6">
116
                                <div id="barcode_container">
118
                                <div id="barcode_container" style="overflow:auto">
117
                                    <img id="barcode_image" />
119
                                    <img id="barcode_image" />
118
                                    <textarea readonly="readonly" rows="5" cols="40" id="urltext"></textarea>
120
                                    <textarea readonly="readonly" rows="5" cols="40" id="urltext"></textarea>
119
                                </div>
121
                                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt (-3 / +3 lines)
Lines 3-15 Link Here
3
<body id="labels_label-bib-search" class="tools labels">
3
<body id="labels_label-bib-search" class="tools labels">
4
<div id="main-compact">
4
<div id="main-compact">
5
5
6
<h1>Search</h1>
6
<h2>Search</h2>
7
7
8
<form name="f" method="post">
8
<form name="f" method="post">
9
	<input type="hidden" name="op" value="do_search" />
9
	<input type="hidden" name="op" value="do_search" />
10
	<input type="hidden" name="type" value="intranet" />
10
	<input type="hidden" name="type" value="intranet" />
11
	<div class="details">
11
	<div class="details">
12
		<h2>Search on</h2>
12
		<h3>Search on</h3>
13
		<p>
13
		<p>
14
			<label for="category">Name or ISSN: </label>
14
			<label for="category">Name or ISSN: </label>
15
			[% category | html %]
15
			[% category | html %]
Lines 25-31 Link Here
25
			<input type="hidden" id="index" name="index" value="[% index | html %]" />
25
			<input type="hidden" id="index" name="index" value="[% index | html %]" />
26
		</p>
26
		</p>
27
		<p>
27
		<p>
28
			<input type="submit" value="Start search" class="submit" />
28
			<input type="submit" value="Start search" class="submit principal" />
29
		</p>
29
		</p>
30
	</div>
30
	</div>
31
</form>
31
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-14 / +24 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE ItemTypes %]
3
[% USE ItemTypes %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
    [% INCLUDE 'doc-head-open.inc' %]
8
    [% INCLUDE 'doc-head-open.inc' %]
6
    <title>[% IF batch_id %]Edit label batch ([% batch_id | html %])[% ELSE %]New label batch[% END %]&rsaquo; Batches &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
9
    <title>[% IF batch_id %]Edit label batch ([% batch_id | html %])[% ELSE %]New label batch[% END %]&rsaquo; Batches &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
7
    [% INCLUDE 'doc-head-close.inc' %]
10
    [% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="labels_label-edit-batch" class="tools labels" onload="dofocus();">
13
<body id="labels_label-edit-batch" class="tools labels" onload="dofocus();">
11
    [% INCLUDE 'header.inc' %]
14
    [% INCLUDE 'header.inc' form=formulaire %]
12
    [% INCLUDE 'cat-search.inc' %]
13
15
14
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
        <ol>
17
        <ol>
Lines 48-53 Link Here
48
                </li>
50
                </li>
49
            [% END %]
51
            [% END %]
50
        </ol>
52
        </ol>
53
        <ol>
54
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
55
        </ol>
56
        <ol>
57
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
58
        </ol>
51
    </nav>
59
    </nav>
52
60
53
    <div class="main container-fluid">
61
    <div class="main container-fluid">
Lines 58-68 Link Here
58
                        [% INCLUDE 'labels-toolbar.inc' %]
66
                        [% INCLUDE 'labels-toolbar.inc' %]
59
67
60
                        [% IF description %]
68
                        [% IF description %]
61
                            <h1>Edit [% description | html %]</h1>
69
                            <h2>Edit [% description | html %]</h2>
62
                        [% ELSIF batch_id %]
70
                        [% ELSIF batch_id %]
63
                            <h1>Edit label batch [% batch_id | html %]</h1>
71
                            <h2>Edit label batch [% batch_id | html %]</h2>
64
                        [% ELSE %]
72
                        [% ELSE %]
65
                            <h1>New label batch</h1>
73
                            <h2>New label batch</h2>
66
                        [% END %]
74
                        [% END %]
67
75
68
                        [% IF ( err ) %]
76
                        [% IF ( err ) %]
Lines 123-135 Link Here
123
                                </div>
131
                                </div>
124
                            </form>
132
                            </form>
125
                            <div id="batch-manage" class="btn-toolbar">
133
                            <div id="batch-manage" class="btn-toolbar">
126
                                <a class="btn btn-default" id="additems" href="#"><i class="fa fa-plus"></i> Add item(s)</a>[% IF ( table_loop ) %]
134
                                <a class="btn btn-default lientype" id="additems" href="#"><i class="fa fa-plus"></i> Add item(s)</a>
127
                                <a class="btn btn-default" id="savedesc" href="#" data-batch_id="[% batch_id | html %]"><i class="fa fa-save"></i> Save description</a>
135
                                [% IF ( table_loop ) %]
128
                                <a class="btn btn-default" id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected items</a>
136
                                <a class="btn btn-default lientype" id="savedesc" href="#" data-batch_id="[% batch_id | html %]"><i class="fa fa-save"></i> Save description</a>
129
                                <a class="btn btn-default" id="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a>
137
                                <a class="btn btn-default lientype" id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected items</a>
130
                                <a class="btn btn-default" id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a>
138
                                <a class="btn btn-default lientype" id="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a>
131
                                <a class="btn btn-default" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected items</a>
139
                                <a class="btn btn-default lientype" id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a>
132
                                <a class="btn btn-default" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export full batch</a>[% END %]
140
                                <a class="btn btn-default lientype" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected items</a>
141
                                <a class="btn btn-default lientype" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export full batch</a>
142
                                [% END %]
133
                            </div>
143
                            </div>
134
                            [% IF ( table_loop ) %]
144
                            [% IF ( table_loop ) %]
135
                                <form name="items">
145
                                <form name="items">
Lines 165-172 Link Here
165
                                                        [% FOREACH text_field IN table_loo.text_fields %]
175
                                                        [% FOREACH text_field IN table_loo.text_fields %]
166
                                                            [% IF ( text_field.select_field ) %]
176
                                                            [% IF ( text_field.select_field ) %]
167
                                                                <td>
177
                                                                <td>
168
                                                                    <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=remove&amp;batch_id=[% batch_id |url %]&amp;label_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a>
178
                                                                    <a id="lientype" class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=remove&amp;batch_id=[% batch_id |url %]&amp;label_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a>
169
                                                                    <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa fa-share-square-o"></i> Export</a>
179
                                                                    <a id="lientype" class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa fa-share-square-o"></i> Export</a>
170
                                                                </td>
180
                                                                </td>
171
                                                                <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
181
                                                                <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
172
                                                            [% ELSE %]
182
                                                            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt (-15 / +22 lines)
Lines 1-12 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
[%- BLOCK translate_label_types -%]
6
[%- BLOCK translate_label_types -%]
4
    [%-  SWITCH type -%]
7
    [%-  SWITCH type -%]
5
        [%- CASE 'BIB' -%]<span> Only the bibliographic data is printed</span>
8
        [%- CASE 'BIB' -%] Only the bibliographic data is printed
6
        [%- CASE 'BARBIB'-%]<span> Barcode proceeds bibliographic data</span>
9
        [%- CASE 'BARBIB'-%] Barcode proceeds bibliographic data
7
        [%- CASE 'BIBBAR'-%]<span> Bibliographic data proceeds barcode</span>
10
        [%- CASE 'BIBBAR'-%] Bibliographic data proceeds barcode
8
        [%- CASE 'ALT' -%]<span> Barcode and bibliographic data are printed on alternating labels</span>
11
        [%- CASE 'ALT' -%] Barcode and bibliographic data are printed on alternating labels
9
        [%- CASE 'BAR' -%]<span> Only the barcode is printed</span>
12
        [%- CASE 'BAR' -%] Only the barcode is printed
10
    [%- END -%]
13
    [%- END -%]
11
[%- END -%]
14
[%- END -%]
12
    [% INCLUDE 'doc-head-open.inc' %]
15
    [% INCLUDE 'doc-head-open.inc' %]
Lines 16-29 Link Here
16
19
17
[% BLOCK translate_justification_types %]
20
[% BLOCK translate_justification_types %]
18
[%  SWITCH type %]
21
[%  SWITCH type %]
19
[%   CASE 'L' %]<span>Left</span>
22
[%   CASE 'L' %]Left
20
[%   CASE 'C' %]<span>Center</span>
23
[%   CASE 'C' %]Center
21
[%   CASE 'R' %]<span>Right</span>
24
[%   CASE 'R' %]Right
22
[%  END %]
25
[%  END %]
23
[% END %]
26
[% END %]
24
<body id="labels_label-edit-layout" class="tools labels">
27
<body id="labels_label-edit-layout" class="tools labels">
25
    [% INCLUDE 'header.inc' %]
28
    [% INCLUDE 'header.inc' %]
26
    [% INCLUDE 'cat-search.inc' %]
27
29
28
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
30
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
29
        <ol>
31
        <ol>
Lines 54-59 Link Here
54
                </li>
56
                </li>
55
            [% END %]
57
            [% END %]
56
        </ol>
58
        </ol>
59
        <ol>
60
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
61
        </ol>
62
        <ol>
63
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
64
        </ol>
57
    </nav>
65
    </nav>
58
66
59
    <div class="main container-fluid">
67
    <div class="main container-fluid">
Lines 64-72 Link Here
64
                    [% INCLUDE 'labels-toolbar.inc' %]
72
                    [% INCLUDE 'labels-toolbar.inc' %]
65
73
66
                    [% IF ( layout_id ) %]
74
                    [% IF ( layout_id ) %]
67
                        <h1>Edit label layout [% layout_id | html %]</h1>
75
                        <h2>Edit label layout [% layout_id | html %]</h2>
68
                    [% ELSE %]
76
                    [% ELSE %]
69
                        <h1>New label layout</h1>
77
                        <h2>New label layout</h2>
70
                    [% END %]
78
                    [% END %]
71
79
72
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get">
80
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get">
Lines 102-108 Link Here
102
                                </li>
110
                                </li>
103
                                <li>
111
                                <li>
104
                                    <fieldset>
112
                                    <fieldset>
105
                                        <legend>Bibliographic data to print</legend>
113
                                        <h3>Bibliographic data to print</h3>
106
										<ol>
114
										<ol>
107
                                        <li class="radio">[% IF ( layout_string ) %]
115
                                        <li class="radio">[% IF ( layout_string ) %]
108
                                        <input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose order of text fields to print</label>
116
                                        <input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose order of text fields to print</label>
Lines 200-208 Link Here
200
                                    [% END %]
208
                                    [% END %]
201
                                </li>
209
                                </li>
202
                            </ol>
210
                            </ol>
203
                        </fieldset>
211
204
                        <fieldset class="action">
212
                            <input type="submit" class="principal" value="Save" />
205
                            <input type="submit" value="Save" />
206
                            <a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Cancel</a>
213
                            <a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Cancel</a>
207
                            <input type="hidden" name="op" value="save" />
214
                            <input type="hidden" name="op" value="save" />
208
                            <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
215
                            <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt (-10 / +17 lines)
Lines 1-13 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
    [% INCLUDE 'doc-head-open.inc' %]
6
    [% INCLUDE 'doc-head-open.inc' %]
4
    <title>[% IF ( profile_id ) %]Edit printer profile [% profile_id | html %] [% ELSE %] New printer profile [% END%] &rsaquo; Profiles &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
7
    <title>[% IF ( profile_id ) %]Edit printer profile [% profile_id | html %] [% ELSE %] New printer profile [% END%] &rsaquo; Profiles &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
5
    [% INCLUDE 'doc-head-close.inc' %]
8
    [% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
10
8
<body id="labels_label-edit-profile" class="tools labels">
11
<body id="labels_label-edit-profile" class="tools labels">
9
    [% INCLUDE 'header.inc' %]
12
    [% INCLUDE 'header.inc' form=formulaire %]
10
    [% INCLUDE 'cat-search.inc' %]
11
13
12
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
        <ol>
15
        <ol>
Lines 34-39 Link Here
34
                    </a>
36
                    </a>
35
                </li>
37
                </li>
36
        </ol>
38
        </ol>
39
        <ol>
40
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
41
        </ol>
42
        <ol>
43
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
44
        </ol>
37
    </nav>
45
    </nav>
38
46
39
    <div class="main container-fluid">
47
    <div class="main container-fluid">
Lines 44-56 Link Here
44
                    [% INCLUDE 'labels-toolbar.inc' %]
52
                    [% INCLUDE 'labels-toolbar.inc' %]
45
53
46
                    [% IF ( profile_id ) %]
54
                    [% IF ( profile_id ) %]
47
                        <h1>Edit printer profile [% profile_id | html %]</h1>
55
                        <h2>Edit printer profile [% profile_id | html %]</h2>
48
                    [% ELSE %]
56
                    [% ELSE %]
49
                        <h1>New printer profile</h1>
57
                        <h2>New printer profile</h2>
50
                    [% END%]
58
                    [% END%]
51
59
52
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-profile.pl" method="get">
60
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-profile.pl" method="get">
53
                                    <fieldset class="rows"><legend>Profile settings</legend>
61
                                    <fieldset class="rows"><h3>Profile settings</h3>
54
                                        <ol>
62
                                        <ol>
55
                                            <li>
63
                                            <li>
56
                                                [% IF ( profile_id ) %]
64
                                                [% IF ( profile_id ) %]
Lines 103-109 Link Here
103
                                         </ol>
111
                                         </ol>
104
										</fieldset>
112
										</fieldset>
105
113
106
										<fieldset class="rows"><legend>Offset:</legend>
114
										<fieldset class="rows"><h3>Offset:</h3>
107
										<ol>
115
										<ol>
108
                                            <li>
116
                                            <li>
109
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
117
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
Lines 114-120 Link Here
114
                                         </ol>
122
                                         </ol>
115
										</fieldset>
123
										</fieldset>
116
124
117
										<fieldset class="rows"><legend>Creep:</legend>
125
										<fieldset class="rows"><h3>Creep:</h3>
118
										<ol>
126
										<ol>
119
                                            <li>
127
                                            <li>
120
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
128
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
Lines 123-131 Link Here
123
                                                <label for="creep_vert">Vertical: </label><input type="text" size="4" name="creep_vert" id="creep_vert" value="[% creep_vert | html %]" />
131
                                                <label for="creep_vert">Vertical: </label><input type="text" size="4" name="creep_vert" id="creep_vert" value="[% creep_vert | html %]" />
124
                                            </li>
132
                                            </li>
125
                                        </ol>
133
                                        </ol>
126
                                    </fieldset>
134
127
                                    <fieldset class="action">
135
                                        <input type="submit" value="Save" class="principal"/>
128
                                        <input type="submit" value="Save" />
129
                                        <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile" class="cancel">Cancel</a>
136
                                        <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile" class="cancel">Cancel</a>
130
                                        <input type="hidden" name="op" value="save" />
137
                                        <input type="hidden" name="op" value="save" />
131
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
138
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt (-6 / +13 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
2
    [% INCLUDE 'doc-head-open.inc' %]
5
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>Print barcode range &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>Print barcode range &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
4
    [% INCLUDE 'doc-head-close.inc' %]
7
    [% INCLUDE 'doc-head-close.inc' %]
5
    [% INCLUDE 'greybox.inc' %]
8
    [% INCLUDE 'greybox.inc' %]
6
</head>
9
</head>
7
<body id="labels_label-home" class="tools labels">
10
<body id="labels_label-home" class="tools labels">
8
    [% INCLUDE 'header.inc' %]
11
    [% INCLUDE 'header.inc' form=formulaire %]
9
    [% INCLUDE 'cat-search.inc' %]
10
12
11
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
        <ol>
14
        <ol>
Lines 25-30 Link Here
25
                </a>
27
                </a>
26
            </li>
28
            </li>
27
        </ol>
29
        </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
    </nav>
36
    </nav>
29
37
30
    <div class="main container-fluid">
38
    <div class="main container-fluid">
Lines 32-38 Link Here
32
            <div class="col-sm-10 col-sm-push-2">
40
            <div class="col-sm-10 col-sm-push-2">
33
                <main>
41
                <main>
34
                    [% INCLUDE 'labels-toolbar.inc' %]
42
                    [% INCLUDE 'labels-toolbar.inc' %]
35
                    <h1>Print barcode range</h1>
43
                    <h2>Print barcode range</h2>
36
                    <form name="add_by_number" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post">
44
                    <form name="add_by_number" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post">
37
                        <input type="hidden" name="op" value="add" />
45
                        <input type="hidden" name="op" value="add" />
38
                        <fieldset class="rows">
46
                        <fieldset class="rows">
Lines 46-54 Link Here
46
                                    <input type="text" inputmode="numeric" pattern="[0-9]*" name="to" id="to-input" value="0" style="text-align: right;"/>
54
                                    <input type="text" inputmode="numeric" pattern="[0-9]*" name="to" id="to-input" value="0" style="text-align: right;"/>
47
                                </li>
55
                                </li>
48
                            </ol>
56
                            </ol>
49
                        </fieldset>
57
50
                        <fieldset class="action">
58
                            <button type="button" class="btn btn-default principal" id="print">Print range</button>
51
                            <button type="button" class="btn btn-default" id="print">Print range</button>
52
                        </fieldset>
59
                        </fieldset>
53
                    </form>
60
                    </form>
54
                </main>
61
                </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt (-6 / +14 lines)
Lines 1-13 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
    [% INCLUDE 'doc-head-open.inc' %]
6
    [% INCLUDE 'doc-head-open.inc' %]
4
    <title>[% IF ( template_id ) %]Edit label template [% template_id | html %] [% ELSE %] New label template [% END %] &rsaquo; Templates &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
7
    <title>[% IF ( template_id ) %]Edit label template [% template_id | html %] [% ELSE %] New label template [% END %] &rsaquo; Templates &rsaquo; Label creator &rsaquo; Tools &rsaquo; Koha</title>
5
    [% INCLUDE 'doc-head-close.inc' %]
8
    [% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
10
8
<body id="labels_label-edit-template" class="tools labels">
11
<body id="labels_label-edit-template" class="tools labels">
9
    [% INCLUDE 'header.inc' %]
12
    [% INCLUDE 'header.inc' form=formulaire %]
10
    [% INCLUDE 'cat-search.inc' %]
11
13
12
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
        <ol>
15
        <ol>
Lines 33-38 Link Here
33
                </a>
35
                </a>
34
            </li>
36
            </li>
35
        </ol>
37
        </ol>
38
        <ol>
39
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
40
        </ol>
41
        <ol>
42
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
43
        </ol>
36
    </nav>
44
    </nav>
37
45
38
    <div class="main container-fluid">
46
    <div class="main container-fluid">
Lines 42-50 Link Here
42
                    [% INCLUDE 'labels-toolbar.inc' %]
50
                    [% INCLUDE 'labels-toolbar.inc' %]
43
51
44
                    [% IF ( template_id ) %]
52
                    [% IF ( template_id ) %]
45
                        <h1>Edit label template [% template_id | html %]</h1>
53
                        <h2>Edit label template [% template_id | html %]</h2>
46
                    [% ELSE %]
54
                    [% ELSE %]
47
                        <h1>New label template</h1>
55
                        <h2>New label template</h2>
48
                    [% END %]
56
                    [% END %]
49
57
50
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get">
58
                    <form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get">
Lines 161-167 Link Here
161
                                        [% END %]
169
                                        [% END %]
162
                                        [% IF ( profile_list.size == 1 ) %]
170
                                        [% IF ( profile_list.size == 1 ) %]
163
                                        <br>
171
                                        <br>
164
                                        <a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">Make a new printer profile.</a>
172
                                        <a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new" id="lientype">Make a new printer profile.</a>
165
                                        [% END %]
173
                                        [% END %]
166
                                    </li>
174
                                    </li>
167
                                </ol>
175
                                </ol>
Lines 169-175 Link Here
169
                        </div>
177
                        </div>
170
                    </div>
178
                    </div>
171
                        <fieldset class="action">
179
                        <fieldset class="action">
172
                            <input type="submit" class="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Cancel</a>
180
                            <input type="submit" class="principal" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Cancel</a>
173
                            <input type="hidden" name="op" value="save" />
181
                            <input type="hidden" name="op" value="save" />
174
                            [% IF ( template_id ) %]
182
                            [% IF ( template_id ) %]
175
                            <input type="hidden" name="template_id" value="[% template_id | html %]" />
183
                            <input type="hidden" name="template_id" value="[% template_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt (-2 / +10 lines)
Lines 1-13 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
    [% INCLUDE 'doc-head-open.inc' %]
7
    [% INCLUDE 'doc-head-open.inc' %]
5
    <title>Label creator &rsaquo; Tools &rsaquo; Koha</title>
8
    <title>Label creator &rsaquo; Tools &rsaquo; Koha</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
9
    [% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
<body id="labels_label-home" class="tools labels">
11
<body id="labels_label-home" class="tools labels">
9
    [% INCLUDE 'header.inc' %]
12
    [% INCLUDE 'header.inc' form=formulaire %]
10
    [% INCLUDE 'cat-search.inc' %]
11
13
12
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
        <ol>
15
        <ol>
Lines 23-28 Link Here
23
                </a>
25
                </a>
24
            </li>
26
            </li>
25
        </ol>
27
        </ol>
28
        <ol>
29
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
        </ol>
31
        <ol>
32
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
33
        </ol>
26
    </nav>
34
    </nav>
27
35
28
<div class="main container-fluid">
36
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt (-9 / +19 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% PROCESS 'i18n.inc' %]
3
[% PROCESS 'i18n.inc' %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% BLOCK translate_label_element %]
8
[% BLOCK translate_label_element %]
6
[%-  SWITCH element -%]
9
[%-  SWITCH element -%]
7
[%-  CASE 'layout'    -%][% t('layout') | html %]
10
[%-  CASE 'layout'    -%][% t('layout') | html %]
Lines 20-27 Link Here
20
</head>
23
</head>
21
24
22
<body id="labels_label-manage" class="tools labels">
25
<body id="labels_label-manage" class="tools labels">
23
    [% INCLUDE 'header.inc' %]
26
    [% INCLUDE 'header.inc' form=formulaire %]
24
    [% INCLUDE 'cat-search.inc' %]
25
27
26
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
28
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
        <ol>
29
        <ol>
Lines 40-45 Link Here
40
                </a>
42
                </a>
41
            </li>
43
            </li>
42
        </ol>
44
        </ol>
45
        <ol>
46
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
47
        </ol>
48
        <ol>
49
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
50
        </ol>
43
    </nav>
51
    </nav>
44
52
45
    <div class="main container-fluid">
53
    <div class="main container-fluid">
Lines 48-54 Link Here
48
                <main>
56
                <main>
49
57
50
                    [% INCLUDE 'labels-toolbar.inc' %]
58
                    [% INCLUDE 'labels-toolbar.inc' %]
51
                    <h1>Manage labels</h1>
59
                    <h2>Manage labels</h2>
52
60
53
                        [% IF ( error ) %]
61
                        [% IF ( error ) %]
54
                            <div class="dialog alert">
62
                            <div class="dialog alert">
Lines 58-72 Link Here
58
66
59
                        <div id="manage-label-layouts">
67
                        <div id="manage-label-layouts">
60
                            [% IF ( table_loop ) %]
68
                            [% IF ( table_loop ) %]
69
                            <div id="searchresults">
61
                            <form name="layouts" action="/cgi-bin/koha/label-manage.pl?label_element=[% label_element | html %]">
70
                            <form name="layouts" action="/cgi-bin/koha/label-manage.pl?label_element=[% label_element | html %]">
62
                            [% IF    ( label_element == 'layout' ) %]
71
                            [% IF    ( label_element == 'layout' ) %]
63
                            <h2>Currently available layouts</h2>
72
                            <h3>Currently available layouts</h3>
64
                            [% ELSIF ( label_element == 'template' ) %]
73
                            [% ELSIF ( label_element == 'template' ) %]
65
                            <h2>Currently available templates</h2>
74
                            <h3>Currently available templates</h3>
66
                            [% ELSIF ( label_element == 'profile' ) %]
75
                            [% ELSIF ( label_element == 'profile' ) %]
67
                            <h2>Currently available profiles</h2>
76
                            <h3>Currently available profiles</h3>
68
                            [% ELSIF ( label_element == 'batch' ) %]
77
                            [% ELSIF ( label_element == 'batch' ) %]
69
                            <h2>Currently available batches</h2>
78
                            <h3>Currently available batches</h3>
70
                            [% END %]
79
                            [% END %]
71
                            <table id="labels-table">
80
                            <table id="labels-table">
72
                                [% FOREACH table_loo IN table_loop %]
81
                                [% FOREACH table_loo IN table_loop %]
Lines 99-106 Link Here
99
                                        [% FOREACH text_field IN table_loo.text_fields %]
108
                                        [% FOREACH text_field IN table_loo.text_fields %]
100
                                            [% IF ( text_field.select_field ) %]
109
                                            [% IF ( text_field.select_field ) %]
101
                                                <td class="actions">
110
                                                <td class="actions">
102
                                                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&amp;element_id=[% text_field.field_value |url %]"><i class="fa fa-edit"></i> Edit</a>
111
                                                    <a id="lientype" class="btn btn-default btn-xs" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&amp;element_id=[% text_field.field_value |url %]"><i class="fa fa-edit"></i> Edit</a>
103
                                                    <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&amp;label_element=[% label_element | html %]&amp;element_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a>
112
                                                    <a id="lientype" class="btn btn-default btn-xs delete" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&amp;label_element=[% label_element | html %]&amp;element_id=[% text_field.field_value |url %]"><i class="fa fa-trash"></i> Delete</a>
104
                                                </td>
113
                                                </td>
105
                                                [% IF label_element == 'batch' %] <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>[% END %]
114
                                                [% IF label_element == 'batch' %] <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>[% END %]
106
                                            [% ELSIF ( text_field.field_value ) %]
115
                                            [% ELSIF ( text_field.field_value ) %]
Lines 116-121 Link Here
116
                            [% IF ( print ) %]<button type="button" class="btn btn-default" id="print">Export selected</button>[% END %]
125
                            [% IF ( print ) %]<button type="button" class="btn btn-default" id="print">Export selected</button>[% END %]
117
                            </fieldset>
126
                            </fieldset>
118
                            </form>
127
                            </form>
128
                            </div>
119
                            [% ELSE %]
129
                            [% ELSE %]
120
							<div class="dialog message">
130
							<div class="dialog message">
121
                            <h4>There are no
131
                            <h4>There are no
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt (-15 / +15 lines)
Lines 8-14 Link Here
8
8
9
<body id="labels_label-print" class="tools labels">
9
<body id="labels_label-print" class="tools labels">
10
    <div class="main container-fluid">
10
    <div class="main container-fluid">
11
        <h1>Label printing/exporting</h1>
11
        <h2>Label printing/exporting</h2>
12
        [% IF ( batches ) %]
12
        [% IF ( batches ) %]
13
            <form>
13
            <form>
14
                <h3>Click on the following links to download the exported batch(es).</h3>
14
                <h3>Click on the following links to download the exported batch(es).</h3>
Lines 21-52 Link Here
21
                        [% FOREACH batche IN batches %]
21
                        [% FOREACH batche IN batches %]
22
                        <fieldset>
22
                        <fieldset>
23
                            [% IF ( batche.label_ids ) %]
23
                            [% IF ( batche.label_ids ) %]
24
                                <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</legend>
24
                                <h3>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</h3>
25
                                <a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length| html %]">Download as PDF</a>
25
                                <a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length| html %]">Download as PDF</a>
26
26
27
                                    <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as CSV</a></p>
27
                                    <p><a id="lientype" class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as CSV</a></p>
28
28
29
                                    <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as XML</a></p>
29
                                    <p><a id="lientype" class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as XML</a></p>
30
                            [% ELSIF ( batche.item_numbers ) %]
30
                            [% ELSIF ( batche.item_numbers ) %]
31
                            <legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</legend>
31
                            <h3>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</h3>
32
                                    <p><a class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %][% batche.item_numbers | html %]">Download as PDF</a></p>
32
                                    <p><a id="lientype" class="document pdf" href="/cgi-bin/koha/labels/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %][% batche.item_numbers | html %]">Download as PDF</a></p>
33
33
34
                                    <p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as CSV</a></p>
34
                                    <p><a id="lientype" class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as CSV</a></p>
35
35
36
                                    <p><a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as XML</a></p>
36
                                    <p><a id="lientype" class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %][% batche.item_numbers | html %]">Download as XML</a></p>
37
                            [% ELSIF ( batche.batch_id) %]
37
                            [% ELSIF ( batche.batch_id) %]
38
                            <legend>Label batch number [% batche.batch_id | html %]</legend>
38
                            <h3>Label batch number [% batche.batch_id | html %]</h3>
39
                                    <p><a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]">Download as PDF</a>
39
                                    <p><a id="lientype" class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]">Download as PDF</a>
40
                                </p>
40
                                </p>
41
                                <p>
41
                                <p>
42
                                    <a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as CSV</a>
42
                                    <a id="lientype" class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as CSV</a>
43
                                </p>
43
                                </p>
44
                                <p>
44
                                <p>
45
                                    <a class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as XML</a></p>
45
                                    <a id="lientype" class="document xml" href="/cgi-bin/koha/labels/label-create-xml.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]">Download as XML</a></p>
46
                            [% ELSIF (batche.from && batche.to) %]
46
                            [% ELSIF (batche.from && batche.to) %]
47
                            <legend>Barcodes from [% batche.from | html %] to [% batche.to | html %]</legend>
47
                            <h3>Barcodes from [% batche.from | html %] to [% batche.to | html %]</h3>
48
                            <p>
48
                            <p>
49
                                <a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length | html %]">Download as PDF</a>
49
                                <a id="lientype" class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=0&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;start_label=[% batche.start_label | html %]&amp;from=[% batche.from | html %]&amp;to=[% batche.to | html %]&amp;barcode_length=[% batche.barcode_length | html %]">Download as PDF</a>
50
                            </p>
50
                            </p>
51
                            [% END %]
51
                            [% END %]
52
                        </fieldset>
52
                        </fieldset>
Lines 105-111 Link Here
105
                    </ol>
105
                    </ol>
106
                </fieldset>
106
                </fieldset>
107
                <fieldset class="action">
107
                <fieldset class="action">
108
                    <input type="submit" value="Export" />
108
                    <input type="submit" class="principal" value="Export" />
109
                    <a href="#" class="cancel gb-close">Cancel</a>
109
                    <a href="#" class="cancel gb-close">Cancel</a>
110
                </fieldset>
110
                </fieldset>
111
            </form>
111
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt (-3 / +3 lines)
Lines 29-35 Link Here
29
29
30
<body id="labels_result" class="tools labels">
30
<body id="labels_result" class="tools labels">
31
    <div class="main container-fluid">
31
    <div class="main container-fluid">
32
            <h1>Search results</h1>
32
            <h2>Search results</h2>
33
        <div class="results">
33
        <div class="results">
34
            [% PROCESS pagination %]
34
            [% PROCESS pagination %]
35
                [% IF ( results ) %]
35
                [% IF ( results ) %]
Lines 83-89 Link Here
83
                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
83
                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]"></td>
84
                    [% ELSIF ( text_field.link_field ) %]
84
                    [% ELSIF ( text_field.link_field ) %]
85
                        <td>
85
                        <td>
86
                            <a class="btn btn-default btn-xs select_item" data-item-number="[% text_field.field_value | html %]" data-batch-id="[% batch_id | html %]" data-field-type="[% text_field.type | html %]"><i class="fa fa-plus"></i> Add</a>
86
                            <a id="lientype" class="btn btn-default btn-xs select_item" data-item-number="[% text_field.field_value | html %]" data-batch-id="[% batch_id | html %]" data-field-type="[% text_field.type | html %]"><i class="fa fa-plus"></i> Add</a>
87
                        </td>
87
                        </td>
88
                    [% ELSE %]
88
                    [% ELSE %]
89
                        <td>[% text_field.field_value | html %]</td>
89
                        <td>[% text_field.field_value | html %]</td>
Lines 99-105 Link Here
99
            </form>
99
            </form>
100
        </div>
100
        </div>
101
        [% PROCESS pagination %]
101
        [% PROCESS pagination %]
102
        <div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div>
102
        <div id="closewindow"><a href="#" class="btn btn-default btn-default close cancel">Close</a></div>
103
    </div>
103
    </div>
104
104
105
[% MACRO jsinclude BLOCK %]
105
[% MACRO jsinclude BLOCK %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt (-4 / +4 lines)
Lines 7-17 Link Here
7
<body id="labels_search" class="tools labels">
7
<body id="labels_search" class="tools labels">
8
    <div class="main container-fluid">
8
    <div class="main container-fluid">
9
9
10
<h1>Search for items
10
<h2>Search for items
11
[% IF ( batch_id ) %]
11
[% IF ( batch_id ) %]
12
to add to Batch [% batch_id | html %]
12
to add to Batch [% batch_id | html %]
13
[% END %]
13
[% END %]
14
</h1>
14
</h2>
15
15
16
<form name="f" method="post" action="/cgi-bin/koha/labels/label-item-search.pl">
16
<form name="f" method="post" action="/cgi-bin/koha/labels/label-item-search.pl">
17
	<input type="hidden" name="op" value="do_search" />
17
	<input type="hidden" name="op" value="do_search" />
Lines 71-77 to add to Batch [% batch_id | html %] Link Here
71
</fieldset>
71
</fieldset>
72
72
73
[% IF ( sort_by_loop ) %]
73
[% IF ( sort_by_loop ) %]
74
<fieldset><legend>Sort by: </legend>
74
<fieldset><h3>Sort by: </h3>
75
    <p><select id="sort_by" name="sort_by">
75
    <p><select id="sort_by" name="sort_by">
76
        <option value="">Field-weighted, relevance ranked</option>
76
        <option value="">Field-weighted, relevance ranked</option>
77
        [% FOREACH sort_by_loo IN sort_by_loop %]
77
        [% FOREACH sort_by_loo IN sort_by_loop %]
Lines 101-107 to add to Batch [% batch_id | html %] Link Here
101
</ol>
101
</ol>
102
</fieldset>
102
</fieldset>
103
103
104
<fieldset class="action"><input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">Cancel</a></fieldset>
104
<fieldset class="action"><input type="submit" value="Search" class="principal" /> <a class="cancel close" href="#">Cancel</a></fieldset>
105
</form>
105
</form>
106
</div>
106
</div>
107
107
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt (-4 / +12 lines)
Lines 1-13 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]<title>Quick spine label creator &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-open.inc' %]<title>Quick spine label creator &rsaquo; Tools &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
10
8
<body id="labels_spinelabel-home" class="tools labels">
11
<body id="labels_spinelabel-home" class="tools labels">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'cat-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 23-28 Link Here
23
            </a>
25
            </a>
24
        </li>
26
        </li>
25
    </ol>
27
    </ol>
28
        <ol>
29
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
        </ol>
31
        <ol>
32
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
33
        </ol>
26
</nav>
34
</nav>
27
35
28
<div class="main container-fluid">
36
<div class="main container-fluid">
Lines 30-44 Link Here
30
        <div class="col-sm-10 col-sm-push-2">
38
        <div class="col-sm-10 col-sm-push-2">
31
            <main>
39
            <main>
32
40
33
<h1>Quick spine label creator</h1>
34
                <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post" id="spinelabelprint">
41
                <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post" id="spinelabelprint">
35
				<fieldset class="brief">
42
				<fieldset class="brief">
43
<h3>Quick spine label creator</h3>
36
				<ol>
44
				<ol>
37
					<li><label for="barcode">Barcode: </label>
45
					<li><label for="barcode">Barcode: </label>
38
                        <input type="text" name="barcode" id="barcode" class="focus" required="required" />
46
                        <input type="text" name="barcode" id="barcode" class="focus" required="required" />
39
					</li>
47
					</li>
40
				</ol>
48
				</ol>
41
				<fieldset class="action"><input type="submit" value="View spine label" /></fieldset>
49
				<fieldset class="action"><input class="principal" type="submit" value="View spine label" /></fieldset>
42
				</fieldset>
50
				</fieldset>
43
				</form>
51
				</form>
44
52
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt (-3 / +12 lines)
Lines 5-10 Link Here
5
[%- USE AuthorisedValues -%]
5
[%- USE AuthorisedValues -%]
6
[%- USE Branches -%]
6
[%- USE Branches -%]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search.inc' %]
10
[% END %]
8
[% PROCESS 'accounts.inc' %]
11
[% PROCESS 'accounts.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Details of [% IF type == 'credit' %]credit[% ELSE %]debit[% END %] &rsaquo; [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Patrons &rsaquo; Koha</title>
13
<title>Details of [% IF type == 'credit' %]credit[% ELSE %]debit[% END %] &rsaquo; [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Patrons &rsaquo; Koha</title>
Lines 12-19 Link Here
12
</head>
15
</head>
13
16
14
<body id="pat_accountline_details" class="pat">
17
<body id="pat_accountline_details" class="pat">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'patron-search-header.inc' %]
19
[% INCLUDE 'patron-search.inc' %]
17
20
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
22
    <ol>
Lines 53-58 Link Here
53
            </li>
56
            </li>
54
        [% END %]
57
        [% END %]
55
    </ol>
58
    </ol>
59
        <ol>
60
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
61
        </ol>
62
        <ol>
63
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
64
        </ol>
56
</nav>
65
</nav>
57
66
58
<div class="main container-fluid">
67
<div class="main container-fluid">
Lines 145-151 Link Here
145
                    </tbody>
154
                    </tbody>
146
                </table>
155
                </table>
147
156
148
                <h3>History</h3>
157
                <h2>History</h2>
149
                <table class="accountline-offsets-table" id="accountline-debits-table">
158
                <table class="accountline-offsets-table" id="accountline-debits-table">
150
                    <thead>
159
                    <thead>
151
                        <tr>
160
                        <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt (-2 / +11 lines)
Lines 2-14 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'patron-search-header.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>API Keys &rsaquo; Patrons &rsaquo; Koha</title>
9
<title>API Keys &rsaquo; Patrons &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="pat_apikeys" class="pat">
12
<body id="pat_apikeys" class="pat">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'patron-search-header.inc' %]
14
[% INCLUDE 'patron-search.inc' %]
12
15
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
17
    <ol>
Lines 24-29 Link Here
24
            </a>
27
            </a>
25
        </li>
28
        </li>
26
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
27
</nav>
36
</nav>
28
37
29
<div class="main container-fluid">
38
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-12 / +21 lines)
Lines 9-14 Link Here
9
[% USE Branches %]
9
[% USE Branches %]
10
[% USE Registers %]
10
[% USE Registers %]
11
[% SET footerjs = 1 %]
11
[% SET footerjs = 1 %]
12
[% formulaire = BLOCK %]
13
    [% INCLUDE 'patron-search-header.inc' %]
14
[% END %]
12
[% SET registers = Registers.all( filters => { current_branch => 1 } ) %]
15
[% SET registers = Registers.all( filters => { current_branch => 1 } ) %]
13
16
14
[% PROCESS 'accounts.inc' %]
17
[% PROCESS 'accounts.inc' %]
Lines 19-26 Link Here
19
</head>
22
</head>
20
23
21
<body id="pat_borraccount" class="pat">
24
<body id="pat_borraccount" class="pat">
22
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' form=formulaire %]
23
[% INCLUDE 'patron-search-header.inc' %]
26
[% INCLUDE 'patron-search.inc' %]
24
27
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
28
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <ol>
29
    <ol>
Lines 36-41 Link Here
36
            </a>
39
            </a>
37
        </li>
40
        </li>
38
    </ol>
41
    </ol>
42
        <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
45
        <ol>
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
        </ol>
39
</nav>
48
</nav>
40
49
41
<div class="main container-fluid">
50
<div class="main container-fluid">
Lines 106-121 Link Here
106
      [% IF account.amountoutstanding <= 0 %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding | $Price %]</td>
115
      [% IF account.amountoutstanding <= 0 %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding | $Price %]</td>
107
      <td class="actions">
116
      <td class="actions">
108
        [% IF ( account.is_credit ) %]
117
        [% IF ( account.is_credit ) %]
109
          <a target="_blank" href="printfeercpt.pl?action=print&amp;accountlines_id=[% account.accountlines_id | uri %]" class="btn btn-default btn-xs receipt-print-action"><i class="fa fa-print"></i> Print</a>
118
          <a target="_blank" href="printfeercpt.pl?action=print&amp;accountlines_id=[% account.accountlines_id | uri %]" class="btn btn-default btn-xs receipt-print-action" id="lientype"><i class="fa fa-print"></i> Print</a>
110
        [% ELSE %]
119
        [% ELSE %]
111
          <a target="_blank" href="printinvoice.pl?action=print&amp;accountlines_id=[% account.accountlines_id | uri %]" class="btn btn-default btn-xs invoice-print-action"><i class="fa fa-print"></i> Print</a>
120
          <a target="_blank" href="printinvoice.pl?action=print&amp;accountlines_id=[% account.accountlines_id | uri %]" class="btn btn-default btn-xs invoice-print-action" id="lientype"><i class="fa fa-print"></i> Print</a>
112
        [% END %]
121
        [% END %]
113
        <a href="accountline-details.pl?accountlines_id=[% account.accountlines_id | uri %]" class="btn btn-default btn-xs details-action"><i class="fa fa-list"></i> Details</a>
122
        <a href="accountline-details.pl?accountlines_id=[% account.accountlines_id | uri %]" class="btn btn-default btn-xs details-action" id="lientype"><i class="fa fa-list"></i> Details</a>
114
        [% IF account.is_debit && account.amountoutstanding > 0 %]
123
        [% IF account.is_debit && account.amountoutstanding > 0 %]
115
            <a class="btn btn-default btn-xs pay-action" href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% account.borrowernumber | html %]&pay_individual=1&debit_type_code=[% account.debit_type_code | html %]&amount=[% account.amount | html %]&amountoutstanding=[% account.amountoutstanding | html %]&description=[% account.description | html %]&itemnumber=[% account.itemnumber | html %]&accountlines_id=[% account.accountlines_id | html %]"><i class="fa fa-money"></i> Pay</a>
124
            <a class="btn btn-default btn-xs pay-action" href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% account.borrowernumber | html %]&pay_individual=1&debit_type_code=[% account.debit_type_code | html %]&amount=[% account.amount | html %]&amountoutstanding=[% account.amountoutstanding | html %]&description=[% account.description | html %]&itemnumber=[% account.itemnumber | html %]&accountlines_id=[% account.accountlines_id | html %]"><i class="fa fa-money"></i> Pay</a>
116
        [% END %]
125
        [% END %]
117
        [% IF account.is_credit && account.status != 'VOID' %]
126
        [% IF account.is_credit && account.status != 'VOID' %]
118
          <a href="boraccount.pl?action=void&amp;accountlines_id=[% account.accountlines_id | uri %]&amp;borrowernumber=[% account.borrowernumber | uri %]" class="btn btn-default btn-xs void-action"><i class="fa fa-ban"></i> Void payment</a>
127
          <a href="boraccount.pl?action=void&amp;accountlines_id=[% account.accountlines_id | uri %]&amp;borrowernumber=[% account.borrowernumber | uri %]" class="btn btn-default btn-xs void-action" id="lientype"><i class="fa fa-ban"></i> Void payment</a>
119
        [% END %]
128
        [% END %]
120
        [% IF account.is_debit && account.amount == account.amountoutstanding && account.status != 'CANCELLED' && !(account.debit_type_code == 'PAYOUT') %]
129
        [% IF account.is_debit && account.amount == account.amountoutstanding && account.status != 'CANCELLED' && !(account.debit_type_code == 'PAYOUT') %]
121
          <form method="post" action="/cgi-bin/koha/members/cancel-charge.pl">
130
          <form method="post" action="/cgi-bin/koha/members/cancel-charge.pl">
Lines 129-135 Link Here
129
          </form>
138
          </form>
130
        [% END %]
139
        [% END %]
131
        [% IF CAN_user_updatecharges_payout && account.is_credit && ( account.amountoutstanding < 0 ) %]
140
        [% IF CAN_user_updatecharges_payout && account.is_credit && ( account.amountoutstanding < 0 ) %]
132
          <button type="button" data-toggle="modal" data-target="#issuePayoutModal" data-account="[%- PROCESS account_type_description account=account -%]" data-accountline="[% account.accountlines_id | html %]" data-amount="[% account.amountoutstanding | $Price %]" class="btn btn-default btn-xs payout-action"><i class="fa fa-money"></i> Issue payout</button>
141
          <button type="button" data-toggle="modal" data-target="#issuePayoutModal" data-account="[%- PROCESS account_type_description account=account -%]" data-accountline="[% account.accountlines_id | html %]" data-amount="[% account.amountoutstanding | $Price %]" class="btn btn-default btn-xs payout-action" id="lientype"><i class="fa fa-money"></i> Issue payout</button>
133
        [% END %]
142
        [% END %]
134
        [% IF CAN_user_updatecharges_refund && account.is_debit && ( account.amountoutstanding != account.amount ) && !(account.status == 'REFUNDED') && !(account.debit_type_code == 'PAYOUT') %]
143
        [% IF CAN_user_updatecharges_refund && account.is_debit && ( account.amountoutstanding != account.amount ) && !(account.status == 'REFUNDED') && !(account.debit_type_code == 'PAYOUT') %]
135
          <button type="button"  class="btn btn-default btn-xs refund-action" data-toggle="modal" data-target="#issueRefundModal" data-item="[%- PROCESS account_type_description account=account -%]" data-accountline="[% account.accountlines_id | html %]" data-amount="[% account.amount | $Price %]" data-amountoutstanding="[% account.amountoutstanding | $Price %]" data-member="[% account.borrowernumber | html %]"><i class="fa fa-money"></i> Issue refund</button>
144
          <button type="button"  class="btn btn-default btn-xs refund-action" data-toggle="modal" data-target="#issueRefundModal" data-item="[%- PROCESS account_type_description account=account -%]" data-accountline="[% account.accountlines_id | html %]" data-amount="[% account.amount | $Price %]" data-amountoutstanding="[% account.amountoutstanding | $Price %]" data-member="[% account.borrowernumber | html %]"><i class="fa fa-money"></i> Issue refund</button>
Lines 148-154 Link Here
148
        <td class="credit" style="text-align: right;">[% total | $Price %]</td>
157
        <td class="credit" style="text-align: right;">[% total | $Price %]</td>
149
        <td>
158
        <td>
150
          [% IF CAN_user_updatecharges_payout %]
159
          [% IF CAN_user_updatecharges_payout %]
151
          <button type="button" data-toggle="modal" data-target="#issuePayoutModal" data-amount="[% total | $Price %]" class="btn btn-default btn-xs payout-amount-action"><i class="fa fa-money"></i> Payout amount</button>
160
          <button type="button" data-toggle="modal" data-target="#issuePayoutModal" data-amount="[% total | $Price %]" class="btn btn-default btn-xs payout-amount-action" id="lientype"><i class="fa fa-money"></i> Payout amount</button>
152
        [% END %]
161
        [% END %]
153
        </td>
162
        </td>
154
    [% ELSE %]
163
    [% ELSE %]
Lines 181-187 Link Here
181
                <div class="modal-content">
190
                <div class="modal-content">
182
                    <div class="modal-header">
191
                    <div class="modal-header">
183
                        <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
192
                        <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
184
                        <h4 class="modal-title" id="issuePayoutLabel">Issue payout</h4>
193
                        <h2 class="modal-title" id="issuePayoutLabel">Issue payout</h2>
185
                    </div>
194
                    </div>
186
                    <div class="modal-body">
195
                    <div class="modal-body">
187
                        [% IF Koha.Preference('UseCashRegisters') && ( registers.size == 0 ) %]
196
                        [% IF Koha.Preference('UseCashRegisters') && ( registers.size == 0 ) %]
Lines 189-195 Link Here
189
                            You must have at least one cash register associated with this branch before you can record cash payouts.
198
                            You must have at least one cash register associated with this branch before you can record cash payouts.
190
                        </div>
199
                        </div>
191
                        [% END %]
200
                        [% END %]
192
                        <fieldset class="rows">
201
                        <fieldset>
193
                            <ol>
202
                            <ol>
194
                                <li>
203
                                <li>
195
                                    <span id="paid" class="label">Outstanding credit: </span><span>[% payout.amount | $Price %]</span>
204
                                    <span id="paid" class="label">Outstanding credit: </span><span>[% payout.amount | $Price %]</span>
Lines 217-224 Link Here
217
                    </div> <!-- /.modal-body -->
226
                    </div> <!-- /.modal-body -->
218
                    <div class="modal-footer">
227
                    <div class="modal-footer">
219
                        <input type="hidden" name="op" value="payout">
228
                        <input type="hidden" name="op" value="payout">
220
                        <button type="submit" class="btn btn-default" id="borr_payout_confirm">Confirm</button>
229
                        <button type="submit" class="btn btn-default principal" id="borr_payout_confirm">Confirm</button>
221
                        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
230
                        <button type="button" class="btn btn-default cancel" data-dismiss="modal">Cancel</button>
222
                    </div> <!-- /.modal-footer -->
231
                    </div> <!-- /.modal-footer -->
223
                </div> <!-- /.modal-content -->
232
                </div> <!-- /.modal-content -->
224
            </div> <!-- /.modal-dialog -->
233
            </div> <!-- /.modal-dialog -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt (-2 / +11 lines)
Lines 3-15 Link Here
3
[% USE Price %]
3
[% USE Price %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'patron-search-header.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Delete patron [% patron.firstname | html %] [% patron.surname | html %] &rsaquo; Koha</title>
10
<title>Delete patron [% patron.firstname | html %] [% patron.surname | html %] &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
<body id="pat_deletemem" class="pat">
13
<body id="pat_deletemem" class="pat">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'patron-search-header.inc' %]
15
[% INCLUDE 'patron-search.inc' %]
13
16
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
18
    <ol>
Lines 25-30 Link Here
25
            </a>
28
            </a>
26
        </li>
29
        </li>
27
    </ol>
30
    </ol>
31
        <ol>
32
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
33
        </ol>
34
        <ol>
35
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
36
        </ol>
28
</nav>
37
</nav>
29
38
30
<div class="main container-fluid">
39
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt (-2 / +11 lines)
Lines 4-16 Link Here
4
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'patron-search-header.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% UNLESS blocking_error  %]Discharge for [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])[% END %] &rsaquo; Patrons &rsaquo; Koha</title>
11
<title>[% UNLESS blocking_error  %]Discharge for [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])[% END %] &rsaquo; Patrons &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
<body id="discharge" class="discharge">
14
<body id="discharge" class="discharge">
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'patron-search-header.inc' %]
16
[% INCLUDE 'patron-search.inc' %]
14
17
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
19
    <ol>
Lines 35-40 Link Here
35
            </li>
38
            </li>
36
        [% END %]
39
        [% END %]
37
    </ol>
40
    </ol>
41
        <ol>
42
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
43
        </ol>
44
        <ol>
45
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
        </ol>
38
</nav>
47
</nav>
39
48
40
<div class="main container-fluid">
49
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt (-17 / +26 lines)
Lines 3-31 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'patron-search-header.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Pending discharge requests &rsaquo; Patrons &rsaquo; Koha</title>
10
<title>Pending discharge requests &rsaquo; Patrons &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
<body id="pat_discharges" class="pat">
13
<body id="pat_discharges" class="pat">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'patron-search-header.inc' %]
15
[% INCLUDE 'patron-search.inc' %]
13
16
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
  <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
18
      <ol>
16
        <li>
19
          <li>
17
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20
              <a href="/cgi-bin/koha/mainpage.pl">Home</a>
18
        </li>
21
          </li>
19
        <li>
22
          <li>
20
            <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
23
              <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
21
        </li>
24
          </li>
22
        <li>
25
          <li>
23
            <a href="#" aria-current="page">
26
              <a href="#" aria-current="page">
24
                Pending discharge requests
27
                  Pending discharge requests
25
            </a>
28
              </a>
26
        </li>
29
          </li>
27
    </ol>
30
      </ol>
28
</nav>
31
          <ol>
32
              [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
33
          </ol>
34
          <ol>
35
              <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
36
          </ol>
37
  </nav>
29
38
30
    <div class="main container-fluid">
39
    <div class="main container-fluid">
31
        <div class="row">
40
        <div class="row">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt (-6 / +15 lines)
Lines 4-17 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'patron-search-header.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Files for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
11
<title>Files for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="pat_files" class="pat">
15
<body id="pat_files" class="pat">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'patron-search-header.inc' %]
17
[% INCLUDE 'patron-search.inc' %]
15
18
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
20
    <ol>
Lines 27-32 Link Here
27
            </a>
30
            </a>
28
        </li>
31
        </li>
29
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
30
</nav>
39
</nav>
31
40
32
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 36-42 Link Here
36
45
37
                [% INCLUDE 'members-toolbar.inc' %]
46
                [% INCLUDE 'members-toolbar.inc' %]
38
47
39
                <h1>Files</h1>
48
                <h2>Files</h2>
40
49
41
                [% IF errors %]
50
                [% IF errors %]
42
                    <div class="dialog alert">
51
                    <div class="dialog alert">
Lines 64-70 Link Here
64
                                 <td>[% f.file_type | html %]</td>
73
                                 <td>[% f.file_type | html %]</td>
65
                                 <td>[% f.file_description | html %]</td>
74
                                 <td>[% f.file_description | html %]</td>
66
                                 <td>[% f.date_uploaded | $KohaDates %]</td>
75
                                 <td>[% f.date_uploaded | $KohaDates %]</td>
67
                                 [% IF CAN_user_borrowers_edit_borrowers %]<td><a class="btn btn-default btn-xs confirmdelete" href="?borrowernumber=[% patron.borrowernumber | html %]&amp;op=delete&amp;file_id=[% f.file_id | html %]"><i class="fa fa-trash"></i> Delete</a></td>[% END %]
76
                                 [% IF CAN_user_borrowers_edit_borrowers %]<td><a class="btn btn-default btn-xs confirmdelete" href="?borrowernumber=[% patron.borrowernumber | html %]&amp;op=delete&amp;file_id=[% f.file_id | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a></td>[% END %]
68
                            </tr>
77
                            </tr>
69
                        [% END %]
78
                        [% END %]
70
                    </tbody>
79
                    </tbody>
Lines 77-83 Link Here
77
86
78
                <form method="post" action="/cgi-bin/koha/members/files.pl" enctype="multipart/form-data">
87
                <form method="post" action="/cgi-bin/koha/members/files.pl" enctype="multipart/form-data">
79
                    <fieldset class="rows">
88
                    <fieldset class="rows">
80
                        <legend>Upload new file</legend>
89
                        <h3>Upload new file</h3>
81
                        <ol>
90
                        <ol>
82
                        <li><input type="hidden" name="op" value="upload" />
91
                        <li><input type="hidden" name="op" value="upload" />
83
                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
92
                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
Lines 89-95 Link Here
89
                        <li><label for="uploadfile">File:</label><input name="uploadfile" type="file" id="uploadfile" /></li>
98
                        <li><label for="uploadfile">File:</label><input name="uploadfile" type="file" id="uploadfile" /></li>
90
99
91
                        </ol>
100
                        </ol>
92
                        <fieldset class="action"><input name="upload" type="submit" id="upload" value="Upload file" /></fieldset>
101
                        <fieldset class="action"><input name="upload" type="submit" id="upload" class="principal" value="Upload file" /></fieldset>
93
                    </fieldset>
102
                    </fieldset>
94
                </form>
103
                </form>
95
104
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt (-3 / +12 lines)
Lines 7-20 Link Here
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% USE ItemTypes %]
8
[% USE ItemTypes %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'patron-search-header.inc' %]
12
[% END %]
10
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Holds history for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
14
<title>Holds history for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
12
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
13
</head>
16
</head>
14
17
15
<body id="pat_holdshistory" class="pat">
18
<body id="pat_holdshistory" class="pat">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'patron-search-header.inc' %]
20
[% INCLUDE 'patron-search.inc' %]
18
21
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
23
    <ol>
Lines 30-35 Link Here
30
            </a>
33
            </a>
31
        </li>
34
        </li>
32
    </ol>
35
    </ol>
36
        <ol>
37
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
38
        </ol>
39
        <ol>
40
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
        </ol>
33
</nav>
42
</nav>
34
43
35
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 38-44 Link Here
38
            <main>
47
            <main>
39
48
40
[% INCLUDE 'members-toolbar.inc' %]
49
[% INCLUDE 'members-toolbar.inc' %]
41
<h1>Holds history</h1>
50
<h2>Holds history</h2>
42
51
43
[% UNLESS Koha.Preference('intranetreadinghistory') %]
52
[% UNLESS Koha.Preference('intranetreadinghistory') %]
44
    <div class="dialog alert">Staff members are not allowed to access patron's holds history</div>
53
    <div class="dialog alert">Staff members are not allowed to access patron's holds history</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt (-2 / +11 lines)
Lines 5-18 Link Here
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% USE Branches %]
6
[% USE Branches %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Details for [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Housebound &rsaquo; Koha</title>
12
<title>Details for [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Housebound &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="housebound-home" class="housebound">
16
<body id="housebound-home" class="housebound">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'patron-search-header.inc' %]
18
[% INCLUDE 'patron-search.inc' %]
16
19
17
[% BLOCK 'homebound-details' %]
20
[% BLOCK 'homebound-details' %]
18
    <div class="rows">
21
    <div class="rows">
Lines 72-77 Link Here
72
            </a>
75
            </a>
73
        </li>
76
        </li>
74
    </ol>
77
    </ol>
78
        <ol>
79
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
80
        </ol>
81
        <ol>
82
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
83
        </ol>
75
</nav>
84
</nav>
76
85
77
<div class="main container-fluid">
86
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt (-2 / +11 lines)
Lines 4-9 Link Here
4
[% USE Koha %]
4
[% USE Koha %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'patron-search-header.inc' %]
9
[% END %]
7
[% USE AuthorisedValues %]
10
[% USE AuthorisedValues %]
8
[% USE TablesSettings %]
11
[% USE TablesSettings %]
9
12
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="pat_illrequestshistory" class="pat">
18
<body id="pat_illrequestshistory" class="pat">
16
    [% INCLUDE 'header.inc' %]
19
    [% INCLUDE 'header.inc' form=formulaire %]
17
    [% INCLUDE 'patron-search-header.inc' %]
20
    [% INCLUDE 'patron-search.inc' %]
18
21
19
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
        <ol>
23
        <ol>
Lines 30-35 Link Here
30
                </a>
33
                </a>
31
            </li>
34
            </li>
32
        </ol>
35
        </ol>
36
        <ol>
37
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
38
        </ol>
39
        <ol>
40
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
        </ol>
33
    </nav>
42
    </nav>
34
43
35
<div class="main container-fluid">
44
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt (-5 / +14 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'patron-search-header.inc' %]
8
[% END %]
6
9
7
[% PROCESS 'accounts.inc' %]
10
[% PROCESS 'accounts.inc' %]
8
11
Lines 12-19 Link Here
12
</head>
15
</head>
13
16
14
<body id="pat_mancredit" class="pat">
17
<body id="pat_mancredit" class="pat">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'patron-search-header.inc' %]
19
[% INCLUDE 'patron-search.inc' %]
17
20
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
22
    <ol>
Lines 29-34 Link Here
29
            </a>
32
            </a>
30
        </li>
33
        </li>
31
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
32
</nav>
41
</nav>
33
42
34
<div class="main container-fluid">
43
<div class="main container-fluid">
Lines 54-61 Link Here
54
                    <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
63
                    <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
55
                    <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
64
                    <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
56
65
57
                    <fieldset class="rows">
66
                    <fieldset>
58
                        <legend>Manual credit</legend>
67
                        <h3>Manual credit</h3>
59
                        <ol>
68
                        <ol>
60
                            <li>
69
                            <li>
61
                                <label for="type">Credit type: </label>
70
                                <label for="type">Credit type: </label>
Lines 72-78 Link Here
72
                        </ol>
81
                        </ol>
73
                    </fieldset>
82
                    </fieldset>
74
83
75
                    <fieldset class="action"><input type="submit" name="add" value="Add credit" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | html %]">Cancel</a></fieldset>
84
                    <fieldset class="action"><input type="submit" name="add" class="principal" value="Add credit" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | html %]" class="cancel">Cancel</a></fieldset>
76
                </form>
85
                </form>
77
86
78
                </div>
87
                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt (-7 / +16 lines)
Lines 4-9 Link Here
4
[% USE Price %]
4
[% USE Price %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'patron-search-header.inc' %]
9
[% END %]
7
10
8
[% PROCESS 'accounts.inc' %]
11
[% PROCESS 'accounts.inc' %]
9
12
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="pat_maninvoice" class="pat">
18
<body id="pat_maninvoice" class="pat">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'patron-search-header.inc' %]
20
[% INCLUDE 'patron-search.inc' %]
18
21
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
23
    <ol>
Lines 30-35 Link Here
30
            </a>
33
            </a>
31
        </li>
34
        </li>
32
    </ol>
35
    </ol>
36
        <ol>
37
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
38
        </ol>
39
        <ol>
40
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
        </ol>
33
</nav>
42
</nav>
34
43
35
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 64-71 Link Here
64
                <form action="/cgi-bin/koha/members/maninvoice.pl" method="post" id="maninvoice">
73
                <form action="/cgi-bin/koha/members/maninvoice.pl" method="post" id="maninvoice">
65
                    <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
74
                    <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
66
                    <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
75
                    <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
67
                    <fieldset class="rows">
76
                    <fieldset>
68
                        <legend>Manual invoice</legend>
77
                        <h3>Manual invoice</h3>
69
                        <ol>
78
                        <ol>
70
                            <li>
79
                            <li>
71
                                <label for="type">Type: </label>
80
                                <label for="type">Type: </label>
Lines 86-94 Link Here
86
                        </ol>
95
                        </ol>
87
                    </fieldset>
96
                    </fieldset>
88
                    <fieldset class="action">
97
                    <fieldset class="action">
89
                        <button type="submit" name="add" value="save">Save</button>
98
                        <button type="submit" name="add" class="principal" value="save">Save</button>
90
                        <button type="submit" name="add" value="save and pay">Save and pay</button>
99
                        <button type="submit" name="add" class="principal" value="save and pay">Save and pay</button>
91
                        <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | html %]">Cancel</a>
100
                        <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | html %]" class="cancel">Cancel</a>
92
                    </fieldset>
101
                    </fieldset>
93
                </form>
102
                </form>
94
103
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt (-6 / +19 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'patron-search-header.inc' %]
7
[% END %]
5
[% PROCESS 'permissions.inc' %]
8
[% PROCESS 'permissions.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="pat_member-flags" class="pat">
16
<body id="pat_member-flags" class="pat">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'patron-search-header.inc' %]
18
[% INCLUDE 'patron-search.inc' %]
16
19
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
21
    <ol>
Lines 28-33 Link Here
28
            </a>
31
            </a>
29
        </li>
32
        </li>
30
    </ol>
33
    </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
31
</nav>
40
</nav>
32
41
33
<div class="main container-fluid">
42
<div class="main container-fluid">
Lines 44-52 Link Here
44
    <h1>Set permissions for [% INCLUDE 'patron-title.inc' no_html = 1 %]</h1>
53
    <h1>Set permissions for [% INCLUDE 'patron-title.inc' no_html = 1 %]</h1>
45
54
46
    <div id="permissionstree">
55
    <div id="permissionstree">
47
        <div id="permissions_toolbar" class="btn-toolbar">
56
        <div id="permissions_toolbar" class="btn-toolbar" style="width: 851px !important;">
48
            <button type="submit" class="btn btn-default"><i class="fa fa-save"></i> Save</button>
57
        <div id="up">
49
            <a class="btn btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-remove"></i> Cancel</a>
58
            <button type="submit" class="principal"><i class="fa fa-save"></i> Save</button>
59
            <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-remove"></i> Cancel</a>
60
        </div>
61
        <div id="down">
50
            <a class="toggleall toggleall_on btn btn-link" href="#"><i class="fa fa-plus-square-o"></i> Show all</a>
62
            <a class="toggleall toggleall_on btn btn-link" href="#"><i class="fa fa-plus-square-o"></i> Show all</a>
51
            <a class="toggleall toggleall_off btn btn-link" href="#"><i class="fa fa-minus-square-o"></i> Hide all</a>
63
            <a class="toggleall toggleall_off btn btn-link" href="#"><i class="fa fa-minus-square-o"></i> Hide all</a>
52
            <a id="CheckAllFlags" class="btn btn-link" href="#">
64
            <a id="CheckAllFlags" class="btn btn-link" href="#">
Lines 60-65 Link Here
60
                <a href="#" id="clear_filter" style="display:none"><i class="fa fa-remove"></i></a>
72
                <a href="#" id="clear_filter" style="display:none"><i class="fa fa-remove"></i></a>
61
            </div>
73
            </div>
62
        </div>
74
        </div>
75
        </div>
63
        <div class="permissions">
76
        <div class="permissions">
64
            [% FOREACH loo IN loop %]
77
            [% FOREACH loo IN loop %]
65
                [% IF ( loo.expand ) %]
78
                [% IF ( loo.expand ) %]
Lines 87-93 Link Here
87
                    [% IF ( loo.flag == "superlibrarian" ) %]<div class="hint superlibrarian-hint">This permission grants access to all areas. If selected, specific sub-permissions cannot be selected.</div>[% END %]
100
                    [% IF ( loo.flag == "superlibrarian" ) %]<div class="hint superlibrarian-hint">This permission grants access to all areas. If selected, specific sub-permissions cannot be selected.</div>[% END %]
88
                [% IF ( loo.sub_perm_loop ) %]
101
                [% IF ( loo.sub_perm_loop ) %]
89
                    <a class="toggle-[% loo.bit | html %] togglechildren_off" href="#" data-bit="[% loo.bit | html %]"><i class="fa fa-minus-square-o"></i> Hide details</a>
102
                    <a class="toggle-[% loo.bit | html %] togglechildren_off" href="#" data-bit="[% loo.bit | html %]"><i class="fa fa-minus-square-o"></i> Hide details</a>
90
                    <a class="toggle-[% loo.bit | html %] togglechildren_on" href="#" data-bit="[% loo.bit | html %]"><i class="fa fa-plus-square-o"></i> Show details</a>
103
                    <a class="toggle-[% loo.bit | html %] togglechildren_on" href="#" data-bit="[% loo.bit | html %]" id="lientype"><i class="fa fa-plus-square-o"></i> Show details</a>
91
                    <div class="children" id="flag-[% loo.bit | html %]-children">
104
                    <div class="children" id="flag-[% loo.bit | html %]-children">
92
                        [% FOREACH sub_perm_loo IN loo.sub_perm_loop %]
105
                        [% FOREACH sub_perm_loo IN loo.sub_perm_loop %]
93
                            <div class="child-flags">
106
                            <div class="child-flags">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt (-5 / +14 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'patron-search-header.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
    [% IF ( newpassword ) %]Password updated [% ELSE %]Update password for [% patron.surname | html %], [% patron.firstname | html %][% END %] &rsaquo; Patrons &rsaquo; Koha
11
    [% IF ( newpassword ) %]Password updated [% ELSE %]Update password for [% patron.surname | html %], [% patron.firstname | html %][% END %] &rsaquo; Patrons &rsaquo; Koha
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="pat_member-password" class="pat">
16
<body id="pat_member-password" class="pat">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'patron-search-header.inc' %]
18
[% INCLUDE 'patron-search.inc' %]
16
19
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
21
    <ol>
Lines 35-40 Link Here
35
            </a>
38
            </a>
36
        </li>
39
        </li>
37
    </ol>
40
    </ol>
41
        <ol>
42
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
43
        </ol>
44
        <ol>
45
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
        </ol>
38
</nav>
47
</nav>
39
48
40
<div class="main container-fluid">
49
<div class="main container-fluid">
Lines 45-51 Link Here
45
[% INCLUDE 'members-toolbar.inc' %]
54
[% INCLUDE 'members-toolbar.inc' %]
46
55
47
[% IF ( newpassword ) %]
56
[% IF ( newpassword ) %]
48
<h1>Password updated</h1>
57
<h2>Password updated</h2>
49
58
50
[% ELSE %]
59
[% ELSE %]
51
60
Lines 100-111 Link Here
100
        <input name="newpassword2"  id="newpassword2" type="password" size="20" />
109
        <input name="newpassword2"  id="newpassword2" type="password" size="20" />
101
    </li>
110
    </li>
102
	</ol>
111
	</ol>
103
</fieldset>
104
    <fieldset class="action">
112
    <fieldset class="action">
105
        <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
113
        <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
106
        <input type="submit" value="Save" />
114
        <input type="submit" class="principal" value="Save" />
107
        <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">Cancel</a>
115
        <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">Cancel</a>
108
    </fieldset>
116
    </fieldset>
117
</fieldset>
109
</form>[% END %]
118
</form>[% END %]
110
119
111
120
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-4 / +12 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE Categories %]
6
[% USE Categories %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
8
[% PROCESS 'patronfields.inc' %]
11
[% PROCESS 'patronfields.inc' %]
9
[% SET libraries = Branches.all %]
12
[% SET libraries = Branches.all %]
10
[% SET categories = Categories.all.unblessed %]
13
[% SET categories = Categories.all.unblessed %]
Lines 16-23 Link Here
16
</head>
19
</head>
17
20
18
<body id="pat_member" class="pat">
21
<body id="pat_member" class="pat">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form= formulaire %]
20
[% INCLUDE 'patron-search-header.inc' %]
21
23
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <ol>
25
    <ol>
Lines 41-46 Link Here
41
            </li>
43
            </li>
42
        [% END %]
44
        [% END %]
43
    </ol>
45
    </ol>
46
        <ol>
47
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
48
        </ol>
49
        <ol>
50
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
51
        </ol>
44
</nav>
52
</nav>
45
53
46
<div class="main container-fluid">
54
<div class="main container-fluid">
Lines 49-55 Link Here
49
            <main>
57
            <main>
50
58
51
          [% IF CAN_user_tools_manage_patron_lists %]
59
          [% IF CAN_user_tools_manage_patron_lists %]
52
            <div id="patron_list_dialog" class="dialog message">
60
            <div id="patron_list_dialog" class="dialog message lientype">
53
              Added <span class="patrons-length"></span> patrons to <a></a>.
61
              Added <span class="patrons-length"></span> patrons to <a></a>.
54
            </div>
62
            </div>
55
          [% END %]
63
          [% END %]
Lines 66-72 Link Here
66
74
67
          <div id="searchresults">
75
          <div id="searchresults">
68
            [% IF CAN_user_tools_manage_patron_lists || CAN_user_borrowers_edit_borrowers %]
76
            [% IF CAN_user_tools_manage_patron_lists || CAN_user_borrowers_edit_borrowers %]
69
              <div class="searchheader fh-fixedHeader" id="searchheader" style="display:none;">
77
              <div class="searchheader fh-fixedHeader" id="searchheader">
70
                  <div>
78
                  <div>
71
                      <a href="#" class="btn btn-link" id="select_all"><i class="fa fa-check"></i> Select all</a>
79
                      <a href="#" class="btn btn-link" id="select_all"><i class="fa fa-check"></i> Select all</a>
72
                      |
80
                      |
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-42 / +55 lines)
Lines 9-14 Link Here
9
[% PROCESS 'member-alt-address-style.inc' %]
9
[% PROCESS 'member-alt-address-style.inc' %]
10
[% PROCESS 'member-alt-contact-style.inc' %]
10
[% PROCESS 'member-alt-contact-style.inc' %]
11
[% SET footerjs = 1 %]
11
[% SET footerjs = 1 %]
12
[% formulaire = BLOCK %]
13
    [% INCLUDE 'patron-search-header.inc' %]
14
[% END %]
15
[% formulaire = BLOCK %]
16
    [% INCLUDE 'patron-search.inc' %]
17
[% END %]
12
[% INCLUDE 'doc-head-open.inc' %]
18
[% INCLUDE 'doc-head-open.inc' %]
13
    <title>
19
    <title>
14
        [% UNLESS blocking_error %]
20
        [% UNLESS blocking_error %]
Lines 24-39 Link Here
24
        [% END %] &rsaquo; Patrons &rsaquo; Koha
30
        [% END %] &rsaquo; Patrons &rsaquo; Koha
25
    </title>
31
    </title>
26
<style>
32
<style>
27
legend:hover {
33
h3:hover {
28
    cursor: pointer;
34
    cursor: pointer;
29
}
35
}
30
</style>
36
</style>
31
[% INCLUDE 'doc-head-close.inc' %]
37
[% INCLUDE 'doc-head-close.inc' %]
32
</head>
38
</head>
33
39
34
<body id="pat_memberentrygen" class="pat">
40
<body id="pat_memberentrygen"s>
35
    [% INCLUDE 'header.inc' %]
41
    [% INCLUDE 'header.inc' form= formulaire %]
36
    [% INCLUDE 'patron-search-header.inc' %]
42
    [% INCLUDE 'patron-search.inc' %]
37
43
38
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
44
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
39
        <ol>
45
        <ol>
Lines 72-77 legend:hover { Link Here
72
                </li>
78
                </li>
73
            [% END %]
79
            [% END %]
74
        </ol>
80
        </ol>
81
        <ol>
82
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
83
        </ol>
84
        <ol>
85
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
86
        </ol>
75
    </nav> <!-- /#breadcrumbs -->
87
    </nav> <!-- /#breadcrumbs -->
76
88
77
    <div class="main container-fluid">
89
    <div class="main container-fluid">
Lines 109-115 legend:hover { Link Here
109
                    [% INCLUDE 'noadd-warnings.inc' %]
121
                    [% INCLUDE 'noadd-warnings.inc' %]
110
122
111
                    [% UNLESS ( no_add ) %]
123
                    [% UNLESS ( no_add ) %]
112
                        <h1>
124
                        <h2>
113
                            [% IF ( opadd ) %]
125
                            [% IF ( opadd ) %]
114
                                <span>Add patron</span>
126
                                <span>Add patron</span>
115
                            [% ELSIF ( opduplicate ) %]
127
                            [% ELSIF ( opduplicate ) %]
Lines 119-125 legend:hover { Link Here
119
                            [% END %]
131
                            [% END %]
120
                            [% INCLUDE 'patron-title.inc' %]
132
                            [% INCLUDE 'patron-title.inc' %]
121
                            [% IF categoryname %]([% categoryname | html %])[% END %]
133
                            [% IF categoryname %]([% categoryname | html %])[% END %]
122
                        </h1>
134
                        </h2>
123
135
124
                        [% IF quickadd && opadd && !check_member %]
136
                        [% IF quickadd && opadd && !check_member %]
125
                            <a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> Show full form</a>
137
                            <a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> Show full form</a>
Lines 222-239 legend:hover { Link Here
222
234
223
                        [% UNLESS ( check_member ) %]
235
                        [% UNLESS ( check_member ) %]
224
                            <div id="toolbar" class="btn-toolbar">
236
                            <div id="toolbar" class="btn-toolbar">
237
                            <div>
225
                                [% IF quickadd && opadd %]
238
                                [% IF quickadd && opadd %]
226
                                    <button class="btn btn-default toggler" id="save_quick_add" name="save"><i class="fa fa-save"></i> Save</button>
239
                                    <button class="btn btn-default toggler principal" id="save_quick_add" name="save"><i class="fa fa-save"></i> Save</button>
227
                                [% END %]
240
                                [% END %]
228
                                <button class="btn btn-default toggler" id="saverecord" name="save" ><i class="fa fa-save"></i> Save</button>
241
                                <button class="btn btn-default toggler principal" id="saverecord" name="save" ><i class="fa fa-save"></i> Save</button>
229
                                [% IF opadd %]
242
                                [% IF opadd %]
230
                                    <a class="btn btn-default" href="/cgi-bin/koha/members/member.pl" class="toggler save_entryform">
243
                                    <a class="cancel" href="/cgi-bin/koha/members/member.pl" class="toggler save_entryform">
231
                                [% ELSE %]
244
                                [% ELSE %]
232
                                    <a class="btn btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | html %]">
245
                                    <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | html %]">
233
                                [% END %]
246
                                [% END %]
234
                                    <i class="fa fa-times"></i> Cancel
247
                                    <i class="fa fa-times"></i> Cancel
235
                                </a>
248
                                </a>
236
                            </div>
249
                            </div></div>
237
                        [% END %]
250
                        [% END %]
238
251
239
                        <form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler">
252
                        <form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler">
Lines 449-455 legend:hover { Link Here
449
                                    [% SET possible_relationships = Koha.Preference('borrowerRelationship') %]
462
                                    [% SET possible_relationships = Koha.Preference('borrowerRelationship') %]
450
                                    <div id="memberentry_guarantor_anchor">
463
                                    <div id="memberentry_guarantor_anchor">
451
                                        <fieldset id="memberentry_guarantor" class="rows">
464
                                        <fieldset id="memberentry_guarantor" class="rows">
452
                                            <legend>Patron guarantor</legend>
465
                                            <h3>Patron guarantor</h3>
453
466
454
                                            <div id="guarantor_relationships">
467
                                            <div id="guarantor_relationships">
455
                                                [% FOREACH r IN relationships %]
468
                                                [% FOREACH r IN relationships %]
Lines 611-617 legend:hover { Link Here
611
624
612
                                    [% UNLESS nocontactname && nocontactfirstname && norelationship %]
625
                                    [% UNLESS nocontactname && nocontactfirstname && norelationship %]
613
                                        <fieldset class="rows" id="non_patron_guarantor">
626
                                        <fieldset class="rows" id="non_patron_guarantor">
614
                                            <legend>Non-patron guarantor</legend>
627
                                            <h3>Non-patron guarantor</h3>
615
                                            <ol>
628
                                            <ol>
616
                                                [% UNLESS nocontactname %]
629
                                                [% UNLESS nocontactname %]
617
                                                    <li>
630
                                                    <li>
Lines 675-681 legend:hover { Link Here
675
688
676
                                [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
689
                                [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
677
                                    <fieldset class="rows" id="memberentry_contact">
690
                                    <fieldset class="rows" id="memberentry_contact">
678
                                        <legend id="contact_lgd">Contact information</legend>
691
                                        <h3 id="contact_lgd">Contact information</h3>
679
                                        <ol>
692
                                        <ol>
680
                                            [% UNLESS nophone %]
693
                                            [% UNLESS nophone %]
681
                                                <li>
694
                                                <li>
Lines 864-870 legend:hover { Link Here
864
                            [% IF ( step_3 ) %]
877
                            [% IF ( step_3 ) %]
865
                                [% SET autoMemberNum = Koha.Preference('autoMemberNum') %]
878
                                [% SET autoMemberNum = Koha.Preference('autoMemberNum') %]
866
                                <fieldset class="rows" id="memberentry_library_management">
879
                                <fieldset class="rows" id="memberentry_library_management">
867
                                    <legend id="library_management_lgd">Library management</legend>
880
                                    <h3 id="library_management_lgd">Library management</h3>
868
                                    <ol>
881
                                    <ol>
869
                                        [% UNLESS nocardnumber %]
882
                                        [% UNLESS nocardnumber %]
870
                                            <li>
883
                                            <li>
Lines 1063-1069 legend:hover { Link Here
1063
1076
1064
                                [% UNLESS nodateenrolled &&  noopacnote && noborrowernotes %]
1077
                                [% UNLESS nodateenrolled &&  noopacnote && noborrowernotes %]
1065
                                    <fieldset class="rows" id="memberentry_subscription">
1078
                                    <fieldset class="rows" id="memberentry_subscription">
1066
                                        <legend id="library_setup_lgd">Library setup</legend><ol>
1079
                                        <h3 id="library_setup_lgd">Library setup</h3><ol>
1067
                                        [% UNLESS nodateenrolled %]
1080
                                        [% UNLESS nodateenrolled %]
1068
                                            <li>
1081
                                            <li>
1069
                                                [% IF ( mandatorydateenrolled ) %]
1082
                                                [% IF ( mandatorydateenrolled ) %]
Lines 1149-1155 legend:hover { Link Here
1149
1162
1150
                                [% UNLESS nouserid && nopassword && !CanUpdatePasswordExpiration %]
1163
                                [% UNLESS nouserid && nopassword && !CanUpdatePasswordExpiration %]
1151
                                    <fieldset class="rows" id="memberentry_userid">
1164
                                    <fieldset class="rows" id="memberentry_userid">
1152
                                        <legend id="opac_staff_login_lgd">OPAC/Staff interface login</legend>
1165
                                        <h3 id="opac_staff_login_lgd">OPAC/Staff interface login</h3>
1153
                                        <ol>
1166
                                        <ol>
1154
                                            [% UNLESS nouserid %]
1167
                                            [% UNLESS nouserid %]
1155
                                                <li>
1168
                                                <li>
Lines 1305-1311 legend:hover { Link Here
1305
                                <!--this zones are not necessary in modif mode -->
1318
                                <!--this zones are not necessary in modif mode -->
1306
                                [% UNLESS ( opadd || opduplicate ) %]
1319
                                [% UNLESS ( opadd || opduplicate ) %]
1307
                                    <fieldset class="rows" id="memberentry_account_flags">
1320
                                    <fieldset class="rows" id="memberentry_account_flags">
1308
                                        <legend id="account_flags_lgd">Patron account flags</legend>
1321
                                        <h3 id="account_flags_lgd">Patron account flags</h3>
1309
                                        <ol class="radio">
1322
                                        <ol class="radio">
1310
                                            [% FOREACH flagloo IN flagloop %]
1323
                                            [% FOREACH flagloo IN flagloop %]
1311
                                                <li>
1324
                                                <li>
Lines 1339-1345 legend:hover { Link Here
1339
                                    </fieldset> <!-- /#memberentry_account_flags -->
1352
                                    </fieldset> <!-- /#memberentry_account_flags -->
1340
1353
1341
                                    <fieldset class="rows" id="memberentry_restrictions">
1354
                                    <fieldset class="rows" id="memberentry_restrictions">
1342
                                        <legend id="restrictions_lgd">Patron restrictions</legend>
1355
                                        <h3 id="restrictions_lgd">Patron restrictions</h3>
1343
                                        [% IF ( debarments ) %]
1356
                                        [% IF ( debarments ) %]
1344
                                            <table>
1357
                                            <table>
1345
                                                <thead>
1358
                                                <thead>
Lines 1386-1395 legend:hover { Link Here
1386
                                        [% END # /IF ( debarments ) %]
1399
                                        [% END # /IF ( debarments ) %]
1387
1400
1388
                                        [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
1401
                                        [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
1389
                                            <p><a href="#" id="add_manual_restriction">Add manual restriction</a></p>
1402
                                            <p><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p>
1390
                                            <fieldset id="manual_restriction_form">
1403
                                            <fieldset id="manual_restriction_form">
1391
                                                <input type="hidden" id="add_debarment" name="add_debarment" value="0" />
1404
                                                <input type="hidden" id="add_debarment" name="add_debarment" value="0" />
1392
                                                <legend id="manual_restriction_lgd">Add manual restriction</legend>
1405
                                                <h3 id="manual_restriction_lgd">Add manual restriction</h3>
1393
                                                <ol>
1406
                                                <ol>
1394
                                                    <li>
1407
                                                    <li>
1395
                                                        <label for="debarred_comment">Comment: </label>
1408
                                                        <label for="debarred_comment">Comment: </label>
Lines 1413-1419 legend:hover { Link Here
1413
                            [% IF ( step_7 ) %]
1426
                            [% IF ( step_7 ) %]
1414
                                [% IF Koha.Preference('HouseboundModule') %]
1427
                                [% IF Koha.Preference('HouseboundModule') %]
1415
                                    <fieldset class="rows" id="memberentry_housebound_roles">
1428
                                    <fieldset class="rows" id="memberentry_housebound_roles">
1416
                                        <legend id="housebound_roles">Housebound roles</legend>
1429
                                        <h3 id="housebound_roles">Housebound roles</h3>
1417
                                        <ol class="radio">
1430
                                        <ol class="radio">
1418
                                            <li>
1431
                                            <li>
1419
                                                <label class="radio" for="housebound_chooser">
1432
                                                <label class="radio" for="housebound_chooser">
Lines 1454-1466 legend:hover { Link Here
1454
                                [% IF Koha.Preference('ExtendedPatronAttributes') %]
1467
                                [% IF Koha.Preference('ExtendedPatronAttributes') %]
1455
                                    [% UNLESS ( no_patron_attribute_types ) %]
1468
                                    [% UNLESS ( no_patron_attribute_types ) %]
1456
                                        <fieldset class="rows" id="memberentry_patron_attributes">
1469
                                        <fieldset class="rows" id="memberentry_patron_attributes">
1457
                                            <legend id="patron_attributes_lgd">Additional attributes and identifiers</legend>
1470
                                            <h3 id="patron_attributes_lgd">Additional attributes and identifiers</h3>
1458
                                            <input type="hidden" name="setting_extended_patron_attributes" value="1" />
1471
                                            <input type="hidden" name="setting_extended_patron_attributes" value="1" />
1459
                                            [% FOREACH pa_loo IN patron_attributes %]
1472
                                            [% FOREACH pa_loo IN patron_attributes %]
1460
                                                <ol class="attributes_table">
1473
                                                <ol class="attributes_table">
1461
                                                    [% IF pa_loo.class %]
1474
                                                    [% IF pa_loo.class %]
1462
                                                        <fieldset id="aai_[% pa_loo.class | html %]">
1475
                                                        <fieldset id="aai_[% pa_loo.class | html %]">
1463
                                                        <legend id="[% pa_loo.class | html %]_lgd">[% pa_loo.lib | html %]</legend>
1476
                                                        <h3 id="[% pa_loo.class | html %]_lgd">[% pa_loo.lib | html %]</h3>
1464
                                                    [% END %]
1477
                                                    [% END %]
1465
                                                    [% FOREACH patron_attribute IN pa_loo.items %]
1478
                                                    [% FOREACH patron_attribute IN pa_loo.items %]
1466
                                                        <li data-category_code="[% patron_attribute.category_code | html %]">
1479
                                                        <li data-category_code="[% patron_attribute.category_code | html %]">
Lines 1496-1502 legend:hover { Link Here
1496
                                                                [% END %]
1509
                                                                [% END %]
1497
                                                            [% END # /IF ( patron_attribute.use_dropdown ) %]
1510
                                                            [% END # /IF ( patron_attribute.use_dropdown ) %]
1498
                                                            <input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" />
1511
                                                            <input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" />
1499
                                                            <a href="#" class="clear_attribute"><i class="fa fa-fw fa-trash"></i> Clear</a>
1512
                                                            <a href="#" class="clear_attribute" id="lientype"><i class="fa fa-fw fa-trash"></i> Clear</a>
1500
                                                            [% IF ( patron_attribute.repeatable ) %]
1513
                                                            [% IF ( patron_attribute.repeatable ) %]
1501
                                                                <a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a>
1514
                                                                <a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a>
1502
                                                            [% END %]
1515
                                                            [% END %]
Lines 1514-1520 legend:hover { Link Here
1514
                            [% IF ( step_5 ) %]
1527
                            [% IF ( step_5 ) %]
1515
                                [% IF ( EnhancedMessagingPreferences ) %]
1528
                                [% IF ( EnhancedMessagingPreferences ) %]
1516
                                    <fieldset class="rows" id="memberentry_messaging_prefs">
1529
                                    <fieldset class="rows" id="memberentry_messaging_prefs">
1517
                                        <legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend>
1530
                                        <h3 id="patron_messaging_prefs_lgd">Patron messaging preferences</h3>
1518
                                        <div id="messaging_prefs_loading" class="form-message" style="display:none">
1531
                                        <div id="messaging_prefs_loading" class="form-message" style="display:none">
1519
                                            <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading new messaging defaults
1532
                                            <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading new messaging defaults
1520
                                        </div>
1533
                                        </div>
Lines 1549-1555 legend:hover { Link Here
1549
1562
1550
                        [% IF quickadd && opadd  && !check_member %]
1563
                        [% IF quickadd && opadd  && !check_member %]
1551
                            <form id="quick_add_form" class="toggler">
1564
                            <form id="quick_add_form" class="toggler">
1552
                                <fieldset class="rows quick_add"><legend>Quick add</legend>
1565
                                <fieldset class="rows quick_add"><h3>Quick add</h3>
1553
                                    <ol id="quick_add_list">
1566
                                    <ol id="quick_add_list">
1554
                                    </ol>
1567
                                    </ol>
1555
                                </fieldset>
1568
                                </fieldset>
Lines 1587-1658 legend:hover { Link Here
1587
        function showHideFields(){
1600
        function showHideFields(){
1588
            [% UNLESS step == 1 %]
1601
            [% UNLESS step == 1 %]
1589
                [% IF fieldstohide.match('identity') %]
1602
                [% IF fieldstohide.match('identity') %]
1590
                    $("#memberentry_identity").find('legend').nextAll().toggle();
1603
                    $("#memberentry_identity").find('h3').nextAll().toggle();
1591
                [% END %]
1604
                [% END %]
1592
                [% IF show_guarantor || guarantor %]
1605
                [% IF show_guarantor || guarantor %]
1593
                    [% IF fieldstohide.match('guarantor') %]
1606
                    [% IF fieldstohide.match('guarantor') %]
1594
                        $("#memberentry_guarantor").find('legend').nextAll().toggle();
1607
                        $("#memberentry_guarantor").find('h3').nextAll().toggle();
1595
                        $("#guarantor_template").toggle();
1608
                        $("#guarantor_template").toggle();
1596
                    [% END %]
1609
                    [% END %]
1597
                [% END %]
1610
                [% END %]
1598
                [% IF fieldstohide.match('primary_address') %]
1611
                [% IF fieldstohide.match('primary_address') %]
1599
                    $("#memberentry_mainaddress").find('legend').nextAll().toggle();
1612
                    $("#memberentry_mainaddress").find('h3').nextAll().toggle();
1600
                [% END %]
1613
                [% END %]
1601
                [% IF fieldstohide.match('primary_contact') %]
1614
                [% IF fieldstohide.match('primary_contact') %]
1602
                    $("#memberentry_contact").find('legend').nextAll().toggle();
1615
                    $("#memberentry_contact").find('h3').nextAll().toggle();
1603
                [% END %]
1616
                [% END %]
1604
            [% END %]
1617
            [% END %]
1605
            [% UNLESS step == 6 %]
1618
            [% UNLESS step == 6 %]
1606
                [% IF fieldstohide.match('alt_address') %]
1619
                [% IF fieldstohide.match('alt_address') %]
1607
                    $("#memberentry_address").find('legend').nextAll().toggle();
1620
                    $("#memberentry_address").find('h3').nextAll().toggle();
1608
                [% END %]
1621
                [% END %]
1609
            [% END %]
1622
            [% END %]
1610
            [% UNLESS step == 2 %]
1623
            [% UNLESS step == 2 %]
1611
                [% IF fieldstohide.match('alt_contact') %]
1624
                [% IF fieldstohide.match('alt_contact') %]
1612
                    $("#memberentry_altaddress").find('legend').nextAll().toggle();
1625
                    $("#memberentry_altaddress").find('h3').nextAll().toggle();
1613
                [% END %]
1626
                [% END %]
1614
            [% END %]
1627
            [% END %]
1615
            [% UNLESS step == 3 %]
1628
            [% UNLESS step == 3 %]
1616
                [% IF fieldstohide.match('lib_mgmt') %]
1629
                [% IF fieldstohide.match('lib_mgmt') %]
1617
                        $("#memberentry_library_management").find('legend').nextAll().toggle();
1630
                        $("#memberentry_library_management").find('h3').nextAll().toggle();
1618
                [% END %]
1631
                [% END %]
1619
                [% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
1632
                [% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
1620
                    [% IF fieldstohide.match('lib_setup') %]
1633
                    [% IF fieldstohide.match('lib_setup') %]
1621
                        $("#memberentry_subscription").find('legend').nextAll().toggle();
1634
                        $("#memberentry_subscription").find('h3').nextAll().toggle();
1622
                    [% END %]
1635
                    [% END %]
1623
                [% END %]
1636
                [% END %]
1624
                [% UNLESS nouserid && nopassword %]
1637
                [% UNLESS nouserid && nopassword %]
1625
                    [% IF fieldstohide.match('login') %]
1638
                    [% IF fieldstohide.match('login') %]
1626
                        $("#memberentry_userid").find('legend').nextAll().toggle();
1639
                        $("#memberentry_userid").find('h3').nextAll().toggle();
1627
                    [% END %]
1640
                    [% END %]
1628
                [% END %]
1641
                [% END %]
1629
                [% UNLESS ( opadd || opduplicate ) %]
1642
                [% UNLESS ( opadd || opduplicate ) %]
1630
                    [% IF fieldstohide.match('flags') %]
1643
                    [% IF fieldstohide.match('flags') %]
1631
                        $("#memberentry_account_flags").find('legend').nextAll().toggle();
1644
                        $("#memberentry_account_flags").find('h3').nextAll().toggle();
1632
                    [% END %]
1645
                    [% END %]
1633
                [% END %]
1646
                [% END %]
1634
                [% IF fieldstohide.match('debarments') %]
1647
                [% IF fieldstohide.match('debarments') %]
1635
                    $("#memberentry_restrictions").find('legend').nextAll().toggle();
1648
                    $("#memberentry_restrictions").find('h3').nextAll().toggle();
1636
                [% END %]
1649
                [% END %]
1637
            [% END %]
1650
            [% END %]
1638
            [% UNLESS step == 7 %]
1651
            [% UNLESS step == 7 %]
1639
                [% IF Koha.Preference('HouseboundModule') %]
1652
                [% IF Koha.Preference('HouseboundModule') %]
1640
                    [% IF fieldstohide.match('housebound') %]
1653
                    [% IF fieldstohide.match('housebound') %]
1641
                        $("#memberentry_housebound_roles").find('legend').nextAll().toggle();
1654
                        $("#memberentry_housebound_roles").find('h3').nextAll().toggle();
1642
                    [% END %]
1655
                    [% END %]
1643
                [% END %]
1656
                [% END %]
1644
            [% END %]
1657
            [% END %]
1645
            [% UNLESS step == 4 %]
1658
            [% UNLESS step == 4 %]
1646
                [% IF Koha.Preference('ExtendedPatronAttributes') %]
1659
                [% IF Koha.Preference('ExtendedPatronAttributes') %]
1647
                    [% IF fieldstohide.match('additional') %]
1660
                    [% IF fieldstohide.match('additional') %]
1648
                        $("#memberentry_patron_attributes").find('legend').nextAll().toggle();
1661
                        $("#memberentry_patron_attributes").find('h3').nextAll().toggle();
1649
                    [% END %]
1662
                    [% END %]
1650
                [% END %]
1663
                [% END %]
1651
            [% END %]
1664
            [% END %]
1652
            [% UNLESS step == 5 %]
1665
            [% UNLESS step == 5 %]
1653
                [% IF Koha.Preference('EnhancedMessagingPreferences') %]
1666
                [% IF Koha.Preference('EnhancedMessagingPreferences') %]
1654
                    [% IF fieldstohide.match('messaging') %]
1667
                    [% IF fieldstohide.match('messaging') %]
1655
                        $("#memberentry_messaging_prefs").find('legend').nextAll().toggle();
1668
                        $("#memberentry_messaging_prefs").find('h3').nextAll().toggle();
1656
                        $("#messaging_prefs_loading").toggle();
1669
                        $("#messaging_prefs_loading").toggle();
1657
                    [% END %]
1670
                    [% END %]
1658
                [% END %]
1671
                [% END %]
Lines 1665-1671 legend:hover { Link Here
1665
                showHideFields();
1678
                showHideFields();
1666
            });
1679
            });
1667
1680
1668
            $("legend").click(function(){
1681
            $("h3").click(function(){
1669
                $(this).nextAll().toggle();
1682
                $(this).nextAll().toggle();
1670
                $("#messaging_prefs_loading").hide();
1683
                $("#messaging_prefs_loading").hide();
1671
                $("#guarantor_template").hide();
1684
                $("#guarantor_template").hide();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt (-2 / +11 lines)
Lines 5-18 Link Here
5
[% USE Categories %]
5
[% USE Categories %]
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Update patron records &rsaquo; Patrons &rsaquo; Koha</title>
12
<title>Update patron records &rsaquo; Patrons &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="pat_update" class="pat">
16
<body id="pat_update" class="pat">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'patron-search-header.inc' %]
18
[% INCLUDE 'patron-search.inc' %]
16
19
17
[% BLOCK display_names %]
20
[% BLOCK display_names %]
18
[% SWITCH field %]
21
[% SWITCH field %]
Lines 103-108 Link Here
103
            </a>
106
            </a>
104
        </li>
107
        </li>
105
    </ol>
108
    </ol>
109
        <ol>
110
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
111
        </ol>
112
        <ol>
113
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
114
        </ol>
106
</nav>
115
</nav>
107
116
108
<div class="main container-fluid">
117
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt (-5 / +14 lines)
Lines 4-9 Link Here
4
[% USE Categories %]
4
[% USE Categories %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'patron-search-header.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Merge patron records &rsaquo; Patrons &rsaquo; Koha</title>
11
<title>Merge patron records &rsaquo; Patrons &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 46-53 Link Here
46
[% END %]
49
[% END %]
47
</head>
50
</head>
48
<body id="pat_merge" class="pat">
51
<body id="pat_merge" class="pat">
49
[% INCLUDE 'header.inc' %]
52
[% INCLUDE 'header.inc' form=formulaire %]
50
[% INCLUDE 'patron-search-header.inc' %]
53
[% INCLUDE 'patron-search.inc' %]
51
54
52
[% BLOCK display_names %]
55
[% BLOCK display_names %]
53
    [% SWITCH rs %]
56
    [% SWITCH rs %]
Lines 91-96 Link Here
91
            <a href="#" aria-current="page">Merge patron records</a>
94
            <a href="#" aria-current="page">Merge patron records</a>
92
        </li>
95
        </li>
93
    </ol>
96
    </ol>
97
        <ol>
98
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
99
        </ol>
100
        <ol>
101
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
102
        </ol>
94
</nav>
103
</nav>
95
104
96
<div class="main container-fluid">
105
<div class="main container-fluid">
Lines 103-109 Link Here
103
                    [% IF ( patrons.count == 2 ) %]
112
                    [% IF ( patrons.count == 2 ) %]
104
                        <div id="toolbar" class="btn-toolbar">
113
                        <div id="toolbar" class="btn-toolbar">
105
                            <div class="btn-group">
114
                            <div class="btn-group">
106
                                <button class="btn btn-default" id="compare_patrons">
115
                                <button class="btn btn-default pat" id="compare_patrons">
107
                                    <i class="fa fa-arrows-h"></i> Compare patrons
116
                                    <i class="fa fa-arrows-h"></i> Compare patrons
108
                                </button>
117
                                </button>
109
                            </div>
118
                            </div>
Lines 154-160 Link Here
154
                                <input type="hidden" name="id" value="[% p.id | html %]" />
163
                                <input type="hidden" name="id" value="[% p.id | html %]" />
155
                            [% END %]
164
                            [% END %]
156
                            <input type="hidden" name="action" value="merge" />
165
                            <input type="hidden" name="action" value="merge" />
157
                            <input id="merge-patrons" type="submit" value="Merge patrons" />
166
                            <input id="merge-patrons" class="principal" type="submit" value="Merge patrons" />
158
                        </fieldset>
167
                        </fieldset>
159
168
160
                    [% ELSE %]
169
                    [% ELSE %]
Lines 197-203 Link Here
197
                [% END %]
206
                [% END %]
198
207
199
                [% UNLESS error %]
208
                [% UNLESS error %]
200
                    <a class="btn btn-default" href="moremember.pl?borrowernumber=[% keeper.id | html %]">View patron record</a>
209
                    <a class="btn btn-default" href="moremember.pl?borrowernumber=[% keeper.id | html %]" id="lientype">View patron record</a>
201
                [% END %]
210
                [% END %]
202
            [% END %]
211
            [% END %]
203
        </div>
212
        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-30 / +46 lines)
Lines 11-16 Link Here
11
[% PROCESS 'member-display-address-style.inc' %]
11
[% PROCESS 'member-display-address-style.inc' %]
12
[% PROCESS 'member-display-alt-address-style.inc' %]
12
[% PROCESS 'member-display-alt-address-style.inc' %]
13
[% SET footerjs = 1 %]
13
[% SET footerjs = 1 %]
14
[% formulaire = BLOCK %]
15
    [% INCLUDE 'patron-search-header.inc' %]
16
[% END %]
14
[% INCLUDE 'doc-head-open.inc' %]
17
[% INCLUDE 'doc-head-open.inc' %]
15
[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
18
[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
16
<title>
19
<title>
Lines 21-29 Link Here
21
[% INCLUDE 'doc-head-close.inc' %]
24
[% INCLUDE 'doc-head-close.inc' %]
22
</head>
25
</head>
23
26
24
<body id="pat_moremember" class="pat">
27
<body id="pat_moremember">
25
    [% INCLUDE 'header.inc' %]
28
    [% INCLUDE 'header.inc' form=formulaire %]
26
    [% INCLUDE 'patron-search-header.inc' %]
29
    [% INCLUDE 'patron-search.inc' %]
27
30
28
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
31
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
29
        <ol>
32
        <ol>
Lines 48-53 Link Here
48
                </li>
51
                </li>
49
            [% END %]
52
            [% END %]
50
        </ol>
53
        </ol>
54
        <ol>
55
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
56
        </ol>
57
        <ol>
58
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
59
        </ol>
51
    </nav>
60
    </nav>
52
61
53
    <div class="main container-fluid">
62
    <div class="main container-fluid">
Lines 83-111 Link Here
83
                        </div>
92
                        </div>
84
                    [% END %]
93
                    [% END %]
85
94
86
                    <div class="row">
95
                    <div>
96
                        
87
97
88
                        [% IF ( was_renewed ) %]
98
                        <div id="searchresults">
99
                            [% IF ( was_renewed ) %]
89
                            <div class="dialog message">
100
                            <div class="dialog message">
90
                                Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
101
                                Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
91
                            </div>
102
                            </div>
92
                        [% END %]
103
                            [% END %]
93
104
94
                        <div id="patron_messages" class="circmessage attention">
105
                            <div id="patron_messages" class="circmessage attention">
95
                            [% INCLUDE 'patron_messages.inc' %]
106
                                [% INCLUDE 'patron_messages.inc' %]
107
                            </div>
96
                        </div>
108
                        </div>
97
109
98
                        <h1>[% INCLUDE 'patron-title.inc' no_html = 1 %]</h1>
110
                        <h1>[% INCLUDE 'patron-title.inc' no_html = 1 %]</h1>
99
                        <div class="col-sm-6">
111
                        <div class="col-sm-6">
112
                            <fieldset class="rows">
100
113
101
                            <div id="patron-information" class="patroninfo-section">
114
                            <div id="patron-information" class="patroninfo-section">
102
115
103
                                <div class="patroninfo-heading">
116
                                <div class="patroninfo-heading">
104
                                    <h3>Contact information</h3>
117
                                    <h3>Contact information</h3>
105
                                    [% IF ( guarantor.borrowernumber ) %]
118
                                    [% IF ( guarantor.borrowernumber ) %]
106
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=1&amp;guarantorid=[% guarantor.borrowernumber | html %]"><i class="fa fa-pencil"></i> Edit</a>
119
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=1&amp;guarantorid=[% guarantor.borrowernumber | html %]" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
107
                                    [% ELSE %]
120
                                    [% ELSE %]
108
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=1"><i class="fa fa-pencil"></i> Edit</a>
121
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=1" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
109
                                    [% END %]
122
                                    [% END %]
110
                                </div>
123
                                </div>
111
124
Lines 255-261 Link Here
255
                                    [% IF ( housebound_role.housebound_chooser == 1 OR housebound_role.housebound_deliverer == 1 ) %]
268
                                    [% IF ( housebound_role.housebound_chooser == 1 OR housebound_role.housebound_deliverer == 1 ) %]
256
                                        <div class="patroninfo-heading">
269
                                        <div class="patroninfo-heading">
257
                                            <h3>Housebound roles</h3>
270
                                            <h3>Housebound roles</h3>
258
                                            <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=7"><i class="fa fa-pencil"></i> Edit</a>
271
                                            <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=7" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
259
                                        </div>
272
                                        </div>
260
                                        <div class="rows">
273
                                        <div class="rows">
261
                                            <ol>
274
                                            <ol>
Lines 280-286 Link Here
280
                                    [% ELSE %]
293
                                    [% ELSE %]
281
                                        <div class="patroninfo-heading">
294
                                        <div class="patroninfo-heading">
282
                                            <h3>Housebound roles</h3>
295
                                            <h3>Housebound roles</h3>
283
                                            <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=7"><i class="fa fa-plus"></i> Add</a>
296
                                            <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=7" id="lientype"><i class="fa fa-plus"></i> Add</a>
284
                                        </div>
297
                                        </div>
285
                                    [% END %]
298
                                    [% END %]
286
                                </div> [% #/ div#houseboundroles %]
299
                                </div> [% #/ div#houseboundroles %]
Lines 292-298 Link Here
292
                                        [% IF ( attributes_loop ) %]
305
                                        [% IF ( attributes_loop ) %]
293
                                            <div class="patroninfo-heading">
306
                                            <div class="patroninfo-heading">
294
                                                <h3>Additional attributes and identifiers</h3>
307
                                                <h3>Additional attributes and identifiers</h3>
295
                                                <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=4"><i class="fa fa-pencil"></i> Edit</a>
308
                                                <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=4" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
296
                                            </div>
309
                                            </div>
297
                                            [% FOREACH attribute IN attributes_loop %]
310
                                            [% FOREACH attribute IN attributes_loop %]
298
                                                [% IF attribute.class %]
311
                                                [% IF attribute.class %]
Lines 316-322 Link Here
316
                                        [% ELSE %]
329
                                        [% ELSE %]
317
                                            <div class="patroninfo-heading">
330
                                            <div class="patroninfo-heading">
318
                                                <h3>Additional attributes and identifiers</h3>
331
                                                <h3>Additional attributes and identifiers</h3>
319
                                                <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=4"><i class="fa fa-plus"></i> Add</a>
332
                                                <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=4" id="lientype"><i class="fa fa-plus"></i> Add</a>
320
                                            </div>
333
                                            </div>
321
                                        [% END %]
334
                                        [% END %]
322
                                    </div> [% # /div#patron-extended-attributes %]
335
                                    </div> [% # /div#patron-extended-attributes %]
Lines 327-333 Link Here
327
                                <div id="patron-messaging-prefs" class="patroninfo-section">
340
                                <div id="patron-messaging-prefs" class="patroninfo-section">
328
                                    <div class="patroninfo-heading">
341
                                    <div class="patroninfo-heading">
329
                                        <h3>Patron messaging preferences</h3>
342
                                        <h3>Patron messaging preferences</h3>
330
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=5"><i class="fa fa-pencil"></i> Edit</a>
343
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=5" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
331
                                    </div>
344
                                    </div>
332
                                    [% INCLUDE 'messaging-preference-form.inc' %]
345
                                    [% INCLUDE 'messaging-preference-form.inc' %]
333
                                    [% IF Koha.Preference('SMSSendDriver') %]
346
                                    [% IF Koha.Preference('SMSSendDriver') %]
Lines 348-361 Link Here
348
                                    [% END %]
361
                                    [% END %]
349
                                </div> [% # /div#patron-messaging-prefs %]
362
                                </div> [% # /div#patron-messaging-prefs %]
350
                            [% END %]
363
                            [% END %]
351
364
                            </fieldset>
352
                        </div> <!-- /.col-sm-6 -->
365
                        </div> <!-- /.col-sm-6 -->
353
366
354
                        <div class="col-sm-6">
367
                        <div class="col-sm-6">
368
                        <fieldset class="rows">
355
                            <div id="patron-library-details" class="patroninfo-section">
369
                            <div id="patron-library-details" class="patroninfo-section">
356
                                <div class="patroninfo-heading">
370
                                <div class="patroninfo-heading">
357
                                    <h3>Library use</h3>
371
                                    <h3>Library use</h3>
358
                                    <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=3"><i class="fa fa-pencil"></i> Edit</a>
372
                                    <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=3" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
359
                                </div>
373
                                </div>
360
                                <div class="rows">
374
                                <div class="rows">
361
                                    <ol>
375
                                    <ol>
Lines 391-402 Link Here
391
                                                <span class="blocker">
405
                                                <span class="blocker">
392
                                                    [% patron.dateexpiry | $KohaDates %]
406
                                                    [% patron.dateexpiry | $KohaDates %]
393
                                                    <strong><em>Expired</em></strong>
407
                                                    <strong><em>Expired</em></strong>
394
                                                    <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]">Edit details</a>
408
                                                    <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]" id="lientype">Edit details</a>
395
                                                </span>
409
                                                </span>
396
                                            [% ELSIF ( patron.is_going_to_expire ) %]
410
                                            [% ELSIF ( patron.is_going_to_expire ) %]
397
                                                [% patron.dateexpiry | $KohaDates %]
411
                                                [% patron.dateexpiry | $KohaDates %]
398
                                                <strong><em>Patron expires soon</em></strong>
412
                                                <strong><em>Patron expires soon</em></strong>
399
                                                <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]">Edit details</a>
413
                                                <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&amp;reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]" id="lientype">Edit details</a>
400
                                            [% ELSE %]
414
                                            [% ELSE %]
401
                                                [% patron.dateexpiry | $KohaDates %]
415
                                                [% patron.dateexpiry | $KohaDates %]
402
                                            [% END %]
416
                                            [% END %]
Lines 497-503 Link Here
497
                                [% IF ( patron.B_phone || patron.B_email || patron.contactnote || patron.B_address || patron.B_address2 || patron.B_city || patron.B_zipcode || patron.B_country ) %]
511
                                [% IF ( patron.B_phone || patron.B_email || patron.contactnote || patron.B_address || patron.B_address2 || patron.B_city || patron.B_zipcode || patron.B_country ) %]
498
                                    <div class="patroninfo-heading">
512
                                    <div class="patroninfo-heading">
499
                                        <h3>Alternate address</h3>
513
                                        <h3>Alternate address</h3>
500
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=6"><i class="fa fa-pencil"></i> Edit</a>
514
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=6" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
501
                                    </div>
515
                                    </div>
502
                                    <div class="address">
516
                                    <div class="address">
503
                                        <ul>
517
                                        <ul>
Lines 531-537 Link Here
531
                                [% ELSE %]
545
                                [% ELSE %]
532
                                    <div class="patroninfo-heading">
546
                                    <div class="patroninfo-heading">
533
                                      <h3 class="inline">Alternate address</h3>
547
                                      <h3 class="inline">Alternate address</h3>
534
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=6"><i class="fa fa-plus"></i> Add</a>
548
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=6" id="lientype"><i class="fa fa-plus"></i> Add</a>
535
                                    </div>
549
                                    </div>
536
                                [% END %]
550
                                [% END %]
537
                            </div> [% # /div#patron-alternate-address %]
551
                            </div> [% # /div#patron-alternate-address %]
Lines 540-546 Link Here
540
                                [% IF ( patron.altcontactsurname || patron.altcontactfirstname || patron.altcontactaddress1 || patron.altcontactaddress2 || patron.altcontactaddress3 || patron.altcontactstate || patron.altcontactzipcode || patron.altcontactcountry || patron.altcontactphone ) %]
554
                                [% IF ( patron.altcontactsurname || patron.altcontactfirstname || patron.altcontactaddress1 || patron.altcontactaddress2 || patron.altcontactaddress3 || patron.altcontactstate || patron.altcontactzipcode || patron.altcontactcountry || patron.altcontactphone ) %]
541
                                    <div class="patroninfo-heading">
555
                                    <div class="patroninfo-heading">
542
                                        <h3>Alternative contact</h3>
556
                                        <h3>Alternative contact</h3>
543
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=2"><i class="fa fa-pencil"></i> Edit</a>
557
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=2" id="lientype"><i class="fa fa-pencil"></i> Edit</a>
544
                                    </div>
558
                                    </div>
545
                                    <div class="rows">
559
                                    <div class="rows">
546
                                        <ol>
560
                                        <ol>
Lines 604-610 Link Here
604
                                [% ELSE %]
618
                                [% ELSE %]
605
                                    <div class="patroninfo-heading">
619
                                    <div class="patroninfo-heading">
606
                                        <h3>Alternative contact</h3>
620
                                        <h3>Alternative contact</h3>
607
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=2"><i class="fa fa-plus"></i> Add</a>
621
                                        <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=2" id="lientype"><i class="fa fa-plus"></i> Add</a>
608
                                    </div>
622
                                    </div>
609
                                [% END %]
623
                                [% END %]
610
                            </div> [% # /div#patron-alternative-contact %]
624
                            </div> [% # /div#patron-alternative-contact %]
Lines 613-619 Link Here
613
                                <div id="patron-files" class="patroninfo-section">
627
                                <div id="patron-files" class="patroninfo-section">
614
                                    <div class="patroninfo-heading">
628
                                    <div class="patroninfo-heading">
615
                                        <h3>Files</h3>
629
                                        <h3>Files</h3>
616
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]"><i class="fa fa-list"></i> Manage</a>
630
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | uri %]" id="lientype"><i class="fa fa-list"></i> Manage</a>
617
631
618
                                        [% IF ( files ) %]
632
                                        [% IF ( files ) %]
619
                                            <div class="rows">
633
                                            <div class="rows">
Lines 633-643 Link Here
633
                                    </div> <!-- /.patroninfo-heading -->
647
                                    </div> <!-- /.patroninfo-heading -->
634
                                </div> <!-- /#patron-files -->
648
                                </div> <!-- /#patron-files -->
635
                            [% END # /IF EnableBorrowerFiles %]
649
                            [% END # /IF EnableBorrowerFiles %]
650
                            </fieldset>
636
651
637
                        </div> <!-- /div.col-sm-6 -->
652
                        </div> <!-- /div.col-sm-6 -->
638
                    </div> <!-- /div.row -->
653
                    </div> <!-- /div.row -->
639
654
640
                    <div id="finesholdsissues" class="toptabs">
655
                    <fieldset id="finesholdsissues" class="toptabs">
656
                    <fieldset id="searchresultst">
641
                        <ul>
657
                        <ul>
642
                            <li>
658
                            <li>
643
                                <a href="#checkouts">Checkouts ([% issuecount || 0 | html %])</a>
659
                                <a href="#checkouts">Checkouts ([% issuecount || 0 | html %])</a>
Lines 778-784 Link Here
778
                                            <fieldset class="action">
794
                                            <fieldset class="action">
779
                                                <input type="hidden" name="from" value="borrower" />
795
                                                <input type="hidden" name="from" value="borrower" />
780
                                                <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
796
                                                <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
781
                                                <input type="submit" value="Suspend all holds" />
797
                                                <input type="submit" class="principal" value="Suspend all holds" />
782
798
783
                                                [% IF Koha.Preference('AutoResumeSuspendedHolds') %]
799
                                                [% IF Koha.Preference('AutoResumeSuspendedHolds') %]
784
                                                    <label for="suspend_until">until</label>
800
                                                    <label for="suspend_until">until</label>
Lines 793-799 Link Here
793
                                                <input type="hidden" name="from" value="borrower" />
809
                                                <input type="hidden" name="from" value="borrower" />
794
                                                <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
810
                                                <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
795
                                                <input type="hidden" name="suspend" value="0" />
811
                                                <input type="hidden" name="suspend" value="0" />
796
                                                <input type="submit" value="Resume all suspended holds" />
812
                                                <input type="submit" class="principal" value="Resume all suspended holds" />
797
                                            </fieldset>
813
                                            </fieldset>
798
                                        </form>
814
                                        </form>
799
                                    [% END # IF SuspendHoldsIntranet %]
815
                                    [% END # IF SuspendHoldsIntranet %]
Lines 817-824 Link Here
817
                        [% IF Koha.Preference('ArticleRequests') %]
833
                        [% IF Koha.Preference('ArticleRequests') %]
818
                            [% INCLUDE 'patron-article-requests.inc' %]
834
                            [% INCLUDE 'patron-article-requests.inc' %]
819
                        [% END %]
835
                        [% END %]
820
836
                    </fieldset>
821
                    </div> <!-- /div#finesholdsissues -->
837
                    </fieldset> <!-- /div#finesholdsissues -->
822
                </main>
838
                </main>
823
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
839
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
824
840
Lines 912-918 Link Here
912
                for (var i=0;i < Nodes.length;i++){
928
                for (var i=0;i < Nodes.length;i++){
913
                    if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
929
                    if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
914
                        Nodes[i].checked=false;
930
                        Nodes[i].checked=false;
915
                    }
931
       view_restrictions             }
916
                }
932
                }
917
            } else {
933
            } else {
918
                var Node=me.parentNode.nextSibling;
934
                var Node=me.parentNode.nextSibling;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-3 / +14 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Sent notices for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
12
<title>Sent notices for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="pat_notices" class="pat">
19
<body id="pat_notices" class="pat">
17
    [% INCLUDE 'header.inc' %]
20
    [% INCLUDE 'header.inc' form=formulaire %]
18
    [% INCLUDE 'patron-search-header.inc' %]
21
    [% INCLUDE 'patron-search.inc' %]
19
22
20
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
        <ol>
24
        <ol>
Lines 31-36 Link Here
31
                </a>
34
                </a>
32
            </li>
35
            </li>
33
        </ol>
36
        </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
34
    </nav>
43
    </nav>
35
44
36
    <div class="main container-fluid">
45
    <div class="main container-fluid">
Lines 39-46 Link Here
39
                <main>
48
                <main>
40
49
41
                    [% INCLUDE 'members-toolbar.inc' %]
50
                    [% INCLUDE 'members-toolbar.inc' %]
42
                    <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
51
                    <h2>Sent notices for [% INCLUDE 'patron-title.inc' %]</h2>
43
52
53
                    <div id="searchresults">
44
                    [% IF ( QUEUED_MESSAGES ) %]
54
                    [% IF ( QUEUED_MESSAGES ) %]
45
                        <table id="noticestable">
55
                        <table id="noticestable">
46
                            <thead>
56
                            <thead>
Lines 107-112 Link Here
107
                    [% ELSE %]
117
                    [% ELSE %]
108
                        <div class="dialog message">There is no record of any messages that have been sent to this patron.</div>
118
                        <div class="dialog message">There is no record of any messages that have been sent to this patron.</div>
109
                    [% END %]
119
                    [% END %]
120
                    </div>
110
121
111
                </main>
122
                </main>
112
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
123
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-2 / +11 lines)
Lines 7-12 Link Here
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% USE KohaDates %]
8
[% USE KohaDates %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'patron-search-header.inc' %]
12
[% END %]
10
[% PROCESS 'accounts.inc' %]
13
[% PROCESS 'accounts.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
12
<title>Make a payment for [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Patrons &rsaquo; Koha</title>
15
<title>Make a payment for [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Patrons &rsaquo; Koha</title>
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="pat_pay" class="pat">
19
<body id="pat_pay" class="pat">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'patron-search-header.inc' %]
21
[% INCLUDE 'patron-search.inc' %]
19
22
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
24
    <ol>
Lines 31-36 Link Here
31
            </a>
34
            </a>
32
        </li>
35
        </li>
33
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
34
</nav>
43
</nav>
35
44
36
<div class="main container-fluid">
45
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt (-2 / +11 lines)
Lines 5-10 Link Here
5
[% USE Registers %]
5
[% USE Registers %]
6
[% USE Price %]
6
[% USE Price %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
8
[% PROCESS 'accounts.inc' %]
11
[% PROCESS 'accounts.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
[% BLOCK cash_register_required %]
13
[% BLOCK cash_register_required %]
Lines 32-39 Link Here
32
</head>
35
</head>
33
36
34
<body id="pat_paycollect" class="pat">
37
<body id="pat_paycollect" class="pat">
35
[% INCLUDE 'header.inc' %]
38
[% INCLUDE 'header.inc' form=formulaire %]
36
[% INCLUDE 'patron-search-header.inc' %]
39
[% INCLUDE 'patron-search.inc' %]
37
40
38
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
41
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
39
    <ol>
42
    <ol>
Lines 66-71 Link Here
66
            </a>
69
            </a>
67
        </li>
70
        </li>
68
    </ol>
71
    </ol>
72
        <ol>
73
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
74
        </ol>
75
        <ol>
76
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
77
        </ol>
69
</nav>
78
</nav>
70
79
71
<div class="main container-fluid">
80
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt (-4 / +16 lines)
Lines 5-18 Link Here
5
[% USE AuthorisedValues  %]
5
[% USE AuthorisedValues  %]
6
[% USE Branches %]
6
[% USE Branches %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'patron-search-header.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Purchase suggestions for [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Patrons &rsaquo; Koha</title>
12
<title>Purchase suggestions for [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo; Patrons &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="pat_purchase_suggestions" class="pat">
16
<body id="pat_purchase_suggestions" class="pat">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'patron-search-header.inc' %]
18
[% INCLUDE 'patron-search.inc' %]
16
19
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
21
    <ol>
Lines 28-33 Link Here
28
            </a>
31
            </a>
29
        </li>
32
        </li>
30
    </ol>
33
    </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
31
</nav>
40
</nav>
32
41
33
<div class="main container-fluid">
42
<div class="main container-fluid">
Lines 36-47 Link Here
36
            <main>
45
            <main>
37
46
38
                [% INCLUDE 'members-toolbar.inc' %]
47
                [% INCLUDE 'members-toolbar.inc' %]
39
                <h1>Purchase suggestions</h1>
40
48
41
                <div id="toolbar" class="btn-toolbar">
49
                <div id="toolbar" class="btn-toolbar">
42
                    <a class="btn btn-default" id="newsuggestion" href="/cgi-bin/koha/suggestion/suggestion.pl?op=add&amp;suggestedby=[% patron.borrowernumber | html %]&amp;redirect=purchase_suggestions&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-plus"></i> New purchase suggestion</a>
50
                    <div>
51
                        <a class="pat" id="newsuggestion" href="/cgi-bin/koha/suggestion/suggestion.pl?op=add&amp;suggestedby=[% patron.borrowernumber | html %]&amp;redirect=purchase_suggestions&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-plus"></i> New purchase suggestion</a>
52
                    </div>
43
                </div>
53
                </div>
44
54
55
                <h1>Purchase suggestions</h1>
56
45
                [% IF suggestions.size %]
57
                [% IF suggestions.size %]
46
                  <table id="suggestions">
58
                  <table id="suggestions">
47
                    <thead>
59
                    <thead>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-3 / +12 lines)
Lines 6-19 Link Here
6
[% USE Branches %]
6
[% USE Branches %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'patron-search-header.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Circulation history for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
13
<title>Circulation history for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
11
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
12
</head>
15
</head>
13
16
14
<body id="pat_readingrec" class="pat">
17
<body id="pat_readingrec" class="pat">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'patron-search-header.inc' %]
19
[% INCLUDE 'patron-search.inc' %]
17
20
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
22
    <ol>
Lines 29-34 Link Here
29
            </a>
32
            </a>
30
        </li>
33
        </li>
31
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
32
</nav>
41
</nav>
33
42
34
<div class="main container-fluid">
43
<div class="main container-fluid">
Lines 37-43 Link Here
37
            <main>
46
            <main>
38
47
39
[% INCLUDE 'members-toolbar.inc' %]
48
[% INCLUDE 'members-toolbar.inc' %]
40
<h1>Circulation history</h1>
49
<h2>Circulation history</h2>
41
50
42
[% UNLESS Koha.Preference('intranetreadinghistory') %]
51
[% UNLESS Koha.Preference('intranetreadinghistory') %]
43
    <div class="dialog alert">Staff members are not allowed to access patron's checkout history</div>
52
    <div class="dialog alert">Staff members are not allowed to access patron's checkout history</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/recallshistory.tt (-2 / +4 lines)
Lines 3-16 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Asset %]
4
[% USE Asset %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'patron-search-header.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Recalls history for [% INCLUDE 'patron-title.inc' %]</title>
10
<title>Recalls history for [% INCLUDE 'patron-title.inc' %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
13
11
<body id="recalls_history" class="pat">
14
<body id="recalls_history" class="pat">
12
    [% INCLUDE 'header.inc' %]
15
    [% INCLUDE 'header.inc' form=formulaire %]
13
    [% INCLUDE 'patron-search.inc' %]
14
16
15
    <div id="breadcrumbs">
17
    <div id="breadcrumbs">
16
        <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
18
        <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt (-3 / +12 lines)
Lines 4-17 Link Here
4
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'patron-search-header.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Subscription routing lists for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
11
<title>Subscription routing lists for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="pat_routing_lists" class="pat">
15
<body id="pat_routing_lists" class="pat">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'patron-search-header.inc' %]
17
[% INCLUDE 'patron-search.inc' %]
15
18
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
20
    <ol>
Lines 27-32 Link Here
27
            </a>
30
            </a>
28
        </li>
31
        </li>
29
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
30
</nav>
39
</nav>
31
40
32
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 39-45 Link Here
39
                <h1>Subscription routing lists for [% INCLUDE 'patron-title.inc' %]</h1>
48
                <h1>Subscription routing lists for [% INCLUDE 'patron-title.inc' %]</h1>
40
<!-- Search Bar -->
49
<!-- Search Bar -->
41
<p class="tip">Search subscriptions:</p>
50
<p class="tip">Search subscriptions:</p>
42
<form action="/cgi-bin/koha/serials/serials-search.pl" method="get">[% IF ( routing ) %]<input type="hidden" name="routing" value="[% routing | html %]" />[% END %]<input type="hidden" name="searched" value="1" /> <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" /> <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" /><input type="submit" value="Search" class="submit" />
51
<form action="/cgi-bin/koha/serials/serials-search.pl" method="get">[% IF ( routing ) %]<input type="hidden" name="routing" value="[% routing | html %]" />[% END %]<input type="hidden" name="searched" value="1" /> <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" /> <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" /><input type="submit" value="Search" class="principal" />
43
</form>
52
</form>
44
<!-- Search Bar End -->
53
<!-- Search Bar End -->
45
54
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt (-1 / +1 lines)
Lines 22-28 Link Here
22
22
23
        [% PROCESS patron_search_table table_id => 'memberresultst' columns => columns %]
23
        [% PROCESS patron_search_table table_id => 'memberresultst' columns => columns %]
24
24
25
        <div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div>
25
        <div id="closewindow"><a href="#" class="btn btn-default btn-default close cancel">Close</a></div>
26
26
27
    </div>
27
    </div>
28
</div>
28
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt (-2 / +12 lines)
Lines 4-9 Link Here
4
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'patron-search-header.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>
11
<title>
9
    [% UNLESS blocking_error %]
12
    [% UNLESS blocking_error %]
Lines 13-21 Link Here
13
[% INCLUDE 'doc-head-close.inc' %]
16
[% INCLUDE 'doc-head-close.inc' %]
14
</head>
17
</head>
15
18
16
<body id="pat_statistics" class="pat">
19
<body id="pat_statistics">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'patron-search-header.inc' %]
21
[% INCLUDE 'patron-search-header.inc' %]
22
[% INCLUDE 'patron-search.inc' %]
19
23
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
25
    <ol>
Lines 42-47 Link Here
42
            </li>
46
            </li>
43
        [% END %]
47
        [% END %]
44
    </ol>
48
    </ol>
49
        <ol>
50
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
51
        </ol>
52
        <ol>
53
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
54
        </ol>
45
</nav>
55
</nav>
46
56
47
<div class="main container-fluid">
57
<div class="main container-fluid">
Lines 51-57 Link Here
51
61
52
        [% INCLUDE 'members-toolbar.inc' %]
62
        [% INCLUDE 'members-toolbar.inc' %]
53
63
54
            <h1>Statistics for [% INCLUDE 'patron-title.inc' %]</h1>
64
            <h2>Statistics for [% INCLUDE 'patron-title.inc' %]</h2>
55
            [% IF ( datas.size ) %]
65
            [% IF ( datas.size ) %]
56
                <table id="statistics">
66
                <table id="statistics">
57
                <thead>
67
                <thead>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/two_factor_auth.tt (-2 / +4 lines)
Lines 2-14 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'patron-search-header.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Two-factor authentication &rsaquo; Patrons &rsaquo; Koha</title>
9
<title>Two-factor authentication &rsaquo; Patrons &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="pat_two_factor_auth" class="pat">
12
<body id="pat_two_factor_auth" class="pat">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'patron-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/enqueue_koc.tt (-2 / +10 lines)
Lines 1-10 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Add offline circulations to queue &rsaquo; Circulation &rsaquo; Koha</title>
2
<title>Add offline circulations to queue &rsaquo; Circulation &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
</head>
7
</head>
5
<body id="ocirc_enqueue_koc" class="circ ocirc">
8
<body id="ocirc_enqueue_koc" class="circ ocirc">
6
[% INCLUDE 'header.inc' %]
9
[% INCLUDE 'header.inc' form = formulaire %]
7
[% INCLUDE 'circ-search.inc' %]
8
10
9
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
10
    <ol>
12
    <ol>
Lines 18-23 Link Here
18
            <a href="#" aria-current="page">Add offline circulations to queue</a>
20
            <a href="#" aria-current="page">Add offline circulations to queue</a>
19
        </li>
21
        </li>
20
    </ol>
22
    </ol>
23
        <ol>
24
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
25
        </ol>
26
        <ol>
27
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
28
        </ol>
21
</nav>
29
</nav>
22
30
23
<div class="main container-fluid">
31
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/list.tt (-2 / +10 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
    [% INCLUDE "doc-head-open.inc" %]
7
    [% INCLUDE "doc-head-open.inc" %]
5
    <title>Offline circulation &rsaquo; Circulation &rsaquo; Koha</title>
8
    <title>Offline circulation &rsaquo; Circulation &rsaquo; Koha</title>
6
    [% INCLUDE "doc-head-close.inc" %]
9
    [% INCLUDE "doc-head-close.inc" %]
7
</head>
10
</head>
8
11
9
<body id="ocirc_list" class="circ ocirc">
12
<body id="ocirc_list" class="circ ocirc">
10
    [% INCLUDE 'header.inc' %]
13
    [% INCLUDE 'header.inc' form = formulaire %]
11
    [% INCLUDE 'circ-search.inc' %]
12
14
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
        <ol>
16
        <ol>
Lines 24-29 Link Here
24
                </a>
26
                </a>
25
            </li>
27
            </li>
26
        </ol>
28
        </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
    </nav>
35
    </nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt (-5 / +13 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Offline circulation file upload &rsaquo; Circulation &rsaquo; Koha</title>
8
<title>Offline circulation file upload &rsaquo; Circulation &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="ocirc_process_koc" class="circ ocirc">
12
<body id="ocirc_process_koc" class="circ ocirc">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form = formulaire %]
11
[% INCLUDE 'circ-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 36-41 Link Here
36
            </li>
38
            </li>
37
        [% END %]
39
        [% END %]
38
    </ol>
40
    </ol>
41
        <ol>
42
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
43
        </ol>
44
        <ol>
45
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
        </ol>
39
</nav>
47
</nav>
40
48
41
<div class="main container-fluid">
49
<div class="main container-fluid">
Lines 67-73 Link Here
67
            <input class="required" required="required" type="file" id="fileToUpload" size="50" name="fileToUpload" />
75
            <input class="required" required="required" type="file" id="fileToUpload" size="50" name="fileToUpload" />
68
            <span class="required">Required</span>
76
            <span class="required">Required</span>
69
       </li></ol>
77
       </li></ol>
70
       <fieldset class="action"><input type="button" class="submit" value="Upload file" id="upload_file" /></fieldset>
78
       <fieldset class="action"><input type="button" id="principal" class="submit" value="Upload file" id="upload_file" /></fieldset>
71
	   </fieldset>
79
	   </fieldset>
72
     </form>
80
     </form>
73
     <div id="fileuploadstatus" class="progress_panel" style="display:none">Upload progress: <progress id="fileuploadprogress" max="100" value="0"></progress> <span class="fileuploadpercent">0</span>%</div>
81
     <div id="fileuploadstatus" class="progress_panel" style="display:none">Upload progress: <progress id="fileuploadprogress" max="100" value="0"></progress> <span class="fileuploadpercent">0</span>%</div>
Lines 76-89 Link Here
76
84
77
   <form action="enqueue_koc.pl" id="processfile" method="post" enctype="multipart/form-data">
85
   <form action="enqueue_koc.pl" id="processfile" method="post" enctype="multipart/form-data">
78
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
86
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
79
     <input type="submit" value="Add to offline circulation queue" id="queueformsubmit" />
87
     <input type="submit" class="principal" value="Add to offline circulation queue" id="queueformsubmit" />
80
   </form>
88
   </form>
81
89
82
   <form action="process_koc.pl" id="enqueuefile" method="post" enctype="multipart/form-data">
90
   <form action="process_koc.pl" id="enqueuefile" method="post" enctype="multipart/form-data">
83
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
91
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
84
     <input type="hidden" name="runinbackground" id="runinbackground" value="" />
92
     <input type="hidden" name="runinbackground" id="runinbackground" value="" />
85
     <input type="hidden" name="completedJobID" id="completedJobID" value="" />
93
     <input type="hidden" name="completedJobID" id="completedJobID" value="" />
86
     <!-- <input type="submit" value="Apply directly" id="mainformsubmit" /> -->
94
     <!-- <input class="principal" type="submit" value="Apply directly" id="mainformsubmit" /> -->
87
     <!-- FIXME: Job freezes when submitted, disabling button as a temporary mitigation -->
95
     <!-- FIXME: Job freezes when submitted, disabling button as a temporary mitigation -->
88
     <div id="jobstatus" style="display:none">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
96
     <div id="jobstatus" style="display:none">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
89
     <div id="jobfailed" style="display:none"></div>
97
     <div id="jobfailed" style="display:none"></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt (-1 / +1 lines)
Lines 9-15 Link Here
9
        <div class="row">
9
        <div class="row">
10
            <div id="onboarding-step1" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
10
            <div id="onboarding-step1" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
11
                <div id="logo"><a href="#">Koha</a></div>
11
                <div id="logo"><a href="#">Koha</a></div>
12
                <h1>Web installer &rsaquo; Create a library</h1>
12
                <h2>Web installer &rsaquo; Create a library</h2>
13
13
14
                [% INCLUDE 'onboarding_messages.inc' %]
14
                [% INCLUDE 'onboarding_messages.inc' %]
15
15
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt (-1 / +1 lines)
Lines 19-25 Link Here
19
            <div id="onboarding-step2" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
19
            <div id="onboarding-step2" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
20
                <div id="logo"><a href="#">Koha</a></div>
20
                <div id="logo"><a href="#">Koha</a></div>
21
21
22
                <h1>Web installer &rsaquo; Create a patron category</h1>
22
                <h2>Web installer &rsaquo; Create a patron category</h2>
23
23
24
                [% INCLUDE 'onboarding_messages.inc' %]
24
                [% INCLUDE 'onboarding_messages.inc' %]
25
25
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt (-1 / +1 lines)
Lines 11-17 Link Here
11
        <div class="row">
11
        <div class="row">
12
            <div id="onboarding-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
12
            <div id="onboarding-step3" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
13
                <div id="logo"><a href="#">Koha</a></div>
13
                <div id="logo"><a href="#">Koha</a></div>
14
                <h1>Web installer &rsaquo; Create Koha administrator patron</h1>
14
                <h2>Web installer &rsaquo; Create Koha administrator patron</h2>
15
15
16
                [% INCLUDE 'onboarding_messages.inc' %]
16
                [% INCLUDE 'onboarding_messages.inc' %]
17
17
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep4.tt (-1 / +1 lines)
Lines 8-14 Link Here
8
        <div class="row">
8
        <div class="row">
9
            <div id="onboarding-step4" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
9
            <div id="onboarding-step4" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
10
                <div id="logo"><a href="#">Koha</a></div>
10
                <div id="logo"><a href="#">Koha</a></div>
11
                <h1>Web installer &rsaquo; Create a new item type</h1>
11
                <h2>Web installer &rsaquo; Create a new item type</h2>
12
12
13
                [% INCLUDE 'onboarding_messages.inc' %]
13
                [% INCLUDE 'onboarding_messages.inc' %]
14
14
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt (-1 / +1 lines)
Lines 17-23 Link Here
17
17
18
                [% IF all_done %]
18
                [% IF all_done %]
19
19
20
                    <h1>Web installer &rsaquo; Complete</h1>
20
                    <h2>Web installer &rsaquo; Complete</h2>
21
                    [% INCLUDE 'onboarding_messages.inc' %]
21
                    [% INCLUDE 'onboarding_messages.inc' %]
22
22
23
                    <div id="steps">
23
                    <div id="steps">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt (-13 / +20 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [% IF list.patron_list_id %]
9
    [% IF list.patron_list_id %]
Lines 12-20 Link Here
12
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
13
</head>
16
</head>
14
17
15
<body id="patlist_add_modify" class="pat patlist">
18
<body id="patlist_add_modify" class="patlist">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc'  form = formulaire %]
17
[% INCLUDE 'cat-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 37-70 Link Here
37
            </a>
39
            </a>
38
        </li>
40
        </li>
39
    </ol>
41
    </ol>
42
        <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
45
        <ol>
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
        </ol>
40
</nav>
48
</nav>
41
49
42
50
43
    <div class="container-fluid">
51
    <div class="container-fluid">
44
        <div class="row">
52
        <div class="row">
45
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
53
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
46
        <h1>
54
        <h2>
47
            [% IF list.patron_list_id %]
55
            [% IF list.patron_list_id %]
48
                Modify patron list
56
                Modify patron list
49
            [% ELSE %]
57
            [% ELSE %]
50
                New patron list
58
                New patron list
51
            [% END %]
59
            [% END %]
52
        </h1>
60
        </h2>
53
61
54
        <form method="post" action="/cgi-bin/koha/patron_lists/add-modify.pl" class="validated">
62
        <form method="post" action="/cgi-bin/koha/patron_lists/add-modify.pl" class="validated">
55
            <fieldset class="rows">
63
            <fieldset class="rows">
56
64
57
                <legend>
65
                <h3>
58
                    [% IF list.patron_list_id %]
66
                    [% IF list.patron_list_id %]
59
                    Modify patron list
67
                    Modify patron list
60
                    [% ELSE %]
68
                    [% ELSE %]
61
                    Create a new patron list
69
                    Create a new patron list
62
                    [% END %]
70
                    [% END %]
63
                </legend>
71
                </h3>
64
72
65
                <ol>
73
                <ol>
66
                    <li>
74
                    <li>
67
                        <label class="required" for="list-name">Name:</label>
75
                        <label class="req[% formulaire = BLOCK %]
76
    [% INCLUDE 'circ-search.inc' %]
77
[% END %]uired" for="list-name">Name:</label>
68
                        <input id="list-name" name="name" type="text" class="required" required="required" value="[% list.name | html %]" />
78
                        <input id="list-name" name="name" type="text" class="required" required="required" value="[% list.name | html %]" />
69
                    </li>
79
                    </li>
70
80
Lines 78-92 Link Here
78
                    </li>
88
                    </li>
79
89
80
                    <li>
90
                    <li>
81
                        <span class="label">Owner: </span>[% logged_in_user.userid | html %]
91
                        <label>Owner: </label>[% logged_in_user.userid | html %]
82
                    </li>
92
                    </li>
83
                </ol>
93
                </ol>
84
94
85
            </fieldset>
86
87
            <fieldset class="action">
88
                <input type="hidden" name="patron_list_id" value="[% list.patron_list_id | html %]" />
95
                <input type="hidden" name="patron_list_id" value="[% list.patron_list_id | html %]" />
89
                <input type="submit" value="Save" />
96
                <button type="submit" id="principal">Save</button>
90
                <a href="lists.pl" class="cancel">Cancel</a>
97
                <a href="lists.pl" class="cancel">Cancel</a>
91
            </fieldset>
98
            </fieldset>
92
        </form>
99
        </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt (-16 / +24 lines)
Lines 3-8 Link Here
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE TablesSettings %]
4
[% USE TablesSettings %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'circ-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'columns_settings.inc' %]
10
[% INCLUDE 'columns_settings.inc' %]
8
<title>Add patrons &rsaquo; [% list.name | html %] &rsaquo; Patron lists &rsaquo; Tools &rsaquo; Koha</title>
11
<title>Add patrons &rsaquo; [% list.name | html %] &rsaquo; Patron lists &rsaquo; Tools &rsaquo; Koha</title>
Lines 24-32 Link Here
24
</style>
27
</style>
25
</head>
28
</head>
26
29
27
<body id="patlist_list" class="pat patlist">
30
<body id="patlist_list" class="patlist">
28
[% INCLUDE 'header.inc' %]
31
[% INCLUDE 'header.inc'  form = formulaire %]
29
[% INCLUDE 'cat-search.inc' %]
30
32
31
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
33
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
32
    <ol>
34
    <ol>
Lines 48-53 Link Here
48
            </a>
50
            </a>
49
        </li>
51
        </li>
50
    </ol>
52
    </ol>
53
        <ol>
54
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
55
        </ol>
56
        <ol>
57
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
58
        </ol>
51
</nav>
59
</nav>
52
60
53
<div class="main container-fluid">
61
<div class="main container-fluid">
Lines 55-61 Link Here
55
        <div class="col-sm-10 col-sm-push-2">
63
        <div class="col-sm-10 col-sm-push-2">
56
            <main>
64
            <main>
57
65
58
        <h1>[% list.name | html %]</h1>
66
        <h2>[% list.name | html %]</h2>
59
67
60
        [% IF ( not_found.size > 0 ) %]
68
        [% IF ( not_found.size > 0 ) %]
61
        [% IF id_column == 'borrowernumbers' %]
69
        [% IF id_column == 'borrowernumbers' %]
Lines 103-109 Link Here
103
111
104
        <form action="list.pl" id="add_patrons" method="post" class="clearfix">
112
        <form action="list.pl" id="add_patrons" method="post" class="clearfix">
105
            <fieldset class="rows">
113
            <fieldset class="rows">
106
                <legend>Add patrons</legend>
114
                <h3>Add patrons</h3>
107
                <ol>
115
                <ol>
108
                    <li id="patron_search_line">
116
                    <li id="patron_search_line">
109
                        <label for="find_patron">Patron search: </label>
117
                        <label for="find_patron">Patron search: </label>
Lines 133-147 Link Here
133
                        </li>
141
                        </li>
134
                    </span>
142
                    </span>
135
                </ol>
143
                </ol>
136
            </fieldset>
144
                <button id="principal" type="submit">Submit</button>
137
            <fieldset id="patron_ids_submit" class="action">
138
                <input type="submit" value="Submit" />
139
            </fieldset>
145
            </fieldset>
140
146
141
            <div class="clearfix"></div>
147
            <div class="clearfix"></div>
142
148
143
            <fieldset id="patrons_to_add_fieldset">
149
            <fieldset id="patrons_to_add_fieldset">
144
                <legend>Patrons to be added</legend>
150
                <h3>Patrons to be added</h3>
145
                <div id="patrons_to_add"></div>
151
                <div id="patrons_to_add"></div>
146
152
147
                <fieldset class="action">
153
                <fieldset class="action">
Lines 153-170 Link Here
153
        </form>
159
        </form>
154
160
155
        <form action="list.pl" id="remove_patrons" method="post">
161
        <form action="list.pl" id="remove_patrons" method="post">
162
        <div id="searchresults">
163
156
164
157
            <div class="searchheader" id="searchheader">
165
            <div class="searchheader" id="searchheader">
158
                <span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> |
166
            <div>
159
                <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span> |
167
                <span class="checkall"><a id="CheckAll" class="btn btn-link" href="#"><i class="fa fa-check"></i> Select all</a></span> 
168
                <span class="clearall"><a id="CheckNone" class="btn btn-link" href="#"><i class="fa fa-remove"></i> Clear all</a></span> |
160
                <div class="btn-group">
169
                <div class="btn-group">
161
                    <button class="btn btn-default btn-xs list-remove" type="submit"><i class="fa fa-trash"></i> Remove selected</button>
170
                    <button id="merge-patrons" class="btn btn-default btn-xs list-remove" type="submit"><i class="fa fa-trash"></i> Remove selected</button>
162
                </div>
171
                </div>
163
                |
164
                <div class="btn-group">
172
                <div class="btn-group">
165
                    <button class="btn btn-default btn-xs merge-patrons"><i class="fa fa-compress"></i> Merge selected patrons</button>
173
                    <button id="merge-patrons" class="btn btn-default btn-xs merge-patrons"><i class="fa fa-compress"></i> Merge selected patrons</button>
166
                </div>
174
                </div>
167
            </div>
175
            </div>
176
            </div>
168
177
169
            <table id="patron-list-table">
178
            <table id="patron-list-table">
170
                <thead>
179
                <thead>
Lines 212-219 Link Here
212
            </table>
221
            </table>
213
222
214
            <input type="hidden" name="patron_list_id" value="[% list.patron_list_id | html %]" />
223
            <input type="hidden" name="patron_list_id" value="[% list.patron_list_id | html %]" />
215
            <button type="submit" class="btn btn-default btn-sm list-remove"><i class="fa fa-trash" aria-hidden="true"></i> Remove selected patrons</button>
224
        </div>
216
            <button class="btn btn-default btn-sm merge-patrons" type="submit"><i class="fa fa-compress"></i> Merge selected patrons</button>
217
        </form>
225
        </form>
218
226
219
            </main>
227
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-6 / +18 lines)
Lines 1-15 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Patron lists &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Patron lists &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'greybox.inc' %]
10
[% INCLUDE 'greybox.inc' %]
8
</head>
11
</head>
9
12
10
<body id="patlist_lists" class="pat patlist">
13
<body id="patlist_lists" class="patlist">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form = formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 25-30 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
Lines 34-47 Link Here
34
42
35
        <div id="toolbar" class="btn-toolbar">
43
        <div id="toolbar" class="btn-toolbar">
36
            <div class="btn-group">
44
            <div class="btn-group">
37
                <a class="btn btn-default" href="add-modify.pl"><i class="fa fa-plus"></i> New patron list</a>
45
                <a class="pat" class="btn btn-default" href="add-modify.pl"><i class="fa fa-plus"></i> New patron list</a>
38
            </div>
46
            </div>
39
        </div>
47
        </div>
40
48
41
        <h1>Your patron lists</h1>
49
        <h2>Your patron lists</h2>
42
50
43
        [% IF ( lists ) %]
51
        [% IF ( lists ) %]
44
52
53
        <div id="searchresults">
54
45
        <table id="patron-lists-table">
55
        <table id="patron-lists-table">
46
            <thead>
56
            <thead>
47
                <tr>
57
                <tr>
Lines 69-75 Link Here
69
                        </td>
79
                        </td>
70
                        <td>
80
                        <td>
71
                            <div class="btn-group dropup">
81
                            <div class="btn-group dropup">
72
                                <a class="btn btn-default btn-xs dropdown-toggle" id="listactions[% l.patron_list_id | html %]" role="button" data-toggle="dropdown" href="#">
82
                                <a id="lientype" class="btn btn-default btn-xs dropdown-toggle" id="listactions[% l.patron_list_id | html %]" role="button" data-toggle="dropdown" href="#">
73
                                   Actions <b class="caret"></b>
83
                                   Actions <b class="caret"></b>
74
                                </a>
84
                                </a>
75
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="listactions[% l.patron_list_id | html %]">
85
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="listactions[% l.patron_list_id | html %]">
Lines 123-128 Link Here
123
133
124
        [% ELSE %]
134
        [% ELSE %]
125
           <div class="dialog message">There are no patron lists.</div>
135
           <div class="dialog message">There are no patron lists.</div>
136
137
        </div>
126
        [% END %]
138
        [% END %]
127
139
128
            </main>
140
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (-14 / +24 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
    [% INCLUDE 'doc-head-open.inc' %]
7
    [% 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>
8
    <title>[% IF batch_id %]Edit ([% batch_id | html %])[% ELSE %]New[% END %] &rsaquo; Batches &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
9
    [% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="pcard_edit-batch" class="tools pcard">
12
<body id="pcard_edit-batch" class="tools pcard">
10
    [% INCLUDE 'header.inc' %]
13
    [% INCLUDE 'header.inc' form=formulaire %]
11
    [% INCLUDE 'cat-search.inc' %]
12
14
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
        <ol>
16
        <ol>
Lines 36-41 Link Here
36
                </a>
38
                </a>
37
            </li>
39
            </li>
38
        </ol>
40
        </ol>
41
        <ol>
42
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
43
        </ol>
44
        <ol>
45
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
        </ol>
39
    </nav>
47
    </nav>
40
48
41
    <div class="main container-fluid">
49
    <div class="main container-fluid">
Lines 45-54 Link Here
45
53
46
                    [% INCLUDE 'patroncards-toolbar.inc' %]
54
                    [% INCLUDE 'patroncards-toolbar.inc' %]
47
55
48
                    <h1>[% IF description %]<span>Edit</span> [% description | html %]
56
                    <h2>[% IF description %]<span>Edit</span> [% description | html %]
49
                        [% ELSIF batch_id %]<span>Edit patron card batch</span> [% batch_id | html %]
57
                        [% ELSIF batch_id %]<span>Edit patron card batch</span> [% batch_id | html %]
50
                        [% ELSE %]<span>New patron card batch</span>[% END %]
58
                        [% ELSE %]<span>New patron card batch</span>[% END %]
51
                    </h1>
59
                    </h2>
52
60
53
                [% IF ( duplicate_message ) %]
61
                [% IF ( duplicate_message ) %]
54
                    <div class="dialog message">
62
                    <div class="dialog message">
Lines 76-92 Link Here
76
                                </div>
84
                                </div>
77
                            </form>
85
                            </form>
78
                            <div id="batch-manage" class="action">
86
                            <div id="batch-manage" class="action">
79
                                <a class="btn btn-default" id="additems" href="#"><i class="fa fa-plus"></i> Add patron(s)</a>[% IF ( table_loop ) %]
87
                                <a class="lientype" id="additems" href="#"><i class="fa fa-plus"></i> Add patron(s)</a>[% IF ( table_loop ) %]
80
                                <a class="btn btn-default" id="savedesc" href="#" data-batch_id="[% batch_id | html %]"><i class="fa fa-save"></i> Save description</a>
88
                                <a class="lientype" id="savedesc" href="#" data-batch_id="[% batch_id | html %]"><i class="fa fa-save"></i> Save description</a>
81
                                <a class="btn btn-default" id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected patrons</a>
89
                                <a class="lientype" id="removeitems" href="#"><i class="fa fa-trash"></i> Remove selected patrons</a>
82
                                <a class="btn btn-default" id="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a>
90
                                <a class="lientype" ="deletebatch" href="#"><i class="fa fa-minus-square"></i> Delete batch</a>
83
                                <a class="btn btn-default" id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a>
91
                                <a class="lientype" id="deduplicate" href="#"><i class="fa fa-minus"></i> Remove duplicates</a>
84
                                <a class="btn btn-default" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected card(s)</a>
92
                                <a class="lientype" id="exportitems" href="#"><i class="fa fa-share-square-o"></i> Export selected card(s)</a>
85
                                <a class="btn btn-default" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export card batch</a>[% END %]
93
                                <a class="lientype" id="exportbatch" href="#"><i class="fa fa-share-square-o"></i> Export card batch</a>[% END %]
86
                            </div>
94
                            </div>
87
                            [% IF ( table_loop ) %]
95
                            [% IF ( table_loop ) %]
96
                            <fieldset id="searchresults">
88
                            <form name="items">
97
                            <form name="items">
89
                                <h2>Patrons in batch number [% batch_id | html %]</h2>
98
                                <h3>Patrons in batch number [% batch_id | html %]</h3>
90
                                <table id="batcht">
99
                                <table id="batcht">
91
                                    [% FOREACH table_loo IN table_loop %]
100
                                    [% FOREACH table_loo IN table_loop %]
92
                                        [% IF ( table_loo.header_fields ) %]
101
                                        [% IF ( table_loo.header_fields ) %]
Lines 114-121 Link Here
114
                                                [% FOREACH text_field IN table_loo.text_fields %]
123
                                                [% FOREACH text_field IN table_loo.text_fields %]
115
                                                    [% IF ( text_field.select_field ) %]
124
                                                    [% IF ( text_field.select_field ) %]
116
                                                        <td>
125
                                                        <td>
117
                                                            <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/edit-batch.pl?op=remove&amp;batch_id=[% batch_id | html %]&amp;label_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
126
                                                            <a id="lientype" class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/edit-batch.pl?op=remove&amp;batch_id=[% batch_id | html %]&amp;label_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
118
                                                            <a class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa fa-share-square-o"></i> Export</a>
127
                                                            <a id="lientype" class="btn btn-default btn-xs export" href="#" data-batch-id="[% batch_id | html %]" data-label-id="[% text_field.field_value | html %]"><i class="fa fa-share-square-o"></i> Export</a>
119
                                                        </td>
128
                                                        </td>
120
                                                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
129
                                                        <td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
121
                                                    [% ELSE %]
130
                                                    [% ELSE %]
Lines 128-133 Link Here
128
                                    </tbody>
137
                                    </tbody>
129
                                </table>
138
                                </table>
130
                            </form>
139
                            </form>
140
                            </fieldset>
131
                            [% ELSE %]
141
                            [% ELSE %]
132
                                <fieldset class="rows" style="border-bottom: 0px; border: 0px;">
142
                                <fieldset class="rows" style="border-bottom: 0px; border: 0px;">
133
                                <ol><li>
143
                                <ol><li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt (-6 / +14 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
2
    [% INCLUDE 'doc-head-open.inc' %]
5
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>[% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %] &rsaquo; Layout &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>[% IF ( layout_id ) %]Edit ([% layout_id | html %])[% ELSE %]New[% END %] &rsaquo; Layout &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
4
    [% INCLUDE 'doc-head-close.inc' %]
7
    [% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="pcard_edit-layout" class="tools pcard">
10
<body id="pcard_edit-layout" class="tools pcard">
8
    [% INCLUDE 'header.inc' %]
11
    [% INCLUDE 'header.inc' form=formulaire %]
9
    [% INCLUDE 'cat-search.inc' %]
10
12
11
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
        <ol>
14
        <ol>
Lines 32-37 Link Here
32
                </a>
34
                </a>
33
            </li>
35
            </li>
34
        </ol>
36
        </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
    </nav>
43
    </nav>
36
44
37
    <div class="main container-fluid">
45
    <div class="main container-fluid">
Lines 41-56 Link Here
41
49
42
                    [% INCLUDE 'patroncards-toolbar.inc' %]
50
                    [% INCLUDE 'patroncards-toolbar.inc' %]
43
51
44
                    <h1>[% IF ( layout_id ) %]<span>Edit patron card layout</span> [% layout_id | html %]
52
                    <h2>[% IF ( layout_id ) %]<span>Edit patron card layout</span> [% layout_id | html %]
45
                        [% ELSE %]<span>Create patron card layout</span>[% END %]
53
                        [% ELSE %]<span>Create patron card layout</span>[% END %]
46
                    </h1>
54
                    </h2>
47
55
48
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
56
                <!-- NOTE: The order of the elements on this form is crictical to correct processing. You've been warned...  -->
49
                <form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get">
57
                <form name="input" action="/cgi-bin/koha/patroncards/edit-layout.pl" method="get">
50
                <div class="row">
58
                <div class="row">
51
                <div class="col-sm-6">
59
                <div class="col-sm-6">
52
                        <fieldset class="rows">
60
                        <fieldset class="rows">
53
                            <legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</legend>
61
                            <h3>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] patron card text layout</h3>
54
                            <ol>
62
                            <ol>
55
                                <li>
63
                                <li>
56
                                <fieldset>
64
                                <fieldset>
Lines 476-482 Link Here
476
                </div>
484
                </div>
477
                </div>
485
                </div>
478
                    <fieldset class="action">
486
                    <fieldset class="action">
479
                        <input class="btn btn-default btn-default" type="submit" value="Save" />
487
                        <input class="btn btn-default btn-default principal" type="submit" value="Save" />
480
                        <a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Cancel</a>
488
                        <a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Cancel</a>
481
                        <input type="hidden" name="op" value="save" />
489
                        <input type="hidden" name="op" value="save" />
482
                        <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
490
                        <input type="hidden" name="layout_id" value="[% layout_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt (-6 / +14 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
2
    [% INCLUDE 'doc-head-open.inc' %]
5
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>[% IF ( profile_id ) %]Edit ([% profile_id | html %])[% ELSE %]New[% END%] &rsaquo; Profiles &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>[% IF ( profile_id ) %]Edit ([% profile_id | html %])[% ELSE %]New[% END%] &rsaquo; Profiles &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
4
    [% INCLUDE 'doc-head-close.inc' %]
7
    [% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="pcard_edit-profile" class="tools pcard">
10
<body id="pcard_edit-profile" class="tools pcard">
8
    [% INCLUDE 'header.inc' %]
11
    [% INCLUDE 'header.inc' form=formulaire %]
9
    [% INCLUDE 'cat-search.inc' %]
10
12
11
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
        <ol>
14
        <ol>
Lines 32-37 Link Here
32
                </a>
34
                </a>
33
            </li>
35
            </li>
34
        </ol>
36
        </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
    </nav>
43
    </nav>
36
44
37
    <div class="main container-fluid">
45
    <div class="main container-fluid">
Lines 43-49 Link Here
43
51
44
                            <h1>[% IF (profile_id) %]Edit[% ELSE %]Create[% END%] printer profile[% IF (profile_id) %] ([% profile_id | html %])[% END %]</h1>
52
                            <h1>[% IF (profile_id) %]Edit[% ELSE %]Create[% END%] printer profile[% IF (profile_id) %] ([% profile_id | html %])[% END %]</h1>
45
                                    <form name="input" action="/cgi-bin/koha/patroncards/edit-profile.pl" method="get">
53
                                    <form name="input" action="/cgi-bin/koha/patroncards/edit-profile.pl" method="get">
46
                                    <fieldset class="rows"><legend>Profile settings</legend>
54
                                    <fieldset class="rows"><h3>Profile settings</h3>
47
                                        <ol>
55
                                        <ol>
48
                                            <li>
56
                                            <li>
49
                                                [% IF ( profile_id ) %]
57
                                                [% IF ( profile_id ) %]
Lines 85-91 Link Here
85
                                         </ol>
93
                                         </ol>
86
                                        </fieldset>
94
                                        </fieldset>
87
95
88
                                        <fieldset class="rows"><legend>Offset:</legend>
96
                                        <fieldset class="rows"><h3>Offset:</h3>
89
                                        <ol>
97
                                        <ol>
90
                                            <li>
98
                                            <li>
91
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
99
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
Lines 96-102 Link Here
96
                                         </ol>
104
                                         </ol>
97
                                        </fieldset>
105
                                        </fieldset>
98
106
99
                                        <fieldset class="rows"><legend>Creep:</legend>
107
                                        <fieldset class="rows"><h3>Creep:</h3>
100
                                        <ol>
108
                                        <ol>
101
                                            <li>
109
                                            <li>
102
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
110
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
Lines 107-113 Link Here
107
                                        </ol>
115
                                        </ol>
108
                                    </fieldset>
116
                                    </fieldset>
109
                                    <fieldset class="action">
117
                                    <fieldset class="action">
110
                                        <input type="submit" value="Save" />
118
                                        <input type="submit" class="principal" value="Save" />
111
                                        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile" class="cancel">Cancel</a>
119
                                        <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile" class="cancel">Cancel</a>
112
                                        <input type="hidden" name="op" value="save" />
120
                                        <input type="hidden" name="op" value="save" />
113
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
121
                                        <input type="hidden" name="profile_id" value="[% profile_id | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt (-4 / +12 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
    [% INCLUDE 'doc-head-open.inc' %]
7
    [% 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>
8
    <title>[% IF (template_id) %]Edit ([% template_id | html %])[% ELSE %]New[% END %] &rsaquo; Templates &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
9
    [% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="pcard_edit-template" class="tools pcard">
12
<body id="pcard_edit-template" class="tools pcard">
10
    [% INCLUDE 'header.inc' %]
13
    [% INCLUDE 'header.inc' form=formulaire %]
11
    [% INCLUDE 'cat-search.inc' %]
12
14
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
        <ol>
16
        <ol>
Lines 34-39 Link Here
34
                </a>
36
                </a>
35
            </li>
37
            </li>
36
        </ol>
38
        </ol>
39
        <ol>
40
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
41
        </ol>
42
        <ol>
43
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
44
        </ol>
37
    </nav>
45
    </nav>
38
46
39
    <div class="main container-fluid">
47
    <div class="main container-fluid">
Lines 42-48 Link Here
42
                <main>
50
                <main>
43
51
44
                    [% INCLUDE 'patroncards-toolbar.inc' %]
52
                    [% INCLUDE 'patroncards-toolbar.inc' %]
45
                    <h1>[% IF (template_id) %]Edit[% ELSE %]Create[% END %] patron card template[% IF (template_id) %] ([% template_id | html %])[% END %]</h1>
53
                    <h2>[% IF (template_id) %]Edit[% ELSE %]Create[% END %] patron card template[% IF (template_id) %] ([% template_id | html %])[% END %]</h2>
46
                    <form name="input" action="/cgi-bin/koha/patroncards/edit-template.pl" method="get">
54
                    <form name="input" action="/cgi-bin/koha/patroncards/edit-template.pl" method="get">
47
                        <div class="row">
55
                        <div class="row">
48
                        <div class="col-sm-6">
56
                        <div class="col-sm-6">
Lines 159-165 Link Here
159
                    </div>
167
                    </div>
160
168
161
                    <fieldset class="action">
169
                    <fieldset class="action">
162
                        <input type="submit" class="submit" value="Save" />
170
                        <input class="principal" type="submit" class="submit" value="Save" />
163
                        <a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Cancel</a>
171
                        <a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Cancel</a>
164
                        <input type="hidden" name="op" value="save" />
172
                        <input type="hidden" name="op" value="save" />
165
                        [% IF ( template_id ) %]
173
                        [% IF ( template_id ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt (-3 / +12 lines)
Lines 1-10 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]    
1
    [% INCLUDE 'doc-head-open.inc' %]
5
    [% INCLUDE 'doc-head-open.inc' %]
2
    <title>Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
3
    [% INCLUDE 'doc-head-close.inc' %]
7
    [% INCLUDE 'doc-head-close.inc' %]
4
</head>
8
</head>
5
<body id="pcard_home" class="tools pcard">
9
<body id="pcard_home" class="tools pcard">
6
    [% INCLUDE 'header.inc' %]
10
    [% INCLUDE 'header.inc' form=formulaire %]
7
    [% INCLUDE 'cat-search.inc' %]
8
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
11
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
9
        <ol>
12
        <ol>
10
            <li>
13
            <li>
Lines 19-24 Link Here
19
                </a>
22
                </a>
20
            </li>
23
            </li>
21
        </ol>
24
        </ol>
25
        <ol>
26
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
        </ol>
28
        <ol>
29
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
30
        </ol>
22
    </nav>
31
    </nav>
23
32
24
<div class="main container-fluid">
33
<div class="main container-fluid">
Lines 28-34 Link Here
28
37
29
                [% INCLUDE 'patroncards-toolbar.inc' %]
38
                [% INCLUDE 'patroncards-toolbar.inc' %]
30
39
31
                <h1>Patron card creator</h1>
40
                <h2>Patron card creator</h2>
32
41
33
            </main>
42
            </main>
34
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
43
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt (-19 / +28 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
2
    [% INCLUDE 'doc-head-open.inc' %]
5
    [% INCLUDE 'doc-head-open.inc' %]
3
    <title>Images &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
6
    <title>Images &rsaquo; Patron card creator &rsaquo; Tools &rsaquo; Koha</title>
4
    [% INCLUDE 'doc-head-close.inc' %]
7
    [% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="pcard_image-manage" class="tools pcard">
10
<body id="pcard_image-manage" class="tools pcard">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'cat-search.inc' %]
10
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
11
    <ol>
13
    <ol>
12
        <li>
14
        <li>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
Lines 32-46 Link Here
32
            <main>
40
            <main>
33
41
34
                [% INCLUDE 'patroncards-toolbar.inc' %]
42
                [% INCLUDE 'patroncards-toolbar.inc' %]
35
                <h1>Image manager</h1>
43
                <h2>Image manager</h2>
36
                [% INCLUDE 'patroncards-errors.inc' %]
44
                [% INCLUDE 'patroncards-errors.inc' %]
37
                <div class="row">
45
                <div class="row">
38
                    <div class="col-sm-6">
46
                    <div class="col-sm-6">
39
                        <h2>Upload additional images for patron cards</h2>
47
                    <fieldset class="rows">
48
                        <h3>Upload additional images for patron cards</h3>
40
                        <p>Manage additional images to use as logo, decoration or background on a patron card layout.</p>
49
                        <p>Manage additional images to use as logo, decoration or background on a patron card layout.</p>
41
                        <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
50
                        <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
42
                            <fieldset class="brief">
51
                            <div class="hint">Only PNG, GIF, JPEG, XPM formats are supported. Maximum image size is 2MB.</div>
43
                                <div class="hint">Only PNG, GIF, JPEG, XPM formats are supported. Maximum image size is 2MB.</div>
44
                                <ol>
52
                                <ol>
45
                                <li>
53
                                <li>
46
                                    <label for="uploadfile">Select the file to upload: </label>
54
                                    <label for="uploadfile">Select the file to upload: </label>
Lines 49-67 Link Here
49
                                </li>
57
                                </li>
50
                                <li>
58
                                <li>
51
                                    <label for="image_name">Image name: </label>
59
                                    <label for="image_name">Image name: </label>
60
61
                                    <input type="text" id="image_name" name="image_name" size="20" />
62
52
                                    <div class="hint">
63
                                    <div class="hint">
53
                                        This will be the name by which you will refer to this image in the patron card layout editor.
64
                                        This will be the name by which you will refer to this image in the patron card layout editor.
54
                                    </div>
65
                                    </div>
55
                                    <div class="hint">
66
                                    <div class="hint">
56
                                        To replace an image, delete it, upload a new file and give it the same image name.
67
                                        To replace an image, delete it, upload a new file and give it the same image name.
57
                                    </div>
68
                                    </div>
58
59
                                    <input type="text" id="image_name" name="image_name" size="20" />
60
                                </li>
69
                                </li>
61
                                </ol>
70
                                </ol>
62
                                <div class="action">
71
                                <div class="action">
63
                                    <input type="hidden" name="op" value="upload" />
72
                                    <input type="hidden" name="op" value="upload" />
64
                                    <input class="btn btn-default btn-default" id="uploadsu" type="submit" value="Upload" />
73
                                    <input class="btn btn-default btn-default principal" id="uploadsu" type="submit" value="Upload" />
65
                                </div>
74
                                </div>
66
                                [% IF ( IMPORT_SUCCESSFUL ) %]
75
                                [% IF ( IMPORT_SUCCESSFUL ) %]
67
                                    <div class="dialog message">
76
                                    <div class="dialog message">
Lines 70-84 Link Here
70
                                    <li>Image name: [% IMAGE_NAME | html %]</li></ul>
79
                                    <li>Image name: [% IMAGE_NAME | html %]</li></ul>
71
                                    </div>
80
                                    </div>
72
                                [% END %]
81
                                [% END %]
73
                            </fieldset>
74
75
                        </form>
82
                        </form>
83
                        </fieldset>
76
                    </div>
84
                    </div>
85
77
                    <div class="col-sm-6">
86
                    <div class="col-sm-6">
78
                    <h2>Delete images</h2>
87
                    <fieldset class="rows">
79
                        [% IF ( TABLE ) %]
88
                        <h3>Delete images</h3>
80
                        <form name="delete_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
89
                            [% IF ( TABLE ) %]
81
                            <fieldset class="brief">
90
                            <form name="delete_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
82
                                <div class="hint">
91
                                <div class="hint">
83
                                    Select one or more images to delete.
92
                                    Select one or more images to delete.
84
                                </div>
93
                                </div>
Lines 106-112 Link Here
106
                                    [% FOREACH text_field IN TABL.text_fields %]
115
                                    [% FOREACH text_field IN TABL.text_fields %]
107
                                    [% IF ( text_field.select_field ) %]
116
                                    [% IF ( text_field.select_field ) %]
108
                                        <td>
117
                                        <td>
109
                                            <a class="delete_image btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/image-manage.pl?op=delete&image_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
118
                                            <a class="delete_image btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/image-manage.pl?op=delete&image_id=[% text_field.field_value | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
110
                                        </td>
119
                                        </td>
111
                                        <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
120
                                        <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>
112
                                    [% ELSIF ( text_field.field_value ) %]
121
                                    [% ELSIF ( text_field.field_value ) %]
Lines 121-137 Link Here
121
                                </table>
130
                                </table>
122
                                <div class="action">
131
                                <div class="action">
123
                                    <input type="hidden" name="op" value="delete" />
132
                                    <input type="hidden" name="op" value="delete" />
124
                                    <input class="btn btn-default btn-default" type="button" id="delete" value="Delete selected" />
133
                                    <input class="btn btn-default btn-default lientype" type="button" id="delete" value="Delete selected" />
125
                                </div>
134
                                </div>
126
                                [% IF ( DELETE_SUCCESSFULL ) %]
135
                                [% IF ( DELETE_SUCCESSFULL ) %]
127
                                <div id="dialog" class="dialog message">
136
                                <div id="dialog" class="dialog message">
128
                                    <h3>Image(s) successfully deleted</h3>
137
                                    <h3>Image(s) successfully deleted</h3>
129
                                </div>
138
                                </div>
130
                                [% END %]
139
                                [% END %]
131
                            </fieldset>
132
                        </form>
140
                        </form>
141
                            </fieldset>
133
                        [% ELSE %]
142
                        [% ELSE %]
134
                        <fieldset class="brief">
143
135
                            <div class="hint">
144
                            <div class="hint">
136
                                No images are currently available.
145
                                No images are currently available.
137
                            </div>
146
                            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt (-12 / +20 lines)
Lines 1-6 Link Here
1
[% USE CGI %]
1
[% USE CGI %]
2
[% PROCESS 'i18n.inc' %]
2
[% PROCESS 'i18n.inc' %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% BLOCK translate_card_element %]
7
[% BLOCK translate_card_element %]
5
[%-  SWITCH element -%]
8
[%-  SWITCH element -%]
6
[%-  CASE 'layout'    -%][% t('layout') | html %]
9
[%-  CASE 'layout'    -%][% t('layout') | html %]
Lines 29-36 Link Here
29
</head>
32
</head>
30
33
31
<body id="pcard_manage" class="tools pcard">
34
<body id="pcard_manage" class="tools pcard">
32
    [% INCLUDE 'header.inc' %]
35
    [% INCLUDE 'header.inc' form=formulaire %]
33
    [% INCLUDE 'cat-search.inc' %]
34
36
35
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
37
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
36
        <ol>
38
        <ol>
Lines 49-54 Link Here
49
                </a>
51
                </a>
50
            </li>
52
            </li>
51
        </ol>
53
        </ol>
54
        <ol>
55
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
56
        </ol>
57
        <ol>
58
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
59
        </ol>
52
    </nav>
60
    </nav>
53
61
54
    <div class="main container-fluid">
62
    <div class="main container-fluid">
Lines 58-70 Link Here
58
66
59
                    [% INCLUDE 'patroncards-toolbar.inc' %]
67
                    [% INCLUDE 'patroncards-toolbar.inc' %]
60
68
61
                    <h1>Patron card templates</h1>
69
                    <h2>Patron card templates</h2>
62
70
63
                    [% INCLUDE 'patroncards-errors.inc' %]
71
                    [% INCLUDE 'patroncards-errors.inc' %]
64
                        <div id="manage-patroncards-layouts">
72
                        <div id="manage-patroncards-layouts">
65
                            [% IF ( table_loop ) %]
73
                            [% IF ( table_loop ) %]
66
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
74
                            <form name="layouts" action="/cgi-bin/koha/manage.pl?card_element=[% card_element | html %]">
67
                            <h2>Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]</h2>
75
                            <fieldset id="rows">
76
                            <h3>Currently available [% PROCESS translate_card_element element=card_element_title FILTER lower %]</h3>
68
                            <table>
77
                            <table>
69
                                [% FOREACH table_loo IN table_loop %]
78
                                [% FOREACH table_loo IN table_loop %]
70
                                [% IF ( table_loo.header_fields ) %]
79
                                [% IF ( table_loo.header_fields ) %]
Lines 93-101 Link Here
93
                                [% FOREACH text_field IN table_loo.text_fields %]
102
                                [% FOREACH text_field IN table_loo.text_fields %]
94
                                [% IF ( text_field.select_field ) %]
103
                                [% IF ( text_field.select_field ) %]
95
                                    <td>
104
                                    <td>
96
                                      <a class="btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/edit-[% card_element | html %].pl?op=edit&element_id=[% text_field.field_value | html %]"><i class="fa fa-edit"></i> Edit</a>
105
                                      <a id="lientype" class="btn btn-default btn-xs" href="/cgi-bin/koha/patroncards/edit-[% card_element | html %].pl?op=edit&element_id=[% text_field.field_value | html %]"><i class="fa fa-edit"></i> Edit</a>
97
                                      [% IF ( print ) %]<a class="btn btn-default btn-xs export" data-batch-id="[% text_field.field_value |url %]" href="/cgi-bin/koha/patroncards/print.pl?batch_id=[% text_field.field_value |url %]"><i class="fa fa-share-square-o"></i> Export</a>[% END %]
106
                                      [% IF ( print ) %]<a id="lientype" class="btn btn-default btn-xs export" data-batch-id="[% text_field.field_value |url %]" href="/cgi-bin/koha/patroncards/print.pl?batch_id=[% text_field.field_value |url %]"><i class="fa fa-share-square-o"></i> Export</a>[% END %]
98
                                      <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/manage.pl?op=delete&card_element=[% card_element | html %]&element_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
107
                                      <a id="lientype" class="btn btn-default btn-xs delete" href="/cgi-bin/koha/patroncards/manage.pl?op=delete&card_element=[% card_element | html %]&element_id=[% text_field.field_value | html %]"><i class="fa fa-trash"></i> Delete</a>
99
                                    </td>
108
                                    </td>
100
                                    [% IF ( print ) %]<td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>[% END %]
109
                                    [% IF ( print ) %]<td><input type="checkbox" name="action" value="[% text_field.field_value | html %]" /></td>[% END %]
101
                                [% ELSIF ( text_field.field_value ) %]
110
                                [% ELSIF ( text_field.field_value ) %]
Lines 109-119 Link Here
109
                                [% END %]
118
                                [% END %]
110
                            </table>
119
                            </table>
111
                            <fieldset class="action">
120
                            <fieldset class="action">
112
                                [% IF ( print ) %]<input type="button" id="print" value="Export selected batches" />[% END %]
121
                                [% IF ( print ) %]<input type="button" id="print" class="principal" value="Export selected batches" />[% END %]
122
                            </fieldset>
113
                            </fieldset>
123
                            </fieldset>
114
                            [% IF patron_lists %]
124
                            [% IF patron_lists %]
115
                            <fieldset class="rows">
125
                            <fieldset class="rows">
116
                                <legend>Or use a patron list</legend>
126
                                <h3>Or use a patron list</h3>
117
                                <ol>
127
                                <ol>
118
                                    <li>
128
                                    <li>
119
                                        <label for="patron_list_id">Patron list: </label>
129
                                        <label for="patron_list_id">Patron list: </label>
Lines 125-133 Link Here
125
                                        </select>
135
                                        </select>
126
                                    </li>
136
                                    </li>
127
                                </ol>
137
                                </ol>
128
                            </fieldset>
138
                                <input type="button" id="printlist" class="principal" value="Export from patron list" />
129
                            <fieldset class="action">
130
                                <input type="button" id="printlist" value="Export from patron list" />
131
                            </fieldset>
139
                            </fieldset>
132
                            [% END %]
140
                            [% END %]
133
                            </form>
141
                            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt (-12 / +21 lines)
Lines 7-47 Link Here
7
7
8
<body id="pcard_print" class="tools pcard">
8
<body id="pcard_print" class="tools pcard">
9
    <div class="container-fluid">
9
    <div class="container-fluid">
10
        <h1>Patron card printing/exporting</h1>
10
        <h2>Patron card printing/exporting</h2>
11
            [% IF ( batches ) %]
11
            [% IF ( batches ) %]
12
            <form>
12
            <form>
13
                <h3>Click on the following link(s) to download the exported batch(es).</h3>
14
                    <fieldset>
13
                    <fieldset>
15
                    [% FOREACH batche IN batches %]
14
                    [% FOREACH batche IN batches %]
16
                        [% IF ( batche.label_ids ) %]
15
                        [% IF ( batche.label_ids ) %]
17
                        <legend>[% batche.card_count | html %] Single patron cards</legend>
16
                        <h3>[% batche.card_count | html %] Single patron cards</h3>
18
                        <p>
17
                        <p>
19
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.label_ids | html %]">label_single_[% batche.card_count | html %].pdf</a>
18
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.label_ids | html %]">label_single_[% batche.card_count | html %].pdf</a>
20
                        </p>
19
                        </p>
21
                        [% ELSIF ( batche.borrower_numbers ) %]
20
                        [% ELSIF ( batche.borrower_numbers ) %]
22
                        <legend>[% batche.card_count | html %] Single patron cards</legend>
21
                        <h3>[% batche.card_count | html %] Single patron cards</h3>
23
                        <p>
22
                        <p>
24
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.borrower_numbers | html %]">label_single_[% batche.card_count | html %].pdf</a>
23
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/[% batche.create_script | html %]?template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %][% batche.borrower_numbers | html %]">label_single_[% batche.card_count | html %].pdf</a>
25
                        </p>
24
                        </p>
26
                        [% ELSE %]
25
                        [% ELSE %]
27
                        <legend>Card batch number [% batche.batch_id | html %]</legend>
26
                        <h3>Card batch number [% batche.batch_id | html %]</h3>
28
                        <p>
27
                        <p>
29
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %]">label_batch_[% batche.batch_id | html %].pdf</a>
28
                                <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?batch_id=[% batche.batch_id | html %]&amp;template_id=[% batche.template_id | html %]&amp;layout_id=[% batche.layout_id | html %]&amp;layout_back_id=[% batche.layout_back_id | html %]&amp;start_card=[% batche.start_card | html %]">label_batch_[% batche.batch_id | html %].pdf</a>
30
                        </p>
29
                        </p>
31
                        [% END %]
30
                        [% END %]
32
                    [% END %]
31
                    [% END %]
33
                    </fieldset>
32
                <p>Click on the link(s) to download the exported batch(es).</p>
34
33
35
                <fieldset class="action">
34
                    <input type="button" class="gb-close principal" value="Done" />
36
                    <input type="button" class="gb-close" value="Done" />
37
                </fieldset>
35
                </fieldset>
38
            </form>
36
            </form>
39
            [% ELSIF ( patronlist_id && template_id && layout_id ) %]
37
            [% ELSIF ( patronlist_id && template_id && layout_id ) %]
40
                <div id="export_patron_list">
38
                <div id="export_patron_list">
41
                    <h3>Click on the link to download the patron cards from the patron list.</h3>
39
                <fieldset>
40
                    <h3>Click on the link to download the patron cards from the patron list</h3>
42
                    <p>
41
                    <p>
43
                        <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&amp;template_id=[% template_id | html %]&amp;layout_id=[% layout_id | html %]&amp;layout_back_id=[% layout_back_id | html %]&amp;start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a>
42
                        <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&amp;template_id=[% template_id | html %]&amp;layout_id=[% layout_id | html %]&amp;layout_back_id=[% layout_back_id | html %]&amp;start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a>
44
                    </p>
43
                    </p>
44
                </fieldset>
45
                </div>
45
                </div>
46
            [% ELSE %]
46
            [% ELSE %]
47
            <h3>
47
            <h3>
Lines 68-73 Link Here
68
                [% END %]
68
                [% END %]
69
                [% IF (patronlist_id) %] <input type="hidden" name="patronlist_id" value="[% patronlist_id | html %]" /> [% END %]
69
                [% IF (patronlist_id) %] <input type="hidden" name="patronlist_id" value="[% patronlist_id | html %]" /> [% END %]
70
                <fieldset class="rows">
70
                <fieldset class="rows">
71
            <h3>
72
                    [% IF ( label_ids ) %]
73
                        [% IF ( card_count == 1 ) %]Exporting [% card_count | html %] patron card[% ELSE %]Exporting [% card_count | html %] patron cards[% END %]
74
                    [% ELSIF ( borrower_numbers ) %]
75
                        [% IF ( borrower_count == 1 ) %]Exporting [% borrower_count | html %] patron card[% ELSE %]Exporting [% borrower_count | html %] patron cards[% END %]
76
                    [% ELSIF ( patronlist_id ) %] Exporting from patron list
77
                    [% ELSE %]
78
                        [% IF ( multi_batch_count == 1 ) %][% multi_batch_count | html %] batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %]
79
                    [% END %]
80
            </h3>
71
                    <ol>
81
                    <ol>
72
                        <li>
82
                        <li>
73
                            <label style="width:9em" for="template_id">Select a template to be applied: </label>
83
                            <label style="width:9em" for="template_id">Select a template to be applied: </label>
Lines 101-109 Link Here
101
                            <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" />
111
                            <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" />
102
                        </li>
112
                        </li>
103
                    </ol>
113
                    </ol>
104
                </fieldset>
114
105
                <fieldset class="action">
115
                    <input type="submit" class="principal" value="Export" />
106
                    <input type="submit" value="Export" />
107
                    <a href="#" class="cancel gb-close">Cancel</a>
116
                    <a href="#" class="cancel gb-close">Cancel</a>
108
                </fieldset>
117
                </fieldset>
109
            </form>
118
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-disabled.tt (-3 / +12 lines)
Lines 1-3 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'circ-search.inc' %]
4
[% END %]
1
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Upload plugin &rsaquo; Plugins &rsaquo; Tools &rsaquo; Koha</title>
6
<title>Upload plugin &rsaquo; Plugins &rsaquo; Tools &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
Lines 5-12 Link Here
5
</head>
9
</head>
6
10
7
<body id="plugins_plugins_disabled" class="plugins">
11
<body id="plugins_plugins_disabled" class="plugins">
8
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'circ-search.inc' %]
10
13
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
15
    <ol>
Lines 22-33 Link Here
22
            </a>
25
            </a>
23
        </li>
26
        </li>
24
    </ol>
27
    </ol>
28
        <ol>
29
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
        </ol>
31
        <ol>
32
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
33
        </ol>
25
</nav>
34
</nav>
26
35
27
    <div class="container-fluid">
36
    <div class="container-fluid">
28
        <div class="row">
37
        <div class="row">
29
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
38
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
30
                <h1>Plugins disabled!</h1>
39
                <h2>Plugins disabled!</h2>
31
40
32
                <p>To enable Koha plugins, the flag enable_plugins must be set in the Koha configuration file</p>
41
                <p>To enable Koha plugins, the flag enable_plugins must be set in the Koha configuration file</p>
33
            </div>
42
            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt (-29 / +41 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'prefs-admin-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Plugins &rsaquo; Tools &rsaquo; Koha </title>
9
<title>Plugins &rsaquo; Tools &rsaquo; Koha </title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="plugins_plugins_home" class="plugins">
13
<body id="plugins_plugins_home" class="plugins">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'prefs-admin-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 25-71 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
31
    <ol>
32
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
33
    </ol>
34
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
28
</nav>
38
</nav>
29
39
30
<div class="main container-fluid">
40
<div class="main container-fluid">
31
    <div class="row">
41
    <div class="row">
32
        <div class="col-sm-10 col-sm-push-2">
42
        <div class="col-sm-10 col-sm-push-2">
33
            <main>
43
            <main>
34
                    <h1>Plugins</h1>
44
                    <h2>Plugins</h2>
35
45
36
                <div class="details">
46
                <div class="details">
37
47
38
                    [% IF ( CAN_user_plugins_manage ) %]
48
                    [% IF ( CAN_user_plugins_manage ) %]
39
                        <div class="btn-toolbar" id="toolbar">
49
                        <div class="btn-toolbar" id="toolbar">
40
                            <a href="/cgi-bin/koha/plugins/plugins-upload.pl" id="upload_plugin" class="btn btn-default"><i class="fa fa-upload"></i> Upload plugin</a>
50
                            <div>
41
51
                                <a href="/cgi-bin/koha/plugins/plugins-upload.pl" id="upload_plugin" class="pat"><i class="fa fa-upload"></i> Upload plugin</a>
42
                            <div class="btn-group">
52
43
                                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-eye"></i> View plugins by class <span class="caret"></span></button>
53
                                <div class="btn-group">
44
                                <ul class="dropdown-menu">
54
                                    <button class="pat" data-toggle="dropdown"><i class="fa fa-eye"></i> View plugins by class <span class="caret"></span></button>
45
                                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">View all plugins</a></li>
55
                                    <ul class="dropdown-menu">
46
                                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">View report plugins</a></li>
56
                                        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">View all plugins</a></li>
47
                                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">View tool plugins</a></li>
57
                                        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">View report plugins</a></li>
48
                                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=to_marc">View MARC conversion plugins</a></li>
58
                                        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">View tool plugins</a></li>
49
                                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=opac_online_payment">View online payment plugins</a></li>
59
                                        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=to_marc">View MARC conversion plugins</a></li>
50
                                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=intranet_catalog_biblio_enhancements">View staff catalog biblio enhancement plugins</a></li>
60
                                        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=opac_online_payment">View online payment plugins</a></li>
51
                                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=ill_availability_services">View ILL availability plugins</a></li>
61
                                        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=intranet_catalog_biblio_enhancements">View staff catalog biblio enhancement plugins</a></li>
52
                                </ul>
62
                                        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=ill_availability_services">View ILL availability plugins</a></li>
53
                            </div>
63
                                    </ul>
64
                                </div>
54
65
55
                            [% IF can_search %]
66
                                [% IF can_search %]
56
                            <div class="btn-group">
67
                                <div class="btn-group">
57
                                <form class="form-inline" id="plugin-search-form">
68
                                    <form class="form-inline" id="plugin-search-form">
58
                                    <div class="form-group">
69
                                        <div class="form-group">
59
                                        <div class="input-group">
70
                                            <div class="input-group">
60
                                            <input type="text" class="form-control" name="plugin-search" id="plugin-repo-search" placeholder="Search for plugins" value="[% search_term | html %]"/>
71
                                                <input type="text" class="form-control" name="plugin-search" id="plugin-repo-search" placeholder="Search for plugins" value="[% search_term | html %]"/>
61
                                            <div class="input-group-btn">
72
                                                <div class="input-group-btn">
62
                                                <button class="btn btn-default" type="button" id="plugin-search-button"><i class="fa fa-search"></i></button>
73
                                                    <button class="btn btn-default" type="button" id="plugin-search-button"><i class="fa fa-search"></i></button>
74
                                                </div>
63
                                            </div>
75
                                            </div>
64
                                        </div>
76
                                        </div>
65
                                    </div>
77
                                    </form>
66
                                </form>
78
                                </div>
79
                                [% END %]
67
                            </div>
80
                            </div>
68
                            [% END %]
69
                        </div>
81
                        </div>
70
                    [% END %]
82
                    [% END %]
71
83
Lines 173-179 Link Here
173
                                    [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %]
185
                                    [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %]
174
                                        <td class="actions">
186
                                        <td class="actions">
175
                                            <div class="btn-group dropup">
187
                                            <div class="btn-group dropup">
176
                                                <a class="btn btn-default btn-xs dropdown-toggle" id="pluginactions[% plugin.class | html %]" role="button" data-toggle="dropdown" href="#">
188
                                                <a class="btn btn-default btn-xs dropdown-toggle lientype" id="pluginactions[% plugin.class | html %]" role="button" data-toggle="dropdown" href="#">
177
                                                   Actions <b class="caret"></b>
189
                                                   Actions <b class="caret"></b>
178
                                                </a>
190
                                                </a>
179
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="pluginactions[% plugin.class | html %]">
191
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="pluginactions[% plugin.class | html %]">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-upload.tt (-7 / +15 lines)
Lines 1-3 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'circ-search.inc' %]
4
[% END %]
1
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Upload plugin &rsaquo; Plugins &rsaquo; Tools &rsaquo; Koha </title>
6
<title>Upload plugin &rsaquo; Plugins &rsaquo; Tools &rsaquo; Koha </title>
3
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
Lines 5-12 Link Here
5
</head>
9
</head>
6
10
7
<body id="plugins_plugins_upload" class="plugins">
11
<body id="plugins_plugins_upload" class="plugins">
8
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'circ-search.inc' %]
10
13
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
15
    <ol>
Lines 22-34 Link Here
22
            </a>
25
            </a>
23
        </li>
26
        </li>
24
    </ol>
27
    </ol>
28
        <ol>
29
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
        </ol>
31
        <ol>
32
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
33
        </ol>
25
</nav>
34
</nav>
26
35
27
    <div class="container-fluid">
36
    <div class="container-fluid">
28
        <div class="row">
37
        <div class="row">
29
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
38
            <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
30
39
31
                <h1>Upload Koha plugin</h1>
40
                <h2>Upload Koha plugin</h2>
32
                [% IF ( ERRORS ) %]
41
                [% IF ( ERRORS ) %]
33
                <div class="dialog alert">
42
                <div class="dialog alert">
34
                    [% FOREACH ERROR IN ERRORS %]
43
                    [% FOREACH ERROR IN ERRORS %]
Lines 42-58 Link Here
42
                </div>
51
                </div>
43
                [% END %]
52
                [% END %]
44
                <form method="post" action="/cgi-bin/koha/plugins/plugins-upload.pl" enctype="multipart/form-data">
53
                <form method="post" action="/cgi-bin/koha/plugins/plugins-upload.pl" enctype="multipart/form-data">
45
                    <fieldset class="brief">
54
                    <fieldset class="rows">
46
                         <div class="hint"><strong>NOTE:</strong> Only KPZ file format is supported.</div>
55
                         <div class="hint"><strong>NOTE:</strong> Only KPZ file format is supported.</div>
47
                        <ol>
56
                        <ol>
48
                            <li>
57
                            <li>
49
                                <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
58
                                <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
50
                            </li>
59
                            </li>
51
                        </ol>
60
                        </ol>
52
                    </fieldset>
61
53
                    <fieldset class="action">
54
                        <input type="hidden" name="op" value="Upload" />
62
                        <input type="hidden" name="op" value="Upload" />
55
                        <input type="submit" value="Upload" class="submit" />
63
                        <input  class="principal" type="submit" value="Upload" class="submit" />
56
                    </fieldset>
64
                    </fieldset>
57
                </form>
65
                </form>
58
66
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt (-2 / +10 lines)
Lines 6-11 Link Here
6
[% USE TablesSettings %]
6
[% USE TablesSettings %]
7
[% USE Registers %]
7
[% USE Registers %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'circ-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
[% SET registers = Registers.all( filters => { current_branch => 1 } ) %]
13
[% SET registers = Registers.all( filters => { current_branch => 1 } ) %]
11
<title>Payments &rsaquo; Koha</title>
14
<title>Payments &rsaquo; Koha</title>
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="payments" class="pos">
18
<body id="payments" class="pos">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'circ-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 27-32 Link Here
27
            </a>
29
            </a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (-2 / +10 lines)
Lines 5-10 Link Here
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% USE Price %]
6
[% USE Price %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'circ-search.inc' %]
10
[% END %]
8
[% PROCESS 'accounts.inc' %]
11
[% PROCESS 'accounts.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Cashup &rsaquo; Koha</title>
13
<title>Cashup &rsaquo; Koha</title>
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="register" class="pos">
18
<body id="register" class="pos">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'circ-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 30-35 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt (-2 / +10 lines)
Lines 4-17 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Price %]
5
[% USE Price %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'circ-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Cashup &rsaquo; Koha</title>
11
<title>Cashup &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="cashup" class="pos">
15
<body id="cashup" class="pos">
13
    [% INCLUDE 'header.inc' %]
16
    [% INCLUDE 'header.inc' form=formulaire %]
14
    [% INCLUDE 'circ-search.inc' %]
15
17
16
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
        <ol>
19
        <ol>
Lines 27-32 Link Here
27
                </a>
29
                </a>
28
            </li>
30
            </li>
29
        </ol>
31
        </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
30
    </nav>
38
    </nav>
31
39
32
    <div class="main container-fluid">
40
    <div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt (-9 / +17 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'circ-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( do_it ) %]Acquisitions statistics &rsaquo; Results[% ELSE %]Acquisitions statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
6
<title>[% IF ( do_it ) %]Acquisitions statistics &rsaquo; Results[% ELSE %]Acquisitions statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="rep_acquisitions_stats" class="rep">
10
<body id="rep_acquisitions_stats" class="rep">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'cat-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 33-38 Link Here
33
            </li>
35
            </li>
34
        [% END %]
36
        [% END %]
35
    </ol>
37
    </ol>
38
39
    <ol>
40
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
41
    </ol>
42
43
    <ol>
44
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
45
    </ol>
36
</nav>
46
</nav>
37
47
38
<div class="main container-fluid">
48
<div class="main container-fluid">
Lines 40-46 Link Here
40
        <div class="col-sm-10 col-sm-push-2">
50
        <div class="col-sm-10 col-sm-push-2">
41
            <main>
51
            <main>
42
52
43
<h1>Acquisitions statistics </h1>
53
<h2>Acquisitions statistics </h2>
44
[% IF ( do_it ) %]
54
[% IF ( do_it ) %]
45
	[% FOREACH mainloo IN mainloop %]
55
	[% FOREACH mainloo IN mainloop %]
46
        [% IF ( mainloo.loopfilter.size ) %]
56
        [% IF ( mainloo.loopfilter.size ) %]
Lines 104-110 Link Here
104
[% ELSE %]
114
[% ELSE %]
105
	<form method="post" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
115
	<form method="post" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
106
	<fieldset class="rows">
116
	<fieldset class="rows">
107
	<legend>Acquisitions statistics</legend>
117
	<h3>Acquisitions statistics</h3>
108
	<table>
118
	<table>
109
		<thead>
119
		<thead>
110
			<tr>
120
			<tr>
Lines 273-279 Link Here
273
	</fieldset>
283
	</fieldset>
274
284
275
<fieldset class="rows">
285
<fieldset class="rows">
276
    <legend> Cell value </legend>
286
    <h3> Cell value </h3>
277
    <ol>
287
    <ol>
278
        <li>
288
        <li>
279
            <label for="cellvalue1">Count items:</label><input type="radio" name="Cellvalue" id="cellvalue1" value="1" checked="checked" />
289
            <label for="cellvalue1">Count items:</label><input type="radio" name="Cellvalue" id="cellvalue1" value="1" checked="checked" />
Lines 294-300 Link Here
294
</fieldset>
304
</fieldset>
295
305
296
	<fieldset class="rows">
306
	<fieldset class="rows">
297
	<legend>Output</legend>
307
	<h3>Output</h3>
298
    <ol>
308
    <ol>
299
        <li>
309
        <li>
300
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
310
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 317-326 Link Here
317
            </select>
327
            </select>
318
        </li>
328
        </li>
319
    </ol>
329
    </ol>
320
	</fieldset>
321
330
322
	<fieldset class="action">
331
	<input type="submit" class="principal" value="Submit" />
323
	<input type="submit" value="Submit" />
324
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
332
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
325
	<input type="hidden" name="do_it" value="1" />
333
	<input type="hidden" name="do_it" value="1" />
326
	</fieldset>
334
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt (-6 / +16 lines)
Lines 2-15 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE ItemTypes %]
3
[% USE ItemTypes %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'circ-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Patrons with the most checkouts &rsaquo; Reports &rsaquo; Koha</title>
9
<title>Patrons with the most checkouts &rsaquo; Reports &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="rep_bor_issues_top" class="rep">
13
<body id="rep_bor_issues_top" class="rep">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 36-41 Link Here
36
            </li>
38
            </li>
37
        [% END %]
39
        [% END %]
38
    </ol>
40
    </ol>
41
42
    <ol>
43
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
    </ol>
45
46
    <ol>
47
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
48
    </ol>
39
</nav>
49
</nav>
40
50
41
<div class="main container-fluid">
51
<div class="main container-fluid">
Lines 44-51 Link Here
44
            <main>
54
            <main>
45
55
46
[% IF ( do_it ) %]
56
[% IF ( do_it ) %]
57
    <h2>Patrons with the most checkouts</h2>
47
	[% FOREACH mainloo IN mainloop %]
58
	[% FOREACH mainloo IN mainloop %]
48
        <h1>Patrons with the most checkouts</h1>
49
		[% IF ( mainloo.loopfilter ) %]
59
		[% IF ( mainloo.loopfilter ) %]
50
            [% IF mainloo.loopfilter.size %]
60
            [% IF mainloo.loopfilter.size %]
51
                <p>Filtered on:</p>
61
                <p>Filtered on:</p>
Lines 114-120 Link Here
114
		</table>
124
		</table>
115
	[% END %]
125
	[% END %]
116
[% ELSE %]
126
[% ELSE %]
117
    <h1>Patrons with the most checkouts</h1>
127
    <h2>Patrons with the most checkouts</h2>
118
	<form method="post" action="/cgi-bin/koha/reports/bor_issues_top.pl">
128
	<form method="post" action="/cgi-bin/koha/reports/bor_issues_top.pl">
119
	<fieldset class="rows">
129
	<fieldset class="rows">
120
        <ol>
130
        <ol>
Lines 185-191 Link Here
185
	</fieldset>
195
	</fieldset>
186
196
187
<fieldset class="rows">
197
<fieldset class="rows">
188
	<legend>Output</legend>
198
	<h3>Output</h3>
189
	<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
199
	<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
190
		<li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
200
		<li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
191
			<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
201
			<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
Lines 210-216 Link Here
210
	</fieldset>
220
	</fieldset>
211
221
212
	<fieldset class="action">
222
	<fieldset class="action">
213
	<input type="submit" value="Submit" />
223
	<input type="submit" class="principal" value="Submit" />
214
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
224
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
215
	<input type="hidden" name="do_it" value="1" />
225
	<input type="hidden" name="do_it" value="1" />
216
	</fieldset>
226
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt (-7 / +17 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Patrons with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
6
<title>Patrons with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="rep_borrowers_out" class="rep">
10
<body id="rep_borrowers_out" class="rep">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'cat-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 22-27 Link Here
22
            </a>
24
            </a>
23
        </li>
25
        </li>
24
    </ol>
26
    </ol>
27
28
    <ol>
29
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
    </ol>
31
32
    <ol>
33
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
    </ol>
25
</nav>
35
</nav>
26
36
27
<div class="main container-fluid">
37
<div class="main container-fluid">
Lines 30-37 Link Here
30
            <main>
40
            <main>
31
41
32
[% IF ( do_it ) %]
42
[% IF ( do_it ) %]
43
    <h2>Patrons with no checkouts</h2>
33
    [% FOREACH mainloo IN mainloop %]
44
    [% FOREACH mainloo IN mainloop %]
34
        <h1>Patrons with no checkouts</h1>
35
        [% IF ( mainloo.loopfilter ) %]
45
        [% IF ( mainloo.loopfilter ) %]
36
            <p>Filtered on:</p>
46
            <p>Filtered on:</p>
37
            [% FOREACH loopfilte IN mainloo.loopfilter %]
47
            [% FOREACH loopfilte IN mainloo.loopfilter %]
Lines 58-64 Link Here
58
        </table>
68
        </table>
59
    [% END %]
69
    [% END %]
60
[% ELSE %]
70
[% ELSE %]
61
    <h1>Patrons with no checkouts</h1>
71
    <h2>Patrons with no checkouts</h2>
62
    <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl">
72
    <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl">
63
    <fieldset class="rows">
73
    <fieldset class="rows">
64
		<ol>
74
		<ol>
Lines 74-80 Link Here
74
	</fieldset>
84
	</fieldset>
75
	
85
	
76
    <fieldset class="rows">
86
    <fieldset class="rows">
77
	<legend>Limits</legend>
87
	<h3>Limits</h3>
78
		<ol>
88
		<ol>
79
			<li><label for="numberlimit">Limit to: </label><select name="Limit" id="numberlimit">
89
			<li><label for="numberlimit">Limit to: </label><select name="Limit" id="numberlimit">
80
                        <option value ="" selected="selected">None</option>
90
                        <option value ="" selected="selected">None</option>
Lines 96-102 Link Here
96
	</fieldset>
106
	</fieldset>
97
	
107
	
98
<fieldset class="rows">
108
<fieldset class="rows">
99
	<legend>Output</legend>
109
	<h3>Output</h3>
100
    <ol>
110
    <ol>
101
        <li>
111
        <li>
102
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
112
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 124-130 Link Here
124
	</fieldset>
134
	</fieldset>
125
135
126
	<fieldset class="action">
136
	<fieldset class="action">
127
	<input type="submit" value="Submit" />
137
	<input type="submit" class="principal" value="Submit" />
128
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
138
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
129
	<input type="hidden" name="do_it" value="1" />
139
	<input type="hidden" name="do_it" value="1" />
130
	</fieldset>
140
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt (-8 / +16 lines)
Lines 2-7 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Asset %]
3
[% USE Asset %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'circ-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( do_it ) %]Patrons statistics &rsaquo; Results[% ELSE %]Patrons statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
9
<title>[% IF ( do_it ) %]Patrons statistics &rsaquo; Results[% ELSE %]Patrons statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
7
10
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="rep_borrowers_stats" class="rep">
18
<body id="rep_borrowers_stats" class="rep">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'cat-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 41-46 Link Here
41
            </li>
43
            </li>
42
        [% END %]
44
        [% END %]
43
    </ol>
45
    </ol>
46
47
    <ol>
48
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
49
    </ol>
50
51
    <ol>
52
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
53
    </ol>
44
</nav>
54
</nav>
45
55
46
<div class="main container-fluid">
56
<div class="main container-fluid">
Lines 48-54 Link Here
48
        <div class="col-sm-10 col-sm-push-2">
58
        <div class="col-sm-10 col-sm-push-2">
49
            <main>
59
            <main>
50
60
51
<h1>Patrons statistics</h1>
61
<h2>Patrons statistics</h2>
52
[% IF ( do_it ) %]
62
[% IF ( do_it ) %]
53
	[% FOREACH mainloo IN mainloop %]
63
	[% FOREACH mainloo IN mainloop %]
54
        [% IF ( mainloo.loopfilter.size>0 ) %]
64
        [% IF ( mainloo.loopfilter.size>0 ) %]
Lines 91-97 Link Here
91
[% ELSE %]
101
[% ELSE %]
92
102
93
	<form method="post" action="/cgi-bin/koha/reports/borrowers_stats.pl">
103
	<form method="post" action="/cgi-bin/koha/reports/borrowers_stats.pl">
94
	<fieldset class="rows"><legend>Patrons statistics</legend>
104
	<fieldset class="rows"><h3>Patrons statistics</h3>
95
	<table>
105
	<table>
96
		<thead>
106
		<thead>
97
			<tr>
107
			<tr>
Lines 283-289 Link Here
283
293
284
	
294
	
285
	<fieldset class="rows">
295
	<fieldset class="rows">
286
	<legend>Output</legend>
296
	<h3>Output</h3>
287
    <ol>
297
    <ol>
288
        <li>
298
        <li>
289
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
299
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 308-317 Link Here
308
            </select>
318
            </select>
309
        </li>
319
        </li>
310
    </ol>
320
    </ol>
311
	</fieldset>
312
321
313
	<fieldset class="action">
322
	<input type="submit" class="principal" value="Submit" />
314
	<input type="submit" value="Submit" />
315
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
323
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
316
	<input type="hidden" name="do_it" value="1" />
324
	<input type="hidden" name="do_it" value="1" />
317
	</fieldset>
325
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-52 / +65 lines)
Lines 7-12 Link Here
7
[% USE ItemTypes %]
7
[% USE ItemTypes %]
8
[% USE Registers %]
8
[% USE Registers %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'circ-search.inc' %]
12
[% END %]
10
[% PROCESS 'accounts.inc' %]
13
[% PROCESS 'accounts.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
14
[% INCLUDE 'doc-head-open.inc' %]
12
<title>[% IF ( do_it ) %]Cash register statistics &rsaquo; Results[% ELSE %]Cash register statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
15
<title>[% IF ( do_it ) %]Cash register statistics &rsaquo; Results[% ELSE %]Cash register statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="cash_register_stats" class="rep">
19
<body id="cash_register_stats" class="rep">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'cat-search.inc' %]
19
21
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
23
    <ol>
Lines 43-48 Link Here
43
            </li>
45
            </li>
44
        [% END %]
46
        [% END %]
45
    </ol>
47
    </ol>
48
49
    <ol>
50
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
51
    </ol>
52
53
    <ol>
54
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
55
    </ol>
46
</nav>
56
</nav>
47
57
48
<div class="main container-fluid">
58
<div class="main container-fluid">
Lines 50-59 Link Here
50
        <div class="col-sm-10 col-sm-push-2">
60
        <div class="col-sm-10 col-sm-push-2">
51
            <main>
61
            <main>
52
62
53
    <h1>Cash register statistics</h1>
63
    <h2>Cash register statistics</h2>
64
65
[% IF ( do_it ) %]
66
    <div>&nbsp;</div>
67
    <table id="tbl_cash_register_stats">
68
        <thead>
69
        <tr>
70
            <th>Manager name</th>
71
            <th>Patron card number</th>
72
            <th>Patron name</th>
73
            <th>Transaction library</th>
74
            <th>Transaction date</th>
75
            <th>Updated</th>
76
            <th>Transaction type</th>
77
            <th>Notes</th>
78
            <th>Amount</th>
79
            <th>Bibliographic record title</th>
80
            <th>Barcode</th>
81
            <th>Item type</th>
82
        </tr>
83
        </thead>
84
        [% FOREACH loopresul IN loopresult %]
85
            <tr>
86
                <td>[% loopresul.mfirstname | html %] [% loopresul.msurname | html %]</td>
87
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopresul.borrowernumber | uri %]">[% loopresul.cardnumber | html %]</a></td>
88
                <td>[% loopresul.bfirstname | html %] [% loopresul.bsurname | html %]</td>
89
                <td>[% loopresul.branchname | html %]</td>
90
                <td>[% loopresul.date | $KohaDates %]</td>
91
                <td>[% loopresul.timestamp | $KohaDates with_hours = 1 %]</td>
92
                <td>[% loopresul.type_description | html %]</td>
93
                <td>[% loopresul.note | html %]</td>
94
                <td style="text-align:right;">[% loopresul.amount | $Price %]</td>
95
                <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopresul.biblionumber | uri %]">[% loopresul.title | html %]</a></td>
96
                <td>[% loopresul.barcode | html %]</td>
97
                <td>[% ItemTypes.GetDescription(loopresul.itype) | html %]</td>
98
            </tr>
99
        [% END %]
100
        <tfoot>
101
        <tr>
102
            [% IF transaction_type == "ACT" %]
103
            <th colspan="8" style="text-align:right;">TOTAL</th>
104
            <th style="text-align:right;">[% total  | $Price %]</th>
105
            <th colspan="3">&nbsp;</th>
106
            [% END %]
107
        </tr>
108
        </tfoot>
109
    </table>
110
111
    [% ELSE %]
112
54
    <form method="post" action="/cgi-bin/koha/reports/cash_register_stats.pl" id="frmCashRegister">
113
    <form method="post" action="/cgi-bin/koha/reports/cash_register_stats.pl" id="frmCashRegister">
55
        <fieldset class="rows">
114
        <fieldset class="rows">
56
            <legend>Cash register statistics [% beginDate | $KohaDates %] to [% endDate | $KohaDates %]</legend>
115
            <h3>Cash register statistics [% beginDate | $KohaDates %] to [% endDate | $KohaDates %]</h3>
57
            <ol>
116
            <ol>
58
                <br>
117
                <br>
59
                <li>
118
                <li>
Lines 131-137 Link Here
131
        </fieldset>
190
        </fieldset>
132
191
133
        <fieldset class="rows">
192
        <fieldset class="rows">
134
            <legend>Output</legend>
193
            <h3>Output</h3>
135
            <ol>
194
            <ol>
136
                <li>
195
                <li>
137
                    <label for="outputscreen">To screen into the browser: </label>
196
                    <label for="outputscreen">To screen into the browser: </label>
Lines 147-202 Link Here
147
        </fieldset>
206
        </fieldset>
148
207
149
        <fieldset class="action">
208
        <fieldset class="action">
150
        <input type="submit" value="Submit" name="do_it" />
209
        <input type="submit" class="principal" value="Submit" name="do_it" />
151
        </fieldset>
210
        </fieldset>
152
    </form>
211
    </form>
153
212
154
    [% IF ( do_it ) %]
155
    <div>&nbsp;</div>
156
    <table id="tbl_cash_register_stats">
157
        <thead>
158
        <tr>
159
            <th>Manager name</th>
160
            <th>Patron card number</th>
161
            <th>Patron name</th>
162
            <th>Transaction library</th>
163
            <th>Transaction date</th>
164
            <th>Updated</th>
165
            <th>Transaction type</th>
166
            <th>Notes</th>
167
            <th>Amount</th>
168
            <th>Bibliographic record title</th>
169
            <th>Barcode</th>
170
            <th>Item type</th>
171
        </tr>
172
        </thead>
173
        [% FOREACH loopresul IN loopresult %]
174
            <tr>
175
                <td>[% loopresul.mfirstname | html %] [% loopresul.msurname | html %]</td>
176
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopresul.borrowernumber | uri %]">[% loopresul.cardnumber | html %]</a></td>
177
                <td>[% loopresul.bfirstname | html %] [% loopresul.bsurname | html %]</td>
178
                <td>[% loopresul.branchname | html %]</td>
179
                <td>[% loopresul.date | $KohaDates %]</td>
180
                <td>[% loopresul.timestamp | $KohaDates with_hours = 1 %]</td>
181
                <td>[% loopresul.type_description | html %]</td>
182
                <td>[% loopresul.note | html %]</td>
183
                <td style="text-align:right;">[% loopresul.amount | $Price %]</td>
184
                <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopresul.biblionumber | uri %]">[% loopresul.title | html %]</a></td>
185
                <td>[% loopresul.barcode | html %]</td>
186
                <td>[% ItemTypes.GetDescription(loopresul.itype) | html %]</td>
187
            </tr>
188
        [% END %]
189
        <tfoot>
190
        <tr>
191
            [% IF transaction_type == "ACT" %]
192
            <th colspan="8" style="text-align:right;">TOTAL</th>
193
            <th style="text-align:right;">[% total  | $Price %]</th>
194
            <th colspan="3">&nbsp;</th>
195
            [% END %]
196
        </tr>
197
        </tfoot>
198
    </table>
199
200
    [% END %] [%# do_it %]
213
    [% END %] [%# do_it %]
201
214
202
            </main>
215
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt (-7 / +17 lines)
Lines 1-13 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'prefs-admin-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Most-circulated items[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Most-circulated items[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
10
8
<body id="rep_cat_issues_top" class="rep">
11
<body id="rep_cat_issues_top" class="rep">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'cat-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 34-39 Link Here
34
            </li>
36
            </li>
35
        [% END %]
37
        [% END %]
36
    </ol>
38
    </ol>
39
40
    <ol>
41
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
42
    </ol>
43
44
    <ol>
45
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
    </ol>
37
</nav>
47
</nav>
38
48
39
<div class="main container-fluid">
49
<div class="main container-fluid">
Lines 43-50 Link Here
43
53
44
[% IF ( do_it ) %]
54
[% IF ( do_it ) %]
45
55
56
    <h2>Top [% mainloo.limit | html %] Most-circulated items</h2>
46
	[% FOREACH mainloo IN mainloop %]
57
	[% FOREACH mainloo IN mainloop %]
47
        <h1>Top [% mainloo.limit | html %] Most-circulated items</h1>
48
		[% IF ( mainloo.loopfilter ) %]
58
		[% IF ( mainloo.loopfilter ) %]
49
            <p>Filtered on:</p>
59
            <p>Filtered on:</p>
50
			[% FOREACH loopfilte IN mainloo.loopfilter %]
60
			[% FOREACH loopfilte IN mainloo.loopfilter %]
Lines 85-91 Link Here
85
		</table>
95
		</table>
86
	[% END %]
96
	[% END %]
87
[% ELSE %]
97
[% ELSE %]
88
    <h1>Most-circulated items</h1>
98
    <h2>Most-circulated items</h2>
89
	<form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl">
99
	<form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl">
90
	<fieldset class="rows">
100
	<fieldset class="rows">
91
	<ol>
101
	<ol>
Lines 149-155 Link Here
149
	</fieldset>
159
	</fieldset>
150
	
160
	
151
	<fieldset class="rows">
161
	<fieldset class="rows">
152
	<legend>Limits</legend>
162
	<h3>Limits</h3>
153
	<ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit">
163
	<ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit">
154
                        <option value ="" selected="selected">None</option>
164
                        <option value ="" selected="selected">None</option>
155
						<option value="5" selected="selected"> 5</option>
165
						<option value="5" selected="selected"> 5</option>
Lines 174-180 Link Here
174
	</fieldset>
184
	</fieldset>
175
	
185
	
176
	<fieldset class="rows">
186
	<fieldset class="rows">
177
	<legend>Output</legend>
187
	<h3>Output</h3>
178
    <ol>
188
    <ol>
179
        <li>
189
        <li>
180
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
190
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 202-208 Link Here
202
	</fieldset>
212
	</fieldset>
203
213
204
	<fieldset class="action">
214
	<fieldset class="action">
205
	<input type="submit" value="Submit" />
215
	<input type="submit" class="principal" value="Submit" />
206
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
216
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
207
	<input type="hidden" name="do_it" value="1" />
217
	<input type="hidden" name="do_it" value="1" />
208
	</fieldset>
218
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt (-6 / +17 lines)
Lines 1-3 Link Here
1
2
[% SET footerjs = 1 %][% formulaire = BLOCK %]
3
    [% INCLUDE 'cat-search.inc' %]
4
[% END %]
1
[% USE Branches %]
5
[% USE Branches %]
2
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Items with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Items with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
Lines 7-14 Link Here
7
</style>
11
</style>
8
</head>
12
</head>
9
<body id="rep_catalogue_out" class="rep">
13
<body id="rep_catalogue_out" class="rep">
10
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'cat-search.inc' %]
12
15
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
17
    <ol>
Lines 24-29 Link Here
24
            </a>
27
            </a>
25
        </li>
28
        </li>
26
    </ol>
29
    </ol>
30
31
    <ol>
32
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
33
    </ol>
34
35
    <ol>
36
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
    </ol>
27
</nav>
38
</nav>
28
39
29
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 32-38 Link Here
32
            <main>
43
            <main>
33
44
34
[% IF ( do_it ) %]
45
[% IF ( do_it ) %]
35
	<h1>Items with no checkouts</h1>
46
	<h2>Items with no checkouts</h2>
36
	[% FOREACH mainloo IN mainloop %]
47
	[% FOREACH mainloo IN mainloop %]
37
		[% IF ( mainloo.loopfilter ) %]
48
		[% IF ( mainloo.loopfilter ) %]
38
            <p>Filtered on:</p>
49
            <p>Filtered on:</p>
Lines 98-104 Link Here
98
		[% END %]
109
		[% END %]
99
	[% END %]
110
	[% END %]
100
[% ELSE %]
111
[% ELSE %]
101
    <h1>Items with no checkouts</h1>
112
    <h2>Items with no checkouts</h2>
102
	<form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
113
	<form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
103
	
114
	
104
	<fieldset class="rows">
115
	<fieldset class="rows">
Lines 120-126 Link Here
120
	</fieldset>
131
	</fieldset>
121
	
132
	
122
	<fieldset class="rows">
133
	<fieldset class="rows">
123
	<legend>Limits</legend>
134
	<h3>Limits</h3>
124
		<ol>
135
		<ol>
125
        <li>
136
        <li>
126
            <label for="numberlimit">Limit to: </label>
137
            <label for="numberlimit">Limit to: </label>
Lines 145-151 Link Here
145
	</fieldset>
156
	</fieldset>
146
157
147
	<fieldset class="action">
158
	<fieldset class="action">
148
	<input type="submit" value="Submit" />
159
	<input type="submit" class="principal" value="Submit" />
149
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
160
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
150
    <input type="hidden" name="do_it" value="1" />
161
    <input type="hidden" name="do_it" value="1" />
151
    <input type="hidden" name="output" value="screen" />
162
    <input type="hidden" name="output" value="screen" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt (-10 / +17 lines)
Lines 1-13 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
<title>[% IF ( do_it ) %]Catalog statistics &rsaquo; Results[% ELSE %]Catalog statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
7
<title>[% IF ( do_it ) %]Catalog statistics &rsaquo; Results[% ELSE %]Catalog statistics[% END %] &rsaquo; Reports &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
10
8
<body id="rep_catalogue_stats" class="rep">
11
<body id="rep_catalogue_stats" class="rep">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'cat-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 34-39 Link Here
34
            </li>
36
            </li>
35
        [% END %]
37
        [% END %]
36
    </ol>
38
    </ol>
39
40
    <ol>
41
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
42
    </ol>
43
44
    <ol>
45
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
    </ol>
37
</nav>
47
</nav>
38
48
39
<div class="main container-fluid">
49
<div class="main container-fluid">
Lines 41-47 Link Here
41
        <div class="col-sm-10 col-sm-push-2">
51
        <div class="col-sm-10 col-sm-push-2">
42
            <main>
52
            <main>
43
53
44
<h1>Catalog statistics</h1>
54
<h2>Catalog statistics</h2>
45
[% IF ( do_it ) %]
55
[% IF ( do_it ) %]
46
	[% FOREACH mainloo IN mainloop %]
56
	[% FOREACH mainloo IN mainloop %]
47
		[% IF ( mainloo.loopfilter ) %]
57
		[% IF ( mainloo.loopfilter ) %]
Lines 96-102 Link Here
96
106
97
	<form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
107
	<form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
98
	<fieldset class="rows">
108
	<fieldset class="rows">
99
	<legend>Catalog statistics</legend>
109
	<h3>Catalog statistics</h3>
100
	<table>
110
	<table>
101
		<thead>
111
		<thead>
102
			<tr>
112
			<tr>
Lines 274-280 Link Here
274
	</table><br /></fieldset>
284
	</table><br /></fieldset>
275
285
276
    <fieldset class="rows">
286
    <fieldset class="rows">
277
        <legend>Cell value</legend>
287
        <h3>Cell value</h3>
278
        <ol>
288
        <ol>
279
            <li>
289
            <li>
280
                <label for="cellvalue_items">Count total items</label>
290
                <label for="cellvalue_items">Count total items</label>
Lines 292-298 Link Here
292
    </fieldset>
302
    </fieldset>
293
	
303
	
294
	<fieldset class="rows">
304
	<fieldset class="rows">
295
	<legend>Output</legend>
305
	<h3>Output</h3>
296
	<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
306
	<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
297
		<li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
307
		<li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
298
			<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
308
			<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
Lines 314-323 Link Here
314
            </select>
324
            </select>
315
		</li>
325
		</li>
316
	</ol>
326
	</ol>
317
	</fieldset>
327
	<input type="submit" class="principal" value="Submit" />
318
319
	<fieldset class="action">
320
	<input type="submit" value="Submit" />
321
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
328
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
322
	<input type="hidden" name="do_it" value="1" />
329
	<input type="hidden" name="do_it" value="1" />
323
	</fieldset>
330
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt (-32 / +43 lines)
Lines 1-4 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %][% formulaire = BLOCK %]
3
    [% INCLUDE 'circ-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Dictionary &rsaquo; Guided reports &rsaquo; Reports &rsaquo; Koha</title>
6
<title>Dictionary &rsaquo; Guided reports &rsaquo; Reports &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
Lines 6-13 Link Here
6
</head>
9
</head>
7
10
8
<body id="rep_dictionary" class="rep">
11
<body id="rep_dictionary" class="rep">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'circ-search.inc' %]
11
13
12
[%- BLOCK area_name -%]
14
[%- BLOCK area_name -%]
13
    [%- SWITCH area -%]
15
    [%- SWITCH area -%]
Lines 72-77 Link Here
72
                </a>
74
                </a>
73
            </li>
75
            </li>
74
76
77
        <ol>
78
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
79
        </ol>
80
        <ol>
81
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
82
        </ol>
75
        [% ELSIF ( step_5 ) %]
83
        [% ELSIF ( step_5 ) %]
76
            <li>
84
            <li>
77
                <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a>
85
                <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a>
Lines 90-95 Link Here
90
            </li>
98
            </li>
91
        [% END %]
99
        [% END %]
92
    </ol>
100
    </ol>
101
102
    <ol>
103
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
104
    </ol>
105
106
    <ol>
107
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
108
    </ol>
93
</nav>
109
</nav>
94
110
95
<div class="main container-fluid">
111
<div class="main container-fluid">
Lines 99-106 Link Here
99
115
100
[% IF ( start_dictionary ) %]
116
[% IF ( start_dictionary ) %]
101
    <div id="toolbar">
117
    <div id="toolbar">
102
        <a id="newdictionary" class="btn btn-default" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition"><i class="fa fa-plus"></i> New definition</a>
118
        <div>
103
    </div>
119
        <a id="newdictionary" class="pat" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition"><i class="fa fa-plus"></i> New definition</a>
120
    </div></div>
104
[% END %]
121
[% END %]
105
<h1>Dictionary</h1>
122
<h1>Dictionary</h1>
106
[% IF ( start_dictionary ) %]
123
[% IF ( start_dictionary ) %]
Lines 122-128 Link Here
122
          [%- END -%]
139
          [%- END -%]
123
        [% END %]
140
        [% END %]
124
        </select>
141
        </select>
125
      <input name="submit" value="Go" type="submit" />
142
      <input name="submit" class="principal" value="Go" type="submit" />
126
  [% END %]
143
  [% END %]
127
      </form>
144
      </form>
128
      <br />
145
      <br />
Lines 143-162 Link Here
143
                <td class="actions"><form method="post" action="/cgi-bin/koha/reports/dictionary.pl">
160
                <td class="actions"><form method="post" action="/cgi-bin/koha/reports/dictionary.pl">
144
                    <input type="hidden" name="id" value="[% definition.id | html %]" />
161
                    <input type="hidden" name="id" value="[% definition.id | html %]" />
145
                    <input type="hidden" name="phase" value="Delete Definition" />
162
                    <input type="hidden" name="phase" value="Delete Definition" />
146
                    <button type="submit" name="submit" class="btn btn-default btn-xs" id="delete"><i class="fa fa-trash"></i> Delete</button>
163
                    <button type="submit" name="submit" class="btn btn-default btn-xs" id="lientype"><i class="fa fa-trash"></i> Delete</button>
147
                </form></td>
164
                </form></td>
148
            </tr>
165
            </tr>
149
            [% END %]
166
            [% END %]
150
        </table>
167
        </table>
151
                [% ELSE %]
168
                [% ELSE %]
152
                <div class="dialog message">There are no saved definitions. <a id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">Add a definition to the dictionary.</a></div>
169
                <div class="dialog message">There are no saved definitions. <a class="lientype" id="newdictionary" href="/cgi-bin/koha/reports/dictionary.pl?phase=Add%20New%20Definition">Add a definition to the dictionary.</a></div>
153
		[% END %]
170
		[% END %]
154
[% END %]
171
[% END %]
155
172
156
[% IF ( new_dictionary ) %]
173
[% IF ( new_dictionary ) %]
157
<h3>Add new definition</h3>
174
<h2>Add new definition</h2>
158
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
175
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
159
<fieldset class="rows"><legend>Step 1 of 5: Name the new definition</legend><ol>
176
<fieldset class="rows"><h3>Step 1 of 5: Name the new definition</h3><ol>
160
<li>
177
<li>
161
<label for="definition_name">Definition name:</label>
178
<label for="definition_name">Definition name:</label>
162
<input type="text" id="definition_name" name="definition_name" />
179
<input type="text" id="definition_name" name="definition_name" />
Lines 165-182 Link Here
165
<label for="definition_description">Definition description:</label>
182
<label for="definition_description">Definition description:</label>
166
<textarea name="definition_description" id="definition_description" rows="3" cols="20"></textarea>
183
<textarea name="definition_description" id="definition_description" rows="3" cols="20"></textarea>
167
</li>
184
</li>
168
</ol></fieldset>
185
</ol>
169
186
<input type="hidden" name="phase" value="New Term step 2" />
170
<fieldset class="action"><input type="hidden" name="phase" value="New Term step 2" />
187
<input name="submit" class="principal" value="Next" type="submit" /></fieldset>
171
<input name="submit" value="Next" type="submit" /></fieldset>
172
</form>
188
</form>
173
[% END %]
189
[% END %]
174
190
175
[%- IF ( step_2 ) -%]
191
[%- IF ( step_2 ) -%]
176
<h3>Add new definition</h3>
192
<h2>Add new definition</h2>
177
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
193
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
178
  <fieldset class="rows">
194
  <fieldset class="rows">
179
    <legend>Step 2 of 5: Choose the area</legend>
195
    <h3>Step 2 of 5: Choose the area</h3>
180
    <ol>
196
    <ol>
181
      <li>
197
      <li>
182
        <input type="hidden" name="phase" value="New Term step 3" />
198
        <input type="hidden" name="phase" value="New Term step 3" />
Lines 189-204 Link Here
189
        </select>
205
        </select>
190
      </li>
206
      </li>
191
    </ol>
207
    </ol>
192
  </fieldset>
208
<input name="submit" class="principal" value="Next" type="submit" /></fieldset>
193
  <fieldset class="action"><input name="submit" value="Next" type="submit" /></fieldset>
194
</form>
209
</form>
195
[%- END -%]
210
[%- END -%]
196
211
197
[% IF ( step_3 ) %]
212
[% IF ( step_3 ) %]
198
<h3>Add new definition</h3>
213
<h2>Add new definition</h2>
199
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">      
214
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">      
200
<fieldset class="rows">
215
<fieldset class="rows">
201
<legend>Step 3 of 5: Choose a column</legend>
216
<h3>Step 3 of 5: Choose a column</h3>
202
<input type="hidden" name="area" value="[% area | html %]" />
217
<input type="hidden" name="area" value="[% area | html %]" />
203
<input type="hidden" name="definition_name" value="[% definition_name | html %]" />
218
<input type="hidden" name="definition_name" value="[% definition_name | html %]" />
204
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
219
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
Lines 225-240 Link Here
225
</select>
240
</select>
226
241
227
<input type="hidden" name="phase" value="New Term step 4" />
242
<input type="hidden" name="phase" value="New Term step 4" />
228
</fieldset>
243
<input type="submit" class="principal" name="submit" value="Next" /></fieldset>
229
<fieldset class="action"><input type="submit" name="submit" value="Next" /></fieldset>
230
</form>
244
</form>
231
[% END %]
245
[% END %]
232
246
233
[% IF ( step_4 ) %]
247
[% IF ( step_4 ) %]
234
<h3>Add new definition</h3>
248
<h2>Add new definition</h2>
235
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
249
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
236
<fieldset class="rows">
250
<fieldset class="rows">
237
<legend>Step 4 of 5: Specify a value</legend>
251
<h3>Step 4 of 5: Specify a value</h3>
238
<input type="hidden" name="area" value="[% area | html %]" />
252
<input type="hidden" name="area" value="[% area | html %]" />
239
<input type="hidden" name="definition_name" value="[% definition_name | html %]" />
253
<input type="hidden" name="definition_name" value="[% definition_name | html %]" />
240
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
254
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
Lines 273-281 Link Here
273
[% END %]
287
[% END %]
274
</ol>
288
</ol>
275
<input type="hidden" name="phase" value="New Term step 5" />
289
<input type="hidden" name="phase" value="New Term step 5" />
276
</fieldset>
290
277
<fieldset class="action">
291
<input type="submit" class="principal" name="submit" value="Next" />
278
<input type="submit" name="submit" value="Next" />
279
</fieldset>
292
</fieldset>
280
</form>
293
</form>
281
[% END %]
294
[% END %]
Lines 287-296 Link Here
287
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
300
<input type="hidden" name="definition_description" value="[% definition_description | html %]" />
288
<input type="hidden" name="columnstring" value="[% columnstring | html %]" />
301
<input type="hidden" name="columnstring" value="[% columnstring | html %]" />
289
302
290
<h3>Add new definition</h3>
303
<h2>Add new definition</h2>
291
304
292
<fieldset class="rows">
305
<fieldset class="rows">
293
  <legend>Step 5 of 5: Confirm details</legend>
306
  <h3>Step 5 of 5: Confirm details</h3>
294
  <ol>
307
  <ol>
295
    <li>
308
    <li>
296
      <span class="label">Name:</span>[%- definition_name | html -%]
309
      <span class="label">Name:</span>[%- definition_name | html -%]
Lines 317-327 Link Here
317
      </table>
330
      </table>
318
    </li>
331
    </li>
319
  </ol>
332
  </ol>
320
</fieldset>
333
<input type="hidden" name="sql" value="[% query | html %]" />
321
322
<fieldset class="action"><input type="hidden" name="sql" value="[% query | html %]" />
323
<input type="hidden" name="phase" value="New Term step 6" />
334
<input type="hidden" name="phase" value="New Term step 6" />
324
<input type="submit" name="submit" value="Save" />         </fieldset>
335
<input type="submit" class="principal" name="submit" value="Save" />         </fieldset>
325
336
326
</form>
337
</form>
327
[% END %]
338
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-91 / +105 lines)
Lines 7-12 Link Here
7
[% USE JSON.Escape %]
7
[% USE JSON.Escape %]
8
[% PROCESS 'i18n.inc' %]
8
[% PROCESS 'i18n.inc' %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %][% formulaire = BLOCK %]
11
    [% INCLUDE 'circ-search.inc' %]
12
[% END %]
10
13
11
[%- BLOCK area_name -%]
14
[%- BLOCK area_name -%]
12
    [%- SWITCH area -%]
15
    [%- SWITCH area -%]
Lines 63-70 Link Here
63
</head>
66
</head>
64
67
65
<body id="rep_guided_reports_start" class="rep">
68
<body id="rep_guided_reports_start" class="rep">
66
[% INCLUDE 'header.inc' %]
69
[% INCLUDE 'header.inc' form=formulaire %]
67
[% INCLUDE 'circ-search.inc' %]
68
70
69
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
71
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
70
    <ol>
72
    <ol>
Lines 145-150 Link Here
145
                </a>
147
                </a>
146
        [% END %]
148
        [% END %]
147
    </ol>
149
    </ol>
150
151
    <ol>
152
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
153
    </ol>
154
155
    <ol>
156
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
157
    </ol>
148
</nav> <!-- /#breadcrumbs -->
158
</nav> <!-- /#breadcrumbs -->
149
159
150
<div id="update_sql" class="modal" tabindex="-1" role="dialog" aria-labelledby="update_sql_label" aria-hidden="true">
160
<div id="update_sql" class="modal" tabindex="-1" role="dialog" aria-labelledby="update_sql_label" aria-hidden="true">
Lines 158-164 Link Here
158
                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
168
                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
159
            </div>
169
            </div>
160
            <div class="modal-footer">
170
            <div class="modal-footer">
161
                <a href="#" class="btn btn-default" id="update_sql_button" role="button" data-toggle="modal">Update</a>
171
                <a href="#" class="btn btn-default lientype" id="update_sql_button" role="button" data-toggle="modal">Update</a>
162
                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
172
                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
163
            </div>
173
            </div>
164
        </div> <!-- /.modal-content -->
174
        </div> <!-- /.modal-content -->
Lines 173-179 Link Here
173
                [% INCLUDE "reports-toolbar.inc" %]
183
                [% INCLUDE "reports-toolbar.inc" %]
174
184
175
                [% IF ( start ) %]
185
                [% IF ( start ) %]
176
                    <h1>Guided reports</h1>
186
                    <h2>Guided reports</h2>
177
                    <p>Use the guided reports engine to create non standard reports. This feature aims to provide some middle ground between the built in canned reports and writing custom SQL reports.</p>
187
                    <p>Use the guided reports engine to create non standard reports. This feature aims to provide some middle ground between the built in canned reports and writing custom SQL reports.</p>
178
188
179
                    <h3>Build and run reports</h3>
189
                    <h3>Build and run reports</h3>
Lines 181-201 Link Here
181
                    [% IF ( CAN_user_reports_create_reports ) %]
191
                    [% IF ( CAN_user_reports_create_reports ) %]
182
                        <form action="/cgi-bin/koha/reports/guided_reports.pl">
192
                        <form action="/cgi-bin/koha/reports/guided_reports.pl">
183
                            <input type="hidden" name="phase" value="Build new" />
193
                            <input type="hidden" name="phase" value="Build new" />
184
                            <input type="submit" name="submit" value="Build new"/>
194
                            <input type="submit" name="submit" id="lientype" value="Build new"/>
185
                        </form>
195
                        </form>
186
                    [% END %]
196
                    [% END %]
187
197
188
                    [% IF ( CAN_user_reports_execute_reports ) %]
198
                    [% IF ( CAN_user_reports_execute_reports ) %]
189
                        <form action="/cgi-bin/koha/reports/guided_reports.pl">
199
                        <form action="/cgi-bin/koha/reports/guided_reports.pl">
190
                            <input type="hidden" name="phase" value="Use saved"/>
200
                            <input type="hidden" name="phase" value="Use saved"/>
191
                            <input type="submit" name="submit" value="Use saved"/>
201
                            <input type="submit" name="submit" id="lientype" value="Use saved"/>
192
                        </form>
202
                        </form>
193
                    [% END %]
203
                    [% END %]
194
204
195
                    [% IF ( CAN_user_reports_create_reports ) %]
205
                    [% IF ( CAN_user_reports_create_reports ) %]
196
                        <form action="/cgi-bin/koha/reports/guided_reports.pl">
206
                        <form action="/cgi-bin/koha/reports/guided_reports.pl">
197
                            <input type="hidden" name="phase" value="Create report from SQL"/>
207
                            <input type="hidden" name="phase" value="Create report from SQL"/>
198
                            <input type="submit" name="submit" value="Create report from SQL"/>
208
                            <input type="submit" name="submit" id="lientype" value="Create report from SQL"/>
199
                        </form>
209
                        </form>
200
                    [% END %]
210
                    [% END %]
201
211
Lines 203-209 Link Here
203
                    <p>Use the reports dictionary to define custom criteria to use in your reports</p>
213
                    <p>Use the reports dictionary to define custom criteria to use in your reports</p>
204
                    <form action="/cgi-bin/koha/reports/dictionary.pl">
214
                    <form action="/cgi-bin/koha/reports/dictionary.pl">
205
                        <input type="hidden" name="phase" value="View Dictionary"/>
215
                        <input type="hidden" name="phase" value="View Dictionary"/>
206
                        <input type="submit" name="submit" value="View dictionary"/>
216
                        <input type="submit" name="submit" id="lientype" value="View dictionary"/>
207
                    </form>
217
                    </form>
208
                [% END # /IF (start) %]
218
                [% END # /IF (start) %]
209
219
Lines 235-246 Link Here
235
                                    [% IF ( filters.keyword ) %]
245
                                    [% IF ( filters.keyword ) %]
236
                                        <span class="filter_keyword"><strong>Keyword:</strong> [% filters.keyword | html %]</span>
246
                                        <span class="filter_keyword"><strong>Keyword:</strong> [% filters.keyword | html %]</span>
237
                                    [% END %]
247
                                    [% END %]
238
                                    <a class="clear_filter" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1"><i class="fa fa-remove"></i> Clear</a>
248
                                    <a class="clear_filter" id="lientype" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1"><i class="fa fa-remove"></i> Clear</a>
239
                                </span>
249
                                </span>
240
                            </p>
250
                            </p>
241
                        [% END %]
251
                        [% END %]
242
252
243
                        <div id="tabs" class="toptabs">
253
                        <div id="tabs" class="toptabs">
254
                        <fieldset id="searchresults">
244
                            <ul class="nav nav-tabs" role="tablist">
255
                            <ul class="nav nav-tabs" role="tablist">
245
                                <li role="presentation" class="active">
256
                                <li role="presentation" class="active">
246
                                    <a href="#reports" aria-controls="reports" role="tab" data-toggle="tab">All</a>
257
                                    <a href="#reports" aria-controls="reports" role="tab" data-toggle="tab">All</a>
Lines 371-386 Link Here
371
                                                        <td>
382
                                                        <td>
372
                                                            [% IF savedreport.seems_obsolete %]
383
                                                            [% IF savedreport.seems_obsolete %]
373
                                                                This report seems obsolete, it uses biblioitems.marcxml field.
384
                                                                This report seems obsolete, it uses biblioitems.marcxml field.
374
                                                                <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id | uri %]" data-report_id="[% savedreport.id | html %]" class="update_sql btn btn-default btn-xs" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a>
385
                                                                <a href="/cgi-bin/koha/svc/convert_report?report_id=[% savedreport.id | uri %]" data-report_id="[% savedreport.id | html %]" class="update_sql btn btn-default btn-xs" id="lientype" title="Update SQL"><i class="fa fa-eye"></i> Update SQL</a>
375
                                                            [% END %]
386
                                                            [% END %]
376
                                                        </td>
387
                                                        </td>
377
                                                        <td>
388
                                                        <td>
378
                                                            <div class="btn-group dropup">
389
                                                            <div class="btn-group dropup">
379
                                                                [%# There should be no space between these two buttons, it would render badly %]
390
                                                                [%# There should be no space between these two buttons, it would render badly %]
380
                                                                <a class="btn btn-default btn-xs" role="button"
391
                                                                <a class="btn btn-default btn-xs lientype" role="button"
381
                                                                href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | html %]&amp;phase=Run%20this%20report"><i
392
                                                                href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | html %]&amp;phase=Run%20this%20report"><i
382
                                                                class="fa fa-play"></i> Run</a><a
393
                                                                class="fa fa-play"></i> Run</a><a
383
                                                                class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown"
394
                                                                class="btn btn-default btn-xs dropdown-toggle lientype" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown"
384
                                                                href="#"><b class="caret"></b></a>
395
                                                                href="#"><b class="caret"></b></a>
385
                                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
396
                                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]">
386
                                                                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | uri %]&amp;phase=Show%20SQL"><i class="fa fa-search"></i> View</a></li>
397
                                                                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% savedreport.id | uri %]&amp;phase=Show%20SQL"><i class="fa fa-search"></i> View</a></li>
Lines 411-421 Link Here
411
422
412
                                        [% IF ( CAN_user_reports_delete_reports ) %]
423
                                        [% IF ( CAN_user_reports_delete_reports ) %]
413
                                            <fieldset class="action">
424
                                            <fieldset class="action">
414
                                                <input type="submit" value="Delete selected" />
425
                                                <input id="lientype" type="submit" value="Delete selected" />
415
                                            </fieldset>
426
                                            </fieldset>
416
                                        [% END %]
427
                                        [% END %]
417
                                    </form>
428
                                    </form>
418
                                </div> <!-- /#reports -->
429
                                </div> <!-- /#reports -->
430
                            </fieldset>
419
                            </div> <!-- /.tab-content -->
431
                            </div> <!-- /.tab-content -->
420
                        </div>
432
                        </div>
421
                    [% ELSE # IF ( savedreports ) %]
433
                    [% ELSE # IF ( savedreports ) %]
Lines 425-449 Link Here
425
                                [% IF ( CAN_user_reports_create_reports ) %]
437
                                [% IF ( CAN_user_reports_create_reports ) %]
426
                                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
438
                                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
427
                                        <input type="hidden" name="phase" value="Build new" />
439
                                        <input type="hidden" name="phase" value="Build new" />
428
                                        <button type="submit" class="new"><i class="fa fa-plus"></i> New guided report</button>
440
                                        <button id="lientype" type="submit" class="new"><i class="fa fa-plus"></i> New guided report</button>
429
                                    </form>
441
                                    </form>
430
442
431
                                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
443
                                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
432
                                        <input type="hidden" name="phase" value="Create report from SQL" />
444
                                        <input type="hidden" name="phase" value="Create report from SQL" />
433
                                        <button type="submit" class="new"><i class="fa fa-plus"></i> New SQL report</button>
445
                                        <button id="lientype" type="submit" class="new"><i class="fa fa-plus"></i> New SQL report</button>
434
                                    </form>
446
                                    </form>
435
447
436
                                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
448
                                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
437
                                        <input type="hidden" name="phase" value="Use saved" />
449
                                        <input type="hidden" name="phase" value="Use saved" />
438
                                        <input type="hidden" name="filter_set" value="1" />
450
                                        <input type="hidden" name="filter_set" value="1" />
439
                                        <input type="hidden" name="filter_keyword" value="" />
451
                                        <input type="hidden" name="filter_keyword" value="" />
440
                                        <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> Cancel filter</button>
452
                                        <button type="submit" class="deny cancel"><i class="fa fa-fw fa-remove"></i> Cancel filter</button>
441
                                    </form>
453
                                    </form>
442
                                [% END %]
454
                                [% END %]
443
                            [% ELSE %]
455
                            [% ELSE %]
444
                                <h4>There are no saved reports. </h4>
456
                                <h4>There are no saved reports. </h4>
445
                                [% IF ( CAN_user_reports_create_reports ) %]
457
                                [% IF ( CAN_user_reports_create_reports ) %]
446
                                    <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build a new report?</a>
458
                                    <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new" id="lientype">Build a new report?</a>
447
                                [% END %]
459
                                [% END %]
448
                            [% END # IF (filter_set || filters.date || filters.author || filters.keyword) %]
460
                            [% END # IF (filter_set || filters.date || filters.author || filters.keyword) %]
449
                        </div> <!-- /.dialog.message -->
461
                        </div> <!-- /.dialog.message -->
Lines 459-468 Link Here
459
                        </div>
471
                        </div>
460
                    [% END %]
472
                    [% END %]
461
473
462
                    <h1>Build a report</h1>
474
                    <h2>Build a report</h2>
463
                    <form action="/cgi-bin/koha/reports/guided_reports.pl">
475
                    <form action="/cgi-bin/koha/reports/guided_reports.pl">
464
                        <fieldset class="rows">
476
                        <fieldset class="rows">
465
                            <legend>Step 1 of 6: Choose a module to report on,[% IF (usecache) %] Set cache expiry, [% END %] and choose report visibility </legend>
477
                            <h3>Step 1 of 6: Choose a module to report on,[% IF (usecache) %] Set cache expiry, [% END %] and choose report visibility </h3>
466
                            <ol>
478
                            <ol>
467
                                <li>
479
                                <li>
468
                                    <label for="area">Choose: </label>
480
                                    <label for="area">Choose: </label>
Lines 503-524 Link Here
503
                                    </li>
515
                                    </li>
504
                                [% END %]
516
                                [% END %]
505
                            </ol>
517
                            </ol>
506
                        </fieldset> <!-- /.rows -->
507
                        <fieldset class="action">
518
                        <fieldset class="action">
508
                            <input type="hidden" name="phase" value="Report on this Area" />
519
                            <input type="hidden" name="phase" value="Report on this Area" />
509
                            <input type="submit" name="submit" value="Next &gt;&gt;" />
520
                            <input type="submit" class="principal" name="submit" value="Next &gt;&gt;" />
510
                        </fieldset>
521
                        </fieldset>
522
                        </fieldset> <!-- /.rows -->
511
                    </form>
523
                    </form>
512
                [% END # /build1 %]
524
                [% END # /build1 %]
513
525
514
                [% IF ( build2 ) %]
526
                [% IF ( build2 ) %]
515
                    <h1>Build a report</h1>
527
                    <h2>Build a report</h2>
516
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
528
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
517
                        <input type="hidden" name="area" value="[% area | html %]" />
529
                        <input type="hidden" name="area" value="[% area | html %]" />
518
                        <input type="hidden" name="public" value="[% public | html %]" />
530
                        <input type="hidden" name="public" value="[% public | html %]" />
519
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
531
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
520
                        <fieldset class="rows">
532
                        <fieldset class="rows">
521
                            <legend>Step 2 of 6: Pick a report type</legend>
533
                            <h3>Step 2 of 6: Pick a report type</h3>
522
                            <ol>
534
                            <ol>
523
                                <li>
535
                                <li>
524
                                    <label for="types">Choose: </label>
536
                                    <label for="types">Choose: </label>
Lines 529-547 Link Here
529
                                    </select>
541
                                    </select>
530
                                </li>
542
                                </li>
531
                            </ol>
543
                            </ol>
532
                        </fieldset>
533
534
                        <fieldset class="action">
544
                        <fieldset class="action">
535
                            <input type="hidden" name="phase" value="Choose this type" />
545
                            <input type="hidden" name="phase" value="Choose this type" />
536
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback" />
546
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback principal" />
537
                            <input type="submit" name="submit" value="Next &gt;&gt;" />
547
                            <input type="submit" class="principal" name="submit" value="Next &gt;&gt;" />
548
                        </fieldset>
538
                        </fieldset>
549
                        </fieldset>
550
539
                    </form>
551
                    </form>
540
                [% END # /IF (build2 ) %]
552
                [% END # /IF (build2 ) %]
541
553
542
                [% IF ( build3 ) %]
554
                [% IF ( build3 ) %]
543
                    <h1>Build a report</h1>
555
                    <h2>Build a report</h2>
544
                    <h3>Step 3 of 6: Select columns for display</h3>
545
                    <p>Note: Be careful selecting when selecting columns. If your choice is too broad it could result in a very large report that will either not complete, or slow your system down.</p>
556
                    <p>Note: Be careful selecting when selecting columns. If your choice is too broad it could result in a very large report that will either not complete, or slow your system down.</p>
546
557
547
                    <form id="column_submit" action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
558
                    <form id="column_submit" action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
Lines 550-559 Link Here
550
                        <input type="hidden" name="public" value="[% public | html %]" />
561
                        <input type="hidden" name="public" value="[% public | html %]" />
551
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
562
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
552
                        <fieldset>
563
                        <fieldset>
564
                    <h3>Step 3 of 6: Select columns for display</h3>
553
                            <div class="row">
565
                            <div class="row">
554
                                <div class="col-sm-6">
566
                                <div class="col-sm-6">
555
                                    <div style="float: left;">
567
                                    <div style="float: left;">
556
                                        <select id="availableColumns" name="oldcolumns2" multiple="multiple" size="25" style="min-width: 200px;height:300px;">
568
                                        <select id="availableColumns" name="oldcolumns2" multiple="multiple" size="25" style="min-width: 200px; width: 100%; overflow: auto; height:300px;">
557
                                            [% FOREACH column IN columns %]
569
                                            [% FOREACH column IN columns %]
558
                                                [% IF ( column.table ) %]
570
                                                [% IF ( column.table ) %]
559
                                                    [% IF ( loop.first ) %]
571
                                                    [% IF ( loop.first ) %]
Lines 575-581 Link Here
575
                                        </select>
587
                                        </select>
576
                                    </div>
588
                                    </div>
577
                                    <div style="width: 6.3em; float: right; margin-top: 100px">
589
                                    <div style="width: 6.3em; float: right; margin-top: 100px">
578
                                        <input type="button" name="Add" value="Add" class="button" style="width:6em;" id="addColumn" /><br />
590
                                        <input type="button" name="Add" value="Add &gt;&gt;" class="button" style="width:6em;" id="addColumn" /><br />
579
                                        <input type="button" name="delete" value="&lt;&lt; Delete" class="button" style="width: 6em; margin: 1em 0;" id="delColumn" />
591
                                        <input type="button" name="delete" value="&lt;&lt; Delete" class="button" style="width: 6em; margin: 1em 0;" id="delColumn" />
580
                                    </div>
592
                                    </div>
581
                                </div> <!-- /.col-sm-6 -->
593
                                </div> <!-- /.col-sm-6 -->
Lines 585-601 Link Here
585
                                    </select>
597
                                    </select>
586
                                </div>
598
                                </div>
587
                            </div> <!-- /.row -->
599
                            </div> <!-- /.row -->
588
                        </fieldset>
589
                        <fieldset class="action">
600
                        <fieldset class="action">
590
                            <input type="hidden" name="phase" value="Choose these columns" />
601
                            <input type="hidden" name="phase" value="Choose these columns" />
591
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback" />
602
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback principal" />
592
                            <input type="submit" name="submit" value="Next &gt;&gt;" />
603
                            <input type="submit" name="submit" class="principal" value="Next &gt;&gt;" />
604
                        </fieldset>
593
                        </fieldset>
605
                        </fieldset>
594
                    </form> <!-- /#column_submit -->
606
                    </form> <!-- /#column_submit -->
595
                [% END # /IF ( build3 ) %]
607
                [% END # /IF ( build3 ) %]
596
608
597
                [% IF ( build4 ) %]
609
                [% IF ( build4 ) %]
598
                    <h1>Build a report</h1>
610
                    <h2>Build a report</h2>
599
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" >
611
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" >
600
                        <input type="hidden" name="area" value="[% area | html %]" />
612
                        <input type="hidden" name="area" value="[% area | html %]" />
601
                        <input type="hidden" name="type" value="[% type | html %]" />
613
                        <input type="hidden" name="type" value="[% type | html %]" />
Lines 603-609 Link Here
603
                        <input type="hidden" name="public" value="[% public | html %]" />
615
                        <input type="hidden" name="public" value="[% public | html %]" />
604
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
616
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
605
                        <fieldset>
617
                        <fieldset>
606
                            <legend>Step 4 of 6: Select criteria to limit on</legend>
618
                            <h3>Step 4 of 6: Select criteria to limit on</h3>
607
                            <table>
619
                            <table>
608
                                [% FOREACH criteri IN criteria %]
620
                                [% FOREACH criteri IN criteria %]
609
                                    <tr>
621
                                    <tr>
Lines 655-665 Link Here
655
                                        [% END %]
667
                                        [% END %]
656
                                [% END %]
668
                                [% END %]
657
                            </table>
669
                            </table>
670
                        <fieldset class="action">
671
                            <input type="hidden" name="phase" value="Choose these criteria" />
672
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback principal" />
673
                            <input type="submit" name="submit" class="principal" value="Next &gt;&gt;" />
674
                        </fieldset>
658
                        </fieldset>
675
                        </fieldset>
659
676
660
                        [% IF ( definitions ) %]
677
                        [% IF ( definitions ) %]
661
                            <fieldset>
678
                            <fieldset>
662
                                <legend>Dictionary definitions</legend>
679
                                <h3>Dictionary definitions</h3>
663
                                <table>
680
                                <table>
664
                                    [% FOREACH definition IN definitions %]
681
                                    [% FOREACH definition IN definitions %]
665
                                        <tr>
682
                                        <tr>
Lines 673-689 Link Here
673
                            </fieldset>
690
                            </fieldset>
674
                        [% END %]
691
                        [% END %]
675
692
676
                        <fieldset class="action">
677
                            <input type="hidden" name="phase" value="Choose these criteria" />
678
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback" />
679
                            <input type="submit" name="submit" value="Next &gt;&gt;" />
680
                        </fieldset>
681
                    </form>
693
                    </form>
682
                [% END # /IF ( build4 ) %]
694
                [% END # /IF ( build4 ) %]
683
695
684
                [% IF ( build5 ) %]
696
                [% IF ( build5 ) %]
685
                    <h1>Build a report</h1>
697
                    <h2>Build a report</h2>
686
                    <h3>Step 5 of 6: Pick which columns to total</h3>
687
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
698
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
688
                        <input type="hidden" name="area" value="[% area | html %]" />
699
                        <input type="hidden" name="area" value="[% area | html %]" />
689
                        <input type="hidden" name="type" value="[% type | html %]" />
700
                        <input type="hidden" name="type" value="[% type | html %]" />
Lines 693-698 Link Here
693
                        <input type="hidden" name="public" value="[% public | html %]" />
704
                        <input type="hidden" name="public" value="[% public | html %]" />
694
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
705
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
695
                        <fieldset>
706
                        <fieldset>
707
                    <h3>Step 5 of 6: Pick which columns to total</h3>
696
                            <table>
708
                            <table>
697
                                [% FOREACH total_b IN total_by %]
709
                                [% FOREACH total_b IN total_by %]
698
                                    <tr>
710
                                    <tr>
Lines 710-727 Link Here
710
                                    </tr>
722
                                    </tr>
711
                                [% END %]
723
                                [% END %]
712
                            </table>
724
                            </table>
713
                        </fieldset>
714
725
715
                        <fieldset class="action"><input type="hidden" name="phase" value="Choose these operations" />
726
                        <fieldset class="action"><input type="hidden" name="phase" value="Choose these operations" />
716
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback" />
727
                            <input type="button" name="back" value="&lt;&lt; Back" class="goback principal" />
717
                            <input type="submit" name="submit" value="Next &gt;&gt;" />
728
                            <input type="submit" name="submit" class="principal" value="Next &gt;&gt;" />
729
                        </fieldset>
718
                        </fieldset>
730
                        </fieldset>
719
                    </form>
731
                    </form>
720
                [% END # /IF ( build5 ) %]
732
                [% END # /IF ( build5 ) %]
721
733
722
                [% IF ( build6 ) %]
734
                [% IF ( build6 ) %]
723
                    <h1>Build a report</h1>
735
                    <h2>Build a report</h2>
724
                    <h3>Step 6 of 6: Choose how you want the report ordered</h3>
725
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
736
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post">
726
                        <input type="hidden" name="area" value="[% area | html %]" />
737
                        <input type="hidden" name="area" value="[% area | html %]" />
727
                        <input type="hidden" name="type" value="[% type | html %]" />
738
                        <input type="hidden" name="type" value="[% type | html %]" />
Lines 732-737 Link Here
732
                        <input type="hidden" name="public" value="[% public | html %]" />
743
                        <input type="hidden" name="public" value="[% public | html %]" />
733
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
744
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
734
                        <fieldset>
745
                        <fieldset>
746
                    <h3>Step 6 of 6: Choose how you want the report ordered</h3>
735
                            <table>
747
                            <table>
736
                                [% FOREACH order_b IN order_by %]
748
                                [% FOREACH order_b IN order_by %]
737
                                    <tr>
749
                                    <tr>
Lines 752-764 Link Here
752
                        </fieldset>
764
                        </fieldset>
753
                        <fieldset class="action">
765
                        <fieldset class="action">
754
                            <input type="hidden" name="phase" value="Build report" />
766
                            <input type="hidden" name="phase" value="Build report" />
755
                            <input type="submit" name="submit" value="Finish" />
767
                            <input type="submit" name="submit" class="principal" value="Finish" />
756
                        </fieldset>
768
                        </fieldset>
757
                    </form>
769
                    </form>
758
                [% END #/ IF ( build6 ) %]
770
                [% END #/ IF ( build6 ) %]
759
771
760
                [% IF ( showreport ) %]
772
                [% IF ( showreport ) %]
761
                    <h1>Confirm custom report</h1>
773
                    <h2>Confirm custom report</h2>
762
                    <p>Your report will be generated with the following SQL statement.</p>
774
                    <p>Your report will be generated with the following SQL statement.</p>
763
                    <p>
775
                    <p>
764
                        [% sql | html %]
776
                        [% sql | html %]
Lines 771-777 Link Here
771
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
783
                        <input type="hidden" name="cache_expiry" value="[% cache_expiry | html %]" />
772
                        <p>You will need to save the report before you can execute it</p>
784
                        <p>You will need to save the report before you can execute it</p>
773
                        <fieldset class="action"><input type="hidden" name="phase" value="Save" />
785
                        <fieldset class="action"><input type="hidden" name="phase" value="Save" />
774
                            <input type="submit" name="submit" value="Next" />
786
                            <input type="submit" name="submit" class="principal" value="Next" />
775
                        </fieldset>
787
                        </fieldset>
776
                    </form>
788
                    </form>
777
                [% END #/ IF ( showreport ) %]
789
                [% END #/ IF ( showreport ) %]
Lines 799-805 Link Here
799
                            </ol>
811
                            </ol>
800
                        </fieldset>
812
                        </fieldset>
801
                        <fieldset class="action"><input type="hidden" name="phase" value="Save Report" />
813
                        <fieldset class="action"><input type="hidden" name="phase" value="Save Report" />
802
                            <input type="submit" name="submit" value="Save report" />
814
                            <input type="submit" name="submit" class="principal" value="Save report" />
803
                        </fieldset>
815
                        </fieldset>
804
                    </form>
816
                    </form>
805
                [% END # /IF( save ) %]
817
                [% END # /IF( save ) %]
Lines 855-864 Link Here
855
                                    </p>
867
                                    </p>
856
                                [% END %]
868
                                [% END %]
857
                            </div>
869
                            </div>
858
                            <fieldset class="action"><input type="submit" value="Edit SQL" /></fieldset>
870
                            <fieldset class="action"><input type="submit" class="principal" value="Edit SQL" /></fieldset>
859
                        [% ELSE #  IF ( auth_val_error ) %]
871
                        [% ELSE #  IF ( auth_val_error ) %]
860
                            <input type='hidden' name='phase' value='Run this report' />
872
                            <input type='hidden' name='phase' value='Run this report' />
861
                            <h1>Enter parameters for report [% name | html %]:</h1>
873
                            <h2>Enter parameters for report [% name | html %]:</h2>
862
                            [% IF ( notes ) %]
874
                            [% IF ( notes ) %]
863
                                <p>[% notes | html %]</p>
875
                                <p>[% notes | html %]</p>
864
                            [% END %]
876
                            [% END %]
Lines 897-903 Link Here
897
                                </ol>
909
                                </ol>
898
                            </fieldset> <!-- /.rows -->
910
                            </fieldset> <!-- /.rows -->
899
                            <fieldset class="action">
911
                            <fieldset class="action">
900
                                <input type="submit" value="Run the report" />
912
                                <input type="submit" class="principal" value="Run the report" />
901
                            </fieldset>
913
                            </fieldset>
902
                        [% END # / IF ( auth_val_error ) %]
914
                        [% END # / IF ( auth_val_error ) %]
903
                    </form>
915
                    </form>
Lines 924-931 Link Here
924
                    </div>
936
                    </div>
925
937
926
                    <div>
938
                    <div>
927
                        <a href="#" id="toggle_chart_settings_hid" class="toggle_chart_settings" style="display:none"><i class="fa fa-eye-slash"></i> Hide chart</a>
939
                        <a href="#" id="toggle_chart_settings_hid" class="toggle_chart_settings lientype" style="display:none"><i class="fa fa-eye-slash"></i> Hide chart</a>
928
                        <a href="#" id="toggle_chart_settings_vis" class="toggle_chart_settings" style="display:none"><i class="fa fa fa-eye"></i> Show chart</a>
940
                        <a href="#" id="toggle_chart_settings_vis" class="toggle_chart_settings lientype" style="display:none"><i class="fa fa fa-eye"></i> Show chart</a>
929
                    </div>
941
                    </div>
930
                    <div id="chart" class="clearfix"></div>
942
                    <div id="chart" class="clearfix"></div>
931
943
Lines 1029-1035 Link Here
1029
                                <div id="toolbar" class="btn-toolbar">
1041
                                <div id="toolbar" class="btn-toolbar">
1030
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1042
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1031
                                        <div class="btn-group">
1043
                                        <div class="btn-group">
1032
                                            <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1044
                                            <button class="btn btn-default btn-sm dropdown-toggle pat" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1033
                                                Batch operations with [% IF unlimited_total >= limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1045
                                                Batch operations with [% IF unlimited_total >= limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1034
                                                <span class="caret"></span>
1046
                                                <span class="caret"></span>
1035
                                            </button>
1047
                                            </button>
Lines 1069-1075 Link Here
1069
1081
1070
                                    [% IF ( unlimited_total > 10 && limit <= 1000 ) %]
1082
                                    [% IF ( unlimited_total > 10 && limit <= 1000 ) %]
1071
                                        <div class="btn-group">
1083
                                        <div class="btn-group">
1072
                                            <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1084
                                            <button type="button" class="btn btn-default btn-sm dropdown-toggle pat" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1073
                                                [% IF ( limit ) %]
1085
                                                [% IF ( limit ) %]
1074
                                                    Rows per page: <strong>[% limit | html %]</strong>
1086
                                                    Rows per page: <strong>[% limit | html %]</strong>
1075
                                                [% ELSE %]
1087
                                                [% ELSE %]
Lines 1095-1101 Link Here
1095
                                    [% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %]
1107
                                    [% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %]
1096
1108
1097
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1109
                                    [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1098
                                        <a href="#" class="btn btn-link" id="toggle_auto_links">
1110
                                        <a href="#" class="btn btn-link pat" id="toggle_auto_links">
1099
                                            <i class="fa fa-eye autolink" style="display:none"></i>
1111
                                            <i class="fa fa-eye autolink" style="display:none"></i>
1100
                                            <i class="fa fa-eye-slash autolink"></i>
1112
                                            <i class="fa fa-eye-slash autolink"></i>
1101
                                            <span class="autolink" style="display:none">Show data menus</span>
1113
                                            <span class="autolink" style="display:none">Show data menus</span>
Lines 1141-1149 Link Here
1141
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1153
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1142
                                                    <div id="itemnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1154
                                                    <div id="itemnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1143
                                                        <ul class="dropdown-menu pull-right" role="menu">
1155
                                                        <ul class="dropdown-menu pull-right" role="menu">
1144
                                                            <li><a target="_blank" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-pencil"></i> Edit record</a></li>
1156
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-pencil"></i> Edit record</a></li>
1145
                                                            <li role="separator" class="divider"></li>
1157
                                                            <li role="separator" class="divider"></li>
1146
                                                            <li><a target="_blank" href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-eye"></i> View record</a></li>
1158
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-eye"></i> View record</a></li>
1147
                                                        </ul>
1159
                                                        </ul>
1148
                                                    </div>
1160
                                                    </div>
1149
                                                </td>
1161
                                                </td>
Lines 1152-1160 Link Here
1152
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1164
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1153
                                                    <div id="biblionumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1165
                                                    <div id="biblionumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1154
                                                        <ul class="dropdown-menu pull-right" role="menu">
1166
                                                        <ul class="dropdown-menu pull-right" role="menu">
1155
                                                            <li><a target="_blank" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit record</a></li>
1167
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit record</a></li>
1156
                                                            <li role="separator" class="divider"></li>
1168
                                                            <li role="separator" class="divider"></li>
1157
                                                            <li><a target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View record</a></li>
1169
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View record</a></li>
1158
                                                        </ul>
1170
                                                        </ul>
1159
                                                    </div>
1171
                                                    </div>
1160
                                                </td>
1172
                                                </td>
Lines 1163-1173 Link Here
1163
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1175
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1164
                                                    <div id="borrowernumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1176
                                                    <div id="borrowernumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1165
                                                        <ul class="dropdown-menu pull-right" role="menu">
1177
                                                        <ul class="dropdown-menu pull-right" role="menu">
1166
                                                            <li><a target="_blank" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View patron</a></li>
1178
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-eye"></i> View patron</a></li>
1167
                                                            <li role="separator" class="divider"></li>
1179
                                                            <li role="separator" class="divider"></li>
1168
                                                            <li><a target="_blank" href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit patron</a></li>
1180
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-pencil"></i> Edit patron</a></li>
1169
                                                            <li role="separator" class="divider"></li>
1181
                                                            <li role="separator" class="divider"></li>
1170
                                                            <li><a target="_blank" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1182
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1171
                                                        </ul>
1183
                                                        </ul>
1172
                                                    </div>
1184
                                                    </div>
1173
                                                </td>
1185
                                                </td>
Lines 1176-1182 Link Here
1176
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1188
                                                    <span class="data-plain">[% cells.cell | $raw %]</span>
1177
                                                    <div id="cardnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1189
                                                    <div id="cardnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a>
1178
                                                        <ul class="dropdown-menu pull-right" role="menu">
1190
                                                        <ul class="dropdown-menu pull-right" role="menu">
1179
                                                            <li><a target="_blank" href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1191
                                                            <li><a id="lientype" target="_blank" href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1180
                                                        </ul>
1192
                                                        </ul>
1181
                                                    </div>
1193
                                                    </div>
1182
                                                </td>
1194
                                                </td>
Lines 1198-1207 Link Here
1198
                [% END #/IF ( execute ) %]
1210
                [% END #/IF ( execute ) %]
1199
1211
1200
                [% IF ( create ) %]
1212
                [% IF ( create ) %]
1201
                    <h1>Create from SQL</h1>
1213
                    <h2>Create from SQL</h2>
1202
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form">
1214
                    <form action="/cgi-bin/koha/reports/guided_reports.pl" method="post" id="sql_report_form">
1203
                        <fieldset class="rows">
1215
                        <fieldset class="rows">
1204
                            <legend>Create report from SQL</legend>
1216
                            <h3>Create report from SQL</h3>
1205
                            <ol>
1217
                            <ol>
1206
                                <li>
1218
                                <li>
1207
                                    <label for="reportname" class="required">Report name:</label>
1219
                                    <label for="reportname" class="required">Report name:</label>
Lines 1252-1258 Link Here
1252
                        </fieldset> <!-- /.rows -->
1264
                        </fieldset> <!-- /.rows -->
1253
1265
1254
                        <fieldset class="rows">
1266
                        <fieldset class="rows">
1255
                            <legend>SQL:</legend>
1267
                            <h3>SQL:</h3>
1256
                            <div style="margin:1em;">
1268
                            <div style="margin:1em;">
1257
                                [% PROCESS insert_runtime_parameter  %]
1269
                                [% PROCESS insert_runtime_parameter  %]
1258
                                <textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql | html %]</textarea>
1270
                                <textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql | html %]</textarea>
Lines 1262-1275 Link Here
1262
1274
1263
                        <fieldset class="action">
1275
                        <fieldset class="action">
1264
                            <input type="hidden" name="phase" value="Save Report" />
1276
                            <input type="hidden" name="phase" value="Save Report" />
1265
                            <input type="submit" name="submit" value="Save report" />
1277
                            <input type="submit" name="submit" class="principal" value="Save report" />
1266
                            <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a>
1278
                            <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a>
1267
                        </fieldset>
1279
                        </fieldset>
1268
                    </form>
1280
                    </form>
1269
                [% END #/IF ( create ) %]
1281
                [% END #/IF ( create ) %]
1270
1282
1271
                [% IF saved_results %]
1283
                [% IF saved_results %]
1272
                    <h1>Saved report results</h1>
1284
                    <h2>Saved report results</h2>
1273
                    <h2>[% name | html %]</h2>
1285
                    <h2>[% name | html %]</h2>
1274
                    <p>[% notes | html %]</p>
1286
                    <p>[% notes | html %]</p>
1275
                    <table>
1287
                    <table>
Lines 1284-1292 Link Here
1284
                [% END # /IF saved_results %]
1296
                [% END # /IF saved_results %]
1285
1297
1286
                [% IF ( showsql ) %]
1298
                [% IF ( showsql ) %]
1287
                <h1>Saved reports - SQL</h1>
1299
                <h2>Saved reports - SQL</h2>
1288
                    <fieldset class="rows">
1300
                    <fieldset class="rows">
1289
                        <legend>[% reportname | html %]</legend>
1301
                        <h3>[% reportname | html %]</h3>
1290
                        <ol>
1302
                        <ol>
1291
                            [% IF ( notes ) %]
1303
                            [% IF ( notes ) %]
1292
                                <li>
1304
                                <li>
Lines 1364-1377 Link Here
1364
                        </fieldset> <!-- /.rows -->
1376
                        </fieldset> <!-- /.rows -->
1365
1377
1366
                        <fieldset class="rows">
1378
                        <fieldset class="rows">
1367
                            <legend>SQL:</legend>
1379
                            <h3>SQL:</h3>
1368
                                [% PROCESS insert_runtime_parameter  %]
1380
                                [% PROCESS insert_runtime_parameter  %]
1369
                                <textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql | html %]</textarea>
1381
                                <textarea id="sql" name="sql" class="required" required="required" cols="50" rows="10">[% sql | html %]</textarea>
1370
                                <span class="required" style="margin-left:30px;">Required</span>
1382
                                <span class="required" style="margin-left:30px;">Required</span>
1371
                        </fieldset>
1383
                        </fieldset>
1372
1384
1373
                        <fieldset class="action">
1385
                        <fieldset class="action">
1374
                            <input type="submit" name="submit" value="Update SQL" />
1386
                            <input type="submit" name="submit" class="principal" value="Update SQL" />
1375
                            <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a>
1387
                            <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a>
1376
                        </fieldset>
1388
                        </fieldset>
1377
                    </form>
1389
                    </form>
Lines 1394-1406 Link Here
1394
                                [% ELSE %]
1406
                                [% ELSE %]
1395
                                [% END %]
1407
                                [% END %]
1396
                                <div id="onerror_actions">
1408
                                <div id="onerror_actions">
1397
                                    <a href="#" class="button goback">Return to previous page</a>
1409
                                    <a id="lientype" href="#" class="button goback">Return to previous page</a>
1398
                                </div>
1410
                                </div>
1399
                            [% END %]
1411
                            [% END %]
1400
                        </div>
1412
                        </div>
1401
                        <fieldset class="action">
1413
                        <fieldset class="action">
1402
                            <input type="hidden" name="phase" value="Use saved" />
1414
                            <input type="hidden" name="phase" value="Use saved" />
1403
                            <input type="submit" name="submit" value="Saved reports" />
1415
                            <input type="submit" name="submit" class="principal" value="Saved reports" />
1404
                        </fieldset>
1416
                        </fieldset>
1405
                    </form>
1417
                    </form>
1406
                [% END # /IF ( errors ) %]
1418
                [% END # /IF ( errors ) %]
Lines 1410-1446 Link Here
1410
1422
1411
        <div class="col-sm-2 col-sm-pull-10">
1423
        <div class="col-sm-2 col-sm-pull-10">
1412
            <aside>
1424
            <aside>
1425
            <div id="filters">
1413
                [% IF ( saved1 ) %]
1426
                [% IF ( saved1 ) %]
1414
                    <div id="saved-reports-filter">
1427
                    <div id="saved-reports-filter">
1415
                        <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
1428
                        <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
1416
                            <input type="hidden" name="phase" value="Use saved" />
1429
                            <input type="hidden" name="phase" value="Use saved" />
1417
                            <input type="hidden" name="filter_set" value="1" />
1430
                            <input type="hidden" name="filter_set" value="1" />
1418
                            <fieldset class="brief">
1431
                            <fieldset class="brief">
1419
                                <h3>Filter</h3>
1432
                                <h4>Filter</h4>
1420
                                <ol>
1433
                                <ol>
1421
                                    <li>
1434
                                    <li>
1422
                                        <label for="filter_date">Date:</label>
1435
                                        <p for="filter_date">Date:
1423
                                        <input type="text" id="filter_date" name="filter_date" size="10" value="[% filters.date | html %]" class="flatpickr" />
1436
                                        <input type="text" id="filter_date" name="filter_date" size="10" value="[% filters.date | html %]" class="flatpickr" />
1424
                                        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
1437
                                        <div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
1425
                                    </li>
1438
                                    </li>
1426
                                    <li>
1439
                                    <li>
1427
                                        <label for="filter_author">Author:</label>
1440
                                        <p for="filter_author">Author:
1428
                                        <input type="text" id="filter_author" name="filter_author" value="[% filters.author | html %]" size="16" />
1441
                                        <input type="text" id="filter_author" name="filter_author" value="[% filters.author | html %]" size="16" /></p>
1429
                                    </li>
1442
                                    </li>
1430
                                    <li>
1443
                                    <li>
1431
                                        <label for="filter_keyword">Keyword:</label>
1444
                                        <p for="filter_keyword">Keyword:
1432
                                        <input type="text" id="filter_keyword" name="filter_keyword" value="[% filters.keyword | html %]" size="16" />
1445
                                        <input type="text" id="filter_keyword" name="filter_keyword" value="[% filters.keyword | html %]" size="16" /></p>
1433
                                    </li>
1446
                                    </li>
1434
                                </ol>
1447
                                </ol>
1435
                            </fieldset> <!-- /.brief -->
1436
                            <fieldset class="action">
1448
                            <fieldset class="action">
1437
                                <input type="submit" value="Apply filter" />
1449
                                <input type="submit" class="principal" value="Apply filter" />
1438
                                <a id="resetReportsFilter" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1">Clear</a>
1450
                                <a id="resetReportsFilter" class="lientype" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved&clear_filters=1">Clear</a>
1439
                            </fieldset>
1451
                            </fieldset>
1452
                            </fieldset> <!-- /.brief -->
1440
                        </form>
1453
                        </form>
1441
                    </div> <!-- /#saved-reports-filter -->
1454
                    </div> <!-- /#saved-reports-filter -->
1442
                [% END %]
1455
                [% END %]
1443
                [% INCLUDE 'guided-reports-view.inc' %]
1456
                [% INCLUDE 'guided-reports-view.inc' %]
1457
                </div>
1444
            </aside>
1458
            </aside>
1445
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
1459
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
1446
    </div> <!-- /.row -->
1460
    </div> <!-- /.row -->
Lines 1472-1478 Link Here
1472
                    </div> <!-- /.modal-body -->
1486
                    </div> <!-- /.modal-body -->
1473
                    <div class="modal-footer">
1487
                    <div class="modal-footer">
1474
                        <button type="submit" id="sendParam" class="btn btn-default approve">Insert parameter</button>
1488
                        <button type="submit" id="sendParam" class="btn btn-default approve">Insert parameter</button>
1475
                        <button type="button" class="btn btn-default deny" data-dismiss="modal">Cancel</button>
1489
                        <button type="button" class="btn btn-default deny cancel" data-dismiss="modal">Cancel</button>
1476
                    </div> <!-- /.modal-footer -->
1490
                    </div> <!-- /.modal-footer -->
1477
                </form> <!-- /#send_runtime_parameter -->
1491
                </form> <!-- /#send_runtime_parameter -->
1478
            </div> <!-- /.modal-content -->
1492
            </div> <!-- /.modal-content -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt (-6 / +16 lines)
Lines 1-13 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %][% formulaire = BLOCK %]
4
    [% INCLUDE 'cat-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Average loan time &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Average loan time &rsaquo; Reports &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
10
8
<body id="rep_issues_avg_stats" class="rep">
11
<body id="rep_issues_avg_stats" class="rep">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'cat-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 34-39 Link Here
34
            </li>
36
            </li>
35
        [% END %]
37
        [% END %]
36
    </ol>
38
    </ol>
39
40
    <ol>
41
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
42
    </ol>
43
44
    <ol>
45
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
    </ol>
37
</nav>
47
</nav>
38
48
39
<div class="main container-fluid">
49
<div class="main container-fluid">
Lines 41-47 Link Here
41
        <div class="col-sm-10 col-sm-push-2">
51
        <div class="col-sm-10 col-sm-push-2">
42
            <main>
52
            <main>
43
53
44
<h1>Average checkout period</h1>
54
<h2>Average checkout period</h2>
45
[% IF ( do_it ) %]
55
[% IF ( do_it ) %]
46
	[% FOREACH mainloo IN mainloop %]
56
	[% FOREACH mainloo IN mainloop %]
47
		[% IF ( mainloo.loopfilter ) %]
57
		[% IF ( mainloo.loopfilter ) %]
Lines 88-94 Link Here
88
98
89
	<form method="post" action="/cgi-bin/koha/reports/issues_avg_stats.pl">
99
	<form method="post" action="/cgi-bin/koha/reports/issues_avg_stats.pl">
90
	<fieldset class="rows">
100
	<fieldset class="rows">
91
	<legend>Average checkout period statistics</legend>
101
	<h3>Average checkout period statistics</h3>
92
	<table>
102
	<table>
93
		<thead>
103
		<thead>
94
			<tr>
104
			<tr>
Lines 221-227 Link Here
221
	
231
	
222
	
232
	
223
	<fieldset class="rows">
233
	<fieldset class="rows">
224
	<legend>Output</legend>
234
	<h3>Output</h3>
225
    <ol>
235
    <ol>
226
        <li>
236
        <li>
227
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
237
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 250-256 Link Here
250
	<input type="hidden" name="Filter" value="" />
260
	<input type="hidden" name="Filter" value="" />
251
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
261
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
252
	<input type="hidden" name="do_it" value="1" />
262
	<input type="hidden" name="do_it" value="1" />
253
	<input type="submit" value="Submit" />
263
	<input type="submit" class="principal" value="Submit" />
254
	</fieldset>
264
	</fieldset>
255
	</form>
265
	</form>
256
[% END %]
266
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-7 / +17 lines)
Lines 1-5 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'circ-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Circulation statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Circulation statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
Lines 9-16 Link Here
9
</head>
12
</head>
10
13
11
<body id="rep_issues_stats" class="rep">
14
<body id="rep_issues_stats" class="rep">
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'cat-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 37-42 Link Here
37
            </li>
39
            </li>
38
        [% END %]
40
        [% END %]
39
    </ol>
41
    </ol>
42
43
    <ol>
44
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
45
    </ol>
46
47
    <ol>
48
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
49
    </ol>
40
</nav>
50
</nav>
41
51
42
<div class="main container-fluid">
52
<div class="main container-fluid">
Lines 44-50 Link Here
44
        <div class="col-sm-10 col-sm-push-2">
54
        <div class="col-sm-10 col-sm-push-2">
45
            <main>
55
            <main>
46
56
47
<h1>Circulation statistics</h1>
57
<h2>Circulation statistics</h2>
48
[% IF ( do_it ) %]
58
[% IF ( do_it ) %]
49
    [% FOREACH mainloo IN mainloop %]
59
    [% FOREACH mainloo IN mainloop %]
50
        [% IF ( mainloo.loopfilter ) %]
60
        [% IF ( mainloo.loopfilter ) %]
Lines 111-117 Link Here
111
121
112
    <form method="post" action="/cgi-bin/koha/reports/issues_stats.pl">
122
    <form method="post" action="/cgi-bin/koha/reports/issues_stats.pl">
113
    <fieldset class="rows">
123
    <fieldset class="rows">
114
	<legend>Circulation statistics</legend><table>
124
	<h3>Circulation statistics</h3><table>
115
        <thead>
125
        <thead>
116
            <tr>
126
            <tr>
117
                <th>Title</th>
127
                <th>Title</th>
Lines 339-345 Link Here
339
    </table><br /></fieldset>
349
    </table><br /></fieldset>
340
350
341
<fieldset class="rows">
351
<fieldset class="rows">
342
    <legend>Cell value</legend>
352
    <h3>Cell value</h3>
343
    <ol>
353
    <ol>
344
        <li>
354
        <li>
345
            <label for="cellvalue1">Count total items:</label>
355
            <label for="cellvalue1">Count total items:</label>
Lines 357-363 Link Here
357
</fieldset>
367
</fieldset>
358
			
368
			
359
	<fieldset class="rows">
369
	<fieldset class="rows">
360
	<legend>Output</legend>
370
	<h3>Output</h3>
361
    <ol>
371
    <ol>
362
        <li>
372
        <li>
363
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
373
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 385-391 Link Here
385
	</fieldset>
395
	</fieldset>
386
396
387
	<fieldset class="action">
397
	<fieldset class="action">
388
	<input type="submit" value="Submit" />
398
	<input type="submit" class="principal" value="Submit" />
389
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
399
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
390
	<input type="hidden" name="do_it" value="1" />
400
	<input type="hidden" name="do_it" value="1" />
391
	</fieldset>
401
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-4 / +14 lines)
Lines 7-20 Link Here
7
[% USE ItemTypes %]
7
[% USE ItemTypes %]
8
[% USE Price %]
8
[% USE Price %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %][% formulaire = BLOCK %]
11
    [% INCLUDE 'cat-search.inc' %]
12
[% END %]
10
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Lost items &rsaquo; Reports &rsaquo; Koha</title>
14
<title>Lost items &rsaquo; Reports &rsaquo; Koha</title>
12
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
13
</head>
16
</head>
14
17
15
<body id="rep_itemslost" class="rep">
18
<body id="rep_itemslost" class="rep">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'cat-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 42-47 Link Here
42
            </li>
44
            </li>
43
        [% END %]
45
        [% END %]
44
    </ol>
46
    </ol>
47
48
    <ol>
49
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
50
    </ol>
51
52
    <ol>
53
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
54
    </ol>
45
</nav>
55
</nav>
46
56
47
<div class="main container-fluid">
57
<div class="main container-fluid">
Lines 50-56 Link Here
50
            <main>
60
            <main>
51
61
52
62
53
<h1>Lost items</h1>
63
<h2>Lost items</h2>
54
64
55
[% IF ( get_items ) %]
65
[% IF ( get_items ) %]
56
66
Lines 188-194 Link Here
188
    </li>
198
    </li>
189
199
190
</ol></fieldset>
200
</ol></fieldset>
191
<fieldset class="action">    <input type="submit" value="Submit" />
201
<fieldset class="action">    <input type="submit" class="principal" value="Submit" />
192
    <input type="hidden" name="get_items" value="1" /></fieldset>
202
    <input type="hidden" name="get_items" value="1" /></fieldset>
193
</form>
203
</form>
194
	
204
	
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt (-4 / +14 lines)
Lines 3-8 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE ItemTypes %]
4
[% USE ItemTypes %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %][% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Catalog by item types &rsaquo; Reports &rsaquo; Koha</title>
10
<title>Catalog by item types &rsaquo; Reports &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 11-18 Link Here
11
</head>
14
</head>
12
15
13
<body id="rep_itemtypes" class="rep">
16
<body id="rep_itemtypes" class="rep">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'cat-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 39-44 Link Here
39
            </li>
41
            </li>
40
        [% END %]
42
        [% END %]
41
    </ol>
43
    </ol>
44
45
    <ol>
46
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
47
    </ol>
48
49
    <ol>
50
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
51
    </ol>
42
</nav>
52
</nav>
43
53
44
<div class="main container-fluid">
54
<div class="main container-fluid">
Lines 48-55 Link Here
48
58
49
59
50
[% IF ( do_it ) %]
60
[% IF ( do_it ) %]
61
    <h2>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h2>
51
[% FOREACH mainloo IN mainloop %]
62
[% FOREACH mainloo IN mainloop %]
52
    <h1>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h1>
53
	<table id="itemtypest">
63
	<table id="itemtypest">
54
		<thead>
64
		<thead>
55
		<tr>
65
		<tr>
Lines 88-94 Link Here
88
              </li>
98
              </li>
89
            </ol>
99
            </ol>
90
          </fieldset>
100
          </fieldset>
91
          <fieldset class="action"><input type="submit" value="Submit" />
101
          <fieldset class="action"><input type="submit" class="principal" value="Submit" />
92
            <input type="hidden" name="report_name" value="[% report_name | html %]" />
102
            <input type="hidden" name="report_name" value="[% report_name | html %]" />
93
            <input type="hidden" name="do_it" value="1" />
103
            <input type="hidden" name="do_it" value="1" />
94
          </fieldset>
104
          </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt (-8 / +17 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Price %]
3
[% USE Price %]
4
[% USE TablesSettings %]
4
[% USE TablesSettings %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %][% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Orders by fund &rsaquo; Reports &rsaquo; Koha</title>
9
<title>Orders by fund &rsaquo; Reports &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
11
</head>
10
<body id="rep_orders_by_budget" class="rep">
12
<body id="rep_orders_by_budget" class="rep">
11
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
14
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
16
    <ol>
Lines 36-41 Link Here
36
            </li>
37
            </li>
37
        [% END %]
38
        [% END %]
38
    </ol>
39
    </ol>
40
41
    <ol>
42
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
43
    </ol>
44
45
    <ol>
46
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
    </ol>
39
</nav>
48
</nav>
40
49
41
<div class="main container-fluid">
50
<div class="main container-fluid">
Lines 44-51 Link Here
44
            <main>
53
            <main>
45
54
46
55
47
[% IF ( current_budget_name ) %]<h1>Orders for fund '[% current_budget_name | html %]'</h1>
56
[% IF ( current_budget_name ) %]<h2>Orders for fund '[% current_budget_name | html %]'</h2>
48
[% ELSE %]<h1>Orders by fund</h1>
57
[% ELSE %]<h2>Orders by fund</h2>
49
[% END %]
58
[% END %]
50
59
51
[% IF ( get_orders ) %]
60
[% IF ( get_orders ) %]
Lines 101-107 Link Here
101
    [% ELSE %]
110
    [% ELSE %]
102
        <form name="f" action="/cgi-bin/koha/reports/orders_by_fund.pl" method="post">
111
        <form name="f" action="/cgi-bin/koha/reports/orders_by_fund.pl" method="post">
103
        <fieldset class="rows">
112
        <fieldset class="rows">
104
        <legend>Filters</legend>
113
        <h3>Filters</h3>
105
        <ol><li><label for="budgetfilter">Fund: </label>
114
        <ol><li><label for="budgetfilter">Fund: </label>
106
        <select name="budgetfilter" id="budgetfilter">
115
        <select name="budgetfilter" id="budgetfilter">
107
            <option value="">All funds</option>
116
            <option value="">All funds</option>
Lines 123-129 Link Here
123
        </fieldset>
132
        </fieldset>
124
133
125
        <fieldset class="rows">
134
        <fieldset class="rows">
126
        <legend>Output</legend>
135
        <h3>Output</h3>
127
        <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
136
        <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
128
            <li><label for="outputfile">To a file:</label>
137
            <li><label for="outputfile">To a file:</label>
129
                <input type="radio" name="output" value="file" id="outputfile" />
138
                <input type="radio" name="output" value="file" id="outputfile" />
Lines 151-157 Link Here
151
        </fieldset>
160
        </fieldset>
152
161
153
        <fieldset class="action">
162
        <fieldset class="action">
154
        <input type="submit" value="Submit" />
163
        <input type="submit" class="principal" value="Submit" />
155
        <input type="hidden" name="get_orders" value="1" /></fieldset>
164
        <input type="hidden" name="get_orders" value="1" /></fieldset>
156
        </form>
165
        </form>
157
166
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt (-8 / +18 lines)
Lines 1-3 Link Here
1
[% formulaire = BLOCK %]
2
    [% INCLUDE 'circ-search.inc' %]
3
[% END %]
1
[% USE Koha %]
4
[% USE Koha %]
2
[% USE raw %]
5
[% USE raw %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
Lines 5-12 Link Here
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
<body id="rep_reports-home" class="rep">
10
<body id="rep_reports-home" class="rep">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'circ-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 19-24 Link Here
19
            </a>
21
            </a>
20
        </li>
22
        </li>
21
    </ol>
23
    </ol>
24
25
    <ol>
26
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
27
    </ol>
28
29
    <ol>
30
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
31
    </ol>
22
</nav>
32
</nav>
23
33
24
<div class="main container-fluid">
34
<div class="main container-fluid">
Lines 30-56 Link Here
30
40
31
                    [% IF ( CAN_user_reports_execute_reports || CAN_user_reports_create_reports ) %]
41
                    [% IF ( CAN_user_reports_execute_reports || CAN_user_reports_create_reports ) %]
32
                        <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
42
                        <form action="/cgi-bin/koha/reports/guided_reports.pl" method="get">
33
                            <fieldset class="brief">
43
                            <fieldset>
34
                                <h2>Guided reports</h2>
44
                                <h2>Guided reports</h2>
35
                                <input name="phase" value="Use saved" type="hidden">
45
                                <input name="phase" value="Use saved" type="hidden">
36
                                <input name="filter_set" value="1" type="hidden">
46
                                <input name="filter_set" value="1" type="hidden">
37
                                [% IF ( CAN_user_reports_create_reports ) %]
47
                                [% IF ( CAN_user_reports_create_reports ) %]
38
                                    <p>
48
                                    <p>
39
                                        <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new"><i class="fa fa-code-fork"></i> Create guided report</a>
49
                                        <a id="lientype" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new"><i class="fa fa-code-fork"></i> Create guided report</a>
40
                                    </p>
50
                                    </p>
41
                                    <p>
51
                                    <p>
42
                                        <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL"><i class="fa fa-plus"></i> Create from SQL</a>
52
                                        <a id="lientype" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL"><i class="fa fa-plus"></i> Create from SQL</a>
43
                                    </p>
53
                                    </p>
44
                                [% END %]
54
                                [% END %]
45
                                <p>
55
                                <p>
46
                                    <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved"><i class="fa fa-list"></i> Use saved</a>
56
                                    <a id="lientype" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved"><i class="fa fa-list"></i> Use saved</a>
47
                                </p>
57
                                </p>
48
                                <label for="filter_keyword">Search by keyword:</label> <input id="filter_keyword" name="filter_keyword" value="" size="16" type="text" /> <input value="Search" type="submit" />
58
                                <label for="filter_keyword">Search by keyword:</label> <input id="filter_keyword" name="filter_keyword" value="" size="16" type="text" /> <input value="Search" class="principal" type="submit" />
49
                            </fieldset>
59
                            </fieldset>
50
                        </form>
60
                        </form>
51
                    [% END %]
61
                    [% END %]
52
62
53
        <h5>Reports dictionary</h5>
63
        <h2>Reports dictionary</h2>
54
        <ul>
64
        <ul>
55
            <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li>
65
            <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li>
56
        </ul>
66
        </ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-7 / +17 lines)
Lines 1-5 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'circ-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Holds statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Holds statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
Lines 9-16 Link Here
9
</head>
12
</head>
10
13
11
<body id="rep_reserve_stats" class="rep">
14
<body id="rep_reserve_stats" class="rep">
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'cat-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 37-42 Link Here
37
            </li>
39
            </li>
38
        [% END %]
40
        [% END %]
39
    </ol>
41
    </ol>
42
43
    <ol>
44
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
45
    </ol>
46
47
    <ol>
48
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
49
    </ol>
40
</nav>
50
</nav>
41
51
42
<div class="main container-fluid">
52
<div class="main container-fluid">
Lines 45-51 Link Here
45
            <main>
55
            <main>
46
56
47
57
48
<h1>Holds statistics</h1>
58
<h2>Holds statistics</h2>
49
[% IF ( do_it ) %]
59
[% IF ( do_it ) %]
50
    [% IF ( mainloop ) %]
60
    [% IF ( mainloop ) %]
51
        [% IF ( loopfilter ) %]
61
        [% IF ( loopfilter ) %]
Lines 97-103 Link Here
97
107
98
    <form method="post" action="/cgi-bin/koha/reports/reserves_stats.pl">
108
    <form method="post" action="/cgi-bin/koha/reports/reserves_stats.pl">
99
    <fieldset class="rows">
109
    <fieldset class="rows">
100
	<legend>Holds statistics</legend><table>
110
	<h3>Holds statistics</h3><table>
101
        <thead>
111
        <thead>
102
            <tr>
112
            <tr>
103
                <th>Title</th>
113
                <th>Title</th>
Lines 292-302 Link Here
292
        </tbody>
302
        </tbody>
293
    </table><br /></fieldset>
303
    </table><br /></fieldset>
294
304
295
<fieldset class="rows"><legend>Cell value </legend><ol><li><label for="cellvalue1">Count holds:</label> <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> </li>
305
<fieldset class="rows"><h3>Cell value </h3><ol><li><label for="cellvalue1">Count holds:</label> <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> </li>
296
            <li><label for="cellvalue2">Count unique borrowers:</label> <input type="radio" name="Cellvalue" value="2" id="cellvalue2" /> </li><li><label for="cellvalue3">Count unique items:</label> <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> </li><li><label for="cellvalue4">Count unique bibliographic records:</label> <input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> </li></ol></fieldset>
306
            <li><label for="cellvalue2">Count unique borrowers:</label> <input type="radio" name="Cellvalue" value="2" id="cellvalue2" /> </li><li><label for="cellvalue3">Count unique items:</label> <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> </li><li><label for="cellvalue4">Count unique bibliographic records:</label> <input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> </li></ol></fieldset>
297
			
307
			
298
	<fieldset class="rows">
308
	<fieldset class="rows">
299
	<legend>Output</legend>
309
	<h3>Output</h3>
300
    <ol>
310
    <ol>
301
        <li>
311
        <li>
302
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
312
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 324-330 Link Here
324
	</fieldset>
334
	</fieldset>
325
335
326
	<fieldset class="action">
336
	<fieldset class="action">
327
	<input type="submit" value="Submit" />
337
	<input type="submit" class="principal" value="Submit" />
328
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
338
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
329
	<input type="hidden" name="do_it" value="1" />
339
	<input type="hidden" name="do_it" value="1" />
330
	</fieldset>
340
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt (-5 / +15 lines)
Lines 3-8 Link Here
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'circ-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Serials subscriptions stats &rsaquo; Reports &rsaquo; Koha</title>
10
<title>Serials subscriptions stats &rsaquo; Reports &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 12-19 Link Here
12
</head>
15
</head>
13
16
14
<body id="rep_serials_stats" class="rep">
17
<body id="rep_serials_stats" class="rep">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'cat-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 29-34 Link Here
29
            </a>
31
            </a>
30
        </li>
32
        </li>
31
    </ol>
33
    </ol>
34
35
    <ol>
36
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
    </ol>
38
39
    <ol>
40
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
    </ol>
32
</nav>
42
</nav>
33
43
34
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 36-42 Link Here
36
        <div class="col-sm-10 col-sm-push-2">
46
        <div class="col-sm-10 col-sm-push-2">
37
            <main>
47
            <main>
38
48
39
	<h1>Serials subscriptions</h1>
49
	<h2>Serials subscriptions</h2>
40
[% IF ( do_it ) %]
50
[% IF ( do_it ) %]
41
	<table id="resulttable">
51
	<table id="resulttable">
42
		<thead>
52
		<thead>
Lines 109-115 Link Here
109
119
110
120
111
	<fieldset class="rows">
121
	<fieldset class="rows">
112
	<legend>Output</legend>
122
	<h3>Output</h3>
113
    <ol>
123
    <ol>
114
        <li>
124
        <li>
115
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
125
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 137-143 Link Here
137
	</fieldset>
147
	</fieldset>
138
148
139
	<fieldset class="action">
149
	<fieldset class="action">
140
	<input type="submit" value="Submit" />
150
	<input type="submit" class="principal" value="Submit" />
141
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
151
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
142
	<input type="hidden" name="do_it" value="1" />
152
	<input type="hidden" name="do_it" value="1" />
143
	</fieldset>
153
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-312 / +286 lines)
Lines 13-23 Link Here
13
[% USE TablesSettings %]
13
[% USE TablesSettings %]
14
[% PROCESS 'i18n.inc' %]
14
[% PROCESS 'i18n.inc' %]
15
[% SET footerjs = 1 %]
15
[% SET footerjs = 1 %]
16
[% formulaire = BLOCK %]
17
    [% INCLUDE 'circ-search.inc' %]
18
[% END %]
16
[% INCLUDE 'doc-head-open.inc' %]
19
[% INCLUDE 'doc-head-open.inc' %]
17
[% SET libraries = Branches.all %]
18
[% SET categories = Categories.all.unblessed %]
19
[% SET columns = ['name', 'cardnumber', 'dateofbirth', 'category', 'branch', 'address', 'phone'] %]
20
[% PROCESS "patron-search.inc" %]
21
[% UNLESS ( multi_hold ) %]
20
[% UNLESS ( multi_hold ) %]
22
    <title>Place a hold on [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Holds &rsaquo; Circulation &rsaquo; Koha</title>
21
    <title>Place a hold on [% INCLUDE 'biblio-title-head.inc' %] &rsaquo; Holds &rsaquo; Circulation &rsaquo; Koha</title>
23
[% ELSE %]
22
[% ELSE %]
Lines 93-100 Link Here
93
92
94
<body id="circ_request" class="catalog">
93
<body id="circ_request" class="catalog">
95
94
96
[% INCLUDE 'header.inc' %]
95
[% INCLUDE 'header.inc' form=formulaire %]
97
[% INCLUDE 'circ-search.inc' %]
98
96
99
[% UNLESS ( multi_hold ) %]
97
[% UNLESS ( multi_hold ) %]
100
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
98
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 114-119 Link Here
114
                </a>
112
                </a>
115
            </li>
113
            </li>
116
        </ol>
114
        </ol>
115
        <ol>
116
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
117
        </ol>
118
        <ol>
119
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
120
        </ol>
117
    </nav>
121
    </nav>
118
[% ELSE %]
122
[% ELSE %]
119
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
123
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
Lines 154-160 Link Here
154
        [% END %]
158
        [% END %]
155
159
156
        <main>
160
        <main>
157
            <h1>Holds</h1>
158
161
159
            [% IF ( nobiblio ) %]
162
            [% IF ( nobiblio ) %]
160
                <div class="dialog alert">
163
                <div class="dialog alert">
Lines 187-193 Link Here
187
            [% END %]
190
            [% END %]
188
191
189
            [% UNLESS ( multi_hold ) %]
192
            [% UNLESS ( multi_hold ) %]
190
                <h2>Place a hold on [% INCLUDE 'biblio-title.inc' link = 1 %] [% IF biblio.author %] by [% biblio.author | html %][% END %]</h2>
193
                <h2>Place a hold on [% INCLUDE 'biblio-title.inc' link = 1 %]</h2>
191
            [% ELSE %]
194
            [% ELSE %]
192
                <h2>
195
                <h2>
193
                    [% IF ( patron ) %]
196
                    [% IF ( patron ) %]
Lines 216-248 Link Here
216
                        <p>No club with this name, please, try another</p>
219
                        <p>No club with this name, please, try another</p>
217
                    </div>
220
                    </div>
218
                [% END %]
221
                [% END %]
219
                <fieldset>
222
                <fieldset class="brief">
220
                    [% UNLESS multi_hold %]
223
                    [% UNLESS multi_hold %]
221
                        [% IF clubcount %]
224
                        [% IF clubcount %]
222
                            <h2>Search patrons or clubs</h2>
225
                            <h3>Search patrons or clubs</h3>
223
                        [% ELSE %]
226
                        [% ELSE %]
224
                            <h2>Search patrons</h2>
227
                            <label>Search patrons</label>
225
                        [% END %]
228
                        [% END %]
226
                    [% END %]
229
                    [% END %]
227
                    <div id="circ_holds_select" class="toptabs">
230
                    <div id="circ_holds_select" class="toptabs">
228
                        <ul class="nav nav-tabs" role="tablist">
231
                        <ul>
229
                            <li role="presentation" class="active"><a href="#holds_patronsearch_pane" aria-controls="holds_patronsearch_pane" role="tab" data-toggle="tab">Patrons</a></li>
232
                            <li><a href="#holds_patronsearch_pane">Patrons</a></li>
230
                            [% IF clubcount %]
233
                            [% IF clubcount %]
231
                                <li role="presentation"><a href="#holds_clubsearch_pane" aria-controls="holds_clubsearch_pane" role="tab" data-toggle="tab">Clubs</a></li>
234
                                <li><a href="#holds_clubsearch_pane">Clubs</a></li>
232
                            [% END %]
235
                            [% END %]
233
                        </ul>
236
                        </ul>
234
                        <div class="tab-content">
237
                        <div class="tab-content">
235
                            <div id="holds_patronsearch_pane" role="tabpanel" class="tab-pane active">
238
                            <div id="holds_patronsearch_pane" role="tabpanel" class="tab-pane active">
236
                                [% PROCESS patron_search_filters_simple %]
239
                                [% PROCESS patron_search_filters_simple %]
237
240
238
                                [% PROCESS patron_search_table table_id => 'table_borrowers', open_on_row_click => 1 %]
241
                                [% IF clubs %]
242
                                    [% INCLUDE 'clubs-table.inc' destination = "holds" %]
243
                                [% END %]
239
                            </div>
244
                            </div>
240
                            [% IF clubcount %]
245
                            [% IF clubcount %]
241
                                <div id="holds_clubsearch_pane" role="tabpanel" class="tab-pane">
246
                                <div id="holds_clubsearch_pane" role="tabpanel" class="tab-pane">
242
                                    <form id="holds_clubsearch" action="request.pl" method="post">
247
                                    <form id="holds_clubsearch" action="request.pl" method="post">
243
                                        <div class="hint">Enter club ID or partial name:</div>
248
                                        <div class="hint">Enter club ID or partial name:</div>
244
                                        <input type="text" size="40" id="club" class="focus" name="findclub" autocomplete="off" />
249
                                        <input type="text" size="40" id="club" class="focus" name="findclub" autocomplete="off" />
245
                                        <input type="submit" value="Search" />
250
                                        <input type="submit" class="principal" value="Search" />
246
                                        [% FOREACH biblionumber IN biblionumbers %]
251
                                        [% FOREACH biblionumber IN biblionumbers %]
247
                                        <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
252
                                        <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
248
                                        [% END %]
253
                                        [% END %]
Lines 260-279 Link Here
260
                <div class="dialog alert hide clubalert">
265
                <div class="dialog alert hide clubalert">
261
                </div>
266
                </div>
262
                <fieldset class="rows">
267
                <fieldset class="rows">
263
                    <legend>Hold details</legend>
268
                    <h3>Hold details</h3>
264
                    <form action="/api/v1/clubs/[% club.id | html %]/holds" method="post" name="form" id="club-request-form">
269
                    <form action="/api/v1/clubs/[% club.id | html %]/holds" method="post" name="form" id="club-request-form">
265
270
266
                        [% IF ( multi_hold ) %]
271
                        [% IF ( multi_hold ) %]
272
                            <input type="hidden" name="biblionumbers" id="multi_hold_bibs" value="[% biblionumbers | html %]"/>
273
                            <input type="hidden" name="bad_bibs" id="bad_bibs" value=""/>
267
                            <input type="hidden" name="request" value="any"/>
274
                            <input type="hidden" name="request" value="any"/>
268
                            [% FOREACH biblioloo IN biblioloop %]
275
                            [% FOREACH biblioloo IN biblioloop %]
269
                                [% UNLESS biblioloo.none_avail %]
276
                                <input type="hidden" name="title_[% biblioloo.biblionumber | html %]" value="[% biblioloo.title | html %]"/>
270
                                    <input type="hidden" name="holdable_bibs" id="holdable_bibs" value="[% biblioloo.biblionumber | html %]"/>
277
                                <input type="hidden" name="rank_[% biblioloo.biblionumber | html %]" value="[% biblioloo.rank | html %]"/>
271
                                    <input type="hidden" name="title_[% biblioloo.biblionumber | html %]" value="[% biblioloo.title | html %]"/>
272
                                    <input type="hidden" name="rank_[% biblioloo.biblionumber | html %]" value="[% biblioloo.rank | html %]"/>
273
                                [% END %]
274
                            [% END %]
278
                            [% END %]
275
                        [% ELSE %]
279
                        [% ELSE %]
276
                            <input type="hidden" name="holdable_bibs" id="holdable_bibs" value="[% biblio.biblionumber | html %]"/>
280
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
277
                            <input type="hidden" name="title" value="[% biblio.title | html %]" />
281
                            <input type="hidden" name="title" value="[% biblio.title | html %]" />
278
                            <input type="hidden" name="rank-request" value="[% fixedRank | html %]" />
282
                            <input type="hidden" name="rank-request" value="[% fixedRank | html %]" />
279
                        [% END # /IF multi_hold %]
283
                        [% END # /IF multi_hold %]
Lines 336-349 Link Here
336
                            [% END %]
340
                            [% END %]
337
                        [% UNLESS ( multi_hold ) %]
341
                        [% UNLESS ( multi_hold ) %]
338
                            <fieldset class="action">
342
                            <fieldset class="action">
339
                                <input type="submit" value="Place hold" />
343
                                <input type="submit" class="principal" value="Place hold" />
340
                            </fieldset>
344
                            </fieldset>
341
                        [% ELSE %]
345
                        [% ELSE %]
342
                            <table id="requesttitles">
346
                            <table id="requesttitles">
343
                                <tr>
347
                                <tr>
344
                                    <th>&nbsp;</th>
348
                                    <th>&nbsp;</th>
345
                                    <th>Title</th>
349
                                    <th>Title</th>
346
                                    [% UNLESS Koha.Preference('item-level_itypes') %]
350
                                    [% UNLESS ( item_level_itypes ) %]
347
                                        <th>Item type</th>
351
                                        <th>Item type</th>
348
                                    [% END %]
352
                                    [% END %]
349
                                    <th>Priority</th>
353
                                    <th>Priority</th>
Lines 364-370 Link Here
364
                                            <ul>
368
                                            <ul>
365
                                                <li>
369
                                                <li>
366
                                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]">[% biblioloo.title | html %]</a>
370
                                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]">[% biblioloo.title | html %]</a>
367
                                                    [% IF biblioloo.author %] by [% biblioloo.author | html %][% END %]
368
                                                </li>
371
                                                </li>
369
                                                [% IF ( biblioloo.publicationyear ) %]
372
                                                [% IF ( biblioloo.publicationyear ) %]
370
                                                    <li>
373
                                                    <li>
Lines 376-384 Link Here
376
                                                <span class="not_holdable" title="[% biblioloo.biblionumber | html %]"></span>
379
                                                <span class="not_holdable" title="[% biblioloo.biblionumber | html %]"></span>
377
                                            [% END %]
380
                                            [% END %]
378
                                        </td>
381
                                        </td>
379
                                        [% UNLESS Koha.Preference('item-level_itypes') %]
382
                                        [% UNLESS ( item_level_itypes ) %]
380
                                            <td>
383
                                            <td>
381
                                                <img src="[% biblioloo.itemtype.image_location| html %]" alt="[% biblioloo.itemtype.translated_description | html %]" title="[% biblioloo.itemtype.translated_description | html %]" />
384
                                                <img src="[% biblioloo.imageurl | html %]" alt="[% biblioloo.itypename | html %]" title="[% biblioloo.itypename | html %]" />
382
                                            </td>
385
                                            </td>
383
                                        [% END %]
386
                                        [% END %]
384
                                        <td>[% biblioloo.rank | html %]</td>
387
                                        <td>[% biblioloo.rank | html %]</td>
Lines 427-433 Link Here
427
                    </div>
430
                    </div>
428
                [% END %]
431
                [% END %]
429
432
430
                [% IF ( no_reserves_allowed || exceeded_maxreserves || exceeded_holds_per_record || alreadyreserved || none_available || alreadypossession || ageRestricted || recall ) %]
433
                [% IF ( no_reserves_allowed || exceeded_maxreserves || exceeded_holds_per_record || alreadyreserved || none_available || alreadypossession || ageRestricted ) %]
431
                    <div class="dialog alert">
434
                    <div class="dialog alert">
432
435
433
                        [% UNLESS ( multi_hold ) %]
436
                        [% UNLESS ( multi_hold ) %]
Lines 465-472 Link Here
465
                                        <li><strong>Too many holds for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]"> [% biblioloo.title | html %]</a>:</strong> [% INCLUDE 'patron-title.inc' patron => patron no_title => 1 no_cardnumber => 1 hide_patron_infos_if_needed => 1 %] can only place a maximum of [% max_holds_for_record | html %] hold(s) on this record.</li>
468
                                        <li><strong>Too many holds for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]"> [% biblioloo.title | html %]</a>:</strong> [% INCLUDE 'patron-title.inc' patron => patron no_title => 1 no_cardnumber => 1 hide_patron_infos_if_needed => 1 %] can only place a maximum of [% max_holds_for_record | html %] hold(s) on this record.</li>
466
                                    [% END %]
469
                                    [% END %]
467
                                [% END %]
470
                                [% END %]
468
                            [% ELSIF ( none_available ) %]
469
                                <li><strong>No items available: </strong>One or more records have no items that can be held</li>
470
                            [% END # /IF exceeded_maxreserves %]
471
                            [% END # /IF exceeded_maxreserves %]
471
                        [% END # /UNLESS multi_hold %]
472
                        [% END # /UNLESS multi_hold %]
472
                    </div>
473
                    </div>
Lines 505-529 Link Here
505
                </div>
506
                </div>
506
507
507
                <fieldset class="rows">
508
                <fieldset class="rows">
508
                    <legend>Hold details</legend>
509
                    <h3>Hold details</h3>
509
                    <form action="placerequest.pl" method="post" name="form" id="hold-request-form">
510
                    <form action="placerequest.pl" method="post" name="form" id="hold-request-form">
510
511
511
                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
512
                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
512
                        [% FOREACH biblionumber IN biblionumbers %]
513
                        <input type="hidden" name="type" value="str8" />
513
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
514
514
                        [% END %]
515
                        [% IF ( multi_hold ) %]
515
                        [% IF ( multi_hold ) %]
516
                            <input type="hidden" name="biblionumbers" id="multi_hold_bibs" value="[% biblionumbers | html %]"/>
516
                            <input type="hidden" name="multi_holds" id="multi_holds" value="1" />
517
                            <input type="hidden" name="multi_holds" id="multi_holds" value="1" />
518
                            <input type="hidden" name="bad_bibs" id="bad_bibs" value=""/>
517
                            <input type="hidden" name="request" value="any"/>
519
                            <input type="hidden" name="request" value="any"/>
518
                            [% FOREACH biblioloo IN biblioloop %]
520
                            [% FOREACH biblioloo IN biblioloop %]
519
                                [% UNLESS biblioloo.none_avail %]
521
                                <input type="hidden" name="title_[% biblioloo.biblionumber | html %]" value="[% biblioloo.title | html %]"/>
520
                                    <input type="hidden" name="holdable_bibs" id="holdable_bibs" value="[% biblioloo.biblionumber | html %]"/>
522
                                <input type="hidden" name="rank_[% biblioloo.biblionumber | html %]" value="[% biblioloo.rank | html %]"/>
521
                                    <input type="hidden" name="title_[% biblioloo.biblionumber | html %]" value="[% biblioloo.title | html %]"/>
522
                                    <input type="hidden" name="rank_[% biblioloo.biblionumber | html %]" value="[% biblioloo.rank | html %]"/>
523
                                [% END %]
524
                            [% END %]
523
                            [% END %]
525
                        [% ELSE %]
524
                        [% ELSE %]
526
                            <input type="hidden" name="holdable_bibs" id="holdable_bibs" value="[% biblio.biblionumber | html %]"/>
525
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
527
                            <input type="hidden" name="title" value="[% biblio.title | html %]" />
526
                            <input type="hidden" name="title" value="[% biblio.title | html %]" />
528
                            <input type="hidden" name="rank-request" value="[% fixedRank | html %]" />
527
                            <input type="hidden" name="rank-request" value="[% fixedRank | html %]" />
529
                        [% END # /IF multi_hold %]
528
                        [% END # /IF multi_hold %]
Lines 604-609 Link Here
604
                                    [% ELSE %]
603
                                    [% ELSE %]
605
                                        <input type="checkbox" id="requestany" name="request" checked="checked" value="Any" />
604
                                        <input type="checkbox" id="requestany" name="request" checked="checked" value="Any" />
606
                                    [% END %]
605
                                    [% END %]
606
                                    <input type="hidden" name="biblioitem" value="[% biblioitemnumber | html %]" />
607
                                    <input type="hidden" name="alreadyreserved" value="[% alreadyreserved | html %]" />
607
                                    <input type="hidden" name="alreadyreserved" value="[% alreadyreserved | html %]" />
608
                                </li>
608
                                </li>
609
609
Lines 625-795 Link Here
625
                        </ol>
625
                        </ol>
626
626
627
                        [% UNLESS ( multi_hold ) %]
627
                        [% UNLESS ( multi_hold ) %]
628
                            <fieldset class="action">
629
                                [% IF ( patron.borrowernumber ) %]
630
                                    [% IF ( override_required ) %]
631
                                        <button type="submit" class="btn btn-default warning"><i class="fa fa-exclamation-triangle "></i> Place hold</button>
632
                                    [% ELSIF ( none_available ) %]
633
                                        <button type="submit" disabled="disabled" class="btn btn-default btn-disabled">Place hold</button>
634
                                    [% ELSE %]
635
                                        <button type="submit" class="btn btn-default">Place hold</button>
636
                                    [% END %]
637
                                [% END %]
638
                            </fieldset>
639
628
640
                            [% biblio = biblioloop.0 %]
641
629
642
                            <ol>
630
                            [% FOREACH bibitemloo IN bibitemloop %]
643
                                [% UNLESS Koha.Preference('item-level_itypes') %]
631
                                <ol>
644
                                    <li>
632
                                    [% UNLESS ( item_level_itypes ) %]
645
                                        <span class="label">Item typeX:</span>
633
                                        <li>
646
                                        [% biblio.itemtype.translated_description | html %]
634
                                            <span class="label">Item type:</span>
647
                                    </li>
635
                                            [% bibitemloo.description | html %]
648
                                [% END %]
636
                                        </li>
637
                                    [% END %]
649
638
650
                                [% IF ( biblio.biblioitem.publicationyear ) %]
639
                                    [% IF ( bibitemloo.publicationyear ) %]
651
                                    <li>
640
                                        <li>
652
                                        <span class="label">Publication year:</span>
641
                                            <span class="label">Publication year:</span>
653
                                        [% biblio.biblioitem.publicationyear | html %]
642
                                            [% bibitemloo.publicationyear | html %]
654
                                    </li>
643
                                        </li>
655
                                [% END %]
644
                                    [% END %]
656
                            </ol>
645
                                </ol>
657
646
658
                            <h2 style="padding: 0 1em;">
647
                                <h2 style="padding: 0 1em;">
659
                                Place a hold on a specific item
648
                                    Place a hold on a specific item
660
                                [% IF force_hold_level == 'item' %]
649
                                    [% IF bibitemloo.force_hold_level == 'item' %]
661
                                     <span class="error"><em>(Required)</em></span>
650
                                         <span class="error"><em>(Required)</em></span>
662
                                [% END %]
651
                                    [% END %]
663
                            </h2>
652
                                </h2>
664
653
665
                            <table id="requestspecific">
654
                                <table id="requestspecific">
666
                                <thead>
655
                                    <thead>
667
                                    <tr>
656
                                        <tr>
668
                                        <th>Hold</th>
657
                                            <th>Hold</th>
669
                                        <th>Allowed pickup locations</th>
658
                                            [% IF ( item_level_itypes ) %]
670
                                        [% IF Koha.Preference('item-level_itypes') %]
659
                                                <th>Item type</th>
671
                                            <th>Item type</th>
660
                                            [% END %]
672
                                        [% END %]
661
                                            <th>Barcode</th>
673
                                        <th>Barcode</th>
662
                                            <th>Home library</th>
674
                                        <th>Home library</th>
663
                                            <th>Last location</th>
675
                                        <th>Last location</th>
664
                                            [% IF itemdata_ccode %]
676
                                        [% IF itemdata_ccode %]
665
                                                <th>Collection</th>
677
                                            <th>Collection</th>
666
                                            [% END %]
678
                                        [% END %]
667
                                            <th>Call number</th>
679
                                        <th>Call number</th>
668
                                            <th>Copy number</th>
680
                                        <th>Copy number</th>
669
                                            [% IF itemdata_enumchron %]
681
                                        [% IF itemdata_enumchron %]
670
                                                <th>Vol no.</th>
682
                                            <th>Vol no.</th>
671
                                            [% END %]
683
                                        [% END %]
672
                                            <th>Information</th>
684
                                        <th>Information</th>
673
                                            <th>Allowed pickup locations</th>
685
                                    </tr>
674
                                        </tr>
686
                                </thead>
675
                                    </thead>
687
                                <tbody>
676
                                    <tbody>
688
                                    [% SET selected = 0 %]
677
                                        [% SET selected = 0 %]
689
                                    [% FOREACH itemloo IN biblio.itemloop %]
678
                                        [% FOREACH itemloo IN bibitemloo.itemloop %]
690
                                        [% UNLESS ( itemloo.hide ) %]
679
                                            [% UNLESS ( itemloo.hide ) %]
691
                                            <tr class="[% itemloo.backgroundcolor | html %]">
680
                                                <tr class="[% itemloo.backgroundcolor | html %]">
692
                                                <td>
681
                                                    <td>
693
                                                    [% IF force_hold_level == 'record' # Patron has placed a record level hold previously for this record %]
682
                                                        [% IF itemloo.force_hold_level == 'record' # Patron has placed a record level hold previously for this record %]
694
                                                        <span class="error">
683
                                                            <span class="error">
695
                                                            <i class="fa fa-times fa-lg" title="Cannot be put on hold"></i>
684
                                                                <i class="fa fa-times fa-lg" title="Cannot be put on hold"></i>
696
                                                            Hold must be record level
685
                                                                Hold must be record level
697
                                                        </span>
686
                                                            </span>
698
                                                    [% ELSIF ( itemloo.available ) %]
687
                                                        [% ELSIF ( itemloo.available ) %]
699
                                                        <input type="radio" name="checkitem" value="[% itemloo.itemnumber | html %]" />
688
                                                            <input type="radio" name="checkitem" value="[% itemloo.itemnumber | html %]" />
700
                                                    [% ELSIF ( itemloo.override ) %]
689
                                                        [% ELSIF ( itemloo.override ) %]
701
                                                        <input type="radio" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
690
                                                            <input type="radio" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" />
702
                                                        <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
691
                                                            <i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i>
703
                                                    [% ELSE %]
692
                                                        [% ELSE %]
704
                                                        <span class="error">
693
                                                            <span class="error">
705
                                                            <i class="fa fa-times fa-lg" title="Cannot be put on hold"></i>
694
                                                                <i class="fa fa-times fa-lg" title="Cannot be put on hold"></i>
706
                                                            [% IF itemloo.not_holdable %]
695
                                                                [% IF itemloo.not_holdable %]
707
                                                                [% IF itemloo.not_holdable == 'damaged' %]
696
                                                                    [% IF itemloo.not_holdable == 'damaged' %]
708
                                                                    <span>Item damaged</span>
697
                                                                        Item damaged
709
                                                                [% ELSIF itemloo.not_holdable == 'ageRestricted' %]
698
                                                                    [% ELSIF itemloo.not_holdable == 'ageRestricted' %]
710
                                                                    <span>Age restricted</span>
699
                                                                        Age restricted
711
                                                                [% ELSIF itemloo.not_holdable == 'tooManyHoldsForThisRecord' %]
700
                                                                    [% ELSIF itemloo.not_holdable == 'tooManyHoldsForThisRecord' %]
712
                                                                    <span>Exceeded max holds per record</span>
701
                                                                        Exceeded max holds per record
713
                                                                [% ELSIF itemloo.not_holdable == 'tooManyReservesToday' %]
702
                                                                    [% ELSIF itemloo.not_holdable == 'tooManyReservesToday' %]
714
                                                                    <span>Daily hold limit reached for patron</span>
703
                                                                        Daily hold limit reached for patron
715
                                                                [% ELSIF itemloo.not_holdable == 'tooManyReserves' %]
704
                                                                    [% ELSIF itemloo.not_holdable == 'tooManyReserves' %]
716
                                                                    <span>Too many holds</span>
705
                                                                        Too many holds
717
                                                                [% ELSIF itemloo.not_holdable == 'notReservable' %]
706
                                                                    [% ELSIF itemloo.not_holdable == 'notReservable' %]
718
                                                                    <span>Not holdable</span>
707
                                                                        Not holdable
719
                                                                [% ELSIF itemloo.not_holdable == 'cannotReserveFromOtherBranches' %]
708
                                                                    [% ELSIF itemloo.not_holdable == 'cannotReserveFromOtherBranches' %]
720
                                                                    <span>Patron is from different library</span>
709
                                                                        Patron is from different library
721
                                                                [% ELSIF itemloo.not_holdable == 'branchNotInHoldGroup' %]
710
                                                                    [% ELSIF itemloo.not_holdable == 'branchNotInHoldGroup' %]
722
                                                                    <span>Cannot place hold from patron's library</span>
711
                                                                        Cannot place hold from patron's library
723
                                                                [% ELSIF itemloo.not_holdable == 'itemAlreadyOnHold' %]
712
                                                                    [% ELSIF itemloo.not_holdable == 'itemAlreadyOnHold' %]
724
                                                                    <span>Patron already has hold for this item</span>
713
                                                                        Patron already has hold for this item
725
                                                                [% ELSIF itemloo.not_holdable == 'cannotBeTransferred' %]
714
                                                                    [% ELSIF itemloo.not_holdable == 'cannotBeTransferred' %]
726
                                                                    <span>Cannot be transferred to pickup library</span>
715
                                                                        Cannot be transferred to pickup library
727
                                                                [% ELSIF itemloo.not_holdable == 'pickupNotInHoldGroup' %]
716
                                                                    [% ELSIF itemloo.not_holdable == 'pickupNotInHoldGroup' %]
728
                                                                    <span>Only pickup locations within the same hold group are allowed</span>
717
                                                                        Only pickup locations within the same hold group are allowed
729
                                                                [% ELSIF itemloo.not_holdable == 'noReservesAllowed' %]
718
                                                                    [% ELSIF itemloo.not_holdable == 'noReservesAllowed' %]
730
                                                                    <span>No holds are allowed on this item</span>
719
                                                                        No reserves are allowed on this item
731
                                                                [% ELSIF itemloo.not_holdable == 'libraryNotPickupLocation' %]
720
                                                                    [% ELSIF itemloo.not_holdable == 'libraryNotPickupLocation' %]
732
                                                                    <span>Library is not a pickup location</span>
721
                                                                        Library is not a pickup location
733
                                                                [% ELSIF itemloo.not_holdable == 'no_valid_pickup_location' %]
722
                                                                    [% ELSIF itemloo.not_holdable == 'no_valid_pickup_location' %]
734
                                                                    <span>No valid pickup location</span>
723
                                                                        No valid pickup location
735
                                                                [% ELSIF itemloo.not_holdable == 'notforloan' %]
724
                                                                    [% ELSE %]
736
                                                                    <span>Not for loan</span>
725
                                                                        [% itemloo.not_holdable | html %]
737
                                                                [% ELSE %]
726
                                                                    [% END %]
738
                                                                    <span>[% itemloo.not_holdable | html %]</span>
739
                                                                [% END %]
727
                                                                [% END %]
728
                                                            </span>
729
                                                        [% END # /IF itemloo.force_hold_level %]
730
                                                    </td>
731
                                                    [% IF ( item_level_itypes ) %]
732
                                                        <td>
733
                                                            [% UNLESS ( noItemTypeImages ) %]
734
                                                                [% IF ( itemloo.imageurl ) %]<img src="[% itemloo.imageurl | html %]" alt="" /> <br /> [% END %]
740
                                                            [% END %]
735
                                                            [% END %]
741
                                                        </span>
736
                                                            [% itemloo.itypename | html %]
742
                                                    [% END # /IF force_hold_level %]
737
                                                        </td>
743
                                                </td>
744
                                                <td>
745
                                                [% IF (itemloo.pickup_locations_count > 0) %]
746
                                                    <select name="item_pickup_[% itemloo.itemnumber | html %]" class="pickup_locations" style="width:100%;"
747
                                                            data-item-id="[% itemloo.itemnumber | html %]"
748
                                                            data-patron-id="[% patron.borrowernumber | html %]"
749
                                                            data-pickup-location-source="item">
750
                                                    [% IF (itemloo.default_pickup_location) %]
751
                                                        <option value="[% itemloo.default_pickup_location.branchcode | html %]" selected="selected">[% itemloo.default_pickup_location.branchname | html %]</option>
752
                                                    [% END %]
738
                                                    [% END %]
753
                                                    </select>
754
                                                [% END %]
755
                                                </td>
756
                                                [% IF Koha.Preference('item-level_itypes') %]
757
                                                    <td>
739
                                                    <td>
758
                                                        [% UNLESS ( noItemTypeImages ) %]
740
                                                        [% itemloo.barcode | html %]
759
                                                            [% IF ( itemloo.itemtype.image_location) %]<img src="[% itemloo.itemtype.image_location | html %]" alt="" /> <br /> [% END %]
760
                                                        [% END %]
761
                                                        [% itemloo.itemtype.translated_description | html %]
762
                                                    </td>
741
                                                    </td>
763
                                                [% END %]
764
                                                <td>
765
                                                    [% itemloo.barcode | html %]
766
                                                </td>
767
                                                <td>
768
                                                    [% Branches.GetName( itemloo.homebranch ) | html %]
769
                                                </td>
770
                                                <td>
771
                                                    [% Branches.GetName( itemloo.holdingbranch ) | html %]
772
                                                </td>
773
                                                [% IF itemdata_ccode %]
774
                                                    <td>
742
                                                    <td>
775
                                                        [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemloo.ccode ) | html %][% END %]
743
                                                        [% Branches.GetName( itemloo.homebranch ) | html %]
776
                                                    </td>
744
                                                    </td>
777
                                                [% END %]
778
                                                <td>
779
                                                    [% itemloo.itemcallnumber | html %]
780
                                                </td>
781
                                                <td>
782
                                                    [% IF ( itemloo.copynumber ) %][% itemloo.copynumber | html %][% ELSE %]&nbsp;[% END %]
783
                                                </td>
784
                                                [% IF itemdata_enumchron %]
785
                                                    <td>
745
                                                    <td>
786
                                                        [% itemloo.enumchron | html %]
746
                                                        [% Branches.GetName( itemloo.holdingbranch ) | html %]
787
                                                    </td>
747
                                                    </td>
788
                                                [% END %]
748
                                                    [% IF itemdata_ccode %]
789
                                                [% IF ( itemloo.onloan ) %]
749
                                                        <td>
790
                                                    <td data-order="[% itemloo.date_due | html %]">
750
                                                            [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemloo.ccode ) | html %][% END %]
791
                                                        <span class="checkedout">Due [% itemloo.date_due | $KohaDates  as_due_date => 1 %]</span>
751
                                                        </td>
792
                                                [% ELSE %]
752
                                                    [% END %]
793
                                                    <td>
753
                                                    <td>
794
                                                        [% IF ( itemloo.transfertwhen ) %]
754
                                                        [% IF ( itemloo.transfertwhen ) %]
795
                                                            <span>In transit from [% Branches.GetName( itemloo.transfertfrom ) | html %],
755
                                                            <span>In transit from [% Branches.GetName( itemloo.transfertfrom ) | html %],
Lines 810-875 Link Here
810
                                                            [% IF ( itemloo.waitingdate ) %]
770
                                                            [% IF ( itemloo.waitingdate ) %]
811
                                                                [% itemloo.waitingdate | $KohaDates %]
771
                                                                [% itemloo.waitingdate | $KohaDates %]
812
                                                            [% ELSE %]
772
                                                            [% ELSE %]
813
                                                                [% IF ( itemloo.reservedate ) %]
773
                                                                [% IF ( itemloo.waitingdate ) %]Waiting[% ELSE %]On hold[% END %]
814
                                                                    [% itemloo.reservedate | html %]
774
                                                                [% IF ( itemloo.canreservefromotherbranches ) %]
775
                                                                    for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedFor.borrowernumber | uri %]">[% itemloo.ReservedFor.firstname | html %] [% itemloo.ReservedFor.surname | html %]</a>
815
                                                                [% END %]
776
                                                                [% END %]
816
                                                            [% END %].
777
                                                                [% IF ( itemloo.waitingdate ) %]at[% ELSE %]expected at[% END %]
817
                                                            <a class="info cancel-hold" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&amp;CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&amp;CancelItemnumber=[% itemloo.itemnumber | html %]">Cancel hold</a>
778
                                                                [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] since
818
                                                        [% END # /IF itemloo.nocancel %]
779
                                                                [% IF ( itemloo.waitingdate ) %]
819
                                                    [% ELSE %]
780
                                                                    [% itemloo.waitingdate | $KohaDates %]
820
                                                        Not on hold
781
                                                                [% ELSE %]
821
                                                    [% END # /IF itemloo.reservedate %]
782
                                                                    [% IF ( itemloo.reservedate ) %]
783
                                                                        [% itemloo.reservedate | html %]
784
                                                                    [% END %]
785
                                                                [% END %].
786
                                                                <a class="info cancel-hold" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&amp;CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&amp;CancelItemnumber=[% itemloo.itemnumber | html %]">Cancel hold</a>
787
                                                            [% END # /IF itemloo.nocancel %]
788
                                                        [% ELSE %]
789
                                                            Not on hold
790
                                                        [% END # /IF itemloo.reservedate %]
822
791
823
                                                    [% IF itemloo.item_level_holds == "N" %]
792
                                                        [% IF itemloo.item_level_holds == "N" %]
824
                                                        <br/>Item level hold not allowed from OPAC
793
                                                            <br/>Item level hold not allowed from OPAC
825
                                                    [% ELSIF itemloo.item_level_holds == "F" %]
794
                                                        [% ELSIF itemloo.item_level_holds == "F" %]
826
                                                        <br/>Item level hold forced from OPAC
795
                                                            <br/>Item level hold forced from OPAC
827
                                                    [% END %]
796
                                                        [% END %]
828
797
829
                                                    [% IF ( itemloo.itemlost ) %]
798
                                                        [% IF ( itemloo.itemlost ) %]
830
                                                       <span class="lost">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => itemloo.itemlost ) | html %]</span>
799
                                                           <span class="lost">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => itemloo.itemlost ) | html %]</span>
831
                                                    [% END %]
800
                                                        [% END %]
832
801
833
                                                    [% IF ( itemloo.damaged ) %]
802
                                                        [% IF ( itemloo.damaged ) %]
834
                                                        <span class="dmg">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => itemloo.damaged ) | html %]</span>
803
                                                            <span class="dmg">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => itemloo.damaged ) | html %]</span>
835
                                                    [% END %]
804
                                                        [% END %]
836
805
837
                                                    [% IF ( itemloo.withdrawn ) %]
806
                                                        [% IF ( itemloo.withdrawn ) %]
838
                                                       <span class="wdn">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => itemloo.withdrawn ) | html %]</span>
807
                                                           <span class="wdn">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => itemloo.withdrawn ) | html %]</span>
839
                                                    [% END %]
808
                                                        [% END %]
840
809
841
                                                    [% IF ( itemloo.notforloan ) %]
810
                                                        [% IF ( itemloo.notforloan ) %]
842
                                                       <span class="nfl">Not for loan ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => itemloo.notforloan ) | html %])</span>
811
                                                           <span class="nfl">Not for loan ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => itemloo.notforloan ) | html %])</span>
843
                                                    [% ELSIF ( itemloo.notforloanitype ) %]
812
                                                        [% END %]
844
                                                       <span class="nfl">Not for loan (Itemtype not for loan)</span>
813
                                                    </td>
814
                                                    <td>
815
                                                    [% IF (itemloo.pickup_locations_count > 0) %]
816
                                                        <select name="item_pickup_[% itemloo.itemnumber | html %]" class="pickup_locations" style="width:100%;"
817
                                                                data-item-id="[% itemloo.itemnumber | html %]"
818
                                                                data-patron-id="[% patron.borrowernumber | html %]"
819
                                                                data-pickup-location-source="item">
820
                                                        [% IF (itemloo.default_pickup_location) %]
821
                                                            <option value="[% itemloo.default_pickup_location.branchcode | html %]" selected="selected">[% itemloo.default_pickup_location.branchname | html %]</option>
822
                                                        [% END %]
823
                                                        </select>
845
                                                    [% END %]
824
                                                    [% END %]
846
                                                </td>
825
                                                    </td>
847
                                            </tr>
826
                                                </tr>
848
                                        [% END # / UNLESS itemloo.hide %]
827
                                            [% END # / UNLESS itemloo.hide %]
849
                                    [% END # /FOREACH itemloo %]
828
                                        [% END # /FOREACH itemloo %]
850
                                </tbody>
829
                                    </tbody>
851
                            </table> <!-- /#requestspecific -->
830
                                </table> <!-- /#requestspecific -->
852
831
853
                            [% IF hiddencount %]
832
                                [% IF ( bibitemloo.hiddencount ) %]
854
                                <form>
833
                                    <form>
855
                                    <p class="hiddencount">
834
                                        <p class="hiddencount">
856
                                        <a href="request.pl?biblionumber=[% biblio.biblionumber | uri %]&amp;borrowernumber=[% borrowernumber | uri %]&amp;showallitems=1">Show all items ([% biblio.hiddencount | html %] hidden)</a>
835
                                            <a href="request.pl?biblionumber=[% bibitemloo.biblionumber | uri %]&amp;borrowernumber=[% bibitemloo.borrowernumber | uri %]&amp;showallitems=1">Show all items ([% bibitemloo.hiddencount | html %] hidden)</a>
857
                                    </p>
836
                                        </p>
858
                                </form>
837
                                    </form>
859
                            [% END # /IF hiddencount %]
838
                                [% END # /IF bibitemloo.hiddencount %]
839
                            [% END # /FOREACH bibitemloo %]
860
840
861
                        [% ELSE # /UNLESS multi_hold %]
841
                        [% ELSE # /UNLESS multi_hold %]
862
842
863
                            <table id="requesttitles">
843
                            <table id="requesttitles">
864
                                <tr>
844
                                <tr>
865
                                    <th>&nbsp;</th>
845
                                    <th>&nbsp;</th>
866
                                    <th>Pickup location</th>
867
                                    <th>Title</th>
846
                                    <th>Title</th>
868
                                    [% UNLESS Koha.Preference('item-level_itypes') %]
847
                                    [% UNLESS ( item_level_itypes ) %]
869
                                        <th>Item type</th>
848
                                        <th>Item type</th>
870
                                    [% END %]
849
                                    [% END %]
871
                                    <th>Priority</th>
850
                                    <th>Priority</th>
872
                                    <th>Information</th>
851
                                    <th>Information</th>
852
                                    <th>Pickup location</th>
873
                                </tr>
853
                                </tr>
874
                                [% FOREACH biblioloo IN biblioloop %]
854
                                [% FOREACH biblioloo IN biblioloop %]
875
                                    [% IF ( biblioloo.warn ) %]
855
                                    [% IF ( biblioloo.warn ) %]
Lines 879-906 Link Here
879
                                    [% END %]
859
                                    [% END %]
880
                                        <td>
860
                                        <td>
881
                                            [% UNLESS ( biblioloo.warn ) %]
861
                                            [% UNLESS ( biblioloo.warn ) %]
882
                                                <input class="multi_hold_item_checkbox" type="checkbox" checked="checked" title="[% biblioloo.biblionumber | html %]"/>
862
                                                    <input class="multi_hold_item_checkbox" type="checkbox" checked="checked" title="[% biblioloo.biblionumber | html %]"/>
883
                                            [% END %]
863
                                                </td>
884
                                        </td>
885
                                        <td>
886
                                            [% UNLESS ( biblioloo.none_avail || biblioloo.noitems ) %]
887
                                                <select name="pickup_[% biblioloo.biblionumber | html %]"
888
                                                        class="multi_pickup_select"
889
                                                        data-biblio-id="[% biblioloo.biblionumber | html %]"
890
                                                        data-patron-id="[% patron.borrowernumber | html %]"
891
                                                        data-pickup-locations='[% biblioloo.pickup_locations_codes.json | $raw %]'>
892
                                                    <option value=""></option>
893
                                                    [% FOREACH pickup_location IN biblioloo.pickup_locations %]
894
                                                        <option value="[% pickup_location.branchcode | html %]">[% pickup_location.branchname | html %]</option>
895
                                                    [% END %]
896
                                                </select>
897
                                            [% END %]
864
                                            [% END %]
898
                                        </td>
899
                                        <td>
865
                                        <td>
900
                                            <ul>
866
                                            <ul>
901
                                                <li>
867
                                                <li>
902
                                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]">[% biblioloo.title | html %]</a>
868
                                                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]">[% biblioloo.title | html %]</a>
903
                                                    [% IF biblioloo.author %] by [% biblioloo.author | html %][% END %]
904
                                                </li>
869
                                                </li>
905
                                                [% IF ( biblioloo.publicationyear ) %]
870
                                                [% IF ( biblioloo.publicationyear ) %]
906
                                                    <li>
871
                                                    <li>
Lines 912-920 Link Here
912
                                                <span class="not_holdable" title="[% biblioloo.biblionumber | html %]"></span>
877
                                                <span class="not_holdable" title="[% biblioloo.biblionumber | html %]"></span>
913
                                            [% END %]
878
                                            [% END %]
914
                                        </td>
879
                                        </td>
915
                                        [% UNLESS Koha.Preference('item-level_itypes') %]
880
                                        [% UNLESS ( item_level_itypes ) %]
916
                                            <td>
881
                                            <td>
917
                                                <img src="[% biblioloo.itemtype.image_location | html %]" alt="[% biblioloo.itemtype.translated_description | html %]" title="[% biblioloo.itemtype.translated_description | html %]" />
882
                                                <img src="[% biblioloo.imageurl | html %]" alt="[% biblioloo.itypename | html %]" title="[% biblioloo.itypename | html %]" />
918
                                            </td>
883
                                            </td>
919
                                        [% END %]
884
                                        [% END %]
920
                                        <td>[% biblioloo.rank | html %]</td>
885
                                        <td>[% biblioloo.rank | html %]</td>
Lines 947-952 Link Here
947
                                                [% END %]
912
                                                [% END %]
948
                                            [% END %]
913
                                            [% END %]
949
                                        </td>
914
                                        </td>
915
                                        <td>
916
                                            [% UNLESS ( biblioloo.none_avail || biblioloo.noitems ) %]
917
                                                <select name="pickup_[% biblioloo.biblionumber | html %]"
918
                                                        class="multi_pickup_select"
919
                                                        data-biblio-id="[% biblioloo.biblionumber | html %]"
920
                                                        data-patron-id="[% patron.borrowernumber | html %]"
921
                                                        data-pickup-locations='[% biblioloo.pickup_locations_codes.json | $raw %]'>
922
                                                    <option value=""></option>
923
                                                    [% FOREACH pickup_location IN biblioloo.pickup_locations %]
924
                                                        <option value="[% pickup_location.branchcode | html %]">[% pickup_location.branchname | html %]</option>
925
                                                    [% END %]
926
                                                </select>
927
                                            [% END %]
928
                                        </td>
950
                                    </tr>
929
                                    </tr>
951
                                [% END # /FOREACH biblioloo %]
930
                                [% END # /FOREACH biblioloo %]
952
                            </table> <!-- /#requesttitles -->
931
                            </table> <!-- /#requesttitles -->
Lines 971-977 Link Here
971
                                    [% ELSIF ( none_available ) %]
950
                                    [% ELSIF ( none_available ) %]
972
                                        <button type="submit" class="btn btn-default btn-disabled" disabled="disabled">Place hold</button>
951
                                        <button type="submit" class="btn btn-default btn-disabled" disabled="disabled">Place hold</button>
973
                                    [% ELSE %]
952
                                    [% ELSE %]
974
                                        <button type="submit" class="btn btn-default">Place hold</button>
953
                                        <button type="submit" class="btn btn-default" id="lientype">Place hold</button>
975
                                    [% END %]
954
                                    [% END %]
976
                                [% END %]
955
                                [% END %]
977
                            [% END # /IF patron %]
956
                            [% END # /IF patron %]
Lines 998-1006 Link Here
998
                [% IF ( reserveloop ) %]
977
                [% IF ( reserveloop ) %]
999
                    <form id="existing_holds" name="T[% time | html %]" action="modrequest.pl" method="post" style="display:block">
978
                    <form id="existing_holds" name="T[% time | html %]" action="modrequest.pl" method="post" style="display:block">
1000
                        [% IF ( multi_hold ) %]
979
                        [% IF ( multi_hold ) %]
1001
                            [% FOREACH biblionumber IN biblionumbers %]
980
                            <input type = "hidden" name="biblionumbers" value="[% biblionumbers | html %]"/>
1002
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
1003
                            [% END %]
1004
                        [% END %]
981
                        [% END %]
1005
982
1006
                        [% IF enqueued %]
983
                        [% IF enqueued %]
Lines 1015-1021 Link Here
1015
                            <input type="submit" name="submit" value="Update hold(s)" /> <button class="cancel_selected_holds" data-bulk="true"></button>
992
                            <input type="submit" name="submit" value="Update hold(s)" /> <button class="cancel_selected_holds" data-bulk="true"></button>
1016
                        <fieldset id="cancellation-reason-fieldset" class="action">
993
                        <fieldset id="cancellation-reason-fieldset" class="action">
1017
                            [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
994
                            [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
1018
                            [% IF hold_cancellation.count %]
995
                            [% IF hold_cancellation %]
1019
                                <label for="cancellation-reason">Cancellation reason: </label>
996
                                <label for="cancellation-reason">Cancellation reason: </label>
1020
                                <select class="cancellation-reason" name="cancellation-reason" id="cancellation-reason">
997
                                <select class="cancellation-reason" name="cancellation-reason" id="cancellation-reason">
1021
                                    <option value="">No reason given</option>
998
                                    <option value="">No reason given</option>
Lines 1138-1144 Link Here
1138
                                                                [% IF i %]
1115
                                                                [% IF i %]
1139
                                                                    [% ItemTypes.GetDescription( i ) | html %]
1116
                                                                    [% ItemTypes.GetDescription( i ) | html %]
1140
                                                                [% ELSE %]
1117
                                                                [% ELSE %]
1141
                                                                    <span>Any item type</span>
1118
                                                                    Any item type
1142
                                                                [% END %]
1119
                                                                [% END %]
1143
                                                            </h5>
1120
                                                            </h5>
1144
1121
Lines 1201-1207 Link Here
1201
1178
1202
                    <fieldset class="action">
1179
                    <fieldset class="action">
1203
                        [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
1180
                        [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
1204
                        [% IF hold_cancellation.count %]
1181
                        [% IF hold_cancellation %]
1205
                            <label for="cancellation-reason">Cancellation reason: </label>
1182
                            <label for="cancellation-reason">Cancellation reason: </label>
1206
                            <select class="cancellation-reason" name="modal-cancellation-reason" id="modal-cancellation-reason">
1183
                            <select class="cancellation-reason" name="modal-cancellation-reason" id="modal-cancellation-reason">
1207
                                <option value="">No reason given</option>
1184
                                <option value="">No reason given</option>
Lines 1223-1245 Link Here
1223
1200
1224
[% MACRO jsinclude BLOCK %]
1201
[% MACRO jsinclude BLOCK %]
1225
    [% INCLUDE 'datatables.inc' %]
1202
    [% INCLUDE 'datatables.inc' %]
1226
    [% INCLUDE 'calendar.inc' %]
1227
    [% INCLUDE 'columns_settings.inc' %]
1203
    [% INCLUDE 'columns_settings.inc' %]
1228
    [% Asset.js("lib/hc-sticky.js") | $raw %]
1204
    [% Asset.js("lib/hc-sticky.js") | $raw %]
1205
    [% Asset.js("js/circ-patron-search-results.js") | $raw %]
1229
    [% INCLUDE 'select2.inc' %]
1206
    [% INCLUDE 'select2.inc' %]
1230
    [% Asset.js("js/holds.js") | $raw%]
1207
    [% Asset.js("js/holds.js") | $raw%]
1231
1208
    [% INCLUDE 'calendar.inc' %]
1232
    [% SET url_biblio_params = "biblionumber=" _ biblionumbers.join("&amp;biblionumber=") %]
1233
    [% IF multi_hold %]
1234
        [% SET url_biblio_params = url_biblio_params _ "&amp;multi_hold=1" %]
1235
    [% END %]
1236
1237
    <script>
1209
    <script>
1238
        var Sticky;
1210
        var Sticky;
1239
        var biblionumbers = [[% biblionumbers.join(', ') | $raw %]];
1211
        var biblionumber = "[% biblionumber | $raw %]";
1240
        var borrowernumber = "[% patron.borrowernumber | $raw %]";
1212
        var borrowernumber = "[% patron.borrowernumber | $raw %]";
1241
        var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]";
1213
        var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]";
1242
        var override_items = {[% FOREACH biblio IN biblioloop %][% FOREACH itemloo IN biblio.itemloop %][% IF ( itemloo.override ) %]
1214
        var override_items = {[% FOREACH bibitemloo IN bibitemloop %][% FOREACH itemloo IN bibitemloo.itemloop %][% IF ( itemloo.override ) %]
1243
        [% itemloo.itemnumber | html %]: {
1215
        [% itemloo.itemnumber | html %]: {
1244
            homebranch: "[% To.json( Branches.GetName( itemloo.homebranch ) ) | $raw %]",
1216
            homebranch: "[% To.json( Branches.GetName( itemloo.homebranch ) ) | $raw %]",
1245
            holdallowed: "[% itemloo.holdallowed | html %]"
1217
            holdallowed: "[% itemloo.holdallowed | html %]"
Lines 1261-1266 Link Here
1261
        }
1233
        }
1262
1234
1263
        var MSG_CANCEL_SELECTED = _("Cancel selected (%s)");
1235
        var MSG_CANCEL_SELECTED = _("Cancel selected (%s)");
1236
        columns_settings_borrowers_table = [% TablesSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %];
1264
        $.fn.select2.defaults.set("width", "100%" );
1237
        $.fn.select2.defaults.set("width", "100%" );
1265
        $.fn.select2.defaults.set("dropdownAutoWidth", true );
1238
        $.fn.select2.defaults.set("dropdownAutoWidth", true );
1266
1239
Lines 1274-1293 Link Here
1274
                }
1247
                }
1275
            });
1248
            });
1276
1249
1277
            if( $("#circ_holds_select").length > 0 ){
1250
            [% SET active = clubs ? 1 : 0 %]
1278
                [% SET active = clubs ? 1 : 0 %]
1251
            $('#circ_holds_select').tabs({
1279
                /* Set active tab based on whether a club search was submitted */
1252
                active: [% active | $raw %],
1280
                var tabs = $("#circ_holds_select li:eq(" + [% active | $raw %] + ") a").tab("show");
1253
                activate: function(){
1281
                $( tabs[0].hash ).find("input.focus").focus();
1254
                    $(this).find("input.focus").focus();
1282
1255
                },
1283
                /* Change active focus when tabs change */
1256
                create: function(){
1284
                $("#circ_holds_select a[data-toggle='tab']").on("shown.bs.tab", function (e) {
1257
                    $(this).find("input.focus").focus();
1285
                    active_tab = e.target.hash;
1258
                }
1286
                    $( active_tab ).find("input.focus").focus();
1259
            });
1287
                });
1288
            }
1289
1290
1291
            function ToggleHoldsToPlace() {
1260
            function ToggleHoldsToPlace() {
1292
                if ( $("#requestany").prop('checked') ) {
1261
                if ( $("#requestany").prop('checked') ) {
1293
                    $("#holds_to_place_count").prop('disabled', false);
1262
                    $("#holds_to_place_count").prop('disabled', false);
Lines 1305-1311 Link Here
1305
                    var pickup = $("#pickup").val();
1274
                    var pickup = $("#pickup").val();
1306
                    var url = "?pickup=" + pickup;
1275
                    var url = "?pickup=" + pickup;
1307
                    url += "&borrowernumber=" + borrowernumber;
1276
                    url += "&borrowernumber=" + borrowernumber;
1308
                    url += "&biblionumber=" + biblionumbers[0];
1277
                    url += "&biblionumber=" + biblionumber;
1309
                    window.location.replace(url);
1278
                    window.location.replace(url);
1310
                });
1279
                });
1311
            [% END %]
1280
            [% END %]
Lines 1325-1330 Link Here
1325
            $("#club-request-form").on("submit", function() {
1294
            $("#club-request-form").on("submit", function() {
1326
                let $t = $(this);
1295
                let $t = $(this);
1327
                $('.clubalert, .holdalert').addClass('hide');
1296
                $('.clubalert, .holdalert').addClass('hide');
1297
                let biblionumbers = [biblionumber];
1298
                let biblionumbers_text;
1328
                const data = {
1299
                const data = {
1329
                    pickup_library_id: $('select[name="pickup"]').val()
1300
                    pickup_library_id: $('select[name="pickup"]').val()
1330
                };
1301
                };
Lines 1340-1352 Link Here
1340
                if($('input[name="default_patron_home"]:checked').length) {
1311
                if($('input[name="default_patron_home"]:checked').length) {
1341
                    data.default_patron_home = 1;
1312
                    data.default_patron_home = 1;
1342
                }
1313
                }
1314
                if($('input[name="biblionumbers"]').length) {
1315
                    biblionumbers_text = $('input[name="biblionumbers"]').val();
1316
                    biblionumbers = biblionumbers_text.replace(/\/$/, '').split('/')
1317
                }
1343
1318
1344
                const count = $('input[name="holds_to_place_count"]').length?$('input[name="holds_to_place_count"]').val():1;
1319
                const count = $('input[name="holds_to_place_count"]').length?$('input[name="holds_to_place_count"]').val():1;
1345
                var newloc = 'request.pl?';
1346
                biblionumbers.forEach(function (biblionumber) {
1347
                    newloc += '&biblionumber=' + biblionumber;
1348
                });
1349
1350
                biblionumbers.forEach(function(biblionumber) {
1320
                biblionumbers.forEach(function(biblionumber) {
1351
                    data.biblio_id = biblionumber;
1321
                    data.biblio_id = biblionumber;
1352
                    let options = {
1322
                    let options = {
Lines 1358-1364 Link Here
1358
                    for(let i = 0; i < count; i++) {
1328
                    for(let i = 0; i < count; i++) {
1359
                        $.ajax(options)
1329
                        $.ajax(options)
1360
                        .then(function(result) {
1330
                        .then(function(result) {
1361
                            document.location = newloc;
1331
                            let url = 'request.pl?biblionumber='+biblionumber;
1332
                            if(biblionumbers_text) {
1333
                                url = 'request.pl?biblionumbers='+biblionumbers_text;
1334
                            }
1335
                            document.location = url;
1362
                        })
1336
                        })
1363
                        .fail(function(err) {
1337
                        .fail(function(err) {
1364
                            var message = err.responseJSON.error;
1338
                            var message = err.responseJSON.error;
Lines 1453-1458 Link Here
1453
1427
1454
        function checkMultiHold() {
1428
        function checkMultiHold() {
1455
1429
1430
            var biblionumbers = "";
1456
            var selected_bibs = $(".multi_hold_item_checkbox:checked");
1431
            var selected_bibs = $(".multi_hold_item_checkbox:checked");
1457
            if ( selected_bibs.length > 0 ) {
1432
            if ( selected_bibs.length > 0 ) {
1458
                // there are biblios selected in the form!
1433
                // there are biblios selected in the form!
Lines 1465-1470 Link Here
1465
                    }
1440
                    }
1466
                    else {
1441
                    else {
1467
                        var bibnum = $(this).attr("title");
1442
                        var bibnum = $(this).attr("title");
1443
                        biblionumbers += bibnum + "/";
1468
                    }
1444
                    }
1469
                });
1445
                });
1470
                if ( pickup_not_set > 0 ) {
1446
                if ( pickup_not_set > 0 ) {
Lines 1477-1489 Link Here
1477
                return false;
1453
                return false;
1478
            }
1454
            }
1479
1455
1456
            var badSpans = $(".not_holdable");
1457
            var badBibs = "";
1458
            $(badSpans).each(function() {
1459
                var bibnum = $(this).attr("title");
1460
                badBibs += bibnum + "/";
1461
            });
1462
1463
            $("#multi_hold_bibs").val(biblionumbers);
1464
            $("#bad_bibs").val(badBibs);
1465
1480
            $('#hold-request-form').preventDoubleFormSubmit();
1466
            $('#hold-request-form').preventDoubleFormSubmit();
1481
1467
1482
            return true;
1468
            return true;
1483
        }
1469
        }
1484
1470
1485
         $(document).ready(function() {
1471
         $(document).ready(function() {
1486
1487
            $("#always_show_holds").change(function(){
1472
            $("#always_show_holds").change(function(){
1488
                if( $(this).prop('checked') ){
1473
                if( $(this).prop('checked') ){
1489
                    document.cookie = 'always_show_holds=DO';
1474
                    document.cookie = 'always_show_holds=DO';
Lines 1571-1578 Link Here
1571
            $("#cancelModalConfirmBtn").on("click",function(e) {
1556
            $("#cancelModalConfirmBtn").on("click",function(e) {
1572
                let link;
1557
                let link;
1573
                if(cancel_link.data('bulk')) {
1558
                if(cancel_link.data('bulk')) {
1574
                    [% SET data_url = 'biblionumber=' _ biblionumbers.join('&biblionumber=') %]
1559
                    [% IF biblionumbers %]
1575
                    link = `request.pl?[% data_url | url %]&amp;action=cancelBulk&amp;ids=${$('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id')).join(',')}`;
1560
                        link = `request.pl?biblionumbers=[% biblionumbers | url %]&amp;action=cancelBulk&amp;ids=${$('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id')).join(',')}`;
1561
                    [% ELSE %]
1562
                        link = `request.pl?biblionumber=[% biblionumber | url %]&amp;action=cancelBulk&amp;ids=${$('.holds_table .select_hold:checked').toArray().map(el => $(el).data('id')).join(',')}`;
1563
                    [% END %]
1576
                } else {
1564
                } else {
1577
                    let borrowernumber = cancel_link.data('borrowernumber');
1565
                    let borrowernumber = cancel_link.data('borrowernumber');
1578
                    let biblionumber = cancel_link.data('biblionumber');
1566
                    let biblionumber = cancel_link.data('biblionumber');
Lines 1589-1599 Link Here
1589
1577
1590
            [% UNLESS ( patron || patron.borrowernumber || borrowers || noitems || nobiblio ) %]
1578
            [% UNLESS ( patron || patron.borrowernumber || borrowers || noitems || nobiblio ) %]
1591
                [% IF ( PatronAutoComplete ) %]
1579
                [% IF ( PatronAutoComplete ) %]
1592
                $( "#search_patron_filter" ).autocomplete({
1580
                $( "#patron" ).autocomplete({
1593
                    source: "/cgi-bin/koha/circ/ysearch.pl",
1581
                    source: "/cgi-bin/koha/circ/ysearch.pl",
1594
                    minLength: 3,
1582
                    minLength: 3,
1595
                    select: function( event, ui ) {
1583
                    select: function( event, ui ) {
1596
                        document.location.href = '/cgi-bin/koha/reserve/request.pl?[% url_biblio_params | url %]&borrowernumber=' + ui.item.borrowernumber;
1584
                        $( "#patron" ).val( ui.item.cardnumber );
1585
                        $( "#holds_patronsearch" ).submit();
1586
                        return false;
1597
                    }
1587
                    }
1598
                })
1588
                })
1599
                .data( "ui-autocomplete" )._renderItem = function( ul, item ) {
1589
                .data( "ui-autocomplete" )._renderItem = function( ul, item ) {
Lines 1621-1627 Link Here
1621
                };
1611
                };
1622
                [% END %]
1612
                [% END %]
1623
            [% END %]
1613
            [% END %]
1624
1625
            Sticky = $("#toolbar");
1614
            Sticky = $("#toolbar");
1626
            Sticky.hcSticky({
1615
            Sticky.hcSticky({
1627
                stickTo: "#existing_holds",
1616
                stickTo: "#existing_holds",
Lines 1672-1694 Link Here
1672
                }
1661
                }
1673
                return false;
1662
                return false;
1674
            });
1663
            });
1675
        });
1676
    </script>
1677
1678
    <script>
1679
        table_settings = [% TablesSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %];
1680
    </script>
1681
1664
1682
    [% PROCESS patron_search_js table_id => 'table_borrowers', categories => categories, libraries => libraries, extended_attribute_types => attribute_type_codes, columns => columns, open_on_row_click => 1, on_click_url => '/cgi-bin/koha/reserve/request.pl?' _ url_biblio_params, redirect_if_one_result => 1, redirect_url => '/cgi-bin/koha/reserve/request.pl?' _ url_biblio_params, redirect_if_attribute_equal => 'cardnumber' %]
1683
    <script>
1684
        $(document).ready(function() {
1685
            $("#holds_patronsearch").on("submit", filter);
1686
        });
1665
        });
1687
        $('.printholdslip').click(function(){
1688
                var reserve_id = $(this).attr('data-reserve_id');
1689
                window.open("/cgi-bin/koha/circ/hold-transfer-slip.pl?reserve_id=" + reserve_id);
1690
                return false;
1691
        })
1692
    </script>
1666
    </script>
1693
[% END %]
1667
[% END %]
1694
1668
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt (-3 / +11 lines)
Lines 1-13 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( status ) %]Approved comments[% ELSE %]Comments awaiting moderation[% END %] &rsaquo; Comments &rsaquo; Tools &rsaquo; Koha</title>
8
<title>[% IF ( status ) %]Approved comments[% ELSE %]Comments awaiting moderation[% END %] &rsaquo; Comments &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
<body id="tools_reviewswaiting" class="tools">
11
<body id="tools_reviewswaiting" class="tools">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'cat-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 30-35 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
Lines 37-43 Link Here
37
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
38
            <main>
46
            <main>
39
47
40
<h1>Comments</h1>
48
<h2>Comments</h2>
41
49
42
<!-- The manual invoice and credit buttons -->
50
<!-- The manual invoice and credit buttons -->
43
<div class="statictabs">
51
<div class="statictabs">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt (-7 / +16 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Add or remove items &rsaquo; Collection [% colTitle | html %] &rsaquo; Rotating collections &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Add or remove items &rsaquo; Collection [% colTitle | html %] &rsaquo; Rotating collections &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="rcoll_addItems" class="tools rcoll">
12
<body id="rcoll_addItems" class="tools rcoll">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'cat-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 30-50 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
36
    <div class="row">
44
    <div class="row">
37
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
38
            <main>
46
            <main>
39
                <h1>Add/remove items from collection</h1>
40
47
41
              [% IF ( ! colId ) %]
48
              [% IF ( ! colId ) %]
49
              <h1>Add/remove items from collection</h1>
42
                <div class="dialog message">
50
                <div class="dialog message">
43
                    <p>Invalid collection id</p>
51
                    <p>Invalid collection id</p>
44
                    <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
52
                    <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
45
                </div>
53
                </div>
46
              [% ELSE %]
54
              [% ELSE %]
47
              [% INCLUDE 'rotating-collections-toolbar.inc' %]
55
              [% INCLUDE 'rotating-collections-toolbar.inc' %]
56
              <h1>Add/remove items from collection</h1>
48
              <h2>Collection <em>[% colTitle | html %]</em></h2>
57
              <h2>Collection <em>[% colTitle | html %]</em></h2>
49
58
50
              [% IF ( previousActionAdd ) %]
59
              [% IF ( previousActionAdd ) %]
Lines 90-96 Link Here
90
              <div>
99
              <div>
91
                <form action="addItems.pl" method="post">
100
                <form action="addItems.pl" method="post">
92
                    <fieldset class="brief">
101
                    <fieldset class="brief">
93
                        <legend>Add or remove items</legend>
102
                        <h3>Add or remove items</h3>
94
                        <ol>
103
                        <ol>
95
                            <li>
104
                            <li>
96
                                <label for="barcode">Barcode: </label>
105
                                <label for="barcode">Barcode: </label>
Lines 105-111 Link Here
105
                        <p>
114
                        <p>
106
                            <input type="hidden" id="colId" name="colId" value="[% colId | html %]" />
115
                            <input type="hidden" id="colId" name="colId" value="[% colId | html %]" />
107
                            <input type="hidden" name="action" value="addItem" />
116
                            <input type="hidden" name="action" value="addItem" />
108
                            <input type="submit" value="Submit" />
117
                            <input type="submit" class="principal" value="Submit" />
109
                        </p>
118
                        </p>
110
                    </fieldset>
119
                    </fieldset>
111
120
Lines 128-134 Link Here
128
                        <td>[% INCLUDE 'biblio-title.inc' biblio=collectionItemsLoo link = 1 %]</td>
137
                        <td>[% INCLUDE 'biblio-title.inc' biblio=collectionItemsLoo link = 1 %]</td>
129
                        <td>[% collectionItemsLoo.itemcallnumber | html %]</td>
138
                        <td>[% collectionItemsLoo.itemcallnumber | html %]</td>
130
                        <td>[% collectionItemsLoo.barcode | html %]</td>
139
                        <td>[% collectionItemsLoo.barcode | html %]</td>
131
                        <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]&amp;barcode=[% collectionItemsLoo.barcode | uri %]&amp;removeItem=1&amp;action=addItem">Remove</a></td>
140
                        <td><a id="lientype" href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]&amp;barcode=[% collectionItemsLoo.barcode | uri %]&amp;removeItem=1&amp;action=addItem">Remove</a></td>
132
                      </tr>
141
                      </tr>
133
                    [% END %]
142
                    [% END %]
134
                  </table>
143
                  </table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt (-8 / +15 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [%- IF ( action == "new" ) %]
9
    [%- IF ( action == "new" ) %]
Lines 12-19 Link Here
12
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
13
</head>
16
</head>
14
<body id="rcoll_editCollections" class="tools rcoll">
17
<body id="rcoll_editCollections" class="tools rcoll">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'cat-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 44-49 Link Here
44
            </li>
46
            </li>
45
        [% END -%]
47
        [% END -%]
46
    </ol>
48
    </ol>
49
        <ol>
50
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
51
        </ol>
52
        <ol>
53
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
54
        </ol>
47
</nav>
55
</nav>
48
56
49
<div class="main container-fluid">
57
<div class="main container-fluid">
Lines 55-61 Link Here
55
                [% IF ( createSuccess ) %]
63
                [% IF ( createSuccess ) %]
56
                    <div class="dialog message">
64
                    <div class="dialog message">
57
                        <p>Collection <em>[% createdTitle | html %]</em> added successfully</p>
65
                        <p>Collection <em>[% createdTitle | html %]</em> added successfully</p>
58
                        <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
66
                        <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
59
                    </div>
67
                    </div>
60
                [% ELSE %]
68
                [% ELSE %]
61
                  <div class="dialog alert">
69
                  <div class="dialog alert">
Lines 112-120 Link Here
112
120
113
                [% IF action == "new" || action == "edit" %]
121
                [% IF action == "new" || action == "edit" %]
114
                    [% IF ( previousActionEdit ) %]
122
                    [% IF ( previousActionEdit ) %]
115
                      <h1>Edit collection <em>[% editColTitle | html %]</em></h1>
123
                      <h2>Edit collection <em>[% editColTitle | html %]</em></h2>
116
                    [% ELSE %]
124
                    [% ELSE %]
117
                      <h1>Add new collection</h1>
125
                      <h2>Add new collection</h2>
118
                    [% END %]
126
                    [% END %]
119
127
120
                    <form action="editCollections.pl" method="post" class="validated">
128
                    <form action="editCollections.pl" method="post" class="validated">
Lines 146-154 Link Here
146
                                    [% END %]
154
                                    [% END %]
147
                                </li>
155
                                </li>
148
                            </ol>
156
                            </ol>
149
                        </fieldset>
157
150
                        <fieldset class="action">
158
                            <p><input type="submit" class="principal" value="Submit" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a></p>
151
                            <p><input type="submit" value="Submit" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a></p>
152
                        </fieldset>
159
                        </fieldset>
153
                    </form>
160
                    </form>
154
                [% END %]
161
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt (-4 / +14 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Rotating collections &rsaquo; Tools &rsaquo; Koha</title>
9
<title>Rotating collections &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
12
10
<body id="rcoll_rotatingCollections" class="tools rcoll">
13
<body id="rcoll_rotatingCollections" class="tools rcoll">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 25-30 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
Lines 34-42 Link Here
34
42
35
                [% INCLUDE 'rotating-collections-toolbar.inc' %]
43
                [% INCLUDE 'rotating-collections-toolbar.inc' %]
36
44
37
                <h1>Rotating collections</h1>
45
                <h2>Rotating collections</h2>
38
                <div>
46
                <div>
39
                    [% IF ( collectionsLoop ) %]
47
                    [% IF ( collectionsLoop ) %]
48
                    <fieldset id="searchresults">
40
                        <table id="rotating-collections-table">
49
                        <table id="rotating-collections-table">
41
                            <thead>
50
                            <thead>
42
                                <tr>
51
                                <tr>
Lines 54-60 Link Here
54
                                    <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
63
                                    <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
55
                                    <td>
64
                                    <td>
56
                                    <div class="btn-group dropup">
65
                                    <div class="btn-group dropup">
57
                                        <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
66
                                        <a class="btn btn-default btn-xs" id="lientype" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
58
                                        Actions <b class="caret"></b></a>
67
                                        Actions <b class="caret"></b></a>
59
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
68
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
60
                                            <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
69
                                            <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
Lines 68-73 Link Here
68
                            [% END %]
77
                            [% END %]
69
                            </tbody>
78
                            </tbody>
70
                        </table>
79
                        </table>
80
                        </fieldset>
71
                    [% ELSE %]
81
                    [% ELSE %]
72
                        <div class="dialog message">There are no collections currently defined.</div>
82
                        <div class="dialog message">There are no collections currently defined.</div>
73
                    [% END %]
83
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt (-8 / +15 lines)
Lines 2-14 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Transfer collection &rsaquo; Rotating collections &rsaquo; Tools &rsaquo; Koha</title>
9
<title>Transfer collection &rsaquo; Rotating collections &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="rcoll_transferCollection" class="tools rcoll">
12
<body id="rcoll_transferCollection" class="tools rcoll">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'cat-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 30-35 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
Lines 37-43 Link Here
37
        <div class="col-sm-10 col-sm-push-2">
45
        <div class="col-sm-10 col-sm-push-2">
38
            <main>
46
            <main>
39
47
40
                <h1>Transfer collection <em>[% colTitle | html %]</em></h1>
48
                <h2>Transfer collection <em>[% colTitle | html %]</em></h2>
41
49
42
                [% IF ( messages ) %]
50
                [% IF ( messages ) %]
43
                    [% FOREACH message IN messages %]
51
                    [% FOREACH message IN messages %]
Lines 55-66 Link Here
55
                [% IF ( transferSuccess ) %]
63
                [% IF ( transferSuccess ) %]
56
                    <div class="dialog message">
64
                    <div class="dialog message">
57
                        <p>Collection transferred successfully</p>
65
                        <p>Collection transferred successfully</p>
58
                        <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
66
                        <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
59
                    </div>
67
                    </div>
60
                [% ELSIF ( transferFailure ) %]
68
                [% ELSIF ( transferFailure ) %]
61
                    <div class="dialog alert">
69
                    <div class="dialog alert">
62
                        <p>Failed to transfer collection</p>
70
                        <p>Failed to transfer collection</p>
63
                        <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
71
                        <p><a id="lientype" href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
64
                    </div>
72
                    </div>
65
                [% END %]
73
                [% END %]
66
74
Lines 78-86 Link Here
78
                                        </select>
86
                                        </select>
79
                                    </li>
87
                                    </li>
80
                                </ol>
88
                                </ol>
81
                            </fieldset>
89
82
                            <fieldset class="action">
90
                                <input type="submit" class="principal" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
83
                                <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
84
                            </fieldset>
91
                            </fieldset>
85
                        </form>
92
                        </form>
86
                    </div>
93
                    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt (-5 / +15 lines)
Lines 1-14 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'serials-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Check expiration &rsaquo; Serials &rsaquo; Koha</title>
8
<title>Check expiration &rsaquo; Serials &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="ser_checkexpiration" class="ser">
12
<body id="ser_checkexpiration" class="ser">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'serials-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
30
    <ol>
31
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
    </ol>
33
34
    <ol>
35
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
36
    </ol>
27
</nav>
37
</nav>
28
38
29
<div class="main container-fluid">
39
<div class="main container-fluid">
Lines 31-41 Link Here
31
        <div class="col-sm-10 col-sm-push-2">
41
        <div class="col-sm-10 col-sm-push-2">
32
            <main>
42
            <main>
33
43
34
<h1>Check expiration</h1>
44
<h2>Check expiration</h2>
35
45
36
    <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="get" class="validated">
46
    <form name="f" action="/cgi-bin/koha/serials/checkexpiration.pl" method="get" class="validated">
37
<fieldset class="rows">
47
<fieldset class="rows">
38
    <legend>Filter results:</legend>
48
    <h3>Filter results:</h3>
39
    
49
    
40
         <ol>
50
         <ol>
41
        <ol>
51
        <ol>
Lines 68-75 Link Here
68
            [% END %]
78
            [% END %]
69
        </li>
79
        </li>
70
        </ol>
80
        </ol>
81
<fieldset class="action"><input type="submit" class="principal" value="Search" /></fieldset>
71
</fieldset>
82
</fieldset>
72
<fieldset class="action"><input type="submit" value="Search" /></fieldset>
73
</form>
83
</form>
74
84
75
[% IF ( subscriptions_loop ) %]
85
[% IF ( subscriptions_loop ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-4 / +13 lines)
Lines 3-17 Link Here
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'serials-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
    <title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] &rsaquo; [% END %] Claims &rsaquo; Serials &rsaquo; Koha</title>
10
    <title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] &rsaquo; [% END %] Claims &rsaquo; Serials &rsaquo; Koha</title>
8
    [% INCLUDE 'doc-head-close.inc' %]
11
    [% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
13
11
<body id="ser_claims" class="ser">
14
<body id="ser_claims" class="ser">
12
    [% INCLUDE 'header.inc' %]
15
    [% INCLUDE 'header.inc' form=formulaire %]
13
    [% INCLUDE 'serials-search.inc' %]
14
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
17
    <ol>
17
        <li>
18
        <li>
Lines 37-42 Link Here
37
            </li>
38
            </li>
38
        [% END %]
39
        [% END %]
39
    </ol>
40
    </ol>
41
42
    <ol>
43
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
    </ol>
45
46
    <ol>
47
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
48
    </ol>
40
</nav>
49
</nav>
41
50
42
<div class="main container-fluid">
51
<div class="main container-fluid">
Lines 94-100 Link Here
94
                                </option>
103
                                </option>
95
                            [% END %]
104
                            [% END %]
96
                        </select>
105
                        </select>
97
                        <input type="submit" value="OK" />
106
                        <input type="submit" class="principal" value="OK" />
98
                    </fieldset>
107
                    </fieldset>
99
                </form> <!-- /#claims -->
108
                </form> <!-- /#claims -->
100
109
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt (-2 / +10 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'serials-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Preview routing list &rsaquo; Serials &rsaquo; Koha</title>
6
<title>Preview routing list &rsaquo; Serials &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="ser_routing-preview" class="ser">
10
<body id="ser_routing-preview" class="ser">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'serials-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 25-30 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt (-2 / +10 lines)
Lines 1-12 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'serials-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( op ) %]Create routing list[% ELSE %]Edit routing list[% END %] &rsaquo; [% title | html %] &rsaquo; Serials &rsaquo; Koha</title>
7
<title>[% IF ( op ) %]Create routing list[% ELSE %]Edit routing list[% END %] &rsaquo; [% title | html %] &rsaquo; Serials &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
<body id="ser_routing" class="ser">
10
<body id="ser_routing" class="ser">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'serials-search.inc' %]
10
12
11
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
    <ol>
14
    <ol>
Lines 39-44 Link Here
39
            </li>
41
            </li>
40
        [% END %]
42
        [% END %]
41
    </ol>
43
    </ol>
44
        <ol>
45
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
46
        </ol>
47
        <ol>
48
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
49
        </ol>
42
</nav>
50
</nav>
43
51
44
<div class="main container-fluid">
52
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-2 / +10 lines)
Lines 4-17 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'serials-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Serial collection information for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
11
<title>Serial collection information for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="ser_serials-collection" class="ser">
15
<body id="ser_serials-collection" class="ser">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'serials-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 27-32 Link Here
27
            </a>
29
            </a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-2 / +11 lines)
Lines 1-3 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'serials-search.inc' %]
4
[% END %]
1
[% USE raw %]
5
[% USE raw %]
2
[% USE Asset %]
6
[% USE Asset %]
3
[% USE AuthorisedValues %]
7
[% USE AuthorisedValues %]
Lines 78-85 $(document).ready(function() { Link Here
78
}</style>
82
}</style>
79
</head>
83
</head>
80
<body id="ser_serials-edit" class="ser">
84
<body id="ser_serials-edit" class="ser">
81
[% INCLUDE 'header.inc' %]
85
[% INCLUDE 'header.inc' form=formulaire %]
82
[% INCLUDE 'serials-search.inc' %]
83
86
84
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
87
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
85
    <ol>
88
    <ol>
Lines 95-100 $(document).ready(function() { Link Here
95
            </a>
98
            </a>
96
        </li>
99
        </li>
97
    </ol>
100
    </ol>
101
        <ol>
102
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
103
        </ol>
104
        <ol>
105
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
106
        </ol>
98
</nav>
107
</nav>
99
108
100
<div class="main container-fluid">
109
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt (-2 / +12 lines)
Lines 3-15 Link Here
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE Koha %]
4
[% USE Koha %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'serials-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Serials [% biblionumber | html %] &rsaquo; Koha</title>
10
<title>Serials [% biblionumber | html %] &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
<body id="ser_serials-home" class="ser">
13
<body id="ser_serials-home" class="ser">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'serials-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 22-27 Link Here
22
            </a>
24
            </a>
23
        </li>
25
        </li>
24
    </ol>
26
    </ol>
27
28
    <ol>
29
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
    </ol>
31
32
    <ol>
33
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
    </ol>
25
</nav>
35
</nav>
26
36
27
<div class="main container-fluid">
37
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-25 / +36 lines)
Lines 6-11 Link Here
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% USE Koha %]
7
[% USE Koha %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'serials-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Serials [% biblionumber | html %] &rsaquo; Koha</title>
13
<title>Serials [% biblionumber | html %] &rsaquo; Koha</title>
11
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="ser_serials-search" class="ser">
18
<body id="ser_serials-search" class="ser">
16
    [% INCLUDE 'header.inc' %]
19
    [% INCLUDE 'header.inc' form=formulaire %]
17
    [% INCLUDE 'serials-search.inc' %]
18
20
19
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
        <ol>
22
        <ol>
Lines 38-43 Link Here
38
                </li>
40
                </li>
39
            [% END %]
41
            [% END %]
40
        </ol>
42
        </ol>
43
44
        <ol>
45
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
46
        </ol>
47
48
        <ol>
49
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
50
        </ol>
41
    </nav>
51
    </nav>
42
52
43
    [% url_params = [] %]
53
    [% url_params = [] %]
Lines 355-362 Link Here
355
365
356
            <div class="col-sm-2 col-sm-pull-10">
366
            <div class="col-sm-2 col-sm-pull-10">
357
                <aside>
367
                <aside>
358
368
                <div id="filters">
359
                    [% INCLUDE 'serials-menu.inc' %]
360
                    [% IF ( done_searched ) %]
369
                    [% IF ( done_searched ) %]
361
                        [% UNLESS ( mana ) %]
370
                        [% UNLESS ( mana ) %]
362
                            <div id="advsearch">
371
                            <div id="advsearch">
Lines 365-415 Link Here
365
                                        <h4>Search subscriptions</h4>
374
                                        <h4>Search subscriptions</h4>
366
                                        <ol>
375
                                        <ol>
367
                                            <li>
376
                                            <li>
368
                                                <label for="issn">ISSN:</label>
377
                                                <p for="issn">ISSN:
369
                                                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
378
                                                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" /></p>
370
                                            </li>
379
                                            </li>
371
                                            <li>
380
                                            <li>
372
                                                <label for="title">Title:</label>
381
                                                <p for="title">Title:
373
                                                <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
382
                                                <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" /></p>
374
                                            </li>
383
                                            </li>
375
                                            [% IF ( marcflavour == "UNIMARC" ) %]
384
                                            [% IF ( marcflavour == "UNIMARC" ) %]
376
                                                <li>
385
                                                <li>
377
                                                    <label for="ean">EAN:</label>
386
                                                    <p for="ean">EAN:
378
                                                    <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
387
                                                    <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" /></p>
379
                                                </li>
388
                                                </li>
380
                                            [% END %]
389
                                            [% END %]
381
                                            <li>
390
                                            <li>
382
                                                <label for="callnumber">Call number:</label>
391
                                                <p for="callnumber">Call number:
383
                                                <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter | html %]" />
392
                                                <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter | html %]" /></p>
384
                                            </li>
393
                                            </li>
385
                                            <li>
394
                                            <li>
386
                                                <label for="publisher">Publisher:</label>
395
                                                <p for="publisher">Publisher:
387
                                                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
396
                                                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" /></p>
388
                                            </li>
397
                                            </li>
389
                                            <li>
398
                                            <li>
390
                                                <label for="bookseller">Vendor:</label>
399
                                                <p for="bookseller">Vendor:
391
                                                <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter | html %]" />
400
                                                <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter | html %]" /></p>
392
                                            </li>
401
                                            </li>
393
                                            <li>
402
                                            <li>
394
                                                <label for="branch">Library:</label>
403
                                                <p for="branch">Library:
395
                                                <select id="branch" name="branch_filter">
404
                                                <select id="branch" name="branch_filter">
396
                                                    <option value="">All</option>
405
                                                    <option value="">All</option>
397
                                                    [%# FIXME Should not we filter the libraries? %]
406
                                                    [%# FIXME Should not we filter the libraries? %]
398
                                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
407
                                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
399
                                                </select>
408
                                                </select></p>
400
                                            </li>
409
                                            </li>
401
                                            <li>
410
                                            <li>
402
                                                <label for="location">Location:</label>
411
                                                <p for="location">Location:
403
                                                [% PROCESS 'av-build-dropbox.inc' name="location_filter", category="LOC", default=location_filter, all=1 %]
412
                                                [% PROCESS 'av-build-dropbox.inc' name="location_filter", category="LOC", default=location_filter, all=1 %]</p>
404
                                            </li>
413
                                            </li>
405
                                            <li>
414
                                            <li>
406
                                                <label for="to">Expires before:</label>
415
                                                <p for="to">Expires before:
407
                                                <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="flatpickr" />
416
                                                <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="flatpickr" />
408
                                            </li>
417
                                            </p></li>
409
418
410
                                            [% FOR field IN additional_fields_for_subscription %]
419
                                            [% FOR field IN additional_fields_for_subscription %]
411
                                                <li>
420
                                                <li>
412
                                                    <label for="additional_field_[% field.id | html %]ID"> [% field.name | html %]: </label>
421
                                                    <p for="additional_field_[% field.id | html %]ID"> [% field.name | html %]: 
413
                                                    [% IF field.authorised_value_category %]
422
                                                    [% IF field.authorised_value_category %]
414
                                                        <select id="additional_field_[% field.id | html %]" name="additional_field_[% field.id | html %]">
423
                                                        <select id="additional_field_[% field.id | html %]" name="additional_field_[% field.id | html %]">
415
                                                            <option value="">All</option>
424
                                                            <option value="">All</option>
Lines 423-435 Link Here
423
                                                        </select>
432
                                                        </select>
424
                                                    [% ELSE %]
433
                                                    [% ELSE %]
425
                                                        <input id="additional_field_[% field.id | html %]" type="text" value="[% additional_field_filters.${field.id} | html %]" name="additional_field_[% field.id | html %]" />
434
                                                        <input id="additional_field_[% field.id | html %]" type="text" value="[% additional_field_filters.${field.id} | html %]" name="additional_field_[% field.id | html %]" />
426
                                                    [% END %]
435
                                                    [% END %]</p>
427
                                                </li>
436
                                                </li>
428
                                            [% END %]
437
                                            [% END %]
429
                                        </ol>
438
                                        </ol>
430
                                        <input type="hidden" name="searched" value="1" />
439
                                        <input type="hidden" name="searched" value="1" />
431
                                        <fieldset class="action">
440
                                        <fieldset class="action">
432
                                            <input type="submit" value="Search" />
441
                                            <input type="submit" class="principal" value="Search" />
433
                                        </fieldset>
442
                                        </fieldset>
434
443
435
                                    </fieldset> <!-- /.brief -->
444
                                    </fieldset> <!-- /.brief -->
Lines 437-442 Link Here
437
                            </div> <!-- /#advsearch -->
446
                            </div> <!-- /#advsearch -->
438
                        [% END # / UNLESS ( mana ) %]
447
                        [% END # / UNLESS ( mana ) %]
439
                    [% END # / IF ( done_searched ) %]
448
                    [% END # / IF ( done_searched ) %]
449
                    [% INCLUDE 'serials-menu.inc' %]
450
                    </div>
440
                </aside>
451
                </aside>
441
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
452
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
442
        </div> <!-- /.row -->
453
        </div> <!-- /.row -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-20 / +28 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE Koha %]
6
[% USE Koha %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'serials-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>[% IF ( modify ) %][% bibliotitle | html %] &rsaquo; Modify subscription[% ELSE %]New subscription[% END %] &rsaquo; Serials &rsaquo; Koha</title>
12
<title>[% IF ( modify ) %][% bibliotitle | html %] &rsaquo; Modify subscription[% ELSE %]New subscription[% END %] &rsaquo; Serials &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
Lines 19-26 fieldset.rows table { clear: none; margin: 0; } Link Here
19
</head>
22
</head>
20
23
21
<body id="ser_subscription-add" class="ser">
24
<body id="ser_subscription-add" class="ser">
22
[% INCLUDE 'header.inc' %]
25
[% INCLUDE 'header.inc' form=formulaire %]
23
[% INCLUDE 'serials-search.inc' %]
24
26
25
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <ol>
28
    <ol>
Lines 56-61 fieldset.rows table { clear: none; margin: 0; } Link Here
56
            [% END %]
58
            [% END %]
57
        [% END %]
59
        [% END %]
58
    </ol>
60
    </ol>
61
        <ol>
62
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
63
        </ol>
64
        <ol>
65
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
66
        </ol>
59
</nav>
67
</nav>
60
68
61
[% INCLUDE 'blocking_errors.inc' %]
69
[% INCLUDE 'blocking_errors.inc' %]
Lines 63-69 fieldset.rows table { clear: none; margin: 0; } Link Here
63
<div class="main container-fluid">
71
<div class="main container-fluid">
64
    <div class="row">
72
    <div class="row">
65
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
73
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
66
            <h1>[% IF ( modify ) %] Modify subscription for <em>[% bibliotitle | html %]</em>[% ELSE %]Add a new subscription[% END %] (<span id="page_number">1/2</span>)</h1>
74
            <h2>[% IF ( modify ) %] Modify subscription for <em>[% bibliotitle | html %]</em>[% ELSE %]Add a new subscription[% END %] (<span id="page_number">1/2</span>)</h2>
67
        </div>
75
        </div>
68
    </div>
76
    </div>
69
    <form method="post" id="subscription_add_form" name="f" action="/cgi-bin/koha/serials/subscription-add.pl" class="validated">
77
    <form method="post" id="subscription_add_form" name="f" action="/cgi-bin/koha/serials/subscription-add.pl" class="validated">
Lines 78-91 fieldset.rows table { clear: none; margin: 0; } Link Here
78
                        <input type="hidden" name="user" value="[% logged_in_user.userid | html %]" />
86
                        <input type="hidden" name="user" value="[% logged_in_user.userid | html %]" />
79
                        <input type="hidden" name="irreg_check" value="0" />
87
                        <input type="hidden" name="irreg_check" value="0" />
80
                        <fieldset id="subscription_add_information" class="rows">
88
                        <fieldset id="subscription_add_information" class="rows">
81
                            <legend>Subscription details</legend>
89
                            <h3>Subscription details</h3>
82
                            <ol>
90
                            <ol>
83
                                [% IF ( subscriptionid ) %]
91
                                [% IF ( subscriptionid ) %]
84
                                    <li><span class="label">Subscription number: </span> [% subscriptionid | html %]</li>
92
                                    <li><span class="label">Subscription number: </span> [% subscriptionid | html %]</li>
85
                                [% END %]
93
                                [% END %]
86
                                <li>
94
                                <li>
87
                                    <label for="aqbooksellerid">Vendor: </label>
95
                                    <label for="aqbooksellerid">Vendor: </label>
88
                                    <input type="text" name="aqbooksellerid" id="aqbooksellerid" value="[% aqbooksellerid | html %]" size="8" /> (<input type="text" name="aqbooksellername" id="aqbooksellername" value="[% aqbooksellername | html %]" disabled="disabled" readonly="readonly" />) <a href="#" id="vendor_search"><i class="fa fa-search"></i> Search for a vendor</a>
96
                                    <input type="text" name="aqbooksellerid" id="aqbooksellerid" value="[% aqbooksellerid | html %]" size="8" /> (<input type="text" name="aqbooksellername" id="aqbooksellername" value="[% aqbooksellername | html %]" disabled="disabled" readonly="readonly" />) <a id="lientype" href="#" id="vendor_search"><i class="fa fa-search"></i> Search for a vendor</a>
89
                                </li>
97
                                </li>
90
                                <li>
98
                                <li>
91
                                    <label for="biblionumber" class="required">Record:</label>
99
                                    <label for="biblionumber" class="required">Record:</label>
Lines 93-104 fieldset.rows table { clear: none; margin: 0; } Link Here
93
                                    (<input type="text" name="title" value="[% bibliotitle | html %]" disabled="disabled" readonly="readonly" />) <span class="required" title="Subscriptions must be associated with a bibliographic record">Required</span>
101
                                    (<input type="text" name="title" value="[% bibliotitle | html %]" disabled="disabled" readonly="readonly" />) <span class="required" title="Subscriptions must be associated with a bibliographic record">Required</span>
94
                                    <span id="error_bib_not_exist"></span>
102
                                    <span id="error_bib_not_exist"></span>
95
                                    <div class="hint">Subscriptions must be associated with a bibliographic record</div>
103
                                    <div class="hint">Subscriptions must be associated with a bibliographic record</div>
96
                                    <div class="inputnote"> <a href="#" id="record_search"><i class="fa fa-search"></i> Search for record</a>
104
                                    <div class="inputnote"> <a class="lientype" href="#" id="record_search"><i class="fa fa-search"></i> Search for record</a>
97
                                        [% IF ( CAN_user_editcatalogue ) %]
105
                                        [% IF ( CAN_user_editcatalogue ) %]
98
                                            [% IF ( modify ) %]
106
                                            [% IF ( modify ) %]
99
                                            | <a href="#" id="biblio_add_edit" data-biblionumber="[% bibnum | html %]"><i class="fa fa-pencil"></i> Edit record</a>
107
                                            | <a class="lientype" href="#" id="biblio_add_edit" data-biblionumber="[% bibnum | html %]"><i class="fa fa-pencil"></i> Edit record</a>
100
                                            [% ELSE %]
108
                                            [% ELSE %]
101
                                            | <a href="#" id="biblio_add_edit"><i class="fa fa-plus"></i> Create record</a>
109
                                            | <a class="lientype" href="#" id="biblio_add_edit"><i class="fa fa-plus"></i> Create record</a>
102
                                            [% END %]
110
                                            [% END %]
103
                                        [% END %]
111
                                        [% END %]
104
                                    </div>
112
                                    </div>
Lines 183-189 fieldset.rows table { clear: none; margin: 0; } Link Here
183
                                        <div class="hint">Selecting a notice will allow patrons to subscribe to notifications when a new issue is received.</div>
191
                                        <div class="hint">Selecting a notice will allow patrons to subscribe to notifications when a new issue is received.</div>
184
                                    [% ELSE %]
192
                                    [% ELSE %]
185
                                        <span class="label">Patron notification: </span>
193
                                        <span class="label">Patron notification: </span>
186
                                        <div class="hint">To notify patrons of new serial issues, you must <a href="/cgi-bin/koha/tools/letter.pl">define a notice</a>.</div>
194
                                        <div class="hint">To notify patrons of new serial issues, you must <a id="lientype" href="/cgi-bin/koha/tools/letter.pl">define a notice</a>.</div>
187
                                    [% END %]
195
                                    [% END %]
188
                                </li>
196
                                </li>
189
                                <li>
197
                                <li>
Lines 255-261 fieldset.rows table { clear: none; margin: 0; } Link Here
255
                            </ol>
263
                            </ol>
256
                        </fieldset>
264
                        </fieldset>
257
                        <fieldset class="action">
265
                        <fieldset class="action">
258
                            <button type="button" id="subscription_add_next" style="float:right;">Next <i class="fa fa-long-arrow-right"></i></button>
266
                            <button type="button" class="principal" id="subscription_add_next" style="float:right;">Next <i class="fa fa-long-arrow-right"></i></button>
259
                        </fieldset>
267
                        </fieldset>
260
                    </div> <!-- /.col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2 -->
268
                    </div> <!-- /.col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2 -->
261
                </div> <!-- /.row#page_1 -->
269
                </div> <!-- /.row#page_1 -->
Lines 271-277 fieldset.rows table { clear: none; margin: 0; } Link Here
271
                        </div>
279
                        </div>
272
                        <div id="subscription_form_planning">
280
                        <div id="subscription_form_planning">
273
                            <fieldset class="rows">
281
                            <fieldset class="rows">
274
                                <legend>Serials planning</legend>
282
                                <h3>Serials planning</h3>
275
                                <ol>
283
                                <ol>
276
                                    <li>
284
                                    <li>
277
                                        <label for="acqui_date" class="required">First issue publication date:</label>
285
                                        <label for="acqui_date" class="required">First issue publication date:</label>
Lines 411-418 fieldset.rows table { clear: none; margin: 0; } Link Here
411
                                    </li>
419
                                    </li>
412
                                    <li>
420
                                    <li>
413
                                        <span class="label">&nbsp;</span>
421
                                        <span class="label">&nbsp;</span>
414
                                        <a href="#" class="toggle_advanced_pattern show_advanced_pattern"><i class="fa fa-plus-square"></i> Show advanced pattern</a>
422
                                        <a id="lientype" href="#" class="toggle_advanced_pattern show_advanced_pattern"><i class="fa fa-plus-square"></i> Show advanced pattern</a>
415
                                        <a href="#" style="display:none;" class="toggle_advanced_pattern hide_advanced_pattern"><i class="fa fa-minus-square"></i> Hide advanced pattern</a>
423
                                        <a id="lientype" href="#" style="display:none;" class="toggle_advanced_pattern hide_advanced_pattern"><i class="fa fa-minus-square"></i> Hide advanced pattern</a>
416
                                    </li>
424
                                    </li>
417
                                </ol>
425
                                </ol>
418
426
Lines 503-516 fieldset.rows table { clear: none; margin: 0; } Link Here
503
                                    </li>
511
                                    </li>
504
                                    <li>
512
                                    <li>
505
                                        <span class="label">&nbsp;</span>
513
                                        <span class="label">&nbsp;</span>
506
                                        <a href="#" id="modifyadvancedpatternbutton"><i class="fa fa-pencil"></i> Modify pattern</a>
514
                                        <a id="lientype" href="#" id="modifyadvancedpatternbutton"><i class="fa fa-pencil"></i> Modify pattern</a>
507
                                        <button type="button" class="btn btn-default btn-xs" id="saveadvancedpatternbutton" style="display:none"><i class="fa fa-save"></i> Save as new pattern</button>
515
                                        <button type="button" class="btn btn-default btn-xs principal" id="saveadvancedpatternbutton" style="display:none"><i class="fa fa-save"></i> Save as new pattern</button>
508
                                        <a class="cancel" href="#" id="restoreadvancedpatternbutton" style="display:none">Cancel modifications</a>
516
                                        <a  class="cancel" href="#" id="restoreadvancedpatternbutton" style="display:none">Cancel modifications</a>
509
                                    </li>
517
                                    </li>
510
                                    </ol>
518
                                    </ol>
511
                                </div> <!-- /#advancedpredictionpattern -->
519
                                </div> <!-- /#advancedpredictionpattern -->
512
                                <fieldset class="action">
520
                                <fieldset class="action">
513
                                    <button type="button" id="testpatternbutton" class="btn btn-default btn-sm"><i class="fa fa-play"></i> Test prediction pattern</button>
521
                                    <button type="button" id="testpatternbutton" class="btn btn-default btn-sm principal"><i class="fa fa-play"></i> Test prediction pattern</button>
514
                                </fieldset>
522
                                </fieldset>
515
                            </fieldset>
523
                            </fieldset>
516
524
Lines 527-534 fieldset.rows table { clear: none; margin: 0; } Link Here
527
                            <input type="hidden" id="unitsperissue"  name="unitsperissue" value=""/>
535
                            <input type="hidden" id="unitsperissue"  name="unitsperissue" value=""/>
528
                            <input type="hidden" id="issuesperunit"  name="issuesperunit" value=""/>
536
                            <input type="hidden" id="issuesperunit"  name="issuesperunit" value=""/>
529
                            <fieldset class="action">
537
                            <fieldset class="action">
530
                                <button type="button" id="subscription_add_previous" style="float:left"><i class="fa fa-long-arrow-left"></i> Previous</button>
538
                                <button type="button" id="subscription_add_previous" class="cancel" style="float:left"><i class="fa fa-long-arrow-left"></i> Previous</button>
531
                                <input id="save-subscription" type="submit" value="Save subscription" style="float:right;" accesskey="w"/>
539
                                <input id="save-subscription" type="submit" value="Save subscription" class="principal" style="float:right;" accesskey="w"/>
532
                            </fieldset>
540
                            </fieldset>
533
                        </div>
541
                        </div>
534
                    </div>
542
                    </div>
Lines 550-556 fieldset.rows table { clear: none; margin: 0; } Link Here
550
                    <div class="modal-body">
558
                    <div class="modal-body">
551
                    </div>
559
                    </div>
552
                    <div class="modal-footer">
560
                    <div class="modal-footer">
553
                        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
561
                        <button type="button" class="btn btn-default cancel" data-dismiss="modal">Close</button>
554
                    </div>
562
                    </div>
555
                </div>
563
                </div>
556
             </div>
564
             </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt (-2 / +11 lines)
Lines 1-3 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'serials-search.inc' %]
4
[% END %]
1
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
2
[% USE Branches %]
6
[% USE Branches %]
3
[% USE ItemTypes %]
7
[% USE ItemTypes %]
Lines 8-15 Link Here
8
    [% INCLUDE 'calendar.inc' %]
12
    [% INCLUDE 'calendar.inc' %]
9
</head>
13
</head>
10
<body id="ser_subscription-batchedit" class="ser">
14
<body id="ser_subscription-batchedit" class="ser">
11
    [% INCLUDE 'header.inc' %]
15
    [% INCLUDE 'header.inc' form=formulaire %]
12
    [% INCLUDE 'serials-search.inc' %]
13
16
14
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
        <ol>
18
        <ol>
Lines 25-30 Link Here
25
                </a>
28
                </a>
26
            </li>
29
            </li>
27
        </ol>
30
        </ol>
31
        <ol>
32
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
33
        </ol>
34
        <ol>
35
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
36
        </ol>
28
    </nav>
37
    </nav>
29
38
30
<div class="main container-fluid">
39
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-2 / +10 lines)
Lines 7-12 Link Here
7
[% USE Price %]
7
[% USE Price %]
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'serials-search.inc' %]
12
[% END %]
10
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
11
<title>Details for subscription #[% subscriptionid | html %] &rsaquo; Serials &rsaquo; Koha</title>
14
<title>Details for subscription #[% subscriptionid | html %] &rsaquo; Serials &rsaquo; Koha</title>
12
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="ser_subscription-detail" class="ser">
19
<body id="ser_subscription-detail" class="ser">
17
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' form=formulaire %]
18
[% INCLUDE 'serials-search.inc' %]
19
21
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
23
    <ol>
Lines 40-45 Link Here
40
            </li>
42
            </li>
41
        [% END %]
43
        [% END %]
42
    </ol>
44
    </ol>
45
        <ol>
46
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
47
        </ol>
48
        <ol>
49
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
50
        </ol>
43
</nav>
51
</nav>
44
52
45
<div class="main container-fluid">
53
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt (-8 / +20 lines)
Lines 1-12 Link Here
1
[% SET footerjs = 1 %]
1
[% SET footerjs = 1 %]
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'serials-search.inc' %]
4
[% END %]
2
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Frequencies &rsaquo; Serials &rsaquo; Koha</title>
6
<title>Frequencies &rsaquo; Serials &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
5
</head>
8
</head>
6
9
7
<body id="ser_subscription_frequencies" class="ser">
10
<body id="ser_subscription_frequencies" class="ser">
8
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'header.inc' form=formulaire %]
9
[% INCLUDE 'serials-search.inc' %]
10
12
11
[% BLOCK translate_frequnit %]
13
[% BLOCK translate_frequnit %]
12
[%  SWITCH frequnit %]
14
[%  SWITCH frequnit %]
Lines 29-34 Link Here
29
            <a href="#" aria-current="page">Frequencies</a>
31
            <a href="#" aria-current="page">Frequencies</a>
30
        </li>
32
        </li>
31
    </ol>
33
    </ol>
34
35
    <ol>
36
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
    </ol>
38
39
    <ol>
40
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
41
    </ol>
32
</nav>
42
</nav>
33
43
34
<div class="main container-fluid">
44
<div class="main container-fluid">
Lines 38-46 Link Here
38
48
39
      [% IF (new or modify) %]
49
      [% IF (new or modify) %]
40
        [% IF (new) %]
50
        [% IF (new) %]
41
          <h1>New frequency</h1>
51
          <h2>New frequency</h2>
42
        [% ELSE %]
52
        [% ELSE %]
43
          <h1>Edit frequency: [% description | html %]</h1>
53
          <h2>Edit frequency: [% description | html %]</h2>
44
        [% END %]
54
        [% END %]
45
        <form action="/cgi-bin/koha/serials/subscription-frequencies.pl" id="add_frequency_form" method="post">
55
        <form action="/cgi-bin/koha/serials/subscription-frequencies.pl" id="add_frequency_form" method="post">
46
          [% IF (modify) %]
56
          [% IF (modify) %]
Lines 101-110 Link Here
101
      [% ELSE %]
111
      [% ELSE %]
102
112
103
        <div id="toolbar" class="btn-toolbar">
113
        <div id="toolbar" class="btn-toolbar">
104
            <a class="btn btn-default" id="newfrequency" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=new"><i class="fa fa-plus"></i> New frequency</a>
114
          <div>
115
              <a class="pat" id="newfrequency" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=new"><i class="fa fa-plus"></i> New frequency</a>
116
          </div>
105
        </div>
117
        </div>
106
118
107
        <h1>Frequencies</h1>
119
        <h2>Frequencies</h2>
108
        [% IF still_used %]
120
        [% IF still_used %]
109
            <div class="dialog alert">
121
            <div class="dialog alert">
110
                <p>
122
                <p>
Lines 153-160 Link Here
153
                  <td>[% frequency.unitsperissue | html %]</td>
165
                  <td>[% frequency.unitsperissue | html %]</td>
154
                  <td>[% frequency.displayorder | html %]</td>
166
                  <td>[% frequency.displayorder | html %]</td>
155
                  <td class="actions">
167
                  <td class="actions">
156
                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=modify&frequencyid=[% frequency.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
168
                    <a class="btn btn-default btn-xs" id="lientype" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=modify&frequencyid=[% frequency.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
157
                    <a class="delete_frequency btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=del&frequencyid=[% frequency.id | html %]"><i class="fa fa-trash"></i> Delete</a>
169
                    <a class="delete_frequency btn btn-default btn-xs" id="lientype" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=del&frequencyid=[% frequency.id | html %]"><i class="fa fa-trash"></i> Delete</a>
158
                  </td>
170
                  </td>
159
                </tr>
171
                </tr>
160
              [% END %]
172
              [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt (-2 / +10 lines)
Lines 1-13 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% formulaire = BLOCK %]
4
    [% INCLUDE 'serials-search.inc' %]
5
[% END %]
3
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Subscription history &rsaquo; Serials &rsaquo; Koha</title>
7
<title>Subscription history &rsaquo; Serials &rsaquo; Koha</title>
5
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
9
</head>
7
10
8
<body id="ser_subscription_history" class="ser">
11
<body id="ser_subscription_history" class="ser">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'serials-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 23-28 Link Here
23
            </a>
25
            </a>
24
        </li>
26
        </li>
25
    </ol>
27
    </ol>
28
        <ol>
29
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
        </ol>
31
        <ol>
32
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
33
        </ol>
26
</nav>
34
</nav>
27
35
28
<div class="main container-fluid">
36
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt (-11 / +24 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'serials-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Numbering patterns &rsaquo; Serials &rsaquo; Koha</title>
8
<title>Numbering patterns &rsaquo; Serials &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="ser_subscription_numberpatterns" class="ser">
12
<body id="ser_subscription_numberpatterns" class="ser">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'serials-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 45-50 Link Here
45
            </li>
47
            </li>
46
        [% END %]
48
        [% END %]
47
    </ol>
49
    </ol>
50
51
    <ol>
52
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
53
    </ol>
54
55
    <ol>
56
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
57
    </ol>
48
</nav>
58
</nav>
49
59
50
<div class="main container-fluid">
60
<div class="main container-fluid">
Lines 52-67 Link Here
52
        <div class="col-sm-10 col-sm-push-2">
62
        <div class="col-sm-10 col-sm-push-2">
53
            <main>
63
            <main>
54
64
65
      
66
        <div id="toolbar" class="btn-toolbar">
67
          <div>
68
              <a class="pat" id="newnumberpattern" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=new"><i class="fa fa-plus"></i> New numbering pattern</a>
69
          </div>
70
        </div>
71
55
      [% IF (new or modify) %]
72
      [% IF (new or modify) %]
56
          [% IF (new) %]
73
          [% IF (new) %]
57
            <h1>New numbering pattern</h1>
74
            <h2>New numbering pattern</h2>
58
            [% IF (error_existing_numberpattern) %]
75
            [% IF (error_existing_numberpattern) %]
59
              <div class="dialog alert">
76
              <div class="dialog alert">
60
                <p>A pattern with this name already exists.</p>
77
                <p>A pattern with this name already exists.</p>
61
              </div>
78
              </div>
62
            [% END %]
79
            [% END %]
63
          [% ELSE %]
80
          [% ELSE %]
64
            <h1>Modify pattern: [% label | html %]</h1>
81
            <h2>Modify pattern: [% label | html %]</h2>
65
            [% IF (error_existing_numberpattern) %]
82
            [% IF (error_existing_numberpattern) %]
66
              <div class="dialog alert">
83
              <div class="dialog alert">
67
                <p>Another pattern with this name already exists.</p>
84
                <p>Another pattern with this name already exists.</p>
Lines 254-260 Link Here
254
          </form>
271
          </form>
255
272
256
      [% ELSE %]
273
      [% ELSE %]
257
        <h1>Numbering patterns</h1>
274
        <h2>Numbering patterns</h2>
258
        [% IF still_used %]
275
        [% IF still_used %]
259
            <div class="dialog alert">
276
            <div class="dialog alert">
260
                <p>
277
                <p>
Lines 282-291 Link Here
282
            </div>
299
            </div>
283
        [% END %]
300
        [% END %]
284
301
285
        <div id="toolbar" class="btn-toolbar">
286
            <a class="btn btn-default" id="newnumberpattern" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=new"><i class="fa fa-plus"></i> New numbering pattern</a>
287
        </div>
288
289
        [% IF (numberpatterns_loop.size) %]
302
        [% IF (numberpatterns_loop.size) %]
290
          <table id="numberpatternst">
303
          <table id="numberpatternst">
291
            <thead>
304
            <thead>
Lines 305-312 Link Here
305
                  <td>[% numberpattern.numberingmethod | html %]</td>
318
                  <td>[% numberpattern.numberingmethod | html %]</td>
306
                  <td>[% numberpattern.displayorder | html %]</td>
319
                  <td>[% numberpattern.displayorder | html %]</td>
307
                  <td class="actions">
320
                  <td class="actions">
308
                    <a class="btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=modify&id=[% numberpattern.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
321
                    <a class="btn btn-default btn-xs" id="lientype" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=modify&id=[% numberpattern.id | html %]"><i class="fa fa-pencil"></i> Edit</a>
309
                    <a class="delete_pattern btn btn-default btn-xs" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=del&id=[% numberpattern.id | html %]"><i class="fa fa-trash"></i> Delete</a>
322
                    <a class="delete_pattern btn btn-default btn-xs" id="lientype" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=del&id=[% numberpattern.id | html %]"><i class="fa fa-trash"></i> Delete</a>
310
                  </td>
323
                  </td>
311
                </tr>
324
                </tr>
312
              [% END %]
325
              [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/viewalerts.tt (-2 / +11 lines)
Lines 1-10 Link Here
1
2
[% formulaire = BLOCK %]
3
    [% INCLUDE 'serials-search.inc' %]
4
[% END %]
1
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Alert subscribers for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
6
<title>Alert subscribers for [% bibliotitle | html %] &rsaquo; Serials &rsaquo; Koha</title>
3
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
8
</head>
5
<body id="ser_viewalerts" class="ser">
9
<body id="ser_viewalerts" class="ser">
6
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'header.inc' form=formulaire %]
7
[% INCLUDE 'serials-search.inc' %]
8
11
9
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
10
    <ol>
13
    <ol>
Lines 20-25 Link Here
20
            </a>
23
            </a>
21
        </li>
24
        </li>
22
    </ol>
25
    </ol>
26
        <ol>
27
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
28
        </ol>
29
        <ol>
30
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
31
        </ol>
23
</nav>
32
</nav>
24
33
25
<div class="main container-fluid">
34
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-66 / +84 lines)
Lines 7-12 Link Here
7
[% USE Price %]
7
[% USE Price %]
8
[% USE TablesSettings %]
8
[% USE TablesSettings %]
9
[% SET footerjs = 1 %]
9
[% SET footerjs = 1 %]
10
[% formulaire = BLOCK %]
11
    [% INCLUDE 'circ-search.inc' %]
12
[% END %]
10
[% INCLUDE 'doc-head-open.inc' %]
13
[% INCLUDE 'doc-head-open.inc' %]
11
<title>
14
<title>
12
    [% IF op == 'save' %]
15
    [% IF op == 'save' %]
Lines 53-60 Link Here
53
</head>
56
</head>
54
57
55
<body id="acq_suggestion" class="acq">
58
<body id="acq_suggestion" class="acq">
56
    [% INCLUDE 'header.inc' %]
59
    [% INCLUDE 'header.inc' form=formulaire %]
57
    [% INCLUDE 'cat-search.inc' %]
58
60
59
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
61
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
60
        <ol>
62
        <ol>
Lines 102-107 Link Here
102
                </li>
104
                </li>
103
            [% END %]
105
            [% END %]
104
        </ol>
106
        </ol>
107
        <ol>
108
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
109
        </ol>
110
        <ol>
111
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
112
        </ol>
105
    </nav> <!-- /.breadcrumbs -->
113
    </nav> <!-- /.breadcrumbs -->
106
114
107
    [% IF ( op == 'show' ) %]
115
    [% IF ( op == 'show' ) %]
Lines 115-121 Link Here
115
                    </div>
123
                    </div>
116
124
117
                    <fieldset class="rows">
125
                    <fieldset class="rows">
118
                        <legend>Bibliographic information</legend>
126
                        <h3>Bibliographic information</h3>
119
                            <ol>
127
                            <ol>
120
                                [% IF ( title ) %]
128
                                [% IF ( title ) %]
121
                                    <li>
129
                                    <li>
Lines 189-195 Link Here
189
                    </fieldset>
197
                    </fieldset>
190
198
191
                    <fieldset class="rows">
199
                    <fieldset class="rows">
192
                        <legend>Suggestion management</legend>
200
                        <h3>Suggestion management</h3>
193
                        <ol>
201
                        <ol>
194
                            <li>
202
                            <li>
195
                                <span class="label">Status:</span>
203
                                <span class="label">Status:</span>
Lines 283-289 Link Here
283
                    </fieldset>
291
                    </fieldset>
284
292
285
                    <fieldset class="rows">
293
                    <fieldset class="rows">
286
                        <legend>Acquisition information</legend>
294
                        <h3>Acquisition information</h3>
287
                        <ol>
295
                        <ol>
288
                            <li>
296
                            <li>
289
                                <span class="label">Library:</span>
297
                                <span class="label">Library:</span>
Lines 348-361 Link Here
348
                <input type="hidden" name="redirect" id="redirect" value="[% redirect | html %]" />
356
                <input type="hidden" name="redirect" id="redirect" value="[% redirect | html %]" />
349
                <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber | html %]" />
357
                <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber | html %]" />
350
                [% IF ( suggestionid ) %]
358
                [% IF ( suggestionid ) %]
351
                    <h1>Edit purchase suggestion #[% suggestionid | html %]</h1>
359
                    <h2>Edit purchase suggestion #[% suggestionid | html %]</h2>
352
                    <input type="hidden" name="suggestionid" value="[% suggestionid | html %]"/>
360
                    <input type="hidden" name="suggestionid" value="[% suggestionid | html %]"/>
353
                [% ELSE %]
361
                [% ELSE %]
354
                    <h1>Enter a new purchase suggestion</h1>
362
                    <h2>Enter a new purchase suggestion</h2>
355
                [% END %]
363
                [% END %]
356
364
357
                <fieldset class="rows">
365
                <fieldset class="rows">
358
                    <legend>Bibliographic information</legend>
366
                    <h3>Bibliographic information</h3>
359
                    <ol>
367
                    <ol>
360
                        <li>
368
                        <li>
361
                            <label for="title" class="required">Title:</label>
369
                            <label for="title" class="required">Title:</label>
Lines 413-419 Link Here
413
                </fieldset>
421
                </fieldset>
414
422
415
                <fieldset class="rows">
423
                <fieldset class="rows">
416
                    <legend>Suggestion management</legend>
424
                    <h3>Suggestion management</h3>
417
                    <ol>
425
                    <ol>
418
                        [% IF ( suggestionid ) %]
426
                        [% IF ( suggestionid ) %]
419
                            <li>
427
                            <li>
Lines 574-580 Link Here
574
                </fieldset>
582
                </fieldset>
575
583
576
                <fieldset class="rows">
584
                <fieldset class="rows">
577
                    <legend>Acquisition information</legend>
585
                    <h3>Acquisition information</h3>
578
                    <ol>
586
                    <ol>
579
                        <li>
587
                        <li>
580
                            <label for="branchcode">Library:</label>
588
                            <label for="branchcode">Library:</label>
Lines 640-646 Link Here
640
                            <input type="hidden" name="save_confirmed" value="1" />
648
                            <input type="hidden" name="save_confirmed" value="1" />
641
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" type="submit" value="Confirm your suggestion" />
649
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" type="submit" value="Confirm your suggestion" />
642
                        [% ELSE %]
650
                        [% ELSE %]
643
                            <input type="submit" value="Save" />
651
                            <input type="submit" class="principal" value="Save" />
644
                        [% END %]
652
                        [% END %]
645
                        <a class="cancel" href="[% IF ( returnsuggestedby ) %]/cgi-bin/koha/members/moremember.pl?borrowernumber=[% returnsuggestedby | uri %]#suggestions[% ELSE %]suggestion.pl[% END %]">Cancel</a>
653
                        <a class="cancel" href="[% IF ( returnsuggestedby ) %]/cgi-bin/koha/members/moremember.pl?borrowernumber=[% returnsuggestedby | uri %]#suggestions[% ELSE %]suggestion.pl[% END %]">Cancel</a>
646
                    [% ELSE %]
654
                    [% ELSE %]
Lines 648-654 Link Here
648
                            <input type="hidden" name="save_confirmed" value="1" />
656
                            <input type="hidden" name="save_confirmed" value="1" />
649
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" type="submit" value="Confirm your suggestion" />
657
                            <input onclick="this.form.op.value = 'save'; this.form.submit();" type="submit" value="Confirm your suggestion" />
650
                        [% ELSE %]
658
                        [% ELSE %]
651
                            <input type="submit" value="Submit your suggestion" />
659
                            <input type="submit" class="principal" value="Submit your suggestion" />
652
                        [% END %]
660
                        [% END %]
653
                        <a class="cancel" href="suggestion.pl">Cancel</a>
661
                        <a class="cancel" href="suggestion.pl">Cancel</a>
654
                    [% END %]
662
                    [% END %]
Lines 658-667 Link Here
658
666
659
        [% IF op == 'else' %]
667
        [% IF op == 'else' %]
660
            <div id="toolbar" class="btn-toolbar">
668
            <div id="toolbar" class="btn-toolbar">
661
                <a class="btn btn-default" id="newsuggestion" href="suggestion.pl?op=add&branchcode=[% branchcode | uri %]"><i class="fa fa-plus"></i> New purchase suggestion</a>
669
                <div>
670
                    <a class="pat" id="newsuggestion" href="suggestion.pl?op=add&branchcode=[% branchcode | uri %]"><i class="fa fa-plus"></i> New purchase suggestion</a>
671
                </div>
662
            </div>
672
            </div>
663
673
664
            <h1>Suggestions management</h1>
674
            <h2>Suggestions management</h2>
665
675
666
            [% IF ( displayby != "branchcode" ) %]
676
            [% IF ( displayby != "branchcode" ) %]
667
                <label for="branchcode">Viewing suggestions for library:</label>
677
                <label for="branchcode">Viewing suggestions for library:</label>
Lines 686-691 Link Here
686
696
687
            [% UNLESS ( notabs ) %]
697
            [% UNLESS ( notabs ) %]
688
                <div id="suggestiontabs" class="toptabs">
698
                <div id="suggestiontabs" class="toptabs">
699
                <fieldset id="searchresults">
689
                    <ul class="nav nav-tabs" role="tablist">
700
                    <ul class="nav nav-tabs" role="tablist">
690
                        [% FOREACH suggestion IN suggestions %]
701
                        [% FOREACH suggestion IN suggestions %]
691
                            <li role="presentation">
702
                            <li role="presentation">
Lines 725-731 Link Here
725
736
726
                            [% IF suggestion.suggestions.size %]
737
                            [% IF suggestion.suggestions.size %]
727
                                <p>
738
                                <p>
728
                                    <a class="checkall" href="#">Check all</a> | <a class="uncheckall" href="#">Uncheck all</a>
739
                                    <a class="checkall" id="lientype" href="#">Check all</a> | <a class="uncheckall" id="lientype" href="#">Uncheck all</a>
729
                                </p>
740
                                </p>
730
741
731
                                <table id="table_[% loop.count | html %]" class="sorted">
742
                                <table id="table_[% loop.count | html %]" class="sorted">
Lines 846-852 Link Here
846
                                                </td>
857
                                                </td>
847
                                                <td class="actions">
858
                                                <td class="actions">
848
                                                    <div class="btn-group dropup">
859
                                                    <div class="btn-group dropup">
849
                                                        <a class="btn btn-default btn-xs" role="button" href="suggestion.pl?suggestionid=[% s.suggestionid | html %]&amp;op=edit"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle" id="more_actions_[% s.suggestionid | html %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a>
860
                                                        <a class="btn btn-default btn-xs" role="button" id="lientype" href="suggestion.pl?suggestionid=[% s.suggestionid | html %]&amp;op=edit"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle lientype" id="more_actions_[% s.suggestionid | html %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a>
850
                                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="more_actions_[% s.suggestionid | html %]">
861
                                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="more_actions_[% s.suggestionid | html %]">
851
                                                            <li><a class="deletesuggestion" href="suggestion.pl?op=delete&amp;suggestionid=[% s.suggestionid | html %]"><i class="fa fa-trash"></i> Delete</a></li>
862
                                                            <li><a class="deletesuggestion" href="suggestion.pl?op=delete&amp;suggestionid=[% s.suggestionid | html %]"><i class="fa fa-trash"></i> Delete</a></li>
852
                                                            [% UNLESS s.archived %]
863
                                                            [% UNLESS s.archived %]
Lines 924-931 Link Here
924
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
935
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
925
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
936
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
926
                                            <fieldset class="action">
937
                                            <fieldset class="action">
927
                                                <button type="submit" class="btn btn-default btn-xs" value="update_status">Submit</button>
938
                                                <button type="submit" class="btn btn-default btn-xs" id="lientype" value="update_status">Submit</button>
928
                                            </fieldset>
939
                                            </fieldset>
940
                                        <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
941
                                        <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
942
                                        <fieldset class="action">
943
                                            <button type="submit" class="btn btn-default btn-xs" id="lientype" value="update_status">Submit</button>
929
                                        </fieldset>
944
                                        </fieldset>
930
                                    </div> <!-- /.col-sm-4 -->
945
                                    </div> <!-- /.col-sm-4 -->
931
946
Lines 938-944 Link Here
938
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
953
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
939
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
954
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
940
                                            <fieldset class="action">
955
                                            <fieldset class="action">
941
                                                <button type="submit" class="btn btn-default btn-xs" value="update_itemtype">Submit</button>
956
                                                <button type="submit" class="btn btn-default btn-xs" id="lientype" value="update_itemtype">Submit</button>
942
                                            </fieldset>
957
                                            </fieldset>
943
                                        </fieldset>
958
                                        </fieldset>
944
                                    </div> <!-- /.col-sm-4 -->
959
                                    </div> <!-- /.col-sm-4 -->
Lines 952-958 Link Here
952
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
967
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
953
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
968
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
954
                                            <fieldset class="action">
969
                                            <fieldset class="action">
955
                                                <button type="submit" class="btn btn-default btn-xs" value="update_manager">Submit</button>
970
                                                <button type="submit" class="btn btn-default btn-xs" id="lientype" value="update_manager">Submit</button>
956
                                            </fieldset>
971
                                            </fieldset>
957
                                        </fieldset>
972
                                        </fieldset>
958
                                    </div> <!-- /.col-sm-2 -->
973
                                    </div> <!-- /.col-sm-2 -->
Lines 963-969 Link Here
963
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
978
                                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
964
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
979
                                            <input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
965
                                            <fieldset class="action">
980
                                            <fieldset class="action">
966
                                                <button type="submit" class="btn btn-default btn-xs" value="delete">Delete</button>
981
                                                <button type="submit" class="btn btn-default btn-xs" id="lientype" value="delete">Delete</button>
967
                                            </fieldset>
982
                                            </fieldset>
968
                                        </fieldset>
983
                                        </fieldset>
969
                                    </div> <!-- /.col-sm-2 -->
984
                                    </div> <!-- /.col-sm-2 -->
Lines 977-982 Link Here
977
                [% END # /FOREACH suggestion %]
992
                [% END # /FOREACH suggestion %]
978
            [% UNLESS ( notabs ) %]
993
            [% UNLESS ( notabs ) %]
979
                    </div> <!-- /.tab-content -->
994
                    </div> <!-- /.tab-content -->
995
            </fieldset>
980
                </div> <!-- /.notabs -->
996
                </div> <!-- /.notabs -->
981
            [% END # /UNLESS notabs %]
997
            [% END # /UNLESS notabs %]
982
        [% END # /IF op == 'else' %]
998
        [% END # /IF op == 'else' %]
Lines 987-998 Link Here
987
1003
988
                <div class="col-sm-2 col-sm-pull-10">
1004
                <div class="col-sm-2 col-sm-pull-10">
989
                    <aside>
1005
                    <aside>
1006
                    <div id="filters">
990
                        <form name="suggestionfilter" action="suggestion.pl" method="get">
1007
                        <form name="suggestionfilter" action="suggestion.pl" method="get">
991
                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
1008
                            <input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
992
                            <fieldset class="brief">
1009
                            <fieldset class="brief">
993
                                <ol style="display:block;">
1010
                                <ol style="display:block;">
994
                                    <li>
1011
                                    <li>
995
                                        <label for="displayby">Organize by: </label>
1012
                                        <label for="displayby">Organize by: 
996
                                        <select name="displayby" id="displayby" style="width:auto;">
1013
                                        <select name="displayby" id="displayby" style="width:auto;">
997
                                            [% IF ( displayby == "STATUS" ) %]
1014
                                            [% IF ( displayby == "STATUS" ) %]
998
                                                <option value="STATUS" selected="selected">Status</option>
1015
                                                <option value="STATUS" selected="selected">Status</option>
Lines 1019-1076 Link Here
1019
                                            [% ELSE %]
1036
                                            [% ELSE %]
1020
                                                <option value="acceptedby">Accepted by</option>
1037
                                                <option value="acceptedby">Accepted by</option>
1021
                                            [% END %]
1038
                                            [% END %]
1022
                                        </select>
1039
                                        </select></label>
1023
                                        <input type="submit" value="Go" />
1040
                                        <input class="principal" type="submit" value="Go" />
1024
                                    </li>
1041
                                    </li>
1025
                                </ol>
1042
                                </ol>
1026
                            </fieldset> <!-- /.brief -->
1043
                            </fieldset> <!-- /.brief -->
1027
1044
1028
                            <h4>Filter by: <a style="font-size:80%;font-weight:normal;" href="/cgi-bin/koha/suggestion/suggestion.pl">[clear]</a></h4>
1045
                            <h4>Filter by: <a id="lientype" style="font-size:80%;font-weight:normal;" href="/cgi-bin/koha/suggestion/suggestion.pl">[clear]</a></h4>
1029
1046
1030
                            <div id="limits">
1047
                            <div id="limits">
1031
                                <fieldset class="brief">
1048
                                <fieldset class="brief">
1032
                                    <h4 class="local_collapse"><a href="#">Bibliographic information</a></h4>
1049
                                    <h4 class="local_collapse"><a href="#">Bibliographic information <span class="caret"></span></a></h4>
1033
                                    <ol>
1050
                                    <ol>
1034
                                        <li>
1051
                                        <li>
1035
                                            <label for="title"> Title:</label>
1052
                                            <p for="title"> Title:
1036
                                            <input type="text" id="title" name="title" value="[% title | html %]" />
1053
                                            <input type="text" id="title" name="title" value="[% title | html %]" /></p>
1037
                                        </li>
1054
                                        </li>
1038
                                        <li>
1055
                                        <li>
1039
                                            <label for="author"> Author:</label>
1056
                                            <p for="author"> Author:
1040
                                            <input type="text" id="author" name="author" value="[% author | html %]" />
1057
                                            <input type="text" id="author" name="author" value="[% author | html %]" /></p>
1041
                                        </li>
1058
                                        </li>
1042
                                        <li>
1059
                                        <li>
1043
                                            <label for="isbn"> ISBN:</label>
1060
                                            <p for="isbn"> ISBN:
1044
                                            <input type="text" id="isbn"  name="isbn" value="[% isbn | html %]" />
1061
                                            <input type="text" id="isbn"  name="isbn" value="[% isbn | html %]" /></p>
1045
                                        </li>
1062
                                        </li>
1046
                                        <li>
1063
                                        <li>
1047
                                            <label for="publishercode"> Publisher:</label>
1064
                                            <p for="publishercode"> Publisher:
1048
                                            <input type="text" id="publishercode" name="publishercode" value="[% publishercode | html %]" />
1065
                                            <input type="text" id="publishercode" name="publishercode" value="[% publishercode | html %]" /></p>
1049
                                        </li>
1066
                                        </li>
1050
                                        <li>
1067
                                        <li>
1051
                                            <label for="copyrightdate_filter"> Copyright date:</label>
1068
                                            <p for="copyrightdate_filter"> Copyright date:
1052
                                            <input type="text" id="copyrightdate_filter" name="copyrightdate" value="[% copyrightdate | html %]" />
1069
                                            <input type="text" id="copyrightdate_filter" name="copyrightdate" value="[% copyrightdate | html %]" /></p>
1053
                                        </li>
1070
                                        </li>
1054
                                        <li>
1071
                                        <li>
1055
                                            <label for="collectiontitle"> Collection title:</label>
1072
                                            <p for="collectiontitle"> Collection title:
1056
                                            <input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle | html %]" /></li><li><input type="submit" value="Go" />
1073
                                            <input type="text" id="collectiontitle" name="collectiontitle" value="[% collectiontitle | html %]" /></li><li><input class="principal" type="submit" value="Go" />
1057
                                        </li>
1074
                                        </p></li>
1058
                                    </ol>
1075
                                    </ol>
1059
                                </fieldset> <!-- /.brief -->
1076
                                </fieldset> <!-- /.brief -->
1060
1077
1061
                                <fieldset class="brief">
1078
                                <fieldset class="brief">
1062
                                    <h4 class="local_collapse"><a href="#">Suggestion information</a></h4>
1079
                                    <h4 class="local_collapse"><a href="#">Suggestion information <span class="caret"></span></a></h4>
1063
                                    <ol>
1080
                                    <ol>
1064
                                        <li>
1081
                                        <li>
1065
                                            <label for="archived" style="display: inline;">Include archived:</label>
1082
                                            <label for="archived" style="display: inline;">Include archived:
1066
                                            [% IF filter_archived %]
1083
                                            [% IF filter_archived %]
1067
                                                <input type="checkbox" id="archived" value="1" name="filter_archived" checked="checked" title="Include archived suggestions in the search" />
1084
                                                <input type="checkbox" id="archived" value="1" name="filter_archived" checked="checked" title="Include archived suggestions in the search" />
1068
                                            [% ELSE %]
1085
                                            [% ELSE %]
1069
                                                <input type="checkbox" id="archived" value="1" name="filter_archived" title="Include archived suggestions in the search" />
1086
                                                <input type="checkbox" id="archived" value="1" name="filter_archived" title="Include archived suggestions in the search" />
1070
                                            [% END %]
1087
                                            [% END %]
1088
                                            </label>
1071
                                        </li>
1089
                                        </li>
1072
                                        <li>
1090
                                        <li>
1073
                                            <label for="STATUS[% loop.index | html %]"> Status:</label>
1091
                                            <p for="STATUS[% loop.index | html %]"> Status:
1074
                                            <select name="STATUS" id="STATUS[% loop.index | html %]">
1092
                                            <select name="STATUS" id="STATUS[% loop.index | html %]">
1075
                                                <option value="">Any</option>
1093
                                                <option value="">Any</option>
1076
                                                [% IF (statusselected_ASKED ) %]
1094
                                                [% IF (statusselected_ASKED ) %]
Lines 1110-1120 Link Here
1110
                                                        <option value="[% s.authorised_value | html %]">[% s.lib | html %]</option>
1128
                                                        <option value="[% s.authorised_value | html %]">[% s.lib | html %]</option>
1111
                                                    [% END %]
1129
                                                    [% END %]
1112
                                                [% END %]
1130
                                                [% END %]
1113
                                            </select>
1131
                                            </select></p>
1114
                                        </li>
1132
                                        </li>
1115
1133
1116
                                        <li>
1134
                                        <li>
1117
                                            <label for="suggestedby"> Suggested by:</label>
1135
                                            <p for="suggestedby"> Suggested by:
1118
                                            <select id="suggestedby" name="suggestedby">
1136
                                            <select id="suggestedby" name="suggestedby">
1119
                                                <option value="">Any</option>
1137
                                                <option value="">Any</option>
1120
                                                [% FOREACH suggestedby_loo IN suggestedby_loop %]
1138
                                                [% FOREACH suggestedby_loo IN suggestedby_loop %]
Lines 1124-1141 Link Here
1124
                                                        <option value="[% suggestedby_loo.code | html %]">[% suggestedby_loo.desc | html %]</option>
1142
                                                        <option value="[% suggestedby_loo.code | html %]">[% suggestedby_loo.desc | html %]</option>
1125
                                                    [% END %]
1143
                                                    [% END %]
1126
                                                [% END %]
1144
                                                [% END %]
1127
                                            </select>
1145
                                            </select></p>
1128
                                        </li>
1146
                                        </li>
1129
                                        <li>
1147
                                        <li>
1130
                                            <label for="suggesteddate_from">Suggested date from:</label>
1148
                                            <p for="suggesteddate_from">Suggested date from:
1131
                                            <input type="text" id="suggesteddate_from" size="10" name="suggesteddate_from" value="[% suggesteddate_from | html %]" data-date_to="suggesteddate_to" class="flatpickr" />
1149
                                            <input type="text" id="suggesteddate_from" size="10" name="suggesteddate_from" value="[% suggesteddate_from | html %]" data-date_to="suggesteddate_to" class="flatpickr" />
1132
                                        </li>
1150
                                        </p></li>
1133
                                        <li>
1151
                                        <li>
1134
                                            <label for="suggesteddate_to">To:</label>
1152
                                            <p for="suggesteddate_to">To:
1135
                                            <input type="text" id="suggesteddate_to" size="10" name="suggesteddate_to" value="[% suggesteddate_to | html %]" class="flatpickr" />
1153
                                            <input type="text" id="suggesteddate_to" size="10" name="suggesteddate_to" value="[% suggesteddate_to | html %]" class="flatpickr" />
1136
                                        </li>
1154
                                        </p></li>
1137
                                        <li>
1155
                                        <li>
1138
                                            <label for="managedby"> Managed by:</label>
1156
                                            <p for="managedby"> Managed by:
1139
                                            <select id="managedby" name="managedby">
1157
                                            <select id="managedby" name="managedby">
1140
                                                <option value="">Any</option>
1158
                                                <option value="">Any</option>
1141
                                                [% FOREACH managedby_loo IN managedby_loop %]
1159
                                                [% FOREACH managedby_loo IN managedby_loop %]
Lines 1145-1162 Link Here
1145
                                                        <option value="[% managedby_loo.code | html %]">[% managedby_loo.desc | html %]</option>
1163
                                                        <option value="[% managedby_loo.code | html %]">[% managedby_loo.desc | html %]</option>
1146
                                                    [% END %]
1164
                                                    [% END %]
1147
                                                [% END %]
1165
                                                [% END %]
1148
                                            </select>
1166
                                            </select></p>
1149
                                        </li>
1167
                                        </li>
1150
                                        <li>
1168
                                        <li>
1151
                                            <label for="manageddate_from">Management date from:</label>
1169
                                            <p for="manageddate_from">Management date from:
1152
                                            <input type="text" id="manageddate_from" size="10" name="manageddate_from" value="[% manageddate_from | html %]" data-date_to="manageddate_to" class="flatpickr" />
1170
                                            <input type="text" id="manageddate_from" size="10" name="manageddate_from" value="[% manageddate_from | html %]" data-date_to="manageddate_to" class="flatpickr" />
1153
                                        </li>
1171
                                        </p></li>
1154
                                        <li>
1172
                                        <li>
1155
                                            <label for="manageddate_to">To:</label>
1173
                                            <p for="manageddate_to">To:
1156
                                            <input type="text" id="manageddate_to" size="10" name="manageddate_to" value="[% manageddate_to | html %]" class="flatpickr" />
1174
                                            <input type="text" id="manageddate_to" size="10" name="manageddate_to" value="[% manageddate_to | html %]" class="flatpickr" />
1157
                                        </li>
1175
                                        </p></li>
1158
                                        <li>
1176
                                        <li>
1159
                                            <label for="acceptedby"> Accepted by:</label>
1177
                                            <p for="acceptedby"> Accepted by:
1160
                                            <select id="acceptedby" name="acceptedby">
1178
                                            <select id="acceptedby" name="acceptedby">
1161
                                                <option value="">Any</option>
1179
                                                <option value="">Any</option>
1162
                                                [% FOREACH acceptedby_loo IN acceptedby_loop %]
1180
                                                [% FOREACH acceptedby_loo IN acceptedby_loop %]
Lines 1167-1194 Link Here
1167
                                                    [% END %]
1185
                                                    [% END %]
1168
                                                [% END %]
1186
                                                [% END %]
1169
                                            </select>
1187
                                            </select>
1170
                                        </li>
1188
                                        </p></li>
1171
                                        <li>
1189
                                        <li>
1172
                                            <label for="accepteddate_from">Accepted date from:</label>
1190
                                            <p for="accepteddate_from">Accepted date from:
1173
                                            <input type="text" id="accepteddate_from" size="10" name="accepteddate_from" value="[% accepteddate_from | html %]" data-date_to="accepteddate_to" class="flatpickr" />
1191
                                            <input type="text" id="accepteddate_from" size="10" name="accepteddate_from" value="[% accepteddate_from | html %]" data-date_to="accepteddate_to" class="flatpickr" />
1174
                                        </li>
1192
                                        </p></li>
1175
                                        <li>
1193
                                        <li>
1176
                                            <label for="accepteddate_to">To:</label>
1194
                                            <p for="accepteddate_to">To:
1177
                                            <input type="text" id="accepteddate_to" size="10" name="accepteddate_to" value="[% accepteddate_to | html %]" class="flatpickr" />
1195
                                            <input type="text" id="accepteddate_to" size="10" name="accepteddate_to" value="[% accepteddate_to | html %]" class="flatpickr" />
1178
                                        </li>
1196
                                        </p></li>
1179
                                        <li>
1197
                                        <li>
1180
                                            <input type="submit" value="Go" />
1198
                                            <input class="principal" type="submit" value="Go" />
1181
                                        </li>
1199
                                        </li>
1182
                                    </ol>
1200
                                    </ol>
1183
                                </fieldset>
1201
                                </fieldset>
1184
1202
1185
                                <fieldset class="brief">
1203
                                <fieldset class="brief">
1186
                                    <h4 class="local_collapse">
1204
                                    <h4 class="local_collapse">
1187
                                        <a href="#">Acquisition information</a>
1205
                                        <a href="#">Acquisition information <span class="caret"></span></a>
1188
                                    </h4>
1206
                                    </h4>
1189
                                    <ol>
1207
                                    <ol>
1190
                                        <li>
1208
                                        <li>
1191
                                            <label for="budgetid"> Book fund:</label>
1209
                                            <p for="budgetid"> Book fund:
1192
                                            <select name="budgetid" id="budgetid">
1210
                                            <select name="budgetid" id="budgetid">
1193
                                                <option value="__ANY__">Any</option>
1211
                                                <option value="__ANY__">Any</option>
1194
                                                [% IF budgetid == '__NONE__' %]
1212
                                                [% IF budgetid == '__NONE__' %]
Lines 1203-1212 Link Here
1203
                                                        <option value="[% budgetsloo.budget_id | html %]">[% budgetsloo.budget_name | html %]</option>
1221
                                                        <option value="[% budgetsloo.budget_id | html %]">[% budgetsloo.budget_name | html %]</option>
1204
                                                    [% END %]
1222
                                                    [% END %]
1205
                                                [% END %]
1223
                                                [% END %]
1206
                                            </select>
1224
                                            </select></p>
1207
                                        </li>
1225
                                        </li>
1208
                                        <li>
1226
                                        <li>
1209
                                            <input type="submit" value="Go" />
1227
                                            <input class="principal" type="submit" value="Go" />
1210
                                        </li>
1228
                                        </li>
1211
                                    </ol>
1229
                                    </ol>
1212
                                </fieldset>
1230
                                </fieldset>
Lines 1214-1220 Link Here
1214
                        </form> <!-- /suggestionsfilter -->
1232
                        </form> <!-- /suggestionsfilter -->
1215
1233
1216
                        [% INCLUDE 'acquisitions-menu.inc' %]
1234
                        [% INCLUDE 'acquisitions-menu.inc' %]
1217
1235
                    </div>
1218
                    </aside>
1236
                    </aside>
1219
                </div> <!-- /.col-sm-2.col-sm-pull-10 -->
1237
                </div> <!-- /.col-sm-2.col-sm-pull-10 -->
1220
            [% END # /UNLESS ( op == 'show' ) %]
1238
            [% END # /UNLESS ( op == 'show' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt (-3 / +11 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( do_it ) %]Review[% ELSE %]Review tags[% END %] &rsaquo; Tags &rsaquo; Tools &rsaquo; Koha</title>
9
<title>[% IF ( do_it ) %]Review[% ELSE %]Review tags[% END %] &rsaquo; Tags &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 10-17 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
10
</head>
13
</head>
11
14
12
<body id="tags_list" class="tools">
15
<body id="tags_list" class="tools">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'cat-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 28-34 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
28
            <a href="#" aria-current="page">
30
            <a href="#" aria-current="page">
29
                Results for tag <em>[% tag | html %]</em>
31
                Results for tag <em>[% tag | html %]</em>
30
            </a>
32
            </a>
31
        </li>
33
        </li
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>>
32
    </ol>
40
    </ol>
33
</nav>
41
</nav>
34
42
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-13 / +23 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( do_it ) %]Review[% ELSE %]Review tags[% END %] &rsaquo; Tags &rsaquo; Tools &rsaquo; Koha</title>
9
<title>[% IF ( do_it ) %]Review[% ELSE %]Review tags[% END %] &rsaquo; Tags &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 15-22 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
15
</head>
18
</head>
16
19
17
<body id="tags_review" class="tools">
20
<body id="tags_review" class="tools">
18
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'header.inc' form=formulaire %]
19
[% INCLUDE 'cat-search.inc' %]
20
22
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <ol>
24
    <ol>
Lines 32-37 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
32
            </a>
34
            </a>
33
        </li>
35
        </li>
34
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
</nav>
43
</nav>
36
44
37
<div class="main container-fluid">
45
<div class="main container-fluid">
Lines 41-47 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
41
49
42
<div class="row">
50
<div class="row">
43
<div class="col-sm-8 col-sm-push-2">
51
<div class="col-sm-8 col-sm-push-2">
44
<h1>Tags</h1>
52
<h2>Tags</h2>
45
<form method="post" action="/cgi-bin/koha/tags/review.pl">
53
<form method="post" action="/cgi-bin/koha/tags/review.pl">
46
    <h4><span>Displaying</span>
54
    <h4><span>Displaying</span>
47
    [% IF ( filter_approved_all ) %]<span>all</span>[% END %]
55
    [% IF ( filter_approved_all ) %]<span>all</span>[% END %]
Lines 191-197 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
191
   <div class="description">Enter a word or phrase to check against approved/rejected lists: </div>
199
   <div class="description">Enter a word or phrase to check against approved/rejected lists: </div>
192
   <form method="post" action="/cgi-bin/koha/tags/review.pl">
200
   <form method="post" action="/cgi-bin/koha/tags/review.pl">
193
   <input type="text" size="14" name="test" id="test" />
201
   <input type="text" size="14" name="test" id="test" />
194
   <fieldset class="action"><button type="submit" value="Test" class="approval_btn btn btn-default btn-sm" id="test_button" name="op-test"><i class="fa fa-check-square-o" aria-hidden="true"></i> Test</button></fieldset>
202
   <fieldset class="action"><button type="submit" value="Test" class="approval_btn btn btn-default btn-sm principal" id="test_button" name="op-test"><i class="fa fa-check-square-o" aria-hidden="true"></i> Test</button></fieldset>
195
   <div id="verdict">
203
   <div id="verdict">
196
    [% IF ( test_term ) %]
204
    [% IF ( test_term ) %]
197
    [% IF ( verdict_ok ) %]
205
    [% IF ( verdict_ok ) %]
Lines 209-221 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
209
</div>
217
</div>
210
<div class="col-sm-2 col-sm-pull-10">
218
<div class="col-sm-2 col-sm-pull-10">
211
    <aside>
219
    <aside>
220
    <div id="filters">
212
<form method="post" action="/cgi-bin/koha/tags/review.pl">
221
<form method="post" action="/cgi-bin/koha/tags/review.pl">
213
<fieldset class="brief">
222
<fieldset class="brief">
214
  <h4>Filters</h4>
223
  <h4>Filters</h4>
215
	<ol>
224
	<ol>
216
	    <li><label for="tag">Term:</label> <input type="text" name="tag" id="tag" value="[% filter_tag | html %]" />
225
	    <li><p for="tag">Term:<input type="text" name="tag" id="tag" value="[% filter_tag | html %]" /></p>
217
	    </li>
226
	    </li>
218
	    <li><label for="approved">Status:</label>
227
	    <li><p for="approved">Status:
219
            <select name="approved" id="approved">
228
            <select name="approved" id="approved">
220
            [% IF ( filter_approved_all ) %]<option selected="selected" value="all">all</option>
229
            [% IF ( filter_approved_all ) %]<option selected="selected" value="all">all</option>
221
            [% ELSE %]<option value="all">all</option>[% END %]
230
            [% ELSE %]<option value="all">all</option>[% END %]
Lines 225-247 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
225
            [% ELSE %]<option value="0">pending</option>[% END %]
234
            [% ELSE %]<option value="0">pending</option>[% END %]
226
            [% IF ( filter_approved_rej ) %]<option selected="selected" value="-1">rejected</option>
235
            [% IF ( filter_approved_rej ) %]<option selected="selected" value="-1">rejected</option>
227
            [% ELSE %]<option value="-1">rejected</option>[% END %]
236
            [% ELSE %]<option value="-1">rejected</option>[% END %]
228
			</select>
237
			</select></p>
229
	    </li>
238
	    </li>
230
	    <li><label for="approver">Reviewer:</label> <input type="text" name="approver" id="approver" value="[% filter_approver | html %]" />
239
	    <li><p for="approver">Reviewer: <input type="text" name="approver" id="approver" value="[% filter_approver | html %]" /></p>
231
	    </li>
240
	    </li>
232
	    <li>
241
	    <li>
233
			<label for="from">Date: from </label>
242
			<p for="from">Date: from
234
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" />
243
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" />
235
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
244
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
236
245
237
			<label for="to">...to </label>
246
			<p for="to">...to
238
            <input type="text" size="10" id="to" name="to" value="[% filter_date_approved_to | html %]" class="flatpickr" />
247
            <input type="text" size="10" id="to" name="to" value="[% filter_date_approved_to | html %]" class="flatpickr" />
239
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
248
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
240
	    </li>
249
	    </li>
241
  </ol>
250
  </ol>
242
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
251
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm principal"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
243
</fieldset>
252
</fieldset>
244
</form>
253
</form>
254
</div>
245
</aside>
255
</aside>
246
</div>
256
</div>
247
</div>
257
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt (-3 / +11 lines)
Lines 2-14 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Access files</title>
9
<title>Access files</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
11
</head>
9
<body id="tools_access_files" class="tools">
12
<body id="tools_access_files" class="tools">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'cat-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
Lines 31-37 Link Here
31
        <div class="col-sm-10 col-sm-push-2">
39
        <div class="col-sm-10 col-sm-push-2">
32
            <main>
40
            <main>
33
41
34
    <h1>Access files</h1>
42
    <h2>Access files</h2>
35
43
36
[% IF ( error_no_dir ) %]
44
[% IF ( error_no_dir ) %]
37
    <div class="dialog alert"><strong>Error: </strong>Files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.</div>
45
    <div class="dialog alert"><strong>Error: </strong>Files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-49 / +68 lines)
Lines 4-9 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Additional contents &rsaquo; Tools &rsaquo; Koha</title>
11
<title>Additional contents &rsaquo; Tools &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 28-35 Link Here
28
</head>
31
</head>
29
32
30
<body id="tools_additional-contents" class="tools">
33
<body id="tools_additional-contents" class="tools">
31
[% INCLUDE 'header.inc' %]
34
[% INCLUDE 'header.inc' form=formulaire %]
32
[% INCLUDE 'cat-search.inc' %]
33
35
34
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
36
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
35
    <ol>
37
    <ol>
Lines 71-76 Link Here
71
        [% END %]
73
        [% END %]
72
74
73
    </ol>
75
    </ol>
76
        <ol>
77
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
78
        </ol>
79
        <ol>
80
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
81
        </ol>
74
</nav>
82
</nav>
75
83
76
[% IF op == 'add_form' %]
84
[% IF op == 'add_form' %]
Lines 119-160 Link Here
119
127
120
            <div class="col-sm-2 col-sm-pull-10">
128
            <div class="col-sm-2 col-sm-pull-10">
121
                <aside>
129
                <aside>
122
130
                    <div id="filters">
123
                    <div id="news-filter">
124
                        <form action="/cgi-bin/koha/tools/additional-contents.pl" method="get">
131
                        <form action="/cgi-bin/koha/tools/additional-contents.pl" method="get">
125
                            <h4>Filter</h4>
126
                            <fieldset class="brief">
132
                            <fieldset class="brief">
127
                                <ol>
133
                                <h4>Filter</h4>
128
                                    <li>
134
129
                                        <label for="news_keyword">Keyword:</label>
135
                                <fieldset>
130
                                        <input type="text" name="news_keyword" id="news_keyword" />
136
                                    <ol>
131
                                    </li>
137
                                        <li>
132
                                    <li>
138
                                            <p for="news_keyword">Keyword:
133
                                        <label for="news_display_location">Display location:</label>
139
                                            <input type="text" name="news_keyword" id="news_keyword" /></p>
134
                                        <select name="news_display_location" id="news_display_location">
140
                                        </li>
135
                                            <option value="">All</option>
141
                                        <li>
136
                                            [% PROCESS locations_options category => category %]
142
                                            <p for="news_display_location">Display location:
137
                                        </select>
143
                                            <select name="news_display_location" id="news_display_location">
138
                                    </li>
144
                                                <option value="">All</option>
139
                                    <li>
145
                                                [% PROCESS locations_options category => category %]
140
                                        <label for="news_library">Library: </label>
146
                                            </select></p>
141
                                        <select id="news_library" name="news_library">
147
                                        </li>
142
                                            <option value=""></option>
148
                                        <li>
143
                                            <option value="">All libraries</option>
149
                                            <p for="news_library">Library: 
144
                                            [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
150
                                            <select id="news_library" name="news_library">
145
                                        </select>
151
                                                <option value=""></option>
146
                                    </li>
152
                                                <option value="">All libraries</option>
147
                                    <li>
153
                                                [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
148
                                        <label>
154
                                            </select></p>
149
                                            <input type="checkbox" name="show_expired" id="show_expired" /> Show expired
155
                                        </li>
150
                                        </label>
156
                                        <li>
151
                                    </li>
157
                                            <p>
152
                                </ol>
158
                                                <input type="checkbox" name="show_expired" id="show_expired" /> Show expired
159
                                            </p>
160
                                        </li>
161
                                    </ol>
162
                                </fieldset>
153
                            </fieldset>
163
                            </fieldset>
154
                        </form>
164
                        </form>
155
                    </div>
156
165
157
                    [% INCLUDE 'tools-menu.inc' %]
166
                        [% INCLUDE 'tools-menu.inc' %]
167
                    </div>
158
                </aside>
168
                </aside>
159
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
169
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
160
        [% END %]
170
        [% END %]
Lines 163-176 Link Here
163
173
164
[% BLOCK add_form %]
174
[% BLOCK add_form %]
165
    [% IF additional_content %]
175
    [% IF additional_content %]
166
        <h1>Modify an additional content</h1>
176
        <h2>Modify an additional content</h2>
167
    [% ELSE %]
177
    [% ELSE %]
168
        <h1>New additional content ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])</h1>
178
        <h2>New additional content ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])</h2>
169
    [% END %]
179
    [% END %]
170
180
171
    <div id="toolbar" class="btn-toolbar">
181
    <div id="toolbar" class="btn-toolbar">
172
        <div class="btn-group">
182
        <div class="btn-group">
173
            <button class="btn btn-default" id="submit_form"><i class="fa fa-save"></i> Save</button>
183
            <button class="btn btn-default principal" id="submit_form"><i class="fa fa-save"></i> Save</button>
174
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
184
            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
175
            <span class="caret"></span>
185
            <span class="caret"></span>
176
            </button>
186
            </button>
Lines 179-188 Link Here
179
            </ul>
189
            </ul>
180
        </div>
190
        </div>
181
        [% IF category == 'news' %]
191
        [% IF category == 'news' %]
182
            <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/additional-contents.pl"><i class="fa fa-remove"></i> Cancel</a>
192
            <a class="cancel" href="/cgi-bin/koha/tools/additional-contents.pl"><i class="fa fa-remove"></i> Cancel</a>
183
        [% ELSE %]
193
        [% ELSE %]
184
            <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations"><i class="fa fa-remove"></i> Cancel</a>
194
            <a class="cancel" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations"><i class="fa fa-remove"></i> Cancel</a>
185
        [% END %]
195
        [% END %]
196
        </div>
186
    </div>
197
    </div>
187
198
188
    <form id="add_additional_content" method="post" action="/cgi-bin/koha/tools/additional-contents.pl" class="validate">
199
    <form id="add_additional_content" method="post" action="/cgi-bin/koha/tools/additional-contents.pl" class="validate">
Lines 249-255 Link Here
249
        </fieldset>
260
        </fieldset>
250
261
251
        [% IF languages.size %]
262
        [% IF languages.size %]
263
            <div id="searchresults">
252
            <div id="tabs" class="toptabs">
264
            <div id="tabs" class="toptabs">
265
            <fieldset id="searchresults">
253
                <ul class="nav nav-tabs" role="tablist">
266
                <ul class="nav nav-tabs" role="tablist">
254
                    [% FOR language IN languages %]
267
                    [% FOR language IN languages %]
255
                        [% IF language.lang == 'default' %]
268
                        [% IF language.lang == 'default' %]
Lines 262-268 Link Here
262
                <div class="tab-content">
275
                <div class="tab-content">
263
                    [% FOR language IN languages %]
276
                    [% FOR language IN languages %]
264
                        <div id="lang_[% language.lang | uri %]" class="lang clearfix tab-pane" data-lang="[% language.description | html %]">
277
                        <div id="lang_[% language.lang | uri %]" class="lang clearfix tab-pane" data-lang="[% language.description | html %]">
265
                            <fieldset class="rows">
278
                            <fieldset>
266
                                <ol>
279
                                <ol>
267
                                    <li>
280
                                    <li>
268
                                        <label for="title_[% language.lang | html %]">Title: </label>
281
                                        <label for="title_[% language.lang | html %]">Title: </label>
Lines 278-283 Link Here
278
                        </div>
291
                        </div>
279
                    [% END %]
292
                    [% END %]
280
                </div> <!-- /.tab-content -->
293
                </div> <!-- /.tab-content -->
294
            </fieldset>
281
            </div>
295
            </div>
282
        [% ELSE %]
296
        [% ELSE %]
283
            <div id="lang_default">
297
            <div id="lang_default">
Lines 285-290 Link Here
285
                    <textarea name="content" id="content_default" data-lang="[% language.lang | html %]"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
299
                    <textarea name="content" id="content_default" data-lang="[% language.lang | html %]"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
286
                </div>
300
                </div>
287
            </div>
301
            </div>
302
            </div>
288
        [% END %]
303
        [% END %]
289
    </form>
304
    </form>
290
[% END %]
305
[% END %]
Lines 293-299 Link Here
293
308
294
    <div id="toolbar" class="btn-toolbar">
309
    <div id="toolbar" class="btn-toolbar">
295
        <div class="btn-group">
310
        <div class="btn-group">
296
            <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=[% editmode | uri %]" class="btn btn-default" id="newentry"> <i class="fa fa-plus"></i> New entry</a><button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
311
            <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=[% editmode | uri %]" class="pat" id="newentry"> <i class="fa fa-plus"></i> New entry</a>
312
            <button class="pat fleche dropdown-toggle" data-toggle="dropdown">
297
                <span class="caret"></span>
313
                <span class="caret"></span>
298
            </button>
314
            </button>
299
            <ul class="dropdown-menu pull-right">
315
            <ul class="dropdown-menu pull-right">
Lines 310-325 Link Here
310
326
311
    <h2>Additional contents ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])</h2>
327
    <h2>Additional contents ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])</h2>
312
    [% IF category == 'news' %]
328
    [% IF category == 'news' %]
313
        See <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
329
        See <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations" id="lientype">HTML customizations</a>
314
    [% ELSE %]
330
    [% ELSE %]
315
        See <a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a>
331
        See <a href="/cgi-bin/koha/tools/additional-contents.pl?category=news" id="lientype">News</a>
316
    [% END %]
332
    [% END %]
317
    [% IF ( CAN_user_parameters_manage_sysprefs ) %]
333
    [% IF ( CAN_user_parameters_manage_sysprefs ) %]
318
        <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS'>OPACUserJS</a>
334
        <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS' id="lientype">OPACUserJS</a>
319
        <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS'>OPACUserCSS</a>
335
        <a class="syspref-link" href='/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS' id="lientype">OPACUserCSS</a>
320
    [% END %]
336
    [% END %]
321
337
322
    [% IF additional_contents.count %]
338
    [% IF additional_contents.count %]
339
    <div id="searchresults">
323
        <form id="del_form" method="post" action="/cgi-bin/koha/tools/additional-contents.pl">
340
        <form id="del_form" method="post" action="/cgi-bin/koha/tools/additional-contents.pl">
324
            <table id="table_additional_contents">
341
            <table id="table_additional_contents">
325
                <thead>
342
                <thead>
Lines 367-373 Link Here
367
                        <td>[% IF ( c.author) %][% INCLUDE 'patron-title.inc' patron=c.author %][% END %]</td>
384
                        <td>[% IF ( c.author) %][% INCLUDE 'patron-title.inc' patron=c.author %][% END %]</td>
368
                        <td>
385
                        <td>
369
                            <div class="btn-group">
386
                            <div class="btn-group">
370
                                <a class="preview_news btn btn-default btn-xs" data-number="[% loop.count | html %]"><i class="fa fa-eye" aria-hidden="true"></i> Preview content</a>
387
                                <a class="preview_news btn btn-default btn-xs" data-number="[% loop.count | html %]" id="lientype"><i class="fa fa-eye" aria-hidden="true"></i> Preview content</a>
371
                            </div>
388
                            </div>
372
                            <div id="contentModal[% loop.count | html %]" class="modal" tabindex="-1" role="dialog" data-number="[% loop.count | html %]">
389
                            <div id="contentModal[% loop.count | html %]" class="modal" tabindex="-1" role="dialog" data-number="[% loop.count | html %]">
373
                                <div class="modal-dialog" role="document">
390
                                <div class="modal-dialog" role="document">
Lines 379-392 Link Here
379
                                        [% c.content | $raw %]
396
                                        [% c.content | $raw %]
380
                                    </div>
397
                                    </div>
381
                                    <div class="modal-footer">
398
                                    <div class="modal-footer">
382
                                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
399
                                        <button type="button" class="btn btn-secondary cancel" data-dismiss="modal">Close</button>
383
                                    </div>
400
                                    </div>
384
                                </div>
401
                                </div>
385
                            </div>
402
                            </div>
386
                        </td>
403
                        </td>
387
                        <td class="actions">
404
                        <td class="actions">
388
                            <div class="btn-group dropup">
405
                            <div class="btn-group dropup">
389
                                <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&amp;id=[% c.idnew | uri %]&editmode=[% editmode | uri %]" class="btn btn-default btn-xs"> <i class="fa fa-pencil"></i> Edit</a><button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
406
                                <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&amp;id=[% c.idnew | uri %]&editmode=[% editmode | uri %]" class="btn btn-default btn-xs" id="lientype"> <i class="fa fa-pencil"></i> Edit</a>
407
                                <button class="btn btn-default btn-xs dropdown-toggle" id="lientype" data-toggle="dropdown">
390
                                    <span class="caret"></span>
408
                                    <span class="caret"></span>
391
                                </button>
409
                                </button>
392
                                <ul class="dropdown-menu pull-right">
410
                                <ul class="dropdown-menu pull-right">
Lines 400-406 Link Here
400
                                </ul>
418
                                </ul>
401
                            </div>
419
                            </div>
402
                            <div class="btn-group">
420
                            <div class="btn-group">
403
                                <a href="#" class="delete_news btn btn-default btn-xs" data-idnew="[% c.idnew | html %]"><i class="fa fa-trash"></i> Delete</a>
421
                                <a href="#" class="delete_news btn btn-default btn-xs" data-idnew="[% c.idnew | html %]" id="lientype"><i class="fa fa-trash"></i> Delete</a>
404
                            </div>
422
                            </div>
405
                        </td>
423
                        </td>
406
                    </tr>
424
                    </tr>
Lines 409-415 Link Here
409
            </table>
427
            </table>
410
            <input type="hidden" name="op" value="delete_confirmed" />
428
            <input type="hidden" name="op" value="delete_confirmed" />
411
            <input type="hidden" name="category" value="[% category | html %]" />
429
            <input type="hidden" name="category" value="[% category | html %]" />
412
            <fieldset class="action"><input type="submit" class="button" value="Delete selected" /></fieldset>
430
            <fieldset class="action"><input type="submit" class="button principal" value="Delete selected" /></fieldset>
413
        </form>
431
        </form>
414
        <form action="/cgi-bin/koha/tools/additional-contents.pl" method="post" id="delete_single">
432
        <form action="/cgi-bin/koha/tools/additional-contents.pl" method="post" id="delete_single">
415
            <input type="hidden" id="del_op" name="op" value="delete_confirmed" />
433
            <input type="hidden" id="del_op" name="op" value="delete_confirmed" />
Lines 419-424 Link Here
419
    [% ELSE %]
437
    [% ELSE %]
420
        <div class="dialog message">There are no additional contents.</div>
438
        <div class="dialog message">There are no additional contents.</div>
421
    [% END %]
439
    [% END %]
440
</div>
422
[% END %]
441
[% END %]
423
442
424
[% BLOCK locations_options %]
443
[% BLOCK locations_options %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt (-21 / +31 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Automatic item modifications by age &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Automatic item modifications by age &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="tools_automatic_item_modification_by_age" class="tools">
12
<body id="tools_automatic_item_modification_by_age" class="tools">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'cat-search.inc' %]
12
14
13
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
        <ol>
16
        <ol>
Lines 36-41 Link Here
36
                </li>
38
                </li>
37
            [% END %]
39
            [% END %]
38
        </ol>
40
        </ol>
41
        <ol>
42
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
43
        </ol>
44
        <ol>
45
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
46
        </ol>
39
    </nav>
47
    </nav>
40
48
41
<div class="main container-fluid">
49
<div class="main container-fluid">
Lines 45-73 Link Here
45
53
46
        [% IF ( op == 'edit_form' ) %]
54
        [% IF ( op == 'edit_form' ) %]
47
          <form method="post" id="rules_form" action="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">
55
          <form method="post" id="rules_form" action="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">
48
            <h1>Rules for automatic item modifications by age</h1>
49
            <div id="toolbar" class="btn-toolbar">
56
            <div id="toolbar" class="btn-toolbar">
50
                <div class="btn-group">
57
                <div class="btn-group">
51
                    <button class="btn btn-default add_rule"><i class="fa fa-plus"></i> Add rule</button>
58
                    <button class="pat add_rule"><i class="fa fa-plus"></i> Add rule</button>
52
                </div>
59
                </div>
53
                <div class="btn-group">
60
                <div class="btn-group">
54
                    <button type="submit" id="save_rules" class="btn btn-default"><i class="fa fa-save"></i> Save</button>
61
                    <button type="submit" id="save_rules" class="principal"><i class="fa fa-save"></i> Save</button>
55
                </div>
62
                </div>
56
                <div class="btn-group">
63
                <div class="btn-group">
57
                    <a class="btn btn-default" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"><i class="fa fa-remove"></i> Cancel</a>
64
                    <a class="cancel" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"><i class="fa fa-remove"></i> Cancel</a>
58
                </div>
65
                </div>
59
            </div>
66
            </div>
67
            <h1>Rules for automatic item modifications by age</h1>
60
        [% ELSE %]
68
        [% ELSE %]
61
            <h1>Automatic item modifications by age</h1>
62
            [% IF ( rules ) %]
69
            [% IF ( rules ) %]
63
                <div id="toolbar" class="btn-toolbar">
70
                <div id="toolbar" class="btn-toolbar">
64
                    <a class="btn btn-default" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-pencil"></i> Edit rules</a>
71
                <div class="btn-group">
65
                </div>
72
                    <a class="pat" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-pencil"></i> Edit rules</a>
73
                </div></div>
66
            [% ELSE %]
74
            [% ELSE %]
67
                <div id="toolbar" class="btn-toolbar">
75
                <div id="toolbar" class="btn-toolbar">
68
                    <a class="btn btn-default" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-plus"></i> Add rules</a>
76
                <div class="btn-group">
69
                </div>
77
                    <a class="pat" id="newentry" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl?op=edit_form"><i class="fa fa-plus"></i> Add rules</a>
78
                </div></div>
70
            [% END %]
79
            [% END %]
80
            <h1>Automatic item modifications by age</h1>
71
        [% END %]
81
        [% END %]
72
82
73
        [% FOR message IN messages %]
83
        [% FOR message IN messages %]
Lines 86-92 Link Here
86
                [% FOR rule IN rules %]
96
                [% FOR rule IN rules %]
87
                  [% SET id = loop.count %]
97
                  [% SET id = loop.count %]
88
                  <fieldset class="rule">
98
                  <fieldset class="rule">
89
                    <legend>Rule <span class="rulecount">[% loop.count | html %]</span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend>
99
                    <h3>Rule <span class="rulecount">[% loop.count | html %]</span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></h3>
90
                    <input type="hidden" name="unique_id" value="[% loop.count | html %]" /> <!-- FIXME on update, the unique_id should be filled -->
100
                    <input type="hidden" name="unique_id" value="[% loop.count | html %]" /> <!-- FIXME on update, the unique_id should be filled -->
91
                    <div class="age">
101
                    <div class="age">
92
                      <h5>Age in days</h5>
102
                      <h5>Age in days</h5>
Lines 122-129 Link Here
122
                          </select>
132
                          </select>
123
                          =
133
                          =
124
                          <input type="text" value="[% condition.value | html %]" name="condition_value_[% id | html %]" />
134
                          <input type="text" value="[% condition.value | html %]" name="condition_value_[% id | html %]" />
125
                          <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a condition</a>
135
                          <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a condition</a>
126
                          <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove condition</a>
136
                          <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove condition</a>
127
                        </div>
137
                        </div>
128
                      [% END %]
138
                      [% END %]
129
                    </div>
139
                    </div>
Lines 143-150 Link Here
143
                          </select>
153
                          </select>
144
                          =
154
                          =
145
                          <input type="text" value="[% substitution.value | html %]" name="substitution_value_[% id | html %]" />
155
                          <input type="text" value="[% substitution.value | html %]" name="substitution_value_[% id | html %]" />
146
                          <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a substitution</a>
156
                          <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a substitution</a>
147
                          <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove substitution</a>
157
                          <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove substitution</a>
148
                          <span class="required">A field name is required</span>
158
                          <span class="required">A field name is required</span>
149
                        </div>
159
                        </div>
150
                      [% END %]
160
                      [% END %]
Lines 161-167 Link Here
161
        </div>
171
        </div>
162
172
163
          <fieldset id="new_rule">
173
          <fieldset id="new_rule">
164
            <legend>Rule <span class="rulecount"></span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend>
174
            <h3>Rule <span class="rulecount"></span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></h3>
165
            <input type="hidden" name="unique_id" />
175
            <input type="hidden" name="unique_id" />
166
            <div class="age">
176
            <div class="age">
167
              <h5>Age in days</h5>
177
              <h5>Age in days</h5>
Lines 188-195 Link Here
188
                </select>
198
                </select>
189
                =
199
                =
190
                <input type="text" value="" name="condition_value" />
200
                <input type="text" value="" name="condition_value" />
191
                <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a condition</a>
201
                <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a condition</a>
192
                <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove condition</a>
202
                <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove condition</a>
193
              </div>
203
              </div>
194
            </div>
204
            </div>
195
            <div class="blocks">
205
            <div class="blocks">
Lines 203-210 Link Here
203
                </select>
213
                </select>
204
                =
214
                =
205
                <input type="text" value="" name="substitution_value" />
215
                <input type="text" value="" name="substitution_value" />
206
                <a class="add_block" href="#"><i class="fa fa-plus"></i> Add a substitution</a>
216
                <a class="add_block" href="#" id="lientype"><i class="fa fa-plus"></i> Add a substitution</a>
207
                <a class="remove_block" href="#"><i class="fa fa-trash"></i> Remove substitution</a>
217
                <a class="remove_block" href="#" id="lientype"><i class="fa fa-trash"></i> Remove substitution</a>
208
                <span class="required">A field name is required</span>
218
                <span class="required">A field name is required</span>
209
              </div>
219
              </div>
210
            </div>
220
            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt (-3 / +11 lines)
Lines 4-9 Link Here
4
[% USE Asset %]
4
[% USE Asset %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% PROCESS 'i18n.inc' %]
10
[% PROCESS 'i18n.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Batch item deletion &rsaquo; Tools &rsaquo; Koha</title>
12
<title>Batch item deletion &rsaquo; Tools &rsaquo; Koha</title>
Lines 13-20 Link Here
13
<![endif]-->
16
<![endif]-->
14
</head>
17
</head>
15
<body id="tools_batchMod-del" class="tools">
18
<body id="tools_batchMod-del" class="tools">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'cat-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 28-33 Link Here
28
            <a href="#" aria-current="page">Batch item deletion</a>
30
            <a href="#" aria-current="page">Batch item deletion</a>
29
        </li>
31
        </li>
30
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
31
</nav>
39
</nav>
32
40
33
<div class="main container-fluid">
41
<div class="main container-fluid">
Lines 156-162 Link Here
156
        </fieldset>
164
        </fieldset>
157
    </div>
165
    </div>
158
    [% ELSE %]
166
    [% ELSE %]
159
    <p><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Return to batch item deletion</a></p>
167
    <p><a href="/cgi-bin/koha/tools/batchMod.pl?del=1" id="lientype">Return to batch item deletion</a></p>
160
    [% END %]
168
    [% END %]
161
    [% END %]
169
    [% END %]
162
    </form>
170
    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-19 / +27 lines)
Lines 4-9 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Batch item modification &rsaquo; Tools &rsaquo; Koha</title>
11
<title>Batch item modification &rsaquo; Tools &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 13-21 Link Here
13
</head>
16
</head>
14
17
15
<body id="tools_batchMod-edit" class="tools">
18
<body id="tools_batchMod-edit" class="tools">
16
    [% INCLUDE 'header.inc' %]
19
    [% INCLUDE 'header.inc' form=formulaire %]
17
    [% INCLUDE 'cat-search.inc' %]
18
19
20
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
    <ol>
22
    <ol>
Lines 29-57 Link Here
29
            <a href="#" aria-current="page">Batch item modification</a>
30
            <a href="#" aria-current="page">Batch item modification</a>
30
        </li>
31
        </li>
31
    </ol>
32
    </ol>
33
        <ol>
34
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
35
        </ol>
36
        <ol>
37
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
38
        </ol>
32
</nav>
39
</nav>
33
40
34
    <div class="main container-fluid">
41
    <div class="main container-fluid">
35
42
36
        <h1>Batch item modification</h1>
43
        <h2>Batch item modification</h2>
37
        [% IF op == 'enqueued' %]
44
        [% IF op == 'enqueued' %]
38
            <div class="dialog message">
45
            <div class="dialog message">
39
              <p>The job has been enqueued! It will be processed as soon as possible.</p>
46
              <p>The job has been enqueued! It will be processed as soon as possible.</p>
40
              <p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
47
              <p><a id="lientype" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
41
              | <a href="/cgi-bin/koha/tools/batchMod.pl" title="New batch item modification">New batch item modification</a></p>
48
              | <a id="lientype" href="/cgi-bin/koha/tools/batchMod.pl" title="New batch item modification">New batch item modification</a></p>
42
            </div>
49
            </div>
43
50
44
            <fieldset class="action">
51
            <fieldset class="action">
45
                [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
52
                [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
46
                    [% IF searchid %]
53
                    [% IF searchid %]
47
                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]">Return to the record</a>
54
                        <a id="lientype" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]">Return to the record</a>
48
                    [% ELSE %]
55
                    [% ELSE %]
49
                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">Return to the record</a>
56
                        <a id="lientype" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">Return to the record</a>
50
                    [% END %]
57
                    [% END %]
51
                [% ELSIF src %]
58
                [% ELSIF src %]
52
                    <a href="[% src | url %]">Return to where you were</a>
59
                    <a id="lientype" href="[% src | url %]">Return to where you were</a>
53
                [% ELSE %]
60
                [% ELSE %]
54
                    <a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a>
61
                    <a id="lientype" href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a>
55
                [% END %]
62
                [% END %]
56
            </fieldset>
63
            </fieldset>
57
        [% END %]
64
        [% END %]
Lines 172-186 Link Here
172
179
173
                [% UNLESS (too_many_items_process) %]
180
                [% UNLESS (too_many_items_process) %]
174
                    <div id="cataloguing_additem_newitem">
181
                    <div id="cataloguing_additem_newitem">
175
                        <h2>Edit items</h2>
182
176
                        <div class="hint">Checking the box right next to the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.</div>
177
                        <fieldset class="rows">
183
                        <fieldset class="rows">
184
                        <h3>Edit items</h3>
185
                        <div class="hint">Checking the box right next to the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.</div>
178
                            [%# no_plugin from batchMod-edit, jQuery is included at the end of the template and cataloguing plugins are not working in this situation %]
186
                            [%# no_plugin from batchMod-edit, jQuery is included at the end of the template and cataloguing plugins are not working in this situation %]
179
                            [% PROCESS subfields_for_item subfields => subfields, add_regex => 1, add_delete_checkbox => 1, no_plugin => 1 %]
187
                            [% PROCESS subfields_for_item subfields => subfields, add_regex => 1, add_delete_checkbox => 1, no_plugin => 1 %]
180
                        </fieldset>
188
                        </fieldset>
181
189
182
                        <fieldset class="rows">
190
                        <fieldset class="rows">
183
                            <legend>Other attributes</legend>
191
                            <h3>Other attributes</h3>
184
                            <ol>
192
                            <ol>
185
                                <li>
193
                                <li>
186
                                    <div class="subfield_line">
194
                                    <div class="subfield_line">
Lines 196-220 Link Here
196
                        </fieldset>
204
                        </fieldset>
197
205
198
                        <fieldset class="action">
206
                        <fieldset class="action">
199
                            <input type="submit" id="mainformsubmit" value="Save" />
207
                            <input type="submit" class="principal" id="mainformsubmit" value="Save" />
200
                            <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a>
208
                            <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a>
201
                        </fieldset>
209
                        </fieldset>
202
                    </div> <!-- /#cataloguing_additem_newitem -->
210
                    </div> <!-- /#cataloguing_additem_newitem -->
203
                [% ELSE %]
211
                [% ELSE %]
204
                    <p><a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a></p>
212
                    <p><a id="lientype" href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a></p>
205
                [% END # /UNLESS too_many_items_process %]
213
                [% END # /UNLESS too_many_items_process %]
206
            [% ELSE # IF show %]
214
            [% ELSE # IF show %]
207
                <fieldset class="action">
215
                <fieldset class="action">
208
                    [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
216
                    [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
209
                        [% IF searchid %]
217
                        [% IF searchid %]
210
                            <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
218
                            <a id="lientype" class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&searchid=[% searchid | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
211
                        [% ELSE %]
219
                        [% ELSE %]
212
                            <a class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
220
                            <a id="lientype" class="btn btn-default" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"><i class="fa fa-check-square-o"></i> Return to the record</a>
213
                        [% END %]
221
                        [% END %]
214
                    [% ELSIF src %]
222
                    [% ELSIF src %]
215
                        <a class="btn btn-default" href="[% src | url %]"><i class="fa fa-check-square-o"></i> Return to where you were</a>
223
                        <a  id="lientype"class="btn btn-default" href="[% src | url %]"><i class="fa fa-check-square-o"></i> Return to where you were</a>
216
                    [% ELSE %]
224
                    [% ELSE %]
217
                        <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a>
225
                        <a id="lientype" class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a>
218
                    [% END %]
226
                    [% END %]
219
                </fieldset> <!-- /.action -->
227
                </fieldset> <!-- /.action -->
220
            [% END %]
228
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt (-7 / +15 lines)
Lines 1-13 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] &rsaquo; Tools &rsaquo; Koha</title>
8
<title>[% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
<body id="tools_batchMod" class="tools">
11
<body id="tools_batchMod" class="tools">
9
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' form=formulaire %]
10
[% INCLUDE 'cat-search.inc' %]
11
13
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13
    <ol>
15
    <ol>
Lines 32-37 Link Here
32
            </li>
34
            </li>
33
        [% END %]
35
        [% END %]
34
    </ol>
36
    </ol>
37
        <ol>
38
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
39
        </ol>
40
        <ol>
41
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
42
        </ol>
35
</nav>
43
</nav>
36
44
37
<div class="main container-fluid">
45
<div class="main container-fluid">
Lines 39-48 Link Here
39
        <div class="col-sm-10 col-sm-push-2">
47
        <div class="col-sm-10 col-sm-push-2">
40
            <main>
48
            <main>
41
49
42
                <h1>Batch item [% IF ( del ) %]deletion[% ELSE %]modification[% END %]</h1>
50
                <h2>Batch item [% IF ( del ) %]deletion[% ELSE %]modification[% END %]</h2>
43
                        <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batchMod.pl">
51
                        <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batchMod.pl">
44
                            <fieldset class="rows">
52
                            <fieldset class="rows">
45
                                <legend>Use a file</legend>
53
                                <h3>Use a file</h3>
46
                                  <ol>
54
                                  <ol>
47
                      <li>
55
                      <li>
48
                    <label for="barcode_file">Barcode file: </label><input type="radio" name="filecontent" value="barcode_file" id="barcode_file" checked="checked" /></li>
56
                    <label for="barcode_file">Barcode file: </label><input type="radio" name="filecontent" value="barcode_file" id="barcode_file" checked="checked" /></li>
Lines 53-59 Link Here
53
                                </ol>
61
                                </ol>
54
                            </fieldset>
62
                            </fieldset>
55
                            <fieldset class="rows">
63
                            <fieldset class="rows">
56
                                <legend>Or scan items one by one</legend>
64
                                <h3>Or scan items one by one</h3>
57
                                <ol>
65
                                <ol>
58
                                    <li>
66
                                    <li>
59
                                      <label for="barcodelist">Barcode list (one barcode per line): </label>
67
                                      <label for="barcodelist">Barcode list (one barcode per line): </label>
Lines 65-71 Link Here
65
73
66
                            [% UNLESS del %]
74
                            [% UNLESS del %]
67
                                <fieldset class="rows">
75
                                <fieldset class="rows">
68
                                    <legend>Use default values</legend>
76
                                    <h3>Use default values</h3>
69
                                    <ol class="radio">
77
                                    <ol class="radio">
70
                                        <li>
78
                                        <li>
71
                                            <label>
79
                                            <label>
Lines 79-85 Link Here
79
87
80
                            [% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %]
88
                            [% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %]
81
                            <fieldset class="action">
89
                            <fieldset class="action">
82
                                <input type="submit" value="Continue" class="button" />
90
                                <input class="principal" type="submit" value="Continue" class="button" />
83
                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
91
                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
84
                            </fieldset>
92
                            </fieldset>
85
93
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-12 / +22 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% PROCESS 'authorities-search-results.inc' %]
7
[% PROCESS 'authorities-search-results.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Batch record deletion &rsaquo; Tools &rsaquo; Koha</title>
9
<title>Batch record deletion &rsaquo; Tools &rsaquo; Koha</title>
Lines 8-15 Link Here
8
</head>
11
</head>
9
12
10
<body id="tools_batch_delete_records" class="tools">
13
<body id="tools_batch_delete_records" class="tools">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 23-28 Link Here
23
            <a href="#" aria-current="page">Batch record deletion</a>
25
            <a href="#" aria-current="page">Batch record deletion</a>
24
        </li>
26
        </li>
25
    </ol>
27
    </ol>
28
        <ol>
29
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
30
        </ol>
31
        <ol>
32
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
33
        </ol>
26
</nav>
34
</nav>
27
35
28
<div class="main container-fluid">
36
<div class="main container-fluid">
Lines 30-36 Link Here
30
        <div class="col-sm-10 col-sm-push-2">
38
        <div class="col-sm-10 col-sm-push-2">
31
            <main>
39
            <main>
32
40
33
  <h1>Batch record deletion</h1>
41
  <h2>Batch record deletion</h2>
34
  [% FOREACH message IN messages %]
42
  [% FOREACH message IN messages %]
35
    [% IF message.type == 'success' %]
43
    [% IF message.type == 'success' %]
36
      <div class="dialog message">
44
      <div class="dialog message">
Lines 59-65 Link Here
59
  [% IF op == 'form' %]
67
  [% IF op == 'form' %]
60
    <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_delete_records.pl" id="record_ids_selection">
68
    <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_delete_records.pl" id="record_ids_selection">
61
      <fieldset class="rows">
69
      <fieldset class="rows">
62
        <legend>Record type</legend>
70
        <h3>Record type</h3>
63
        <ol>
71
        <ol>
64
          <li><label for="biblio_type">Bibliographic: </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li>
72
          <li><label for="biblio_type">Bibliographic: </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li>
65
          <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li>
73
          <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li>
Lines 67-79 Link Here
67
      </fieldset>
75
      </fieldset>
68
76
69
      <div id="batch_del_form" class="toptabs">
77
      <div id="batch_del_form" class="toptabs">
78
      <fieldset id="searchresults">
70
        <ul class="nav nav-tabs" role="tablist">
79
        <ul class="nav nav-tabs" role="tablist">
71
          <li role="presentation" class="active">
80
          <li role="presentation" class="active">
72
              <a href="#uploadfile_tab" aria-controls="uploadfile_tab" role="tab" data-toggle="tab">Upload a file</a>
81
              <a href="#uploadfile_tab" aria-controls="uploadfile_tab" role="tab" data-toggle="tab">Upload a file</a>
73
          </li>
82
          </li>
74
          [% IF lists.count %]
83
          [% IF lists.count %]
75
            <li id="show_list_option" role="presentation">
84
            <li id="show_list_option" role="presentation">
76
                <a href="#shelves_tab" aria-controls="shelves_tab" role="tab" data-toggle="tab">Select a list of records</a>
85
                <a  href="#shelves_tab" aria-controls="shelves_tab" role="tab" data-toggle="tab">Select a list of records</a>
77
            </li>
86
            </li>
78
          [% END %]
87
          [% END %]
79
          <li role="presentation">
88
          <li role="presentation">
Lines 124-134 Link Here
124
        </div>
133
        </div>
125
134
126
      </div> <!-- /.tab-content -->
135
      </div> <!-- /.tab-content -->
136
      </fieldset>
127
    </div>
137
    </div>
128
138
129
      <fieldset class="action">
139
      <fieldset class="action">
130
        <input type="hidden" name="op" value="list" />
140
        <input type="hidden" name="op" value="list" />
131
        <input type="submit" value="Continue" class="button" />
141
        <input class="principal" type="submit" value="Continue" class="button" />
132
        <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
142
        <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
133
      </fieldset>
143
      </fieldset>
134
    </form>
144
    </form>
Lines 138-146 Link Here
138
        <div id="toolbar">
148
        <div id="toolbar">
139
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
149
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
140
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
150
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
141
          | <a id="selectwithoutitems" href="#">Select without items</a>
151
          | <a class="lientype" id="selectwithoutitems" href="#">Select without items</a>
142
          | <a id="selectnotreserved" href="#">Select without holds</a>
152
          | <a class="lientype" id="selectnotreserved" href="#">Select without holds</a>
143
          | <a id="selectwithoutsubscriptions" href="#">Select without subscriptions</a>
153
          | <a class="lientype" id="selectwithoutsubscriptions" href="#">Select without subscriptions</a>
144
        </div>
154
        </div>
145
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectrecords">
155
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectrecords">
146
          <table id="biblios" class="records">
156
          <table id="biblios" class="records">
Lines 174-180 Link Here
174
        <div id="toolbar">
184
        <div id="toolbar">
175
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
185
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
176
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
186
          | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
177
          | <a id="clearlinkedtobiblio" href="#">Clear used authorities</a>
187
          | <a class="lientype" id="clearlinkedtobiblio" href="#">Clear used authorities</a>
178
        </div>
188
        </div>
179
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectauths">
189
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectauths">
180
          <table id="authorities" class="records">
190
          <table id="authorities" class="records">
Lines 212-219 Link Here
212
  [% ELSIF op == 'enqueued' %]
222
  [% ELSIF op == 'enqueued' %]
213
    <div class="dialog message">
223
    <div class="dialog message">
214
      <p>The job has been enqueued! It will be processed as soon as possible.</p>
224
      <p>The job has been enqueued! It will be processed as soon as possible.</p>
215
      <p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
225
      <p><a id="lientype" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
216
      | <a href="/cgi-bin/koha/tools/batch_delete_records.pl" title="New batch record deletion">New batch record deletion</a></p>
226
      | <a id="lientype" href="/cgi-bin/koha/tools/batch_delete_records.pl" title="New batch record deletion">New batch record deletion</a></p>
217
    </div>
227
    </div>
218
  [% ELSE %]
228
  [% ELSE %]
219
    No action defined for the template.
229
    No action defined for the template.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt (-7 / +15 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% USE Branches %]
7
[% USE Branches %]
5
[% USE Categories %]
8
[% USE Categories %]
6
[% USE KohaDates %]
9
[% USE KohaDates %]
Lines 14-21 Link Here
14
</head>
17
</head>
15
18
16
<body id="tools_batch_extend_due_dates" class="tools">
19
<body id="tools_batch_extend_due_dates" class="tools">
17
    [% INCLUDE 'header.inc' %]
20
    [% INCLUDE 'header.inc' form=formulaire %]
18
    [% INCLUDE 'cat-search.inc' %]
19
21
20
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
22
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
        <ol>
23
        <ol>
Lines 29-34 Link Here
29
                <a href="#" aria-current="page">Batch extend due dates</a>
31
                <a href="#" aria-current="page">Batch extend due dates</a>
30
            </li>
32
            </li>
31
        </ol>
33
        </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
32
    </nav>
40
    </nav>
33
41
34
    <div class="main container-fluid">
42
    <div class="main container-fluid">
Lines 36-42 Link Here
36
            <div class="col-sm-10 col-sm-push-2">
44
            <div class="col-sm-10 col-sm-push-2">
37
                <main>
45
                <main>
38
46
39
                    <h1>Batch extend due dates</h1>
47
                    <h2>Batch extend due dates</h2>
40
48
41
                    [% IF ( messages ) %]
49
                    [% IF ( messages ) %]
42
                        <div class="dialog message">
50
                        <div class="dialog message">
Lines 61-67 Link Here
61
                    [% IF view == 'form' %]
69
                    [% IF view == 'form' %]
62
                        <form method="post" action="/cgi-bin/koha/tools/batch_extend_due_dates.pl" id="extend_due_dates_form">
70
                        <form method="post" action="/cgi-bin/koha/tools/batch_extend_due_dates.pl" id="extend_due_dates_form">
63
                            <fieldset class="rows">
71
                            <fieldset class="rows">
64
                                <legend>Checkout criteria:</legend>
72
                                <h3>Checkout criteria:</h3>
65
                                <ol>
73
                                <ol>
66
                                    <li>
74
                                    <li>
67
                                        <label for="categorycodes">Patrons' categories: </label>
75
                                        <label for="categorycodes">Patrons' categories: </label>
Lines 92-98 Link Here
92
                                </ol>
100
                                </ol>
93
                            </fieldset>
101
                            </fieldset>
94
                            <fieldset class="rows">
102
                            <fieldset class="rows">
95
                                <legend>New due date:</legend>
103
                                <h3>New due date:</h3>
96
                                <ol>
104
                                <ol>
97
                                    <li>
105
                                    <li>
98
                                        <label for="new_hard_due_date">Hard due date: </label>
106
                                        <label for="new_hard_due_date">Hard due date: </label>
Lines 106-112 Link Here
106
                                </ol>
114
                                </ol>
107
                            </fieldset>
115
                            </fieldset>
108
                            <fieldset class="rows">
116
                            <fieldset class="rows">
109
                                <legend>Options:</legend>
117
                                <h3>Options:</h3>
110
                                <ol>
118
                                <ol>
111
                                    <li>
119
                                    <li>
112
                                        <label for="preview_results">Preview results:</label>
120
                                        <label for="preview_results">Preview results:</label>
Lines 117-123 Link Here
117
                            </fieldset>
125
                            </fieldset>
118
                            <fieldset class="action">
126
                            <fieldset class="action">
119
                                <input type="hidden" name="op" value="list" />
127
                                <input type="hidden" name="op" value="list" />
120
                                <input type="submit" value="Continue" class="button" />
128
                                <input type="submit" value="Continue" class="button principal" />
121
                                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
129
                                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
122
                            </fieldset>
130
                            </fieldset>
123
                        </form> <!-- /#extend_due_dates_form -->
131
                        </form> <!-- /#extend_due_dates_form -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-45 / +42 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% PROCESS 'authorities-search-results.inc' %]
7
[% PROCESS 'authorities-search-results.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Batch record modification &rsaquo; Tools &rsaquo; Koha</title>
9
<title>Batch record modification &rsaquo; Tools &rsaquo; Koha</title>
Lines 9-16 Link Here
9
</head>
12
</head>
10
13
11
<body id="tools_batch_record_modification" class="tools">
14
<body id="tools_batch_record_modification" class="tools">
12
    [% INCLUDE 'header.inc' %]
15
    [% INCLUDE 'header.inc'  form=formulaire %]
13
    [% INCLUDE 'cat-search.inc' %]
14
16
15
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
        <ol>
18
        <ol>
Lines 24-29 Link Here
24
                <a href="#" aria-current="page">Batch record modification</a>
26
                <a href="#" aria-current="page">Batch record modification</a>
25
            </li>
27
            </li>
26
        </ol>
28
        </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
    </nav>
35
    </nav>
28
36
29
    <div class="main container-fluid">
37
    <div class="main container-fluid">
Lines 31-37 Link Here
31
            <div class="col-sm-10 col-sm-push-2">
39
            <div class="col-sm-10 col-sm-push-2">
32
                <main>
40
                <main>
33
41
34
                    <h1>Batch record modification</h1>
42
                    <h2>Batch record modification</h2>
35
43
36
                    [% IF ( messages ) %]
44
                    [% IF ( messages ) %]
37
                        <div class="dialog message">
45
                        <div class="dialog message">
Lines 65-71 Link Here
65
                    [% IF view == 'form' %]
73
                    [% IF view == 'form' %]
66
                        <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_record_modification.pl" id="record_ids_selection">
74
                        <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batch_record_modification.pl" id="record_ids_selection">
67
                            <fieldset class="rows">
75
                            <fieldset class="rows">
68
                                <legend>Record type</legend>
76
                                <h3>Record type</h3>
69
                                <ol>
77
                                <ol>
70
                                    <li><label for="biblio_type">Biblios: </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li>
78
                                    <li><label for="biblio_type">Biblios: </label><input type="radio" name="recordtype" value="biblio" id="biblio_type" checked="checked" /></li>
71
                                    <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li>
79
                                    <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li>
Lines 75-80 Link Here
75
                            <br><br>
83
                            <br><br>
76
84
77
                            <div id="batch_mod_form" class="toptabs" style="clear:both">
85
                            <div id="batch_mod_form" class="toptabs" style="clear:both">
86
                            <fieldset id="searchresults">
78
                                <ul class="nav nav-tabs" role="tablist">
87
                                <ul class="nav nav-tabs" role="tablist">
79
                                    <li role="presentation" class="active">
88
                                    <li role="presentation" class="active">
80
                                        <a href="#uploadfile_tab" aria-controls="uploadfile_tab" role="tab" data-toggle="tab">Upload a file</a>
89
                                        <a href="#uploadfile_tab" aria-controls="uploadfile_tab" role="tab" data-toggle="tab">Upload a file</a>
Lines 89-131 Link Here
89
                                    </li>
98
                                    </li>
90
                                </ul>
99
                                </ul>
91
100
92
                                <div class="tab-content">
101
                                <div id="uploadfile_tab">
93
                                    <div id="uploadfile_tab" role="tabpanel" class="tab-pane active">
102
                                    <fieldset class="rows">
94
                                        <fieldset class="rows">
103
                                        <h3>Use a file</h3>
95
                                            <ol>
104
                                        <ol>
96
                                                <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
105
                                            <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
97
                                            </ol>
106
                                        </ol>
98
                                        </fieldset>
107
                                    </fieldset>
99
                                        &nbsp;
108
                                    &nbsp;
100
                                    </div>
109
                                </div>
101
102
                                    [% IF lists.count %]
103
                                        <div id="shelves_tab" role="tabpanel" class="tab-pane">
104
                                            <fieldset class="rows">
105
                                                <ol>
106
                                                    <li>
107
                                                        <label for="shelf_number">List: </label>
108
                                                        <select name="shelf_number" id="shelf_number">
109
                                                            <option value="">Select a list</option>
110
                                                            [% FOREACH list IN lists %]
111
                                                            <option value="[% list.shelfnumber | html %]">[% list.shelfname | html %]</option>
112
                                                            [% END %]
113
                                                            </option>
114
                                                        </select>
115
                                                    </li>
116
                                                </ol>
117
                                            </fieldset>
118
                                            &nbsp;
119
                                        </div>
120
                                    [% END %]
121
110
122
                                    <div id="enterlist_tab" role="tabpanel" class="tab-pane">
111
                                [% IF lists.count %]
112
                                    <div id="shelves_tab">
123
                                        <fieldset class="rows">
113
                                        <fieldset class="rows">
124
                                            <ol>
114
                                            <ol>
125
                                                <li>
115
                                                <li>
126
                                                    <label for="recordnumber_list">Record numbers: </label>
116
                                                    <label for="shelf_number">Use records from the following list: </label>
127
                                                    <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea>
117
                                                    <select name="shelf_number" id="shelf_number">
128
                                                    <div class="hint">Enter a list of biblionumbers or authority IDs, one per line.</div>
118
                                                        <option value="">Select a list</option>
119
                                                        [% FOREACH list IN lists %]
120
                                                        <option value="[% list.shelfnumber | html %]">[% list.shelfname | html %]</option>
121
                                                        [% END %]
122
                                                        </option>
123
                                                    </select>
129
                                                </li>
124
                                                </li>
130
                                            </ol>
125
                                            </ol>
131
                                        </fieldset>
126
                                        </fieldset>
Lines 138-144 Link Here
138
                                <legend>MARC modification template</legend>
133
                                <legend>MARC modification template</legend>
139
                                <ol>
134
                                <ol>
140
                                    <li>
135
                                    <li>
141
                                        <label for="marc_modification_template_id" class="required">Template: </label>
136
                                        <label for="marc_modification_template_id" class="required">Modify record using the following template: </label>
142
                                        <select name="marc_modification_template_id" id="marc_modification_template_id" required="required">
137
                                        <select name="marc_modification_template_id" id="marc_modification_template_id" required="required">
143
                                            <option value="">Select a template</option>
138
                                            <option value="">Select a template</option>
144
                                            [% FOREACH mmt IN MarcModificationTemplatesLoop %]
139
                                            [% FOREACH mmt IN MarcModificationTemplatesLoop %]
Lines 150-156 Link Here
150
                            </fieldset>
145
                            </fieldset>
151
                            <fieldset class="action">
146
                            <fieldset class="action">
152
                                <input type="hidden" name="op" value="list" />
147
                                <input type="hidden" name="op" value="list" />
153
                                <input type="submit" value="Continue" class="button" />
148
                                <input type="submit" class="principal" value="Continue" class="button" />
154
                                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
149
                                <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
155
                            </fieldset>
150
                            </fieldset>
156
                        </form> <!-- /#record_ids_selection -->
151
                        </form> <!-- /#record_ids_selection -->
Lines 179-185 Link Here
179
                                                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
174
                                                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
180
                                            </div>
175
                                            </div>
181
                                            <div class="modal-footer">
176
                                            <div class="modal-footer">
182
                                                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
177
                                                <button class="btn btn-default cancel" data-dismiss="modal" aria-hidden="true">Close</button>
183
                                            </div>
178
                                            </div>
184
                                        </div>
179
                                        </div>
185
                                    </div>
180
                                    </div>
Lines 221-227 Link Here
221
                                        <thead>
216
                                        <thead>
222
                                            <tr>
217
                                            <tr>
223
                                                <th></th>
218
                                                <th></th>
224
                                                <th>AuthID</th>
219
                                                <th>Authid</th>
225
                                                <th>Summary</th>
220
                                                <th>Summary</th>
226
                                                <th>&nbsp;</th>
221
                                                <th>&nbsp;</th>
227
                                            </tr>
222
                                            </tr>
Lines 242-253 Link Here
242
                                <fieldset class="action">
237
                                <fieldset class="action">
243
                                    <input type="hidden" name="op" value="modify" />
238
                                    <input type="hidden" name="op" value="modify" />
244
                                    <input type="hidden" name="recordtype" value="[% recordtype | html %]" />
239
                                    <input type="hidden" name="recordtype" value="[% recordtype | html %]" />
245
                                    <input type="submit" id="mainformsubmit" value="Modify selected records" class="button" />
240
                                    <input type="submit" id="mainformsubmit" value="Modify selected records" class="button principal" />
246
                                </fieldset>
241
                                </fieldset>
247
                            </form> <!-- /#process -->
242
                            </form> <!-- /#process -->
248
                        [% ELSE %]
243
                        [% ELSE %]
249
                            <div class="dialog message">
244
                            <div class="dialog message">
250
                                No records were modified. [% IF recordtype != 'biblio' %]<a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a>[% END %]
245
                                No records were modified. [% IF recordtype != 'biblio' %]<a id="lientype" href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a>[% END %]
251
                            </div>
246
                            </div>
252
                        [% END %]
247
                        [% END %]
253
                    [% ELSIF view == 'errors' %]
248
                    [% ELSIF view == 'errors' %]
Lines 261-268 Link Here
261
                     [% ELSIF view == 'enqueued' %]
256
                     [% ELSIF view == 'enqueued' %]
262
                        <div class="dialog message">
257
                        <div class="dialog message">
263
                            <p>The job has been enqueued! It will be processed as soon as possible.</p>
258
                            <p>The job has been enqueued! It will be processed as soon as possible.</p>
264
                            <p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
259
                            <p><a id="lientype" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a>
265
                            | <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></p>
260
                            | <a id="lientype" href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a></p>
266
                        </div>
261
                        </div>
267
                    [% ELSE %]
262
                    [% ELSE %]
268
                        <div class="dialog alert">
263
                        <div class="dialog alert">
Lines 286-291 Link Here
286
    <script>
281
    <script>
287
        $(document).ready(function() {
282
        $(document).ready(function() {
288
283
284
            $("#batch_mod_form").tabs();
285
289
            $("input[type='radio']").click(function() {
286
            $("input[type='radio']").click(function() {
290
                if ($(this).attr('id') == 'authority_type') {
287
                if ($(this).attr('id') == 'authority_type') {
291
                    $("#show_list_option").hide();
288
                    $("#show_list_option").hide();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt (-10 / +18 lines)
Lines 4-9 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>
11
<title>
9
    [% IF step == 2 %]
12
    [% IF step == 2 %]
Lines 16-23 Link Here
16
</head>
19
</head>
17
20
18
<body id="tools_cleanborrowers" class="tools">
21
<body id="tools_cleanborrowers" class="tools">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form=formulaire %]
20
[% INCLUDE 'cat-search.inc' %]
21
23
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <ol>
25
    <ol>
Lines 56-61 Link Here
56
            </li>
58
            </li>
57
        [% END %]
59
        [% END %]
58
    </ol>
60
    </ol>
61
        <ol>
62
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
63
        </ol>
64
        <ol>
65
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
66
        </ol>
59
</nav>
67
</nav>
60
68
61
<div class="main container-fluid">
69
<div class="main container-fluid">
Lines 65-73 Link Here
65
73
66
[% IF !OnlyMine %]
74
[% IF !OnlyMine %]
67
  [% IF current_branch == '*' %]
75
  [% IF current_branch == '*' %]
68
    <h1>Batch patron deletion and anonymization</h1>
76
    <h2>Batch patron deletion and anonymization</h2>
69
  [% ELSE %]
77
  [% ELSE %]
70
    <h1>Batch patron deletion and anonymization for [% Branches.GetName( current_branch ) | html %]</h1>
78
    <h2>Batch patron deletion and anonymization for [% Branches.GetName( current_branch ) | html %]</h2>
71
  [% END %]
79
  [% END %]
72
    [% IF step == 1 %]
80
    [% IF step == 1 %]
73
    <form method="get" action="/cgi-bin/koha/tools/cleanborrowers.pl" id="selectlibrary">
81
    <form method="get" action="/cgi-bin/koha/tools/cleanborrowers.pl" id="selectlibrary">
Lines 85-91 Link Here
85
    </form>
93
    </form>
86
    [% END %]
94
    [% END %]
87
[% ELSE %]
95
[% ELSE %]
88
    <h1>Batch patron deletion and anonymization for [% Branches.GetLoggedInBranchname | html %]</h1>
96
    <h2>Batch patron deletion and anonymization for [% Branches.GetLoggedInBranchname | html %]</h2>
89
[% END %]
97
[% END %]
90
98
91
[% IF step == 1 %]
99
[% IF step == 1 %]
Lines 104-110 Link Here
104
<div id="step1">
112
<div id="step1">
105
    <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
113
    <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
106
    <fieldset>
114
    <fieldset>
107
    <legend>Delete patrons</legend>
115
    <h3>Delete patrons</h3>
108
        <h3><input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> Verify you want to delete patrons</label></h3>
116
        <h3><input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> Verify you want to delete patrons</label></h3>
109
        <br />
117
        <br />
110
        <h5>Delete patrons who meet the following criteria:</h5>
118
        <h5>Delete patrons who meet the following criteria:</h5>
Lines 152-158 Link Here
152
        </fieldset>
160
        </fieldset>
153
161
154
        <fieldset>
162
        <fieldset>
155
        <legend>Anonymize checkout history</legend>
163
        <h3>Anonymize checkout history</h3>
156
        [% UNLESS Koha.Preference('AnonymousPatron') %]
164
        [% UNLESS Koha.Preference('AnonymousPatron') %]
157
            <div class="dialog message">The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.</div>
165
            <div class="dialog message">The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.</div>
158
        [% END %]
166
        [% END %]
Lines 170-176 Link Here
170
            <input type="hidden" name="step" value="2" />
178
            <input type="hidden" name="step" value="2" />
171
            <input type="hidden" name="branch" value="[% current_branch | html %]" />
179
            <input type="hidden" name="branch" value="[% current_branch | html %]" />
172
            </fieldset>
180
            </fieldset>
173
            <fieldset class="action"><input type="submit" value="Next &gt;&gt;" /></fieldset>
181
            <fieldset class="action"><input type="submit" class="principal" value="Next &gt;&gt;" /></fieldset>
174
    </form>
182
    </form>
175
</div>
183
</div>
176
<!-- step 1 END -->
184
<!-- step 1 END -->
Lines 191-197 Link Here
191
199
192
            [% IF patrons_to_delete.size %]
200
            [% IF patrons_to_delete.size %]
193
                <fieldset>
201
                <fieldset>
194
                    <legend>How should patrons be deleted?</legend>
202
                    <h3>How should patrons be deleted?</h3>
195
                    <p>
203
                    <p>
196
                        <input id="delete" type="radio" name="radio" value="delete" />
204
                        <input id="delete" type="radio" name="radio" value="delete" />
197
                        <label for="delete">Permanently delete these patrons</label>
205
                        <label for="delete">Permanently delete these patrons</label>
Lines 231-237 Link Here
231
            <input type="hidden" name="borrower_categorycode" value="[% borrower_categorycode | html %]" />
239
            <input type="hidden" name="borrower_categorycode" value="[% borrower_categorycode | html %]" />
232
            <input type="hidden" name="patron_list_id" value="[% patron_list_id | html %]" />
240
            <input type="hidden" name="patron_list_id" value="[% patron_list_id | html %]" />
233
            <input type="hidden" name="branch" value="[% current_branch | html %]" />
241
            <input type="hidden" name="branch" value="[% current_branch | html %]" />
234
    <fieldset class="action"><input type="submit" value="Finish" /> <a class="cancel" href="/cgi-bin/koha/tools/cleanborrowers.pl">Cancel</a></fieldset>
242
    <fieldset class="action"><input class="principal" type="submit" value="Finish" /> <a class="cancel" href="/cgi-bin/koha/tools/cleanborrowers.pl">Cancel</a></fieldset>
235
        </form>
243
        </form>
236
</div>
244
</div>
237
<!-- STEP 2 END -->
245
<!-- STEP 2 END -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt (-6 / +16 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    [% IF op == 'add_form' %]
9
    [% IF op == 'add_form' %]
Lines 16-23 Link Here
16
</head>
19
</head>
17
20
18
<body id="tools_csv-profiles" class="tools">
21
<body id="tools_csv-profiles" class="tools">
19
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' form=formulaire %]
20
[% INCLUDE 'cat-search.inc' %]
21
23
22
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
23
    <ol>
25
    <ol>
Lines 50-55 Link Here
50
            </li>
52
            </li>
51
        [% END %]
53
        [% END %]
52
    </ol>
54
    </ol>
55
        <ol>
56
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
57
        </ol>
58
        <ol>
59
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
60
        </ol>
53
</nav>
61
</nav>
54
62
55
<div class="main container-fluid">
63
<div class="main container-fluid">
Lines 260-266 Link Here
260
            </ol>
268
            </ol>
261
        </fieldset>
269
        </fieldset>
262
        <fieldset class="action">
270
        <fieldset class="action">
263
            <input type="submit" value="Submit" />
271
            <input type="submit" class="principal" value="Submit" />
264
            <a class="cancel" href="/cgi-bin/koha/tools/csv-profiles.pl">Cancel</a>
272
            <a class="cancel" href="/cgi-bin/koha/tools/csv-profiles.pl">Cancel</a>
265
        </fieldset>
273
        </fieldset>
266
    </form>
274
    </form>
Lines 287-293 Link Here
287
[% IF op == 'list' %]
295
[% IF op == 'list' %]
288
296
289
    <div id="toolbar" class="btn-toolbar">
297
    <div id="toolbar" class="btn-toolbar">
290
        <a class="btn btn-default" id="newcsvprofile" href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form"><i class="fa fa-plus"></i> New CSV profile</a>
298
        <div class="btn-group">
299
            <a class="pat" id="newcsvprofile" href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form"><i class="fa fa-plus"></i> New CSV profile</a>
300
        </diiv>
291
    </div>
301
    </div>
292
302
293
    <h1>CSV profiles</h1>
303
    <h1>CSV profiles</h1>
Lines 315-322 Link Here
315
                    <td>[% PROCESS type_description type_code = csv_profile.type %]</td>
325
                    <td>[% PROCESS type_description type_code = csv_profile.type %]</td>
316
                    <td>[% PROCESS used_for_description used_for_code = csv_profile.used_for %]</td>
326
                    <td>[% PROCESS used_for_description used_for_code = csv_profile.used_for %]</td>
317
                    <td class="actions">
327
                    <td class="actions">
318
                        <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form&amp;export_format_id=[% csv_profile.export_format_id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
328
                        <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form&amp;export_format_id=[% csv_profile.export_format_id | uri %]" id="lientype" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
319
                        <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=delete_confirm&amp;export_format_id=[% csv_profile.export_format_id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
329
                        <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=delete_confirm&amp;export_format_id=[% csv_profile.export_format_id | uri %]" id="lientype" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
320
                    </td>
330
                    </td>
321
                </tr>
331
                </tr>
322
                [% END %]
332
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-3 / +13 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Export data &rsaquo; Tools &rsaquo; Koha</title>
9
<title>Export data &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 13-20 Link Here
13
</head>
16
</head>
14
17
15
<body id="tools_export" class="tools">
18
<body id="tools_export" class="tools">
16
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' form=formulaire %]
17
[% INCLUDE 'cat-search.inc' %]
18
20
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
21
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
    <ol>
22
    <ol>
Lines 30-35 Link Here
30
            </a>
32
            </a>
31
        </li>
33
        </li>
32
    </ol>
34
    </ol>
35
        <ol>
36
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
37
        </ol>
38
        <ol>
39
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
40
        </ol>
33
</nav>
41
</nav>
34
42
35
<div class="main container-fluid">
43
<div class="main container-fluid">
Lines 49-54 Link Here
49
[% END %]
57
[% END %]
50
58
51
<div id="exporttype" class="toptabs">
59
<div id="exporttype" class="toptabs">
60
    <fieldset id="searchresults">
52
    <ul class="nav nav-tabs" role="tablist">
61
    <ul class="nav nav-tabs" role="tablist">
53
        <li role="presentation" class="active">
62
        <li role="presentation" class="active">
54
            <a href="#bibs" aria-controls="bibs" role="tab" data-toggle="tab">Export bibliographic records</a>
63
            <a href="#bibs" aria-controls="bibs" role="tab" data-toggle="tab">Export bibliographic records</a>
Lines 187-193 Link Here
187
            <input type="hidden" name="op" value="export" />
196
            <input type="hidden" name="op" value="export" />
188
            <input type="hidden" name="record_type" value="bibs" />
197
            <input type="hidden" name="record_type" value="bibs" />
189
198
190
            <fieldset class="action"><input type="submit" value="Export bibliographic records" class="button" /></fieldset>
199
            <fieldset class="action"><input type="submit" class="principal" value="Export bibliographic records" class="button" /></fieldset>
191
        </form>
200
        </form>
192
        </div>
201
        </div>
193
202
Lines 304-309 Link Here
304
        </div>
313
        </div>
305
        [% END %]
314
        [% END %]
306
    </div> <!-- /.tab-content -->
315
    </div> <!-- /.tab-content -->
316
</fieldset>
307
</div>
317
</div>
308
318
309
            </main>
319
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-10 / +12 lines)
Lines 2-15 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% Branches.GetName( branch ) | html %] calendar &rsaquo; Tools &rsaquo; Koha</title>
9
<title>[% Branches.GetName( branch ) | html %] calendar &rsaquo; Tools &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
8
[% Asset.css("css/calendar.css") | $raw %]
11
[% Asset.css("css/calendar.css") | $raw %]
9
</head>
12
</head>
10
<body id="tools_holidays" class="tools">
13
<body id="tools_holidays" class="tools">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 32-38 Link Here
32
        <div class="col-sm-10 col-sm-push-2">
34
        <div class="col-sm-10 col-sm-push-2">
33
            <main>
35
            <main>
34
36
35
                <h1>[% Branches.GetName( branch ) | html %] calendar</h1>
37
                <h2>[% Branches.GetName( branch ) | html %] calendar</h2>
36
38
37
                <div class="row">
39
                <div class="row">
38
                    <div class="col-sm-6">
40
                    <div class="col-sm-6">
Lines 44-50 Link Here
44
                        <div class="panel" id="showHoliday">
46
                        <div class="panel" id="showHoliday">
45
                            <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post">
47
                            <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post">
46
                                <input type="hidden" id="showHolidayType" name="showHolidayType" value="" />
48
                                <input type="hidden" id="showHolidayType" name="showHolidayType" value="" />
47
                                <fieldset class="brief">
49
                                <fieldset>
48
                                    <h3>Edit this holiday</h3>
50
                                    <h3>Edit this holiday</h3>
49
                                    <span id="holtype"></span>
51
                                    <span id="holtype"></span>
50
                                    <ol>
52
                                    <ol>
Lines 129-145 Link Here
129
                                        </li>
131
                                        </li>
130
                                    </ol>
132
                                    </ol>
131
                                    <fieldset class="action">
133
                                    <fieldset class="action">
132
                                        <input type="submit" name="submit" value="Save" />
134
                                        <input class="principal" type="submit" name="submit" value="Save" />
133
                                        <a href="#" class="cancel hidePanel showHoliday">Cancel</a>
135
                                        <a href="#" class="cancel hidePanel showHoliday">Cancel</a>
134
                                    </fieldset>
136
                                    </fieldset>
135
                                </fieldset> <!-- /.brief -->
137
                                </fieldset>
136
                            </form>
138
                            </form>
137
                        </div> <!-- /#showHoliday -->
139
                        </div> <!-- /#showHoliday -->
138
140
139
                        <!-- Panel to deal with new holidays -->
141
                        <!-- Panel to deal with new holidays -->
140
                        <div class="panel" id="newHoliday">
142
                        <div class="panel" id="newHoliday">
141
                            <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post">
143
                            <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post">
142
                                <fieldset class="brief">
144
                                <fieldset>
143
                                    <h3>Add new holiday</h3>
145
                                    <h3>Add new holiday</h3>
144
                                    <ol>
146
                                    <ol>
145
                                        <li>
147
                                        <li>
Lines 216-225 Link Here
216
                                        </li>
218
                                        </li>
217
                                    </ol>
219
                                    </ol>
218
                                    <fieldset class="action">
220
                                    <fieldset class="action">
219
                                        <input type="submit" name="submit" value="Save" />
221
                                        <input type="submit" class="principal" name="submit" value="Save" />
220
                                        <a href="#" class="cancel hidePanel newHoliday">Cancel</a>
222
                                        <a href="#" class="cancel hidePanel newHoliday">Cancel</a>
221
                                    </fieldset>
223
                                    </fieldset>
222
                                </fieldset> <!-- /.brief -->
224
                                </fieldset>Å“
223
                            </form>
225
                            </form>
224
                        </div> <!-- /#newHoliday -->
226
                        </div> <!-- /#newHoliday -->
225
227
Lines 237-243 Link Here
237
                                        <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
239
                                        <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
238
                                    [% END %]
240
                                    [% END %]
239
                                </select>
241
                                </select>
240
                                <input type="submit" value="Copy" />
242
                                <input type="submit" class="principal" value="Copy" />
241
                            </form>
243
                            </form>
242
                        </div>
244
                        </div>
243
                    </div> <!-- /.col-sm-6 -->
245
                    </div> <!-- /.col-sm-6 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-13 / +22 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'patron-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
    [% IF ( uploadborrowers ) %]
11
    [% IF ( uploadborrowers ) %]
Lines 18-25 Link Here
18
</head>
21
</head>
19
22
20
<body id="tools_import_borrowers" class="tools">
23
<body id="tools_import_borrowers" class="tools">
21
[% INCLUDE 'header.inc' %]
24
[% INCLUDE 'header.inc' form= formulaire %]
22
[% INCLUDE 'patron-search-header.inc' %]
25
[% INCLUDE 'patron-search.inc' %]
23
26
24
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
    <ol>
28
    <ol>
Lines 46-51 Link Here
46
            </li>
49
            </li>
47
        [% END %]
50
        [% END %]
48
    </ol>
51
    </ol>
52
        <ol>
53
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
54
        </ol>
55
        <ol>
56
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
57
        </ol>
49
</nav>
58
</nav>
50
59
51
[% INCLUDE 'blocking_errors.inc' %]
60
[% INCLUDE 'blocking_errors.inc' %]
Lines 56-62 Link Here
56
65
57
    <div class="row">
66
    <div class="row">
58
     <div class="col-sm-6">
67
     <div class="col-sm-6">
59
<h1>Import patrons</h1>
68
<h2>Import patrons</h2>
60
[% IF ( uploadborrowers ) %]
69
[% IF ( uploadborrowers ) %]
61
    <h5>Import results :</h5>
70
    <h5>Import results :</h5>
62
    <ul>
71
    <ul>
Lines 207-213 Link Here
207
216
208
    <form method="post" action="[% SCRIPT_NAME | html %]" enctype="multipart/form-data">
217
    <form method="post" action="[% SCRIPT_NAME | html %]" enctype="multipart/form-data">
209
        <fieldset class="rows">
218
        <fieldset class="rows">
210
            <legend>Import into the borrowers table</legend>
219
            <h3>Import into the borrowers table</h3>
211
220
212
            <ol>
221
            <ol>
213
                <li>
222
                <li>
Lines 224-230 Link Here
224
        </fieldset>
233
        </fieldset>
225
234
226
        <fieldset class="rows">
235
        <fieldset class="rows">
227
            <legend>Field to use for record matching</legend>
236
            <h3>Field to use for record matching</h3>
228
            <ol>
237
            <ol>
229
                <li class="radio">
238
                <li class="radio">
230
                    <select name="matchpoint" id="matchpoint">
239
                    <select name="matchpoint" id="matchpoint">
Lines 239-248 Link Here
239
        </fieldset>
248
        </fieldset>
240
249
241
        <fieldset class="rows">
250
        <fieldset class="rows">
242
            <legend>
251
            <h3>
243
                <a href="#" class="expand_defaults"><i class="fa fa-plus-square"></i> Enter default values</a>
252
                <a href="#" class="expand_defaults"><i class="fa fa-plus-square"></i> Enter default values</a>
244
                <a href="#" class="expand_defaults" style="display:none;"><i class="fa fa-minus-square"></i> Hide default value fields</a>
253
                <a href="#" class="expand_defaults" style="display:none;"><i class="fa fa-minus-square"></i> Hide default value fields</a>
245
            </legend>
254
            </h3>
246
255
247
            <ol class="default_values" style="display:none;">
256
            <ol class="default_values" style="display:none;">
248
                [% FOREACH borrower_db_column IN borrower_fields.keys.sort %]
257
                [% FOREACH borrower_db_column IN borrower_fields.keys.sort %]
Lines 289-298 Link Here
289
            </ol>
298
            </ol>
290
        </fieldset>
299
        </fieldset>
291
        <fieldset class="rows">
300
        <fieldset class="rows">
292
            <legend>
301
            <h3>
293
                <a href="#" class="expand_preserves"><i class="fa fa-plus-square"></i> Preserve existing values</a>
302
                <a href="#" class="expand_preserves"><i class="fa fa-plus-square"></i> Preserve existing values</a>
294
                <a href="#" class="expand_preserves" style="display:none;"><i class="fa fa-minus-square"></i> Hide preserve value fields</a>
303
                <a href="#" class="expand_preserves" style="display:none;"><i class="fa fa-minus-square"></i> Hide preserve value fields</a>
295
            </legend>
304
            </h3>
296
305
297
            <ol class="preserve_values" style="display:none;">
306
            <ol class="preserve_values" style="display:none;">
298
                <div class="hint">Selected fields will be preserved from original patron record when overwriting existing patron.</div>
307
                <div class="hint">Selected fields will be preserved from original patron record when overwriting existing patron.</div>
Lines 307-313 Link Here
307
        </fieldset>
316
        </fieldset>
308
317
309
        <fieldset class="rows">
318
        <fieldset class="rows">
310
            <legend>If matching record is already in the borrowers table:</legend>
319
            <h3>If matching record is already in the borrowers table:</h3>
311
320
312
            <ol>
321
            <ol>
313
                <li class="radio">
322
                <li class="radio">
Lines 328-334 Link Here
328
337
329
        [% IF ( Koha.Preference('ExtendedPatronAttributes') == 1 ) %]
338
        [% IF ( Koha.Preference('ExtendedPatronAttributes') == 1 ) %]
330
            <fieldset class="rows">
339
            <fieldset class="rows">
331
                <legend>Patron attributes</legend>
340
                <h3>Patron attributes</h3>
332
341
333
                <ol>
342
                <ol>
334
                    <li class="radio">
343
                    <li class="radio">
Lines 343-349 Link Here
343
        [% END %]
352
        [% END %]
344
353
345
        <fieldset class="rows">
354
        <fieldset class="rows">
346
            <legend>Welcome email</legend>
355
            <h3>Welcome email</h3>
347
            <ul>
356
            <ul>
348
                <li>
357
                <li>
349
                    <input class="welcome_new" type="checkbox" id="welcome_new" name="welcome_new"/>
358
                    <input class="welcome_new" type="checkbox" id="welcome_new" name="welcome_new"/>
Lines 355-361 Link Here
355
364
356
        <fieldset class="action">
365
        <fieldset class="action">
357
            <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
366
            <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
358
            <input type="submit" value="Import" />
367
            <input id="principal" type="submit" value="Import" />
359
        </fieldset>
368
        </fieldset>
360
    </form>
369
    </form>
361
[% END %]
370
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-18 / +28 lines)
Lines 4-17 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
7
[% formulaire = BLOCK %]
8
    [% INCLUDE 'cat-search.inc' %]
9
[% END %]
7
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Inventory &rsaquo; Tools &rsaquo; Koha</title>
11
<title>Inventory &rsaquo; Tools &rsaquo; Koha</title>
9
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
10
</head>
13
</head>
11
14
12
<body id="tools_inventory" class="tools">
15
<body id="tools_inventory" class="tools">
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'cat-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 39-44 Link Here
39
            </li>
41
            </li>
40
        [% END %]
42
        [% END %]
41
    </ol>
43
    </ol>
44
        <ol>
45
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
46
        </ol>
47
        <ol>
48
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
49
        </ol>
42
</nav>
50
</nav>
43
51
44
<div class="main container-fluid">
52
<div class="main container-fluid">
Lines 46-52 Link Here
46
        <div class="col-sm-10 col-sm-push-2">
54
        <div class="col-sm-10 col-sm-push-2">
47
            <main>
55
            <main>
48
56
49
    <h1>Inventory</h1>
57
    <h2>Inventory</h2>
50
    [% IF (moddatecount) %]<div class="dialog message">[% moddatecount | html %] items modified : datelastseen set to [% date | $KohaDates %]</div>
58
    [% IF (moddatecount) %]<div class="dialog message">[% moddatecount | html %] items modified : datelastseen set to [% date | $KohaDates %]</div>
51
    <div class="dialog alert">Number of potential barcodes read: [% LinesRead | html %]</div>[% END %]
59
    <div class="dialog alert">Number of potential barcodes read: [% LinesRead | html %]</div>[% END %]
52
    [% IF (errorfile) %]<div class="dialog alert">[% errorfile | html %] can't be opened</div>[% END %]
60
    [% IF (errorfile) %]<div class="dialog alert">[% errorfile | html %] can't be opened</div>[% END %]
Lines 67-80 Link Here
67
75
68
    <form method="post" id="inventory_form" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data">
76
    <form method="post" id="inventory_form" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data">
69
        <fieldset class="rows">
77
        <fieldset class="rows">
70
          <legend>Use a barcode file</legend>
78
          <h3>Use a barcode file</h3>
71
          <ol>
79
          <ol>
72
            <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" />
80
            <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" />
73
            <input type="button" id="resetuploadbarcodes" name="resetuploadbarcodes" value="Reset" /></li>
81
            <input type="button" id="resetuploadbarcodes" name="resetuploadbarcodes" class="principal" value="Reset" /></li>
74
          </ol>
82
          </ol>
75
        </fieldset>
83
        </fieldset>
76
        <fieldset class="rows">
84
        <fieldset class="rows">
77
            <legend>Or scan items one by one</legend>
85
            <h3>Or scan items one by one</h3>
78
            <ol>
86
            <ol>
79
                <li>
87
                <li>
80
                  <label for="barcodelist">Barcode list (one barcode per line): </label>
88
                  <label for="barcodelist">Barcode list (one barcode per line): </label>
Lines 83-89 Link Here
83
            </ol>
91
            </ol>
84
        </fieldset>
92
        </fieldset>
85
        <fieldset class="rows">
93
        <fieldset class="rows">
86
            <legend>Parameters</legend>
94
            <h3>Parameters</h3>
87
            <ol>
95
            <ol>
88
                <li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="[% today | $KohaDates %]" class="flatpickr" /></li>
96
                <li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="[% today | $KohaDates %]" class="flatpickr" /></li>
89
                <li><label for="compareinv2barcd">Compare barcodes list to results: </label><input type="checkbox" name="compareinv2barcd" id="compareinv2barcd" disabled /></li>
97
                <li><label for="compareinv2barcd">Compare barcodes list to results: </label><input type="checkbox" name="compareinv2barcd" id="compareinv2barcd" disabled /></li>
Lines 92-98 Link Here
92
            </ol>
100
            </ol>
93
        </fieldset>
101
        </fieldset>
94
        <fieldset class="rows">
102
        <fieldset class="rows">
95
        <legend>Item location filters</legend>
103
        <h3>Item location filters</h3>
96
        <ol><li>
104
        <ol><li>
97
        <label for="branch">Location: </label>
105
        <label for="branch">Location: </label>
98
            <input type="radio" name="branch" value="homebranch"> Home library</input>
106
            <input type="radio" name="branch" value="homebranch"> Home library</input>
Lines 154-166 Link Here
154
    </fieldset>
162
    </fieldset>
155
163
156
    <fieldset class="rows" id="optionalfilters">
164
    <fieldset class="rows" id="optionalfilters">
157
            <legend>Optional filters for inventory list or comparing barcodes</legend>
165
            <h3>Optional filters for inventory list or comparing barcodes</h3>
158
            <br/>
166
            <br/>
159
            <div id="statuses" style="display: block;">
167
            <div id="statuses" style="display: block;">
160
                  [% FOREACH status IN statuses %]
168
                  [% FOREACH status IN statuses %]
161
                      [% IF (status.values) %]
169
                      [% IF (status.values) %]
162
                          <fieldset style="float: left; padding: 5px; margin: 5px;text-align:right">
170
                          <fieldset style="float: left; padding: 5px; margin: 5px;text-align:right">
163
                              <legend>[% status.fieldname | html %]</legend>
171
                              <h3>[% status.fieldname | html %]</h3>
164
                              <ul id="statuses-[% fieldname | html %]" style="display: inline;">
172
                              <ul id="statuses-[% fieldname | html %]" style="display: inline;">
165
                              [% FOREACH value IN status.values %]
173
                              [% FOREACH value IN status.values %]
166
                                  [% IF (value.lib) %]
174
                                  [% IF (value.lib) %]
Lines 203-209 Link Here
203
        <li>
211
        <li>
204
            <label>Item types: </label>
212
            <label>Item types: </label>
205
            <div class="branchselector">
213
            <div class="branchselector">
206
                <p><a href="#" id="checkallitemtypes"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknoneitemtypes"> <i class="fa fa-remove"></i> Clear all</a></p>
214
                <p><a id="CheckAll" href="#" id="checkallitemtypes"> <i class="fa fa-check"></i> Select all</a> | <a id="CheckNone" href="#" id="checknoneitemtypes"> <i class="fa fa-remove"></i> Clear all</a></p>
207
                <div class="branchgridrow">
215
                <div class="branchgridrow">
208
                    [% FOREACH itemtype IN itemtypes %]
216
                    [% FOREACH itemtype IN itemtypes %]
209
                        <div class="branchgriditem">
217
                        <div class="branchgriditem">
Lines 224-230 Link Here
224
    </fieldset>
232
    </fieldset>
225
233
226
        <fieldset class="rows">
234
        <fieldset class="rows">
227
          <legend>Additional options</legend>
235
          <h3>Additional options</h3>
228
          <ol>
236
          <ol>
229
237
230
        <li>
238
        <li>
Lines 235-241 Link Here
235
  </fieldset>
243
  </fieldset>
236
            <input type="hidden" name="op" value="do_it" />
244
            <input type="hidden" name="op" value="do_it" />
237
245
238
            <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
246
            <fieldset class="action"><input class="principal" type="submit" value="Submit" class="button" /></fieldset>
239
    </form>
247
    </form>
240
248
241
    [% END %]
249
    [% END %]
Lines 249-257 Link Here
249
    <input type="hidden" name="ccode" value="[% ccode | html %]" />
257
    <input type="hidden" name="ccode" value="[% ccode | html %]" />
250
258
251
    [% UNLESS uploadedbarcodesflag %]
259
    [% UNLESS uploadedbarcodesflag %]
252
      <div><a href="#" class="checkall"><i class="fa fa-check"></i> Select all</a> <a href="#" class="clearall"><i class="fa fa-remove"></i> Clear all</a></div>
260
      <div><a id="lientype" href="#" class="checkall"><i class="fa fa-check"></i> Select all</a> <a id="lientype" href="#" class="clearall"><i class="fa fa-remove"></i> Clear all</a></div>
253
    [% END %]
261
    [% END %]
254
262
263
<div id="searchresults">
255
    <table id="inventoryt">
264
    <table id="inventoryt">
256
    <thead>
265
    <thead>
257
        <tr>
266
        <tr>
Lines 334-345 Link Here
334
    </table>
343
    </table>
335
    <div class="spacer"></div>
344
    <div class="spacer"></div>
336
    [% UNLESS uploadedbarcodesflag %]
345
    [% UNLESS uploadedbarcodesflag %]
337
      <div style="padding : .3em 0"><a href="#" class="checkall"><i class="fa fa-check"></i> Select all</a> <a href="#" class="clearall"><i class="fa fa-remove"></i> Clear all</a></div>
346
      <div style="padding : .3em 0"><a id="lientype" href="#" class="checkall"><i class="fa fa-check"></i> Select all</a> <a id="lientype" href="#" class="clearall"><i class="fa fa-remove"></i> Clear all</a></div>
338
      <input type="submit" id="markseenandquit" value="Mark seen and quit" />
347
      <input type="submit" id="markseenandquit" class="principal" value="Mark seen and quit" />
339
      <input type="submit" value="Mark seen and continue &gt;&gt;" id="markseenandcontinuebutton" />
348
      <input type="submit" class="principal" value="Mark seen and continue &gt;&gt;" id="markseenandcontinuebutton" />
340
      <input type="submit" value="Continue without marking &gt;&gt;" id="continuewithoutmarkingbutton" class="submit" />
349
      <input class="principal" type="submit" value="Continue without marking &gt;&gt;" id="continuewithoutmarkingbutton" class="submit" />
341
    [% END %]
350
    [% END %]
342
    </form>
351
    </form>
352
</div>
343
353
344
354
345
    [% END %]
355
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-31 / +46 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE TablesSettings %]
6
[% USE TablesSettings %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'letters-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>
12
<title>
10
    [% IF ( add_form or copy_form ) %]
13
    [% IF ( add_form or copy_form ) %]
Lines 49-57 Link Here
49
</head>
52
</head>
50
53
51
<body id="tools_letter" class="tools">
54
<body id="tools_letter" class="tools">
52
    [% INCLUDE 'header.inc' %]
55
    [% INCLUDE 'header.inc' form=formulaire %]
53
    [% INCLUDE 'letters-search.inc' %]
56
    
54
55
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
57
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
56
        <ol>
58
        <ol>
57
            <li>
59
            <li>
Lines 111-116 Link Here
111
                [% END %]
113
                [% END %]
112
            [% END %]
114
            [% END %]
113
        </ol>
115
        </ol>
116
        <ol>
117
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
118
        </ol>
119
        <ol>
120
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
121
        </ol>
114
    </nav> <!-- /#breadcrumbs -->
122
    </nav> <!-- /#breadcrumbs -->
115
123
116
    <div id="preview_template" class="modal in" tabindex="-1" role="dialog" aria-labelledby="preview_template_label" aria-hidden="true">
124
    <div id="preview_template" class="modal in" tabindex="-1" role="dialog" aria-labelledby="preview_template_label" aria-hidden="true">
Lines 126-133 Link Here
126
                    </div>
134
                    </div>
127
                </div>
135
                </div>
128
                <div class="modal-footer">
136
                <div class="modal-footer">
129
                    <!-- TODO <a href="#" class="btn btn-default" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>-->
137
                    <!-- TODO <a href="#" class="btn btn-default principal" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>-->
130
                    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
138
                    <button class="btn btn-default cancel" data-dismiss="modal" aria-hidden="true">Close</button>
131
                </div>
139
                </div>
132
            </div> <!-- /.modal-content -->
140
            </div> <!-- /.modal-content -->
133
        </div> <!-- /.modal-dialog -->
141
        </div> <!-- /.modal-dialog -->
Lines 145-167 Link Here
145
    [% END %]
153
    [% END %]
146
154
147
                [% IF ( no_op_set ) %]
155
                [% IF ( no_op_set ) %]
148
                    <h1>Notices &amp; slips</h1>
149
                    <form method="get" action="/cgi-bin/koha/tools/letter.pl" id="selectlibrary">
150
                        <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
151
                        [% UNLESS independant_branch %]
152
                            <p>
153
                                Select a library:
154
                                <select name="branchcode" id="branch" style="width:20em;">
155
                                    <option value="*">All libraries</option>
156
                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %]
157
                                </select>
158
                            </p>
159
                        [% END %]
160
                    </form> <!-- /#selectlibrary -->
161
156
162
                    <div id="toolbar" class="btn-toolbar">
157
                    <div id="toolbar" class="btn-toolbar">
163
                        <div class="btn-group">
158
                        <div class="btn-group">
164
                            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New notice <span class="caret"></span></button>
159
                            <button class="pat" data-toggle="dropdown"><i class="fa fa-plus"></i> New notice <span class="caret"></span></button>
165
                            <ul class="dropdown-menu">
160
                            <ul class="dropdown-menu">
166
                                <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&amp;module=acquisition">Acquisition</a></li>
161
                                <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&amp;module=acquisition">Acquisition</a></li>
167
                                <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&amp;module=catalogue">Catalog</a></li>
162
                                <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&amp;module=catalogue">Catalog</a></li>
Lines 179-184 Link Here
179
                        </div>
174
                        </div>
180
                    </div> <!-- /#toolbar -->
175
                    </div> <!-- /#toolbar -->
181
176
177
178
179
                    <h2>Notices &amp; slips</h2>
180
                    <form method="get" action="/cgi-bin/koha/tools/letter.pl" id="selectlibrary">
181
                        <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
182
                        [% UNLESS independant_branch %]
183
                            <p>
184
                                Select a library:
185
                                <select name="branchcode" id="branch" style="width:20em;">
186
                                    <option value="*">All libraries</option>
187
                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %]
188
                                </select>
189
                            </p>
190
                        [% END %]
191
                    </form> <!-- /#selectlibrary -->
192
182
                    [% IF ( search ) %]
193
                    [% IF ( search ) %]
183
                        <p>You searched for <strong>[% searchfield | html %]</strong></p>
194
                        <p>You searched for <strong>[% searchfield | html %]</strong></p>
184
                    [% END %]
195
                    [% END %]
Lines 194-199 Link Here
194
                    [% END %]
205
                    [% END %]
195
206
196
                    [% IF letter %]
207
                    [% IF letter %]
208
                    <div id="searchresults">
197
                        <table id="lettert">
209
                        <table id="lettert">
198
                            <thead>
210
                            <thead>
199
                                <tr>
211
                                <tr>
Lines 249-264 Link Here
249
                                                    [% ELSE %]
261
                                                    [% ELSE %]
250
                                                        [% select_for_copy | $raw %]
262
                                                        [% select_for_copy | $raw %]
251
                                                    [% END %]
263
                                                    [% END %]
252
                                                    <button class="btn btn-default btn-xs"><i class="fa fa-clone"></i> Copy</button>
264
                                                    <button id="lientype" class="btn btn-default btn-xs"><i class="fa fa-clone"></i> Copy</button>
253
                                                </form>
265
                                                </form>
254
                                            [% END # /IF !independent_branch %]
266
                                            [% END # /IF !independent_branch %]
255
                                        </td>
267
                                        </td>
256
                                        <td class="actions">
268
                                        <td class="actions">
257
                                            [% IF can_edit %]
269
                                            [% IF can_edit %]
258
                                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=add_form&amp;branchcode=[% lette.branchcode | html %]&amp;module=[% lette.module | html %]&amp;code=[% lette.code | html %]"><i class="fa fa-pencil"></i> Edit</a>
270
                                                <a id="lientype" class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=add_form&amp;branchcode=[% lette.branchcode | html %]&amp;module=[% lette.module | html %]&amp;code=[% lette.code | html %]"><i class="fa fa-pencil"></i> Edit</a>
259
                                            [% END %]
271
                                            [% END %]
260
                                            [% IF !lette.protected && can_edit %]
272
                                            [% IF !lette.protected && can_edit %]
261
                                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=delete_confirm&amp;branchcode=[% lette.branchcode | html %]&amp;module=[% lette.module | html %]&amp;code=[% lette.code | html %]"><i class="fa fa-trash"></i> Delete</a>
273
                                                <a id="lientype" class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=delete_confirm&amp;branchcode=[% lette.branchcode | html %]&amp;module=[% lette.module | html %]&amp;code=[% lette.code | html %]"><i class="fa fa-trash"></i> Delete</a>
262
                                            [% END %]
274
                                            [% END %]
263
                                        </td>
275
                                        </td>
264
                                    </tr>
276
                                    </tr>
Lines 273-295 Link Here
273
                                <p>There are no notices.</p>
285
                                <p>There are no notices.</p>
274
                            [% END %]
286
                            [% END %]
275
                        </div>
287
                        </div>
288
                    </div>
276
                    [% END # /IF lette %]
289
                    [% END # /IF lette %]
277
                [% END # /IF no_op_set %]
290
                [% END # /IF no_op_set %]
278
291
279
                [% IF add_form or copy_form %]
292
                [% IF add_form or copy_form %]
280
                    <h1>[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]</h1>
293
                    <h2>[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]</h2>
281
294
282
                    <div id="toolbar" class="btn-toolbar">
295
                    <div id="toolbar" class="btn-toolbar">
283
                        <div class="btn-group">
296
                        <div class="btn-group">
284
                            <button class="btn btn-default" id="submit_form"><i class="fa fa-save"></i> Save</button>
297
                            <button class="btn btn-default principal" id="submit_form"><i class="fa fa-save"></i> Save</button>
285
                            <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
298
                            <button class="btn btn-default dropdown-toggle pat" data-toggle="dropdown">
286
                            <span class="caret"></span>
299
                            <span class="caret"></span>
287
                            </button>
300
                            </button>
288
                            <ul class="dropdown-menu">
301
                            <ul class="dropdown-menu">
289
                                <li><a id="saveandcontinue" href="#">Save and continue editing</a></li>
302
                                <li><a id="saveandcontinue" href="#">Save and continue editing</a></li>
290
                            </ul>
303
                            </ul>
291
                        </div>
304
                        </div>
292
                        <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> Cancel</a>
305
                        <div>
306
                              <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-remove"></i> Cancel</a>
307
                        </div>
293
                    </div> <!-- /#toolbar -->
308
                    </div> <!-- /#toolbar -->
294
309
295
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
310
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
Lines 442-448 Link Here
442
                            <!-- Nav tabs -->
457
                            <!-- Nav tabs -->
443
                            <ul class="nav nav-tabs" role="tablist">
458
                            <ul class="nav nav-tabs" role="tablist">
444
                                <li role="presentation">
459
                                <li role="presentation">
445
                                    <a href="#lang_default" aria-controls="lang_default" role="tab" data-toggle="tab">Default</a>
460
                                    <a id="lientype" href="#lang_default" aria-controls="lang_default" role="tab" data-toggle="tab">Default</a>
446
                                </li>
461
                                </li>
447
                                [% FOR language IN languages %]
462
                                [% FOR language IN languages %]
448
                                    [% FOR sublanguage IN language.sublanguages_loop %]
463
                                    [% FOR sublanguage IN language.sublanguages_loop %]
Lines 489-498 Link Here
489
                                    <div id="[% letter.message_transport_type | html %]_[% lang | html %]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="[% letter.message_transport_type | html %]_[% lang | html %]Heading">
504
                                    <div id="[% letter.message_transport_type | html %]_[% lang | html %]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="[% letter.message_transport_type | html %]_[% lang | html %]Heading">
490
                                        <div class="panel-body">
505
                                        <div class="panel-body">
491
                                            [% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %]
506
                                            [% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %]
492
                                                <fieldset class="rows mtt" disabled="disabled">
507
                                                <fieldset class="rows mtt" style="box-shadow:none" disabled="disabled">
493
                                                    <div class="dialog message">You should enable the SMSSendDriver preference to use the SMS templates.</div>
508
                                                    <div class="dialog message">You should enable the SMSSendDriver preference to use the SMS templates.</div>
494
                                            [% ELSE %]
509
                                            [% ELSE %]
495
                                                <fieldset class="rows mtt">
510
                                                <fieldset class="rows mtt" style="box-shadow:none">
496
                                            [% END %]
511
                                            [% END %]
497
                                                <ol>
512
                                                <ol>
498
                                                    [% IF ( letter.updated_on ) %]
513
                                                    [% IF ( letter.updated_on ) %]
Lines 534-540 Link Here
534
                                                                    </select>
549
                                                                    </select>
535
                                                                </td>
550
                                                                </td>
536
                                                                <td class="actions">
551
                                                                <td class="actions">
537
                                                                    <button type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa fa-long-arrow-right"></i></button>
552
                                                                    <button id="lientype" type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa fa-long-arrow-right"></i></button>
538
                                                                </td>
553
                                                                </td>
539
                                                                <td>
554
                                                                <td>
540
                                                                    <textarea name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15">[% letter.content | html %]</textarea>
555
                                                                    <textarea name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15">[% letter.content | html %]</textarea>
Lines 578-584 Link Here
578
593
579
                [% IF ( delete_confirm ) %]
594
                [% IF ( delete_confirm ) %]
580
                    <div class="dialog alert">
595
                    <div class="dialog alert">
581
                        <h1>Delete notice?</h1>
596
                        <h2>Delete notice?</h2>
582
                        <table>
597
                        <table>
583
                            <thead>
598
                            <thead>
584
                            <tr>
599
                            <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-17 / +30 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% formulaire = BLOCK %]
6
    [% INCLUDE 'cat-search.inc' %]
7
[% END %]
5
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
6
<title>
9
<title>
7
    [% IF ( import_batch_id ) %]
10
    [% IF ( import_batch_id ) %]
Lines 18-25 Link Here
18
</head>
21
</head>
19
22
20
<body id="tools_manage-marc-import" class="tools">
23
<body id="tools_manage-marc-import" class="tools">
21
    [% INCLUDE 'header.inc' %]
24
    [% INCLUDE 'header.inc' form=formulaire %]
22
    [% INCLUDE 'cat-search.inc' %]
23
25
24
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
26
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
        <ol>
27
        <ol>
Lines 46-62 Link Here
46
                </li>
48
                </li>
47
            [% END %]
49
            [% END %]
48
        </ol>
50
        </ol>
51
        <ol>
52
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
53
        </ol>
54
        <ol>
55
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
56
        </ol>
49
    </nav>
57
    </nav>
50
58
51
    <div class="main container-fluid">
59
    <div class="main container-fluid">
52
        <div class="row">
60
        <div class="row">
53
            <div class="col-sm-10 col-sm-push-2">
61
            <div class="col-sm-10 col-sm-push-2">
54
                <main>
62
                <main>
55
                    <h1>Manage staged MARC records
63
                    <h2>Manage staged MARC records
56
                        [% IF ( import_batch_id ) %]
64
                        [% IF ( import_batch_id ) %]
57
                            &rsaquo; Batch [% import_batch_id | html %]
65
                            &rsaquo; Batch [% import_batch_id | html %]
58
                        [% END %]
66
                        [% END %]
59
                    </h1>
67
                    </h2>
60
68
61
                    [% IF ( label_batch_msg ) %]
69
                    [% IF ( label_batch_msg ) %]
62
                        [% IF ( alert ) %]
70
                        [% IF ( alert ) %]
Lines 68-74 Link Here
68
                                [% IF ( label_batch_msg == "error" ) %]
76
                                [% IF ( label_batch_msg == "error" ) %]
69
                                    <span>Error attempting to create label batch. Please ask your system administrator to check the log for more details.</span>
77
                                    <span>Error attempting to create label batch. Please ask your system administrator to check the log for more details.</span>
70
                                [% ELSE %]
78
                                [% ELSE %]
71
                                    <span>Label</span> <a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=edit&element_id=[% label_batch_msg | uri %]" >batch #[% label_batch_msg | html %]</a> created.
79
                                    <span>Label</span> <a id="lientype"  href="/cgi-bin/koha/labels/label-edit-batch.pl?op=edit&element_id=[% label_batch_msg | uri %]" >batch #[% label_batch_msg | html %]</a> created.
72
                                [% END %]
80
                                [% END %]
73
                            </strong></p>
81
                            </strong></p>
74
                        </div>
82
                        </div>
Lines 86-92 Link Here
86
                        [% UNLESS ( batch_info ) %]
94
                        [% UNLESS ( batch_info ) %]
87
                            <div class="dialog message">
95
                            <div class="dialog message">
88
                                <p>No records have been staged.</p>
96
                                <p>No records have been staged.</p>
89
                                <p><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a>.</p>
97
                                <p><a  id="lientype" href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a>.</p>
90
                            </div>
98
                            </div>
91
                        [% END %]
99
                        [% END %]
92
                    [% END %]
100
                    [% END %]
Lines 162-168 Link Here
162
                                                [% END %]
170
                                                [% END %]
163
                                            [% END %]
171
                                            [% END %]
164
                                        </select>
172
                                        </select>
165
                                        <span class="change-status">Changed. <a href="#" class="reset" id="reset_new_matcher_id">Reset</a></span>
173
                                        <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_new_matcher_id">Reset</a></span>
166
                                    [% ELSE %]
174
                                    [% ELSE %]
167
                                        <span class="label">Matching rule applied</span>
175
                                        <span class="label">Matching rule applied</span>
168
                                        [% IF ( current_matcher_id ) %]
176
                                        [% IF ( current_matcher_id ) %]
Lines 175-181 Link Here
175
                                <li>
183
                                <li>
176
                                    [% IF ( can_commit ) %]
184
                                    [% IF ( can_commit ) %]
177
                                        <label for="overlay_action">Action if matching record found:</label>
185
                                        <label for="overlay_action">Action if matching record found:</label>
178
                                        [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_overlay_action">Reset</a></span>
186
                                        [% INCLUDE 'tools-overlay-action.inc' %] <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_overlay_action">Reset</a></span>
179
                                    [% ELSE %]
187
                                    [% ELSE %]
180
                                        <span class="label">Action if matching record found:</span>
188
                                        <span class="label">Action if matching record found:</span>
181
                                        [% IF ( overlay_action == 'replace' ) %]
189
                                        [% IF ( overlay_action == 'replace' ) %]
Lines 192-198 Link Here
192
                                <li>
200
                                <li>
193
                                    [% IF ( can_commit ) %]
201
                                    [% IF ( can_commit ) %]
194
                                        <label for="nomatch_action">Action if no match found:</label>
202
                                        <label for="nomatch_action">Action if no match found:</label>
195
                                        [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_nomatch_action">Reset</a></span>
203
                                        [% INCLUDE 'tools-nomatch-action.inc' %] <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_nomatch_action">Reset</a></span>
196
                                    [% ELSE %]
204
                                    [% ELSE %]
197
                                        <span class="label">Action if no match found:</span>
205
                                        <span class="label">Action if no match found:</span>
198
                                        [% IF ( nomatch_action == 'create_new' ) %]
206
                                        [% IF ( nomatch_action == 'create_new' ) %]
Lines 208-214 Link Here
208
                                    <li>
216
                                    <li>
209
                                        [% IF ( can_commit ) %]
217
                                        [% IF ( can_commit ) %]
210
                                            <label for="item_action">Item processing:</label>
218
                                            <label for="item_action">Item processing:</label>
211
                                            [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a href="#" class="reset" id="reset_item_action">Reset</a></span>
219
                                            [% INCLUDE 'tools-item-action.inc' %] <span class="change-status">Changed. <a  id="lientype" href="#" class="reset" id="reset_item_action">Reset</a></span>
212
                                        [% ELSE %]
220
                                        [% ELSE %]
213
                                            <span class="label">Item processing:</span>
221
                                            <span class="label">Item processing:</span>
214
                                            [% IF ( item_action == 'always_add' ) %]
222
                                            [% IF ( item_action == 'always_add' ) %]
Lines 229-235 Link Here
229
                                [% END %]
237
                                [% END %]
230
                            </ol>
238
                            </ol>
231
                            [% IF ( can_commit ) %]
239
                            [% IF ( can_commit ) %]
232
                                    <fieldset class="action"><input type="submit" value="Apply different matching rules" class="button" /></fieldset>
240
                                    <fieldset class="action"><input type="submit" class="principal" value="Apply different matching rules" class="button" /></fieldset>
233
                                </form>
241
                                </form>
234
                            [% END %]
242
                            [% END %]
235
                        </fieldset> <!-- /#staged-record-matching-rules -->
243
                        </fieldset> <!-- /#staged-record-matching-rules -->
Lines 252-258 Link Here
252
                                            </select>
260
                                            </select>
253
                                        [% END %]
261
                                        [% END %]
254
                                        <br />
262
                                        <br />
255
                                        <input type="submit" class="button" name="mainformsubmit" value="Import this batch into the catalog" />
263
                                        <input type="submit" id="lientype" class="button" name="mainformsubmit" value="Import this batch into the catalog" />
256
                                    </fieldset>
264
                                    </fieldset>
257
                                </form> <!-- /#import_batch_form -->
265
                                </form> <!-- /#import_batch_form -->
258
                                <div id="jobpanel">
266
                                <div id="jobpanel">
Lines 275-280 Link Here
275
                            [% END # /IF can_revert %]
283
                            [% END # /IF can_revert %]
276
                        </div>
284
                        </div>
277
285
286
                        <div id="searchresults">
287
278
                        [% IF ( did_commit ) %]
288
                        [% IF ( did_commit ) %]
279
                            <div class="dialog message">Completed import of records</div>
289
                            <div class="dialog message">Completed import of records</div>
280
                            <table>
290
                            <table>
Lines 335-340 Link Here
335
                            </table>
345
                            </table>
336
                        [% END  # /IF did_revert%]
346
                        [% END  # /IF did_revert%]
337
347
348
338
                    [% END # /IF batch_info %]
349
                    [% END # /IF batch_info %]
339
350
340
                    <br style="clear:both;" />
351
                    <br style="clear:both;" />
Lines 385-391 Link Here
385
                                    <td>[% batch_lis.num_records | html %]</td>
396
                                    <td>[% batch_lis.num_records | html %]</td>
386
                                    <td>[% batch_lis.num_items | html %]
397
                                    <td>[% batch_lis.num_items | html %]
387
                                        [% IF ( batch_lis.num_items && batch_lis.import_status == 'imported' ) %]
398
                                        [% IF ( batch_lis.num_items && batch_lis.import_status == 'imported' ) %]
388
                                            (<a href="[% batch_lis.script_name | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&amp;op=create_labels">Create label batch</a>)
399
                                            (<a  id="lientype" href="[% batch_lis.script_name | url %]?import_batch_id=[% batch_lis.import_batch_id | uri %]&amp;op=create_labels">Create label batch</a>)
389
                                        [% END %]
400
                                        [% END %]
390
                                    </td>
401
                                    </td>
391
                                    <td class="actions">
402
                                    <td class="actions">
Lines 393-405 Link Here
393
                                            <form method="post" action="[% batch_lis.script_name | html %]" name="clean_batch_[% batch_lis.import_batch_id | html %]" id="clean_batch_[% batch_lis.import_batch_id | html %]" class="batch_form batch_clean">
404
                                            <form method="post" action="[% batch_lis.script_name | html %]" name="clean_batch_[% batch_lis.import_batch_id | html %]" id="clean_batch_[% batch_lis.import_batch_id | html %]" class="batch_form batch_clean">
394
                                                <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id | html %]" />
405
                                                <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id | html %]" />
395
                                                <input type="hidden" name="op" value="clean-batch" />
406
                                                <input type="hidden" name="op" value="clean-batch" />
396
                                                <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-eraser"></i> Clean</button>
407
                                                <button id="lientype" type="submit" class="btn btn-default btn-xs"><i class="fa fa-eraser"></i> Clean</button>
397
                                            </form>
408
                                            </form>
398
                                        [% ELSIF ( batch_lis.import_status == 'cleaned' ) %]
409
                                        [% ELSIF ( batch_lis.import_status == 'cleaned' ) %]
399
                                            <form method="post" action="/cgi-bin/koha/tools/manage-marc-import.pl" name="delete_batch_[% batch_lis.import_batch_id | html %]" id="delete_batch_[% batch_lis.import_batch_id | html %]" class="batch_form batch_delete">
410
                                            <form method="post" action="/cgi-bin/koha/tools/manage-marc-import.pl" name="delete_batch_[% batch_lis.import_batch_id | html %]" id="delete_batch_[% batch_lis.import_batch_id | html %]" class="batch_form batch_delete">
400
                                                <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id | html %]" />
411
                                                <input type="hidden" name="import_batch_id" value="[% batch_lis.import_batch_id | html %]" />
401
                                                <input type="hidden" name="op" value="delete-batch" />
412
                                                <input type="hidden" name="op" value="delete-batch" />
402
                                                <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
413
                                                <button  id="lientype" type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
403
                                            </form>
414
                                            </form>
404
                                        [% END %]
415
                                        [% END %]
405
                                    </td>
416
                                    </td>
Lines 438-449 Link Here
438
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
449
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
439
                                    </div>
450
                                    </div>
440
                                    <div class="modal-footer">
451
                                    <div class="modal-footer">
441
                                        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
452
                                        <button class="btn btn-default cancel" data-dismiss="modal" aria-hidden="true">Close</button>
442
                                    </div>
453
                                    </div>
443
                                </div>
454
                                </div>
444
                            </div>
455
                            </div>
445
                        </div> <!-- /#marcPreview -->
456
                        </div> <!-- /#marcPreview -->
446
                    [% END # /IF import_batch_id %]
457
                    [% END # /IF import_batch_id %]
458
459
                    </div>
447
                </main>
460
                </main>
448
461
449
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
462
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
Lines 598-604 Link Here
598
                                '<a class="btn btn-default btn-xs" target="_blank" href="' + record_details_url
611
                                '<a class="btn btn-default btn-xs" target="_blank" href="' + record_details_url
599
                                + aData['matched'] + '"><i class="fa fa-eye"></i> ' + _("View") + '</a> '
612
                                + aData['matched'] + '"><i class="fa fa-eye"></i> ' + _("View") + '</a> '
600
                                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
613
                                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
601
                                    + '<a class="btn btn-default btn-xs" target="_blank" href="' + record_edit_url
614
                                    + '<a  id="lientype" class="btn btn-default btn-xs" target="_blank" href="' + record_edit_url
602
                                    + aData['matched'] + '"><i class="fa fa-pencil"></i> ' + _("Edit") + '</a>'
615
                                    + aData['matched'] + '"><i class="fa fa-pencil"></i> ' + _("Edit") + '</a>'
603
                                [% END %]
616
                                [% END %]
604
                            );
617
                            );
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-16 / +28 lines)
Lines 3-8 Link Here
3
[% USE Asset %]
3
[% USE Asset %]
4
[% USE TablesSettings %]
4
[% USE TablesSettings %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>MARC modification templates &rsaquo; Tools &rsaquo; Koha</title>
10
<title>MARC modification templates &rsaquo; Tools &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 20-27 Link Here
20
</head>
23
</head>
21
24
22
<body id="tools_marc_modification_templates" class="tools">
25
<body id="tools_marc_modification_templates" class="tools">
23
[% INCLUDE 'header.inc' %]
26
[% INCLUDE 'header.inc' form=formulaire %]
24
[% INCLUDE 'cat-search.inc' %]
25
27
26
[% IF ( TemplatesLoop ) %]
28
[% IF ( TemplatesLoop ) %]
27
    [% FOREACH TemplatesLoo IN TemplatesLoop %]
29
    [% FOREACH TemplatesLoo IN TemplatesLoop %]
Lines 57-62 Link Here
57
            </li>
59
            </li>
58
        [% END %]
60
        [% END %]
59
    </ol>
61
    </ol>
62
        <ol>
63
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
64
        </ol>
65
        <ol>
66
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
67
        </ol>
60
</nav>
68
</nav>
61
69
62
<div class="main container-fluid">
70
<div class="main container-fluid">
Lines 65-76 Link Here
65
            <main>
73
            <main>
66
74
67
            <div id="toolbar" class="btn-toolbar">
75
            <div id="toolbar" class="btn-toolbar">
68
                <a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default duplicate_template"><i class="fa fa-plus"></i> New template</a>
76
                <div>
77
                <a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="pat duplicate_template"><i class="fa fa-plus"></i> New template</a>
69
                [% IF ( template_id != '' ) %]
78
                [% IF ( template_id != '' ) %]
70
                    <a href="#" id="new_action" class="btn btn-default"><i class="fa fa-plus"></i> New action</a>
79
                    <a href="#" id="new_action" class="pat"><i class="fa fa-plus"></i> New action</a>
71
                    <a class="btn btn-default delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% template_id | html %]&amp;op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete template</a>
80
                    <a class="pat delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% template_id | html %]&amp;op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete template</a>
72
                [% END %]
81
                [% END %]
73
            </div>
82
            </div></div>
74
83
75
            [% IF error %]
84
            [% IF error %]
76
                [% IF error == 'no_from_field' %]
85
                [% IF error == 'no_from_field' %]
Lines 84-89 Link Here
84
93
85
                    <h1>MARC modification templates [% template_id | html %]</h1>
94
                    <h1>MARC modification templates [% template_id | html %]</h1>
86
95
96
<div id="searchresults">
87
                    <table id="templatest">
97
                    <table id="templatest">
88
                        <thead>
98
                        <thead>
89
                            <tr>
99
                            <tr>
Lines 98-118 Link Here
98
                                    <td>[% TemplatesLoo.template_id | html %]</td>
108
                                    <td>[% TemplatesLoo.template_id | html %]</td>
99
                                    <td>[% TemplatesLoo.name | html %]</td>
109
                                    <td>[% TemplatesLoo.name | html %]</td>
100
                                    <td class="actions">
110
                                    <td class="actions">
101
                                        <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id | html %]&amp;op=select_template" ><i class="fa fa-fw fa-pencil"></i> Edit actions</a>
111
                                        <a id="lientype" class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id | html %]&amp;op=select_template" ><i class="fa fa-fw fa-pencil"></i> Edit actions</a>
102
                                        <a class="btn btn-default btn-xs duplicate_template" href="#" data-toggle="modal" data-template_id="[% TemplatesLoo.template_id | html %]" data-target="#createTemplate"><i class="fa fa-fw fa-copy"></i> Duplicate</a>
112
                                        <a id="lientype" class="btn btn-default btn-xs duplicate_template" href="#" data-toggle="modal" data-template_id="[% TemplatesLoo.template_id | html %]" data-target="#createTemplate"><i class="fa fa-fw fa-copy"></i> Duplicate</a>
103
                                        <a class="btn btn-default btn-xs delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id | html %]&amp;op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete</a>
113
                                        <a id="lientype" class="btn btn-default btn-xs delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% TemplatesLoo.template_id | html %]&amp;op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete</a>
104
                                    </td>
114
                                    </td>
105
                                </tr>
115
                                </tr>
106
                            [% END %]
116
                            [% END %]
107
                        </tbody>
117
                        </tbody>
108
                    </table>
118
                    </table>
119
</div>
109
120
110
                [% ELSE %]
121
                [% ELSE %]
111
122
112
                    <h1>Actions for <em>[% template_name | html %]</em></h1>
123
                    <h1>Actions for <em>[% template_name | html %]</em></h1>
113
124
114
                    [% IF ( ActionsLoop ) %]
125
                    [% IF ( ActionsLoop ) %]
115
126
<div id="searchresults">
116
                        <table id="template_actions" class="template_actions">
127
                        <table id="template_actions" class="template_actions">
117
                            <thead>
128
                            <thead>
118
                                <tr>
129
                                <tr>
Lines 192-206 Link Here
192
                                        </td>
203
                                        </td>
193
                                        <td>[% ActionsLoo.description | html %]</td>
204
                                        <td>[% ActionsLoo.description | html %]</td>
194
                                        <td>
205
                                        <td>
195
                                            <a class="btn btn-default btn-xs edit_action" href="#modaction" data-mmta_id="[% ActionsLoo.mmta_id | html %]"><i class="fa fa-pencil"></i> Edit</a>
206
                                            <a class="btn btn-default btn-xs edit_action" id="lientype" href="#modaction" data-mmta_id="[% ActionsLoo.mmta_id | html %]"><i class="fa fa-pencil"></i> Edit</a>
196
                                        </td>
207
                                        </td>
197
                                        <td>
208
                                        <td>
198
                                            <a class="btn btn-default btn-xs" href="marc_modification_templates.pl?template_id=[% ActionsLoo.template_id | html %]&op=delete_action&mmta_id=[% ActionsLoo.mmta_id | html %]" onclick="return confirmDeleteAction();"><i class="fa fa-trash"></i> Delete</a>
209
                                            <a class="btn btn-default btn-xs" id="lientype" hhref="marc_modification_templates.pl?template_id=[% ActionsLoo.template_id | html %]&op=delete_action&mmta_id=[% ActionsLoo.mmta_id | html %]" onclick="return confirmDeleteAction();"><i class="fa fa-trash"></i> Delete</a>
199
                                        </td>
210
                                        </td>
200
                                    </tr>
211
                                    </tr>
201
                                [% END # /FOREACH ActionsLoo %]
212
                                [% END # /FOREACH ActionsLoo %]
202
                            </tbody>
213
                            </tbody>
203
                        </table>
214
                        </table>
215
                        </div>
204
                    [% ELSE %]
216
                    [% ELSE %]
205
                        <div class="dialog message template_actions"><p>There are no defined actions for this template.</p></div>
217
                        <div class="dialog message template_actions"><p>There are no defined actions for this template.</p></div>
206
                    [% END # /IF ActionsLoop %]
218
                    [% END # /IF ActionsLoop %]
Lines 208-214 Link Here
208
                    <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_action" >
220
                    <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_action" >
209
                        <a name="modaction"></a>
221
                        <a name="modaction"></a>
210
                        <fieldset>
222
                        <fieldset>
211
                            <legend id="modaction_legend">Add a new action</legend>
223
                            <h3 id="modaction_legend">Add a new action</h3>
212
                            <div id="warning_multivalued" style="color:red; display:none;">You have chosen a condition on the same field as the original field. If your records contain multivalued fields it is highly recommended not to do that.</div>
224
                            <div id="warning_multivalued" style="color:red; display:none;">You have chosen a condition on the same field as the original field. If your records contain multivalued fields it is highly recommended not to do that.</div>
213
225
214
                            <div class="action_line">
226
                            <div class="action_line">
Lines 290-296 Link Here
290
                                <input type="hidden" name="template_id" value="[% template_id | html %]" />
302
                                <input type="hidden" name="template_id" value="[% template_id | html %]" />
291
                                <input type="hidden" name="mmta_id" id="mmta_id" />
303
                                <input type="hidden" name="mmta_id" id="mmta_id" />
292
                                <input type="hidden" name="op" value="add_action" />
304
                                <input type="hidden" name="op" value="add_action" />
293
                                <input id="action_submit" type="submit" value="Add action" />
305
                                <input id="action_submit" class="principal" type="submit" value="Add action" />
294
                                <a href="#modaction" class="cancel" id="cancel_edit" onclick="cancelEditAction();">Cancel</a>
306
                                <a href="#modaction" class="cancel" id="cancel_edit" onclick="cancelEditAction();">Cancel</a>
295
                            </fieldset>
307
                            </fieldset>
296
308
Lines 336-343 Link Here
336
                        </fieldset>
348
                        </fieldset>
337
                    </div>
349
                    </div>
338
                    <div class="modal-footer">
350
                    <div class="modal-footer">
339
                        <button type="submit" class="btn btn-default">Submit</button>
351
                        <button type="submit" class="btn btn-default principal">Submit</button>
340
                        <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
352
                        <button class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
341
                    </div>
353
                    </div>
342
                </form>
354
                </form>
343
                </div>
355
                </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-17 / +27 lines)
Lines 6-19 Link Here
6
[% USE Categories %]
6
[% USE Categories %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'cat-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>Batch patron modification &rsaquo; Tools &rsaquo; Koha</title>
13
<title>Batch patron modification &rsaquo; Tools &rsaquo; Koha</title>
11
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
12
</head>
15
</head>
13
16
14
<body id="tools_modborrowers" class="tools">
17
<body id="tools_modborrowers" class="tools">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'cat-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 27-32 Link Here
27
            <a href="#" aria-current="page">Batch patron modification</a>
29
            <a href="#" aria-current="page">Batch patron modification</a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
Lines 35-44 Link Here
35
            <main>
43
            <main>
36
44
37
                [% IF ( op == 'show_form' ) %]
45
                [% IF ( op == 'show_form' ) %]
38
                <h1>Batch patron modification</h1>
46
                <h2>Batch patron modification</h2>
39
                <form id="patron_batchmod_form" method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/modborrowers.pl">
47
                <form id="patron_batchmod_form" method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/modborrowers.pl">
40
                    <input type="hidden" name="op" value="show" />
48
                    <input type="hidden" name="op" value="show" />
41
                    <div id="batch_patron_options" class="toptabs">
49
                    <div id="batch_patron_options" class="toptabs">
50
                        <fieldset>
42
                        <ul class="nav nav-tabs" role="tablist">
51
                        <ul class="nav nav-tabs" role="tablist">
43
                            <li role="presentation" class="active">
52
                            <li role="presentation" class="active">
44
                                <a href="#usecardnumber" aria-controls="usecardnumber" role="tab" data-toggle="tab">By card number</a>
53
                                <a href="#usecardnumber" aria-controls="usecardnumber" role="tab" data-toggle="tab">By card number</a>
Lines 54-61 Link Here
54
                        </ul>
63
                        </ul>
55
                        <div class="tab-content">
64
                        <div class="tab-content">
56
                            <div id="usecardnumber" role="tabpanel" class="tab-pane active">
65
                            <div id="usecardnumber" role="tabpanel" class="tab-pane active">
57
                                <fieldset class="rows">
66
                                <fieldset>
58
                                    <legend>Use a file of card numbers</legend>
67
                                    <h3>Use a file of card numbers</h3>
59
                                    <ol>
68
                                    <ol>
60
                                        <li>
69
                                        <li>
61
                                            <label for="cardnumberuploadfile">File: </label> <input type="file"
70
                                            <label for="cardnumberuploadfile">File: </label> <input type="file"
Lines 64-71 Link Here
64
                                        </li>
73
                                        </li>
65
                                    </ol>
74
                                    </ol>
66
                                </fieldset>
75
                                </fieldset>
67
                                <fieldset class="rows">
76
                                <fieldset>
68
                                    <legend>Or list card numbers one by one</legend>
77
                                    <h3>Or list card numbers one by one</h3>
69
                                    <ol>
78
                                    <ol>
70
                                        <li>
79
                                        <li>
71
                                            <label for="cardnumberlist">Card number list (one card number per line):
80
                                            <label for="cardnumberlist">Card number list (one card number per line):
Lines 76-88 Link Here
76
                                    </ol>
85
                                    </ol>
77
                                </fieldset>
86
                                </fieldset>
78
                                <fieldset class="action">
87
                                <fieldset class="action">
79
                                    <input type="submit" value="Continue" class="button" />
88
                                    <input class="principal" type="submit" value="Continue" class="button" />
80
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
89
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
81
                                </fieldset>
90
                                </fieldset>
82
                            </div>
91
                            </div>
83
                            <div id="useborrowernumber" role="tabpanel" class="tab-pane">
92
                            <div id="useborrowernumber" role="tabpanel" class="tab-pane">
84
                                <fieldset class="rows">
93
                                <fieldset>
85
                                    <legend>Use a file of borrowernumbers</legend>
94
                                    <h3>Use a file of borrowernumbers</h3>
86
                                    <ol>
95
                                    <ol>
87
                                        <li>
96
                                        <li>
88
                                            <label for="borrowernumberuploadfile">File: </label> <input type="file"
97
                                            <label for="borrowernumberuploadfile">File: </label> <input type="file"
Lines 91-98 Link Here
91
                                        </li>
100
                                        </li>
92
                                    </ol>
101
                                    </ol>
93
                                </fieldset>
102
                                </fieldset>
94
                                <fieldset class="rows">
103
                                <fieldset>
95
                                    <legend>List borrowernumbers one by one</legend>
104
                                    <h3>List borrowernumbers one by one</h3>
96
                                    <ol>
105
                                    <ol>
97
                                        <li>
106
                                        <li>
98
                                            <label for="borrowernumberlist">Borrowernumber list (one number per line):
107
                                            <label for="borrowernumberlist">Borrowernumber list (one number per line):
Lines 103-116 Link Here
103
                                    </ol>
112
                                    </ol>
104
                                </fieldset>
113
                                </fieldset>
105
                                <fieldset class="action">
114
                                <fieldset class="action">
106
                                    <input type="submit" value="Continue" class="button" />
115
                                    <input class="principal" type="submit" value="Continue" class="button" />
107
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
116
                                    <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
108
                                </fieldset>
117
                                </fieldset>
109
                            </div>
118
                            </div>
110
                            [% IF patron_lists %]
119
                            [% IF patron_lists %]
111
                                <div id="uselist" role="tabpanel" class="tab-pane">
120
                                <div id="uselist" role="tabpanel" class="tab-pane">
112
                                    <fieldset class="rows">
121
                                    <fieldset>
113
                                        <legend>Use a patron list</legend>
122
                                        <h3>Use a patron list</h3>
114
                                        <ol>
123
                                        <ol>
115
                                            <li>
124
                                            <li>
116
                                                <label for="patron_list_id">Patron list: </label>
125
                                                <label for="patron_list_id">Patron list: </label>
Lines 124-135 Link Here
124
                                        </ol>
133
                                        </ol>
125
                                    </fieldset>
134
                                    </fieldset>
126
                                    <fieldset class="action">
135
                                    <fieldset class="action">
127
                                        <input type="submit" value="Continue" class="button" />
136
                                        <input class="button principal" type="submit" value="Continue" />
128
                                        <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
137
                                        <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
129
                                    </fieldset>
138
                                    </fieldset>
130
                                </div>
139
                                </div>
131
                            [% END %]
140
                            [% END %]
132
                        </div> <!-- /.tab-content -->
141
                        </div> <!-- /.tab-content -->
142
                        </fieldset>
133
                    </div><!-- /#batch_patron_options -->
143
                    </div><!-- /#batch_patron_options -->
134
                </form>
144
                </form>
135
                [% END %]
145
                [% END %]
Lines 140-146 Link Here
140
                    <div class="dialog alert">
150
                    <div class="dialog alert">
141
                        <p>No patron card numbers or borrowernumbers given.</p>
151
                        <p>No patron card numbers or borrowernumbers given.</p>
142
                        <form action="/cgi-bin/koha/tools/modborrowers.pl" method="get">
152
                        <form action="/cgi-bin/koha/tools/modborrowers.pl" method="get">
143
                         <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
153
                         <button type="submit" class="approve" id="lientype"><i class="fa fa-fw fa-check"></i> OK</button>
144
                        </form>
154
                        </form>
145
                    </div>
155
                    </div>
146
                [% END #Alert if no patrons %]
156
                [% END #Alert if no patrons %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt (-2 / +10 lines)
Lines 3-16 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'cat-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Overdue notice/status triggers &rsaquo; Tools &rsaquo; Koha</title>
10
<title>Overdue notice/status triggers &rsaquo; Tools &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
12
</head>
10
13
11
<body id="tools_overduerules" class="tools">
14
<body id="tools_overduerules" class="tools">
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'cat-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 26-31 Link Here
26
            </a>
28
            </a>
27
        </li>
29
        </li>
28
    </ol>
30
    </ol>
31
        <ol>
32
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
33
        </ol>
34
        <ol>
35
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
36
        </ol>
29
</nav>
37
</nav>
30
38
31
<div class="main container-fluid">
39
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt (-9 / +17 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'patron-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Upload patron images &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Upload patron images &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
Lines 8-15 Link Here
8
11
9
<body id="tools_picture-upload" class="tools">
12
<body id="tools_picture-upload" class="tools">
10
13
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'patron-search-header.inc' %]
15
[% INCLUDE 'patron-search.inc' %]
13
16
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
18
    <ol>
Lines 36-41 Link Here
36
            </li>
39
            </li>
37
        [% END %]
40
        [% END %]
38
    </ol>
41
    </ol>
42
        <ol>
43
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
44
        </ol>
45
        <ol>
46
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
47
        </ol>
39
</nav>
48
</nav>
40
49
41
[% INCLUDE 'blocking_errors.inc' %]
50
[% INCLUDE 'blocking_errors.inc' %]
Lines 48-63 Link Here
48
            [% IF ( ERRORS ) %]
57
            [% IF ( ERRORS ) %]
49
				[% IF ( TCOUNTS ) %]
58
				[% IF ( TCOUNTS ) %]
50
					<div class="dialog alert">
59
					<div class="dialog alert">
51
                    <h1>Patron image(s) uploaded with some errors</h1>
60
                    <h2>Patron image(s) uploaded with some errors</h2>
52
                    </div>
61
                    </div>
53
				[% ELSE %]
62
				[% ELSE %]
54
					<div class="dialog alert">
63
					<div class="dialog alert">
55
                    <h1>Patron image failed to upload</h1>
64
                    <h2>Patron image failed to upload</h2>
56
                    </div>
65
                    </div>
57
				[% END %]
66
				[% END %]
58
            [% ELSE %]
67
            [% ELSE %]
59
                <div class="dialog message">
68
                <div class="dialog message">
60
                <h1>Patron image(s) successfully uploaded</h1>
69
                <h2>Patron image(s) successfully uploaded</h2>
61
                </div>
70
                </div>
62
            [% END %]
71
            [% END %]
63
	        <ul class="data">
72
	        <ul class="data">
Lines 109-115 Link Here
109
                    <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to tools</a></li>
118
                    <li><a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to tools</a></li>
110
                [% END %]</ul>
119
                [% END %]</ul>
111
[% ELSE %]
120
[% ELSE %]
112
                <h1>Upload patron images</h1>
121
                <h2>Upload patron images</h2>
113
                [% IF ( ERRORS ) %]
122
                [% IF ( ERRORS ) %]
114
                <div class="dialog alert">
123
                <div class="dialog alert">
115
                    [% FOREACH ERROR IN ERRORS %]
124
                    [% FOREACH ERROR IN ERRORS %]
Lines 149-159 Link Here
149
                                <span class="required">Required</span>
158
                                <span class="required">Required</span>
150
                            </li>
159
                            </li>
151
                        </ol>
160
                        </ol>
152
	            </fieldset>
161
153
                    <fieldset class="action">
154
                        <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
162
                        <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
155
                        <input type="hidden" name="op" value="Upload" />
163
                        <input type="hidden" name="op" value="Upload" />
156
                        <input type="submit" value="Upload" class="submit" />
164
                        <input type="submit" value="Upload" class="principal" />
157
						<a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">Cancel</a>
165
						<a href="/cgi-bin/koha/tools/tools-home.pl" class="cancel">Cancel</a>
158
                    </fieldset>
166
                    </fieldset>
159
                </form>
167
                </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt (-2 / +10 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'prefs-admin-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>OPAC problem reports &rsaquo; Administration &rsaquo; Koha</title>
10
<title>OPAC problem reports &rsaquo; Administration &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
Lines 10-17 Link Here
10
13
11
<body id="tools_problem-reports" class="tools">
14
<body id="tools_problem-reports" class="tools">
12
15
13
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'header.inc' form=formulaire %]
14
[% INCLUDE 'prefs-admin-search.inc' %]
15
17
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
    <ol>
19
    <ol>
Lines 27-32 Link Here
27
            </a>
29
            </a>
28
        </li>
30
        </li>
29
    </ol>
31
    </ol>
32
        <ol>
33
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
34
        </ol>
35
        <ol>
36
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
37
        </ol>
30
</nav>
38
</nav>
31
39
32
<div class="main container-fluid">
40
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt (-4 / +12 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
    [% INCLUDE 'doc-head-open.inc' %]
7
    [% INCLUDE 'doc-head-open.inc' %]
5
    <title>Quote uploader &rsaquo; Tools &rsaquo; Koha</title>
8
    <title>Quote uploader &rsaquo; Tools &rsaquo; Koha</title>
6
    [% INCLUDE 'doc-head-close.inc' %]
9
    [% INCLUDE 'doc-head-close.inc' %]
Lines 9-16 Link Here
9
</head>
12
</head>
10
13
11
<body id="tools_quotes" class="tools">
14
<body id="tools_quotes" class="tools">
12
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' form=formulaire %]
13
[% INCLUDE 'cat-search.inc' %]
14
16
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
    <ol>
18
    <ol>
Lines 29-34 Link Here
29
            </a>
31
            </a>
30
        </li>
32
        </li>
31
    </ol>
33
    </ol>
34
        <ol>
35
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
36
        </ol>
37
        <ol>
38
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
39
        </ol>
32
</nav>
40
</nav>
33
41
34
<div class="main container-fluid">
42
<div class="main container-fluid">
Lines 50-56 Link Here
50
                <div id="csv_error" class="alert" style="visibility: hidden;">Something went wrong, check your CSV file.</div>
58
                <div id="csv_error" class="alert" style="visibility: hidden;">Something went wrong, check your CSV file.</div>
51
                <div id="instructions">
59
                <div id="instructions">
52
                <fieldset id="file_uploader_help" class="rows">
60
                <fieldset id="file_uploader_help" class="rows">
53
                    <legend>Instructions</legend>
61
                    <h3>Instructions</h3>
54
                    <div id="file_uploader_inst">
62
                    <div id="file_uploader_inst">
55
                        <ul>
63
                        <ul>
56
                        <li>The quote uploader accepts standard csv files with two columns: "source","text"</li>
64
                        <li>The quote uploader accepts standard csv files with two columns: "source","text"</li>
Lines 68-74 Link Here
68
                </div>
76
                </div>
69
77
70
                <fieldset id="file_uploader" class="rows">
78
                <fieldset id="file_uploader" class="rows">
71
                    <legend>Upload quotes</legend>
79
                    <h3>Upload quotes</h3>
72
                    <div id="file_upload">
80
                    <div id="file_upload">
73
                        <input type="file" name="file" />
81
                        <input type="file" name="file" />
74
                        <button id="cancel_upload" style="display:none">Cancel upload</button>
82
                        <button id="cancel_upload" style="display:none">Cancel upload</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-7 / +18 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Quote editor &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Quote editor &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
Lines 8-15 Link Here
8
</head>
11
</head>
9
12
10
<body id="tools_quotes" class="tools">
13
<body id="tools_quotes" class="tools">
11
[% INCLUDE 'header.inc' %]
14
[% INCLUDE 'header.inc' form=formulaire %]
12
[% INCLUDE 'cat-search.inc' %]
13
15
14
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
    <ol>
17
    <ol>
Lines 25-30 Link Here
25
            </a>
27
            </a>
26
        </li>
28
        </li>
27
    </ol>
29
    </ol>
30
        <ol>
31
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
32
        </ol>
33
        <ol>
34
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
35
        </ol>
28
</nav>
36
</nav>
29
37
30
<div class="main container-fluid">
38
<div class="main container-fluid">
Lines 54-61 Link Here
54
62
55
[% IF op == 'list' %]
63
[% IF op == 'list' %]
56
    <div id="toolbar" class="btn-toolbar">
64
    <div id="toolbar" class="btn-toolbar">
57
        <a class="btn btn-default" id="newquote" href="/cgi-bin/koha/tools/quotes.pl?op=add_form"><i class="fa fa-plus"></i> New quote</a>
65
        <div>
58
        <a class="btn btn-default" id="import_quotes" href="/cgi-bin/koha/tools/quotes-upload.pl"><i class="fa fa-folder-open"></i> Import quotes</a>
66
            <a class="pat" id="newquote" href="/cgi-bin/koha/tools/quotes.pl?op=add_form"><i class="fa fa-plus"></i> New quote</a>
67
            <a class="pat" id="import_quotes" href="/cgi-bin/koha/tools/quotes-upload.pl"><i class="fa fa-folder-open"></i> Import quotes</a>
68
        </div>
59
    </div>
69
    </div>
60
[% END %]
70
[% END %]
61
71
Lines 76-85 Link Here
76
                    <span class="required">Required</span>
86
                    <span class="required">Required</span>
77
                </li>
87
                </li>
78
            </ol>
88
            </ol>
79
        </fieldset>
89
80
        <fieldset class="action">
81
            <input type="hidden" name="id" value="[% quote.id | html %]" />
90
            <input type="hidden" name="id" value="[% quote.id | html %]" />
82
            <input type="submit" value="Submit" />
91
            <input class="principal" type="submit" value="Submit" />
83
            <a class="cancel" href="/cgi-bin/koha/tools/quotes.pl">Cancel</a>
92
            <a class="cancel" href="/cgi-bin/koha/tools/quotes.pl">Cancel</a>
84
        </fieldset>
93
        </fieldset>
85
    </form>
94
    </form>
Lines 103-108 Link Here
103
[% IF op == 'list' %]
112
[% IF op == 'list' %]
104
    <h1>Quotes</h1>
113
    <h1>Quotes</h1>
105
    [% IF quotes_count > 0 %]
114
    [% IF quotes_count > 0 %]
115
    <div id="searchresults">
106
        <table id="quotes">
116
        <table id="quotes">
107
            <thead>
117
            <thead>
108
                <tr>
118
                <tr>
Lines 116-121 Link Here
116
        </table>
126
        </table>
117
    [% ELSE %]
127
    [% ELSE %]
118
        <div class="dialog message">There are no quotes defined. <a href="/cgi-bin/koha/tools/quotes.pl?op=add_form">Start defining quotes</a>.</div>
128
        <div class="dialog message">There are no quotes defined. <a href="/cgi-bin/koha/tools/quotes.pl?op=add_form">Start defining quotes</a>.</div>
129
    </div>
119
    [% END %]
130
    [% END %]
120
131
121
    <div id="delete_confirm_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="delete_confirm_modal_label" aria-hidden="true">
132
    <div id="delete_confirm_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="delete_confirm_modal_label" aria-hidden="true">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt (-5 / +14 lines)
Lines 1-14 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'circ-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Task scheduler &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Task scheduler &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
10
</head>
8
11
9
<body id="tools_scheduler" class="tools">
12
<body id="tools_scheduler" class="tools">
10
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'header.inc' form=formulaire %]
11
[% INCLUDE 'circ-search.inc' %]
12
14
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
16
    <ol>
Lines 24-29 Link Here
24
            </a>
26
            </a>
25
        </li>
27
        </li>
26
    </ol>
28
    </ol>
29
        <ol>
30
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
31
        </ol>
32
        <ol>
33
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
34
        </ol>
27
</nav>
35
</nav>
28
36
29
<div class="main container-fluid">
37
<div class="main container-fluid">
Lines 41-47 Link Here
41
<input type="hidden" name="mode" value="job_add" />
49
<input type="hidden" name="mode" value="job_add" />
42
50
43
<fieldset class="rows">
51
<fieldset class="rows">
44
<legend>Task scheduler</legend><ol>
52
<h3>Task scheduler</h3><ol>
45
<li><span class="label">Current server time is:</span>
53
<li><span class="label">Current server time is:</span>
46
[% time | html %]</li>
54
[% time | html %]</li>
47
<li><label for="starttime">Time:</label>
55
<li><label for="starttime">Time:</label>
Lines 74-81 Link Here
74
82
75
<input type="text" name="email" id="email" size="50" />
83
<input type="text" name="email" id="email" size="50" />
76
</li>
84
</li>
77
</ol></fieldset>
85
</ol>
78
<fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
86
    <fieldset class="action"><input class="submit-button principal" type="submit" value="Save" />
87
</fieldset></fieldset>
79
</form>
88
</form>
80
89
81
[% IF ( JOBS ) %]<h2>Jobs already entered</h2>
90
[% IF ( JOBS ) %]<h2>Jobs already entered</h2>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt (+6 lines)
Lines 36-41 Link Here
36
            </a>
36
            </a>
37
        </li>
37
        </li>
38
    </ol>
38
    </ol>
39
        <ol>
40
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
41
        </ol>
42
        <ol>
43
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
44
        </ol>
39
</nav>
45
</nav>
40
46
41
<div class="main container-fluid">
47
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt (-13 / +19 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Stage MARC records for import &rsaquo; Tools &rsaquo; Koha</title>
8
<title>Stage MARC records for import &rsaquo; Tools &rsaquo; Koha</title>
6
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
Lines 12-19 Link Here
12
15
13
</head>
16
</head>
14
<body id="tools_stage-marc-import" class="tools">
17
<body id="tools_stage-marc-import" class="tools">
15
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' form=formulaire %]
16
[% INCLUDE 'cat-search.inc' %]
17
19
18
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
    <ol>
21
    <ol>
Lines 41-46 Link Here
41
            </li>
43
            </li>
42
        [% END %]
44
        [% END %]
43
    </ol>
45
    </ol>
46
        <ol>
47
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
48
        </ol>
49
        <ol>
50
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
51
        </ol>
44
</nav>
52
</nav>
45
53
46
<div class="main container-fluid">
54
<div class="main container-fluid">
Lines 56-62 Link Here
56
[% END %]
64
[% END %]
57
65
58
[% IF ( uploadmarc ) %]
66
[% IF ( uploadmarc ) %]
59
<h1>MARC staging results</h1>
60
<ul>
67
<ul>
61
    [% SWITCH (record_type) %]
68
    [% SWITCH (record_type) %]
62
    [% CASE 'biblio' %]
69
    [% CASE 'biblio' %]
Lines 90-103 Link Here
90
</p>
97
</p>
91
[% END %]
98
[% END %]
92
[% ELSE %]
99
[% ELSE %]
93
<h1>Stage MARC records for import</h1>
94
<ul>
100
<ul>
95
    <li>Select a MARC file to stage in the import reservoir.  It will be parsed, and each valid record staged for later import into the catalog.</li>
101
    <li>Select a MARC file to stage in the import reservoir.  It will be parsed, and each valid record staged for later import into the catalog.</li>
96
    <li>You can enter a name for this import. It may be useful, when creating a record, to remember where the suggested MARC data comes from!</li>
102
    <li>You can enter a name for this import. It may be useful, when creating a record, to remember where the suggested MARC data comes from!</li>
97
</ul>
103
</ul>
98
<form method="post" action="[% SCRIPT_NAME | html %]" id="uploadfile" enctype="multipart/form-data">
104
<form method="post" action="[% SCRIPT_NAME | html %]" id="uploadfile" enctype="multipart/form-data">
99
<fieldset class="rows" id="uploadform">
105
<fieldset class="rows" id="uploadform">
100
<legend>Upload a file to stage</legend>
106
<h3>Upload a file to stage</h3>
101
<ol>
107
<ol>
102
    <li>
108
    <li>
103
        <div id="fileuploadform">
109
        <div id="fileuploadform">
Lines 107-113 Link Here
107
    </li>
113
    </li>
108
</ol>
114
</ol>
109
    <fieldset class="action">
115
    <fieldset class="action">
110
        <button id="fileuploadbutton">Upload file</button>
116
        <button class="principal" id="fileuploadbutton">Upload file</button>
111
        <button id="fileuploadcancel">Cancel</button>
117
        <button id="fileuploadcancel">Cancel</button>
112
    </fieldset>
118
    </fieldset>
113
</fieldset>
119
</fieldset>
Lines 123-129 Link Here
123
</form>
129
</form>
124
130
125
<fieldset class="rows" id="profile_fieldset">
131
<fieldset class="rows" id="profile_fieldset">
126
    <legend>Pre-fill values with profile?</legend>
132
    <h3>Pre-fill values with profile?</h3>
127
    <ol>
133
    <ol>
128
        <li>
134
        <li>
129
            <label for="profile">Profile: </label>
135
            <label for="profile">Profile: </label>
Lines 146-152 Link Here
146
        <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
152
        <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
147
        <input type="hidden" name="runinbackground" id="runinbackground" value="" />
153
        <input type="hidden" name="runinbackground" id="runinbackground" value="" />
148
        <input type="hidden" name="completedJobID" id="completedJobID" value="" />
154
        <input type="hidden" name="completedJobID" id="completedJobID" value="" />
149
    <legend>Settings</legend>
155
    <h3>Settings</h3>
150
	<ol><li>
156
	<ol><li>
151
		<label for="comments">Comments about this file: </label>
157
		<label for="comments">Comments about this file: </label>
152
		<input type="text" id="comments" name="comments" />
158
		<input type="text" id="comments" name="comments" />
Lines 184-190 Link Here
184
190
185
  [% IF MarcModificationTemplatesLoop %]
191
  [% IF MarcModificationTemplatesLoop %]
186
    <fieldset class="rows">
192
    <fieldset class="rows">
187
      <legend>Modify records using a MARC modification template?</legend>
193
      <h3>Modify records using a MARC modification template?</h3>
188
      <ol>
194
      <ol>
189
        <li>
195
        <li>
190
          <label for="comments">Template: </label>
196
          <label for="comments">Template: </label>
Lines 200-206 Link Here
200
  [% END %]
206
  [% END %]
201
207
202
  <fieldset class="rows">
208
  <fieldset class="rows">
203
    <legend>Look for existing records in catalog?</legend>
209
    <h3>Look for existing records in catalog?</h3>
204
    <ol><li><label for="matcher">Record matching rule:</label>
210
    <ol><li><label for="matcher">Record matching rule:</label>
205
    <select name="matcher" id="matcher">
211
    <select name="matcher" id="matcher">
206
       <option value="">Do not look for matching records</option> 
212
       <option value="">Do not look for matching records</option> 
Lines 219-225 Link Here
219
    </ol>
225
    </ol>
220
  </fieldset>
226
  </fieldset>
221
  <fieldset class="rows" id="items">
227
  <fieldset class="rows" id="items">
222
    <legend>Check for embedded item record data?</legend>
228
    <h3>Check for embedded item record data?</h3>
223
    <ol>
229
    <ol>
224
      <li class="radio">
230
      <li class="radio">
225
        <input type="radio" id="parse_itemsyes" name="parse_items" value="1" checked="checked" />
231
        <input type="radio" id="parse_itemsyes" name="parse_items" value="1" checked="checked" />
Lines 239-245 Link Here
239
  </fieldset>
245
  </fieldset>
240
246
241
    <fieldset class="rows" id="save_profile">
247
    <fieldset class="rows" id="save_profile">
242
        <legend>Save profile</legend>
248
        <h3>Save profile</h3>
243
        <ol>
249
        <ol>
244
            <li>
250
            <li>
245
                <label for="profile_name">Profile name:</label>
251
                <label for="profile_name">Profile name:</label>
Lines 251-257 Link Here
251
    </fieldset>
257
    </fieldset>
252
258
253
  <fieldset class="action">
259
  <fieldset class="action">
254
    <input type="button" id="mainformsubmit" value="Stage for import" />
260
    <input class="principal" type="button" id="mainformsubmit" value="Stage for import" />
255
  </fieldset>
261
  </fieldset>
256
 
262
 
257
       <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
263
       <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-2 / +10 lines)
Lines 5-18 Link Here
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% USE TablesSettings %]
6
[% USE TablesSettings %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'cat-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Stock rotation &rsaquo; Koha</title>
12
<title>Stock rotation &rsaquo; Koha</title>
10
[% INCLUDE 'doc-head-close.inc' %]
13
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
14
</head>
12
15
13
<body id="tools_stockrotation" class="tools">
16
<body id="tools_stockrotation" class="tools">
14
[% INCLUDE 'header.inc' %]
17
[% INCLUDE 'header.inc' form=formulaire %]
15
[% INCLUDE 'cat-search.inc' %]
16
18
17
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18
    <ol>
20
    <ol>
Lines 82-87 Link Here
82
            </li>
84
            </li>
83
        [% END %]
85
        [% END %]
84
    </ol>
86
    </ol>
87
        <ol>
88
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
89
        </ol>
90
        <ol>
91
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
92
        </ol>
85
</nav>
93
</nav>
86
94
87
<div class="main container-fluid">
95
<div class="main container-fluid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt (-5 / +12 lines)
Lines 8-14 Link Here
8
</head>
8
</head>
9
<body id="tools_tools-home" class="tools">
9
<body id="tools_tools-home" class="tools">
10
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'header.inc' %]
11
[% INCLUDE 'cat-search.inc' %]
12
11
13
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
12
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14
    <ol>
13
    <ol>
Lines 21-26 Link Here
21
            </a>
20
            </a>
22
        </li>
21
        </li>
23
    </ol>
22
    </ol>
23
24
    <ol>
25
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
26
    </ol>
27
28
    <ol>
29
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
30
    </ol>
24
</nav>
31
</nav>
25
32
26
<div class="container-fluid">
33
<div class="container-fluid">
Lines 28-34 Link Here
28
    <div class="row">
35
    <div class="row">
29
        <div class="col-sm-4">
36
        <div class="col-sm-4">
30
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
37
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
31
<h3>Patrons and circulation</h3>
38
<h2>Patrons and circulation</h2>
32
[% END %]
39
[% END %]
33
<dl>
40
<dl>
34
    [% IF (CAN_user_tools_manage_patron_lists) %]
41
    [% IF (CAN_user_tools_manage_patron_lists) %]
Lines 97-103 Link Here
97
104
98
<div class="col-sm-4 col-sm-push-4">
105
<div class="col-sm-4 col-sm-push-4">
99
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
106
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
100
<h3>Additional tools</h3>
107
<h2>Additional tools</h2>
101
[% END %]
108
[% END %]
102
<dl>
109
<dl>
103
    [% IF ( CAN_user_tools_edit_calendar ) %]
110
    [% IF ( CAN_user_tools_edit_calendar ) %]
Lines 167-173 Link Here
167
</dl>
174
</dl>
168
175
169
[% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
176
[% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
170
<h3>Cash management</h3>
177
<h2>Cash management</h2>
171
<dl>
178
<dl>
172
179
173
    <dt><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></dt>
180
    <dt><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></dt>
Lines 183-189 Link Here
183
190
184
<div class="col-sm-4 col-sm-pull-4">
191
<div class="col-sm-4 col-sm-pull-4">
185
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
192
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
186
<h3>Catalog</h3>
193
<h2>Catalog</h2>
187
[% END %]
194
[% END %]
188
<dl>
195
<dl>
189
    [% IF ( CAN_user_tools_items_batchdel ) %]
196
    [% IF ( CAN_user_tools_items_batchdel ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt (-6 / +14 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% formulaire = BLOCK %]
5
    [% INCLUDE 'cat-search.inc' %]
6
[% END %]
4
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
8
<title>
6
    Koha &rsaquo;
9
    Koha &rsaquo;
Lines 76-83 Link Here
76
</head>
79
</head>
77
80
78
<body id="tools_upload-images" class="tools">
81
<body id="tools_upload-images" class="tools">
79
[% INCLUDE 'header.inc' %]
82
[% INCLUDE 'header.inc' form=formulaire %]
80
[% INCLUDE 'cat-search.inc' %]
81
83
82
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
84
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
83
    <ol>
85
    <ol>
Lines 122-127 Link Here
122
            </li>
124
            </li>
123
        [% END %]
125
        [% END %]
124
    </ol>
126
    </ol>
127
        <ol>
128
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
129
        </ol>
130
        <ol>
131
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
132
        </ol>
125
</nav>
133
</nav>
126
134
127
<div class="main container-fluid">
135
<div class="main container-fluid">
Lines 163-169 Link Here
163
                        <h3>[% total | html %] images found</h3>
171
                        <h3>[% total | html %] images found</h3>
164
                        <ul>
172
                        <ul>
165
                            [% FOREACH result IN results %]
173
                            [% FOREACH result IN results %]
166
                                <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% result.biblionumber | uri %]">[% result.title | html %]</a></li>
174
                                <li><a  id="lientype" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% result.biblionumber | uri %]">[% result.title | html %]</a></li>
167
                            [% END %]
175
                            [% END %]
168
                        </ul>
176
                        </ul>
169
                        <hr />
177
                        <hr />
Lines 193-199 Link Here
193
                                </div>
201
                                </div>
194
202
195
                                <div id="filedrag">
203
                                <div id="filedrag">
196
                                    <a id="click_to_select" href="#">Drop files here or click to select a file</a>
204
                                    <a id="click_to_select" class="lientype" href="#">Drop files here or click to select a file</a>
197
                                    <div id="messages"></div>
205
                                    <div id="messages"></div>
198
                                </div>
206
                                </div>
199
207
Lines 260-266 Link Here
260
                            </fieldset>
268
                            </fieldset>
261
269
262
                            <fieldset id="process_images" class="action">
270
                            <fieldset id="process_images" class="action">
263
                                <button type="submit" class="btn btn-default btn-sm save_image">Process images</button>
271
                                <button type="submit" class="btn btn-default btn-sm save_image principal">Process images</button>
264
                                [% IF ( biblionumber ) %]
272
                                [% IF ( biblionumber ) %]
265
                                    <a class="cancel cancel_image" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">Cancel</a>
273
                                    <a class="cancel cancel_image" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">Cancel</a>
266
                                [% ELSE %]
274
                                [% ELSE %]
Lines 284-290 Link Here
284
                                                    <img id="thumbnail_[% img.imagenumber | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img.imagenumber | html %]&amp;thumbnail=1" alt="Thumbnail" />
292
                                                    <img id="thumbnail_[% img.imagenumber | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img.imagenumber | html %]&amp;thumbnail=1" alt="Thumbnail" />
285
                                                [% END %]
293
                                                [% END %]
286
                                            </a>
294
                                            </a>
287
                                            <a href="#" class="remove" data-coverimg="[% img.imagenumber | html %]"><i class="fa fa-trash"></i> Delete image</a>
295
                                            <a href="#"  id="lientype" class="remove" data-coverimg="[% img.imagenumber | html %]"><i class="fa fa-trash"></i> Delete image</a>
288
                                        </li>
296
                                        </li>
289
                                    [% END # /IF img %]
297
                                    [% END # /IF img %]
290
                                [% END # /FOREACH img %]
298
                                [% END # /FOREACH img %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-16 / +24 lines)
Lines 5-10 Link Here
5
[% USE TablesSettings %]
5
[% USE TablesSettings %]
6
[% USE AuthorisedValues %]
6
[% USE AuthorisedValues %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% formulaire = BLOCK %]
9
    [% INCLUDE 'cat-search.inc' %]
10
[% END %]
8
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
9
[% IF plugin %]
12
[% IF plugin %]
10
    <title>Upload plugin</title>
13
    <title>Upload plugin</title>
Lines 42-47 Link Here
42
                </a>
45
                </a>
43
            </li>
46
            </li>
44
        </ol>
47
        </ol>
48
        <ol>
49
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
50
        </ol>
51
        <ol>
52
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
53
        </ol>
45
    </nav>
54
    </nav>
46
[% END %]
55
[% END %]
47
56
Lines 49-55 Link Here
49
    <form method="post" action="/cgi-bin/koha/tools/upload.pl" id="uploadfile" enctype="multipart/form-data">
58
    <form method="post" action="/cgi-bin/koha/tools/upload.pl" id="uploadfile" enctype="multipart/form-data">
50
        [% PROCESS plugin_pars %]
59
        [% PROCESS plugin_pars %]
51
        <fieldset class="rows" id="uploadform">
60
        <fieldset class="rows" id="uploadform">
52
        <legend>Upload new files</legend>
61
        <h3>Upload new files</h3>
53
        <ol>
62
        <ol>
54
        <li>
63
        <li>
55
        <div id="fileuploadform">
64
        <div id="fileuploadform">
Lines 96-103 Link Here
96
        </li>
105
        </li>
97
        </ol>
106
        </ol>
98
        <fieldset class="action">
107
        <fieldset class="action">
99
            <button id="fileuploadbutton">Upload</button>
108
            <button id="fileuploadbutton" class="principal">Upload</button>
100
            <button id="fileuploadcancel">Cancel</button>
109
            <button id="fileuploadcancel" class="cancel">Cancel</button>
101
        </fieldset>
110
        </fieldset>
102
        </fieldset>
111
        </fieldset>
103
        <div id="fileuploadpanel">
112
        <div id="fileuploadpanel">
Lines 134-140 Link Here
134
            </li>
143
            </li>
135
        </ol>
144
        </ol>
136
        <fieldset class="action">
145
        <fieldset class="action">
137
            <button id="browsebutton" class="submit">Search</button>
146
            <button id="browsebutton" class="submit principal">Search</button>
138
        </fieldset>
147
        </fieldset>
139
        </fieldset>
148
        </fieldset>
140
    </form>
149
    </form>
Lines 146-160 Link Here
146
        [% PROCESS plugin_pars %]
155
        [% PROCESS plugin_pars %]
147
        <input type="hidden" name="op" value="search"/>
156
        <input type="hidden" name="op" value="search"/>
148
        <fieldset class="brief">
157
        <fieldset class="brief">
149
        <h4>Search uploads by name or hashvalue</h4>
158
        <h3>Search uploads by name or hashvalue</h3>
150
        <ol>
159
        <ol>
151
        <li>
160
        <li>
152
            <label for="term">Search term: </label>
161
            <p for="term">Search term:
153
            <input type="text" id="term" name="term" value=""/>
162
            <input type="text" id="term" name="term" value=""/></p>
154
        </li>
163
        </li>
155
        </ol>
164
        </ol>
156
        <fieldset class="action">
165
        <fieldset class="action">
157
            <button id="searchbutton" class="submit">Search</button>
166
            <button id="searchbutton" class="submit principal">Search</button>
158
        </fieldset>
167
        </fieldset>
159
        </fieldset>
168
        </fieldset>
160
    </form>
169
    </form>
Lines 171-177 Link Here
171
180
172
[% BLOCK closer %]
181
[% BLOCK closer %]
173
    [% IF plugin %]
182
    [% IF plugin %]
174
        <div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div>
183
        <div id="closewindow"><a class="btn btn-default btn-default close cancel" href="#">Close</a></div>
175
    [% END %]
184
    [% END %]
176
[% END %]
185
[% END %]
177
186
Lines 179-185 Link Here
179
    [% IF !plugin %]
188
    [% IF !plugin %]
180
        <form id="back">
189
        <form id="back">
181
            <fieldset class="action">
190
            <fieldset class="action">
182
                <button class="submit">Back</button>
191
                <button class="submit principal">Back</button>
183
            </fieldset>
192
            </fieldset>
184
        </form>
193
        </form>
185
    [% END %]
194
    [% END %]
Lines 188-198 Link Here
188
[% BLOCK newsearch %]
197
[% BLOCK newsearch %]
189
    <form id="newsearch">
198
    <form id="newsearch">
190
        <fieldset class="action">
199
        <fieldset class="action">
191
            <button id="new_search">New search</button>
200
            <button id="new_search" class="cancel">New search</button>
192
        </fieldset>
201
        </fieldset>
193
    </form>
202
    </form>
194
    [% IF plugin %]
203
    [% IF plugin %]
195
        <div id="closewindow"><a class="btn btn-default btn-default close" href="#">Close</a></div>
204
        <div id="closewindow"><a class="btn btn-default btn-default close cancel" href="#">Close</a></div>
196
    [% END %]
205
    [% END %]
197
[% END %]
206
[% END %]
198
207
Lines 262-269 Link Here
262
                    <main>
271
                    <main>
263
[% ELSE %]
272
[% ELSE %]
264
    <body id="tools_upload" class="tools">
273
    <body id="tools_upload" class="tools">
265
    [% INCLUDE 'header.inc' %]
274
    [% INCLUDE 'header.inc' form=formulaire %]
266
    [% INCLUDE 'cat-search.inc' %]
267
    [% PROCESS breadcrumbs %]
275
    [% PROCESS breadcrumbs %]
268
276
269
    <div class="main container-fluid">
277
    <div class="main container-fluid">
Lines 272-278 Link Here
272
                <main>
280
                <main>
273
[% END %]
281
[% END %]
274
282
275
<h1>Upload</h1>
283
<h2>Upload</h2>
276
<div class="dialog alert" id="myalerts" style="display:none;"></div>
284
<div class="dialog alert" id="myalerts" style="display:none;"></div>
277
285
278
[% PROCESS submitter %]
286
[% PROCESS submitter %]
Lines 293-299 Link Here
293
    [% PROCESS closer %]
301
    [% PROCESS closer %]
294
[% ELSIF mode == 'report' %]
302
[% ELSIF mode == 'report' %]
295
    <div id="toolbar" class="btn-toolbar">
303
    <div id="toolbar" class="btn-toolbar">
296
        <a href="/cgi-bin/koha/tools/upload.pl" class="btn btn-default">Upload file</a>
304
        <a href="/cgi-bin/koha/tools/upload.pl" class="btn btn-default principal">Upload file</a>
297
    </div>
305
    </div>
298
    [% IF uploads %]
306
    [% IF uploads %]
299
        <h3>Your request gave the following results:</h3>
307
        <h3>Your request gave the following results:</h3>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-6 / +14 lines)
Lines 6-11 Link Here
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
9
[% formulaire = BLOCK %]
10
    [% INCLUDE 'cat-search.inc' %]
11
[% END %]
9
[% INCLUDE 'doc-head-open.inc' %]
12
[% INCLUDE 'doc-head-open.inc' %]
10
<title>
13
<title>
11
    [% IF ( do_it ) %]
14
    [% IF ( do_it ) %]
Lines 44-50 Link Here
44
        ins {
47
        ins {
45
            background-color: #e6ffe6;
48
            background-color: #e6ffe6;
46
        }
49
        }
47
        del {
50
        del {bread
48
            background-color: #ffe6e6;
51
            background-color: #ffe6e6;
49
        }
52
        }
50
        #col1 ins,
53
        #col1 ins,
Lines 60-67 Link Here
60
</head>
63
</head>
61
64
62
<body id="tools_viewlog" class="tools">
65
<body id="tools_viewlog" class="tools">
63
[% INCLUDE 'header.inc' %]
66
[% INCLUDE 'header.inc' form=formulaire %]
64
[% INCLUDE 'cat-search.inc' %]
65
67
66
[% BLOCK translate_log_module %]
68
[% BLOCK translate_log_module %]
67
[%    SWITCH module %]
69
[%    SWITCH module %]
Lines 189-194 Link Here
189
            </li>
191
            </li>
190
        [% END %]
192
        [% END %]
191
    </ol>
193
    </ol>
194
        <ol>
195
            [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
196
        </ol>
197
        <ol>
198
            <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
199
        </ol>
192
</nav>
200
</nav>
193
201
194
<div class="main container-fluid">
202
<div class="main container-fluid">
Lines 196-202 Link Here
196
        <div class="col-sm-10 col-sm-push-2">
204
        <div class="col-sm-10 col-sm-push-2">
197
            <main>
205
            <main>
198
206
199
				<h1>Browse system logs</h1>
207
				<h2>Browse system logs</h2>
200
				<form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
208
				<form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
201
					[% IF ( do_it ) %]
209
					[% IF ( do_it ) %]
202
						<input type="hidden" name="do_it" value="[% do_it | html %]" />
210
						<input type="hidden" name="do_it" value="[% do_it | html %]" />
Lines 288-294 Link Here
288
						</ol>
296
						</ol>
289
					</fieldset>
297
					</fieldset>
290
					<fieldset class="rows">
298
					<fieldset class="rows">
291
						<legend>Output</legend>
299
						<h3>Output</h3>
292
						<ol>
300
						<ol>
293
							<li>
301
							<li>
294
								<label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
302
								<label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
Lines 308-314 Link Here
308
						</ol>
316
						</ol>
309
					</fieldset>
317
					</fieldset>
310
					<fieldset class="action">
318
					<fieldset class="action">
311
						<input type="submit" value="Submit" />
319
						<input type="submit" class="principal" value="Submit" />
312
						<input type="hidden" name="do_it" value="1" />
320
						<input type="hidden" name="do_it" value="1" />
313
					</fieldset>
321
					</fieldset>
314
			</form>
322
			</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt (-1 / +1 lines)
Lines 109-115 Link Here
109
<!-- SAVE -->
109
<!-- SAVE -->
110
            <fieldset class="action">
110
            <fieldset class="action">
111
            <input type="hidden" name="sortfield" value="title" />
111
            <input type="hidden" name="sortfield" value="title" />
112
            <input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a>
112
            <input type="submit" value="Save" class="principal" /> <a class="close cancel" href="#">Cancel</a>
113
            </fieldset>
113
            </fieldset>
114
        </form>
114
        </form>
115
<!-- /SAVE -->
115
<!-- /SAVE -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt (-11 / +12 lines)
Lines 7-13 Link Here
7
<div class="container">[% IF ( email ) %]
7
<div class="container">[% IF ( email ) %]
8
8
9
    [% IF ( SENT ) %]
9
    [% IF ( SENT ) %]
10
        <h3>Message sent</h3>
10
        <h2>Message sent</h2>
11
        <p>The list was sent to: [% email | html %]</p>
11
        <p>The list was sent to: [% email | html %]</p>
12
        <p><a class="close focus" href="#">Close window</a></p>
12
        <p><a class="close focus" href="#">Close window</a></p>
13
    [% END %]
13
    [% END %]
Lines 19-38 Link Here
19
19
20
<form action="/cgi-bin/koha/virtualshelves/sendshelf.pl" method="post">
20
<form action="/cgi-bin/koha/virtualshelves/sendshelf.pl" method="post">
21
21
22
<fieldset class="rows"> 
22
<fieldset id="select-libs"> 
23
    <legend><h1>Sending your list</h1></legend>
23
    <legend><h1>Sending your list</h1></legend>
24
<ol>   <li>
24
    <p>
25
        <label for="email">Email address:</label>
25
        <label for="email">Email address:</label>
26
        <input type="text" id="email" name="email" size="43" class="focus" />
26
        <input type="text" id="email" name="email" class="focus" />
27
    </li>
27
    </p>
28
    <li>
28
    <p>
29
            <label for="comment">Comment:</label>
29
            <label for="comment">Comment:</label>
30
            <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
30
            <textarea id="comment" name="comment" rows="4"></textarea>
31
    </li>
31
    </p>
32
    <li>
32
    <p>
33
        <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
33
        <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
34
    </li></ol></fieldset>
34
    </p>
35
       <fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
35
    
36
    <input type="submit" value="Send" class="principal" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
36
</form>
37
</form>
37
38
38
[% END %]</div>
39
[% END %]</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-43 / +57 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% formulaire = BLOCK %]
7
    [% INCLUDE 'circ-search.inc' %]
8
[% END %]
6
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
10
<title>
8
    [% IF op == 'view' %]
11
    [% IF op == 'view' %]
Lines 43-50 Link Here
43
</head>
46
</head>
44
47
45
<body id="lists_shelves" class="lists">
48
<body id="lists_shelves" class="lists">
46
[% INCLUDE 'header.inc' %]
49
[% INCLUDE 'header.inc' form=formulaire %]
47
[% INCLUDE 'cat-search.inc' %]
48
50
49
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
51
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
50
    <ol>
52
    <ol>
Lines 115-120 Link Here
115
            </li>
117
            </li>
116
        [% END %]
118
        [% END %]
117
    </ol>
119
    </ol>
120
121
    <ol>
122
        [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
123
    </ol>
124
125
    <ol>
126
        <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
127
    </ol>
118
</nav>
128
</nav>
119
129
120
    <div class="main container-fluid">
130
    <div class="main container-fluid">
Lines 122-128 Link Here
122
            <div class="col-sm-10 col-sm-push-1">
132
            <div class="col-sm-10 col-sm-push-1">
123
                <main>
133
                <main>
124
134
125
                [% INCLUDE 'virtualshelves-toolbar.inc' %]
135
136
[% INCLUDE 'virtualshelves-toolbar.inc' %]
126
137
127
[% FOR m IN messages %]
138
[% FOR m IN messages %]
128
    <div class="dialog [% m.type | html %]">
139
    <div class="dialog [% m.type | html %]">
Lines 316-322 Link Here
316
[% IF op == 'add_form' OR op == 'edit_form' %]
327
[% IF op == 'add_form' OR op == 'edit_form' %]
317
328
318
    <form method="post" action="/cgi-bin/koha/virtualshelves/shelves.pl" class="validated">
329
    <form method="post" action="/cgi-bin/koha/virtualshelves/shelves.pl" class="validated">
319
        <fieldset class="rows">
330
        <fieldset id="select-libs">
320
331
321
        [% IF op == 'add_form' %]
332
        [% IF op == 'add_form' %]
322
        <legend><h1>Create a new list</h1></legend>
333
        <legend><h1>Create a new list</h1></legend>
Lines 340-388 Link Here
340
                    [% IF owner %]
351
                    [% IF owner %]
341
                        <input type="hidden" id="owner" name="owner" value="[% owner.borrowernumber | html %]" />[% owner.firstname _ ' ' _ owner.surname | html %]
352
                        <input type="hidden" id="owner" name="owner" value="[% owner.borrowernumber | html %]" />[% owner.firstname _ ' ' _ owner.surname | html %]
342
                    [% ELSE %]
353
                    [% ELSE %]
343
                        <input type="hidden" id="owner" name="owner" value="[% loggedinusernumber | html %]" />[% logged_in_user.userid | html %]
354
                        [% IF owner %]
355
                            <input type="hidden" id="owner" name="owner" value="[% owner.borrowernumber | html %]" /><span class="label">[% owner.firstname _ ' ' _ owner.surname | html %]</span>
356
                        [% ELSE %]
357
                            <input type="hidden" id="owner" name="owner" value="[% loggedinusernumber | html %]" />[<span class="label">% logged_in_user.userid | html %]</span>
358
                        [% END %]
344
                    [% END %]
359
                    [% END %]
345
                [% END %]
360
                </li>
346
            </li>
361
                <li><label for="sortfield" >Sort this list by: </label>
347
            <li><label for="sortfield" >Sort this list by: </label>
362
                <select name="sortfield">
348
            <select name="sortfield">
363
                [% IF shelf.sortfield == "title" %]<option value="title" selected="selected">Title</option>[% ELSE %]<option value="title">Title</option>[% END %]
349
            [% IF shelf.sortfield == "title" %]<option value="title" selected="selected">Title</option>[% ELSE %]<option value="title">Title</option>[% END %]
364
                [% IF shelf.sortfield == "author" %]<option value="author" selected="selected">Author</option>[% ELSE %]<option value="author">Author</option>[% END %]
350
            [% IF shelf.sortfield == "author" %]<option value="author" selected="selected">Author</option>[% ELSE %]<option value="author">Author</option>[% END %]
365
                [% IF shelf.sortfield == "copyrightdate" %]<option value="copyrightdate" selected="selected">Copyrightdate</option>[% ELSE %]<option value="copyrightdate">Copyrightdate</option>[% END %]
351
            [% IF shelf.sortfield == "copyrightdate" %]<option value="copyrightdate" selected="selected">Copyrightdate</option>[% ELSE %]<option value="copyrightdate">Copyrightdate</option>[% END %]
366
                [% IF shelf.sortfield == "itemcallnumber" %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %]
352
            [% IF shelf.sortfield == "itemcallnumber" %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %]
367
                [% IF shelf.sortfield == "dateadded" %]<option value="dateadded" selected="selected">Date added</option>[% ELSE %]<option value="dateadded">Date added</option>[% END %]
353
            [% IF shelf.sortfield == "dateadded" %]<option value="dateadded" selected="selected">Date added</option>[% ELSE %]<option value="dateadded">Date added</option>[% END %]
368
                </select></li>
354
            </select></li>
369
                <li><label for="public">Public: </label>
355
            <li><label for="public">Public: </label>
370
                    <select id="public" name="public" onchange="AdjustRemark()">
356
                <select id="public" name="public" onchange="AdjustRemark()">
371
                    [% IF shelf.is_private %]
357
                [% IF shelf.is_private %]
372
                        <option value="0" selected="selected">Private</option>
358
                    <option value="0" selected="selected">Private</option>
373
                    [% ELSE %]
359
                [% ELSE %]
374
                        <option value="0">Private</option>
360
                    <option value="0">Private</option>
375
                    [% END %]
361
                [% END %]
376
                    [% IF shelf.is_public %]
362
                [% IF shelf.is_public %]
377
                        <option value="1" selected="selected">Public</option>
363
                    <option value="1" selected="selected">Public</option>
378
                    [% ELSE %]
364
                [% ELSE %]
379
                        <option value="1">Public</option>
365
                    <option value="1">Public</option>
380
                    [% END %]
366
                [% END %]
381
                            </select></li>
367
                           </select></li>
368
369
            [% INCLUDE list_permissions %]
370
382
371
        </ol>
383
                [% INCLUDE list_permissions %]
372
    </fieldset>
373
384
374
    <fieldset class="action">
385
            </ol>
375
        <input type="submit" value="Save" class="submit" />
386
 
376
        [% IF referer == 'view' %]
387
            <input type="submit" value="Save" class="principal" />
377
           <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]" class="cancel">Cancel</a>
388
            [% IF referer == 'view' %]
378
       [% ELSE %]
389
            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]" class="cancel">Cancel</a>
379
            [% IF public %]
390
        [% ELSE %]
380
                <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&amp;public=1" class="cancel">Cancel</a>
391
                [% IF public %]
381
            [% ELSE %]
392
                    <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&amp;public=1" class="cancel">Cancel</a>
382
                <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&amp;public=0" class="cancel">Cancel</a>
393
                [% ELSE %]
394
                    <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&amp;public=0" class="cancel">Cancel</a>
395
                [% END %]
383
            [% END %]
396
            [% END %]
384
        [% END %]
397
        </fieldset>
385
    </fieldset>
386
    </form>
398
    </form>
387
399
388
[% END %]
400
[% END %]
Lines 390-395 Link Here
390
[% IF op == 'list' %]
402
[% IF op == 'list' %]
391
    <h1>Lists</h1>
403
    <h1>Lists</h1>
392
    <div id="tabs" class="toptabs">
404
    <div id="tabs" class="toptabs">
405
    <fieldset class="briefgr">
393
        <ul>
406
        <ul>
394
            <li id="privateshelves_tab" class="active"><a href="#tab_content">Your lists</a></li>
407
            <li id="privateshelves_tab" class="active"><a href="#tab_content">Your lists</a></li>
395
            <li id="publicshelves_tab" class="active"><a href="#tab_content">Public lists</a></li>
408
            <li id="publicshelves_tab" class="active"><a href="#tab_content">Public lists</a></li>
Lines 433-438 Link Here
433
                <tbody></tbody>
446
                <tbody></tbody>
434
            </table>
447
            </table>
435
        </div>
448
        </div>
449
    </fieldset>
436
    </div>
450
    </div>
437
[% END %]
451
[% END %]
438
452
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/arrow.svg (+9 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="13.208px" height="8.716px" viewBox="0 0 13.208 8.716" enable-background="new 0 0 13.208 8.716" xml:space="preserve">
6
<path fill="#FFFFFF" d="M8.262,8.473c0.322,0.324,0.85,0.324,1.174,0l3.529-3.527c0.324-0.323,0.324-0.854,0-1.176L9.436,0.242
7
	c-0.324-0.322-0.852-0.322-1.174,0c-0.323,0.324-0.323,0.853,0,1.177l2.118,2.115H0.824C0.354,3.534,0,3.916,0,4.358
8
	C0,4.83,0.381,5.182,0.824,5.182h9.556L8.262,7.298C7.938,7.621,7.938,8.15,8.262,8.473L8.262,8.473z"/>
9
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/cart.svg (+25 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="19.268px" height="18.622px" viewBox="0 0 19.268 18.622" enable-background="new 0 0 19.268 18.622" xml:space="preserve">
6
<g>
7
	<g>
8
		<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M5.099,12.35c0.213,0,0.346,0,0.482,0
9
			c4.135,0,8.27,0,12.404,0.004c0.207,0,0.477-0.025,0.605,0.088c0.17,0.15,0.334,0.436,0.313,0.645
10
			c-0.02,0.209-0.252,0.412-0.428,0.58c-0.072,0.07-0.238,0.053-0.361,0.053c-4.332,0.002-8.666,0.006-13,0
11
			c-0.852-0.004-1.514-0.656-1.422-1.418c0.037-0.295,0.17-0.598,0.326-0.857c0.375-0.627,0.797-1.227,1.18-1.852
12
			C5.274,9.465,5.306,9.256,5.257,9.12c-0.709-2-1.424-3.996-2.166-5.982C2.933,2.711,2.698,2.301,2.433,1.934
13
			C2.31,1.762,2.038,1.649,1.817,1.612c-0.34-0.053-0.695,0.004-1.041-0.025C0.243,1.543-0.05,1.17,0.007,0.649
14
			c0.037-0.367,0.26-0.611,0.662-0.627c0.695-0.027,1.393-0.031,2.086,0C2.917,0.028,3.124,0.18,3.22,0.325
15
			C3.636,0.94,4.034,1.571,4.407,2.215c0.145,0.25,0.307,0.328,0.588,0.328c4.508-0.008,9.014-0.006,13.521-0.004
16
			c0.148,0,0.305-0.008,0.441,0.035c0.24,0.074,0.373,0.234,0.279,0.508c-0.791,2.285-1.582,4.568-2.371,6.855
17
			c-0.094,0.268-0.291,0.346-0.551,0.344c-0.658-0.004-1.316-0.002-1.975-0.002c-2.521,0-5.041,0.004-7.563-0.006
18
			c-0.254-0.002-0.402,0.076-0.535,0.293C5.89,11.149,5.511,11.713,5.099,12.35z"/>
19
		<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M7.708,16.952c0.004,0.912-0.695,1.662-1.553,1.67
20
			c-0.891,0.008-1.607-0.725-1.613-1.648c-0.004-0.932,0.693-1.662,1.592-1.666C6.999,15.301,7.704,16.04,7.708,16.952z"/>
21
		<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M17.702,16.959c0.002,0.924-0.719,1.672-1.596,1.66
22
			c-0.871-0.01-1.564-0.746-1.564-1.656c0-0.92,0.693-1.654,1.561-1.656C17.001,15.303,17.702,16.028,17.702,16.959z"/>
23
	</g>
24
</g>
25
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/check-green.svg (+12 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="11.644px" height="9.081px" viewBox="0 0 11.644 9.081" enable-background="new 0 0 11.644 9.081" xml:space="preserve">
6
<g>
7
	<g>
8
		<path fill="#418A40" d="M4.225,9.081L0.344,5.199c-0.459-0.458-0.459-1.2,0-1.658c0.457-0.458,1.199-0.458,1.658,0l2.223,2.223
9
			l5.418-5.421c0.457-0.458,1.199-0.458,1.658,0c0.457,0.458,0.457,1.2,0,1.658L4.225,9.081z"/>
10
	</g>
11
</g>
12
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/cross-green.svg (+16 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="9.17px" height="9.175px" viewBox="0 0 9.17 9.175" enable-background="new 0 0 9.17 9.175" xml:space="preserve">
6
<g>
7
	<g>
8
		<g>
9
			<path fill="#418A40" d="M8.825,7.165c0.46,0.46,0.46,1.2,0,1.66c-0.23,0.23-0.53,0.35-0.83,0.35s-0.601-0.12-0.83-0.35
10
				l-2.58-2.58l-2.58,2.58c-0.23,0.23-0.53,0.35-0.83,0.35s-0.6-0.12-0.83-0.35c-0.46-0.46-0.46-1.2,0-1.66l2.58-2.58l-2.58-2.58
11
				c-0.46-0.46-0.46-1.2,0-1.66s1.2-0.46,1.66,0l2.58,2.58l2.58-2.58c0.46-0.46,1.2-0.46,1.66,0s0.46,1.2,0,1.66l-2.58,2.58
12
				L8.825,7.165z"/>
13
		</g>
14
	</g>
15
</g>
16
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/cross.svg (+20 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="9.106px" height="9.031px" viewBox="0 0 9.106 9.031" enable-background="new 0 0 9.106 9.031" xml:space="preserve">
6
<g>
7
	<g>
8
		<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M4.574,5.681C4.331,5.915,4.113,6.118,3.905,6.329
9
			C3.111,7.129,2.323,7.936,1.528,8.735C1.08,9.187,0.421,9.096,0.11,8.543c-0.148-0.265-0.148-0.54,0.003-0.803
10
			c0.069-0.119,0.165-0.226,0.264-0.324c0.974-0.985,1.952-1.968,2.935-2.957C3.28,4.426,3.239,4.382,3.197,4.34
11
			C2.245,3.387,1.293,2.437,0.341,1.483C0.058,1.2-0.001,0.829,0.169,0.463c0.142-0.304,0.493-0.49,0.869-0.452
12
			C1.252,0.033,1.43,0.135,1.581,0.286C2.52,1.228,3.462,2.167,4.399,3.108c0.045,0.043,0.078,0.097,0.123,0.154
13
			c0.066-0.063,0.11-0.105,0.154-0.148C5.64,2.166,6.6,1.215,7.563,0.266c0.462-0.453,1.178-0.308,1.429,0.285
14
			c0.132,0.315,0.05,0.664-0.226,0.938C7.813,2.432,6.861,3.375,5.907,4.317C5.86,4.364,5.812,4.411,5.726,4.493
15
			C5.784,4.531,5.84,4.559,5.884,4.599c0.964,0.948,1.925,1.899,2.889,2.847C9.058,7.724,9.19,8.05,9.05,8.434
16
			C8.814,9.081,8.065,9.231,7.561,8.741c-0.299-0.289-0.586-0.59-0.877-0.885c-0.67-0.68-1.341-1.357-2.008-2.038
17
			C4.632,5.774,4.602,5.719,4.574,5.681z"/>
18
	</g>
19
</g>
20
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/end-green.svg (+17 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="9.271px" height="11.158px" viewBox="0 0 9.271 11.158" enable-background="new 0 0 9.271 11.158" xml:space="preserve">
6
<g>
7
	<path fill="#418A40" d="M0.167,1.763C0.056,1.596,0.009,1.406,0.001,1.208c-0.01-0.27,0.117-0.523,0.293-0.714S0.755,0.2,1.009,0.2
8
		s0.523,0.111,0.705,0.293s0.357,0.357,0.539,0.539c0.787,0.778,1.57,1.571,2.355,2.356c0.494,0.492,0.992,0.983,1.484,1.476
9
		C6.188,4.96,6.259,5.071,6.308,5.19c0.023,0.071,0.047,0.127,0.055,0.19c0,0,0,0,0,0.008c0.039,0.183,0.016,0.381-0.047,0.563
10
		c-0.031,0.063-0.064,0.127-0.104,0.19c-0.039,0.056-0.08,0.104-0.119,0.143c-0.023,0.024-0.047,0.048-0.07,0.071
11
		c-0.16,0.159-0.311,0.31-0.469,0.469C4.769,7.61,3.983,8.395,3.198,9.18c-0.494,0.5-0.984,0.992-1.477,1.484
12
		c-0.189,0.19-0.443,0.286-0.713,0.293c-0.262,0.008-0.518-0.119-0.707-0.293C0.11,10.498,0.001,10.196,0.001,9.95
13
		c0-0.246,0.109-0.5,0.277-0.682l0.023-0.024l3.674-3.665L0.208,1.811L0.167,1.763z"/>
14
	<path fill="#418A40" d="M8.296,11.158c-0.539,0-0.975-0.437-0.975-0.975V0.976C7.321,0.437,7.757,0,8.296,0l0,0
15
		c0.539,0,0.975,0.437,0.975,0.976v9.208C9.271,10.722,8.835,11.158,8.296,11.158L8.296,11.158z"/>
16
</g>
17
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/home-green.svg (+12 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="13.578px" height="14.219px" viewBox="0 0 13.578 14.219" enable-background="new 0 0 13.578 14.219" xml:space="preserve">
6
<path fill="#418A40" d="M13.416,6.368L7.225,0.177l0,0C7.109,0.063,6.953,0,6.791,0S6.475,0.063,6.357,0.177L0.166,6.368
7
	C0.061,6.482,0,6.634,0,6.79c0,0.157,0.059,0.308,0.166,0.423c0.107,0.114,0.252,0.185,0.41,0.195H1.33V13.6
8
	c0,0.164,0.066,0.322,0.182,0.438c0.117,0.116,0.273,0.182,0.438,0.182h3.467v-4.154c0-0.164,0.066-0.322,0.182-0.438
9
	c0.117-0.116,0.273-0.182,0.438-0.182h1.5H7.533c0.166,0,0.322,0.065,0.439,0.182c0.115,0.115,0.18,0.273,0.18,0.438v4.148h3.469
10
	c0.164,0,0.32-0.065,0.438-0.182c0.115-0.116,0.182-0.273,0.182-0.438V7.402h0.785c0.152-0.017,0.295-0.089,0.396-0.203
11
	c0.102-0.115,0.158-0.264,0.156-0.417C13.578,6.629,13.52,6.481,13.416,6.368L13.416,6.368z"/>
12
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/home.svg (+12 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="13.578px" height="14.219px" viewBox="0 0 13.578 14.219" enable-background="new 0 0 13.578 14.219" xml:space="preserve">
6
<path fill="#FFFFFF" d="M13.416,6.368L7.225,0.177l0,0C7.109,0.063,6.953,0,6.791,0S6.475,0.063,6.357,0.177L0.166,6.368
7
	C0.061,6.482,0,6.634,0,6.79c0,0.157,0.059,0.308,0.166,0.423c0.107,0.114,0.252,0.185,0.41,0.195H1.33V13.6
8
	c0,0.164,0.066,0.322,0.182,0.438c0.117,0.116,0.273,0.182,0.438,0.182h3.467v-4.154c0-0.164,0.066-0.322,0.182-0.438
9
	c0.117-0.116,0.273-0.182,0.438-0.182h1.5H7.533c0.166,0,0.322,0.065,0.439,0.182c0.115,0.115,0.18,0.273,0.18,0.438v4.148h3.469
10
	c0.164,0,0.32-0.065,0.438-0.182c0.115-0.116,0.182-0.273,0.182-0.438V7.402h0.785c0.152-0.017,0.295-0.089,0.396-0.203
11
	c0.102-0.115,0.158-0.264,0.156-0.417C13.578,6.629,13.52,6.481,13.416,6.368L13.416,6.368z"/>
12
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/next-green.svg (+13 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="6.382px" height="10.758px" viewBox="0 0 6.382 10.758" enable-background="new 0 0 6.382 10.758" xml:space="preserve">
6
<path fill="#418A40" d="M0.166,1.563C0.055,1.396,0.008,1.206,0,1.007c-0.008-0.27,0.119-0.523,0.293-0.714
7
	C0.469,0.103,0.754,0,1.008,0s0.523,0.111,0.705,0.293C1.896,0.476,2.07,0.65,2.254,0.833C3.039,1.61,3.822,2.404,4.609,3.189
8
	C5.102,3.681,5.6,4.172,6.094,4.665C6.188,4.76,6.26,4.871,6.307,4.99C6.33,5.061,6.355,5.117,6.363,5.18c0,0,0,0,0,0.008
9
	c0.039,0.183,0.016,0.381-0.049,0.563c-0.031,0.063-0.063,0.127-0.102,0.19c-0.041,0.056-0.08,0.104-0.119,0.143
10
	C6.068,6.108,6.045,6.132,6.021,6.156c-0.16,0.159-0.309,0.31-0.467,0.469C4.768,7.41,3.982,8.195,3.197,8.98
11
	c-0.492,0.5-0.984,0.992-1.475,1.484c-0.191,0.19-0.445,0.286-0.715,0.293c-0.262,0.008-0.516-0.119-0.707-0.293
12
	C0.111,10.297,0,9.996,0,9.75c0-0.246,0.111-0.5,0.277-0.682l0.023-0.024l3.674-3.665L0.207,1.61L0.166,1.563z"/>
13
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/picto-koha.svg (+19 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="29.312px" height="35.625px" viewBox="0 0 29.312 35.625" enable-background="new 0 0 29.312 35.625" xml:space="preserve">
6
<g id="g2618_120_">
7
	<linearGradient id="path14_1_" gradientUnits="userSpaceOnUse" x1="0.1895" y1="30.835" x2="29.3993" y2="7.1813">
8
		<stop  offset="0.4778" style="stop-color:#418A40"/>
9
		<stop  offset="1" style="stop-color:#589D43"/>
10
	</linearGradient>
11
	<path id="path14_111_" fill="url(#path14_1_)" d="M13.295,1.685c1.83-1.016,3.904-1.599,5.992-1.685
12
		c1.102,0.054,2.207,0.178,3.242,0.618c2.041,0.764,3.727,2.326,4.783,4.217c1.168,1.936,1.686,4.185,1.932,6.41
13
		c0.539,7.367-2.189,14.768-6.844,20.431c-1.83,1.829-4.086,3.383-6.674,3.858c-2.141,0.307-4.459-0.151-6.18-1.502
14
		c-1.066-0.807-1.498-2.205-1.406-3.5c0.945,1.336,2.494,2.262,4.146,2.3c1.498,0.071,2.988-0.612,3.994-1.706
15
		c1.695-1.827,1.863-4.91,0.275-6.855c-0.727-0.843-1.572-1.6-2.555-2.134c-0.986-0.582-2.127-0.834-3.252-0.987
16
		c-2.078-0.133-4.232,0.244-6.063,1.268c-1.775,1.004-3.078,2.795-3.486,4.793c-0.416,1.553-0.266,3.177-0.1,4.752
17
		C0.42,30.159,0.146,28.242,0,26.331v-1.395c0.24-6.988,3.15-13.805,7.834-18.972C9.443,4.298,11.238,2.771,13.295,1.685z"/>
18
</g>
19
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/img/UIKit/setting.svg (-1 / +27 lines)
Line 0 Link Here
0
- 
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
	 width="18.523px" height="18.453px" viewBox="0 0 18.523 18.453" enable-background="new 0 0 18.523 18.453" xml:space="preserve">
6
<path d="M17.598,8.301H8.169c-0.263-0.716-0.81-1.291-1.51-1.593c-0.7-0.301-1.494-0.301-2.194,0c-0.7,0.302-1.246,0.877-1.51,1.593
7
	H0.927c-0.331,0-0.637,0.176-0.802,0.462c-0.166,0.287-0.166,0.641,0,0.927c0.165,0.286,0.471,0.463,0.802,0.463h2.02
8
	c0.263,0.716,0.809,1.291,1.51,1.592c0.7,0.302,1.493,0.302,2.194,0c0.699-0.301,1.246-0.876,1.51-1.592h9.437
9
	c0.331,0,0.636-0.177,0.802-0.463s0.166-0.64,0-0.927C18.232,8.477,17.928,8.301,17.598,8.301L17.598,8.301z M5.558,10.152
10
	c-0.245,0-0.481-0.098-0.656-0.271c-0.173-0.175-0.271-0.41-0.271-0.655c0-0.246,0.098-0.481,0.271-0.655
11
	c0.175-0.173,0.411-0.271,0.656-0.271c0.246,0,0.481,0.098,0.655,0.271C6.387,8.745,6.484,8.98,6.484,9.227
12
	c0,0.245-0.098,0.48-0.271,0.655C6.039,10.055,5.804,10.152,5.558,10.152z M17.598,14.783h-3.871
13
	c-0.264-0.716-0.811-1.291-1.51-1.593c-0.701-0.3-1.494-0.3-2.194,0c-0.701,0.302-1.247,0.877-1.51,1.593H0.927
14
	c-0.331,0-0.637,0.177-0.802,0.464c-0.166,0.286-0.166,0.639,0,0.925c0.165,0.287,0.471,0.464,0.802,0.464h7.576
15
	c0.264,0.715,0.81,1.291,1.51,1.592s1.493,0.301,2.194,0c0.7-0.301,1.246-0.877,1.51-1.592h3.881c0.33,0,0.636-0.177,0.802-0.464
16
	c0.165-0.286,0.165-0.639,0-0.925C18.233,14.96,17.928,14.783,17.598,14.783L17.598,14.783z M11.114,16.636L11.114,16.636
17
	c-0.245,0-0.481-0.098-0.654-0.271c-0.174-0.174-0.271-0.409-0.271-0.655c0-0.245,0.098-0.481,0.271-0.654
18
	c0.173-0.175,0.409-0.271,0.654-0.271s0.481,0.097,0.655,0.271c0.174,0.173,0.271,0.409,0.271,0.654
19
	c0,0.246-0.098,0.481-0.271,0.655S11.359,16.636,11.114,16.636L11.114,16.636z M0.927,3.67h10.354
20
	c0.264,0.715,0.81,1.291,1.51,1.592s1.494,0.301,2.194,0s1.246-0.877,1.51-1.592h1.103c0.33,0,0.636-0.177,0.802-0.464
21
	c0.165-0.286,0.165-0.639,0-0.926c-0.166-0.286-0.472-0.463-0.802-0.463h-1.094c-0.263-0.716-0.809-1.291-1.51-1.592
22
	c-0.7-0.301-1.493-0.301-2.193,0c-0.701,0.301-1.247,0.876-1.51,1.592H0.927c-0.331,0-0.637,0.177-0.802,0.463
23
	c-0.166,0.287-0.166,0.64,0,0.926C0.29,3.493,0.596,3.67,0.927,3.67L0.927,3.67z M13.893,1.817c0.246,0,0.48,0.098,0.655,0.271
24
	c0.173,0.174,0.271,0.409,0.271,0.655c0,0.245-0.098,0.48-0.271,0.654c-0.175,0.174-0.409,0.271-0.655,0.271
25
	s-0.481-0.098-0.654-0.271c-0.175-0.174-0.272-0.409-0.272-0.654c0-0.246,0.098-0.481,0.272-0.655
26
	C13.411,1.915,13.646,1.817,13.893,1.817z"/>
27
</svg>

Return to bug 30952