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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-icon-selection.inc (-1 / +1 lines)
Lines 48-54 Link Here
48
                    [% FOREACH image IN imageset.images %]
48
                    [% FOREACH image IN imageset.images %]
49
                        <label>
49
                        <label>
50
                            [% IF image.StaffImageUrl %]
50
                            [% IF image.StaffImageUrl %]
51
                                <img src="[% image.StaffImageUrl | html %]" alt="[% image.StaffImageUrl | html %]" title="[% image.StaffImageUrl | html %]" />
51
                                <img class="itemtype-image" src="[% image.StaffImageUrl | html %]" alt="[% image.StaffImageUrl | html %]" title="[% image.StaffImageUrl | html %]" />
52
                            [% END %]
52
                            [% END %]
53
                            [% IF image.checked %]
53
                            [% IF image.checked %]
54
                                <input type="radio" name="image" value="[% image.KohaImage | html %]" checked="checked" />
54
                                <input type="radio" name="image" value="[% image.KohaImage | html %]" checked="checked" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-1 / +1 lines)
Lines 349-355 Link Here
349
                    [% UNLESS noItemTypeImages %]
349
                    [% UNLESS noItemTypeImages %]
350
                        let image_location = item_type_image_locations[row.item_type_id];
350
                        let image_location = item_type_image_locations[row.item_type_id];
351
                        node += image_location
351
                        node += image_location
352
                            ? '<img src="%s" alt="%s" title="%s" /> '.format(escape_str(image_location), escape_str(item_type_description), escape_str(item_type_description))
352
                            ? '<img class="itemtype-image" src="%s" alt="%s" title="%s" /> '.format(escape_str(image_location), escape_str(item_type_description), escape_str(item_type_description))
353
                            : '';
353
                            : '';
354
                    [% END %]
354
                    [% END %]
355
                    node += '<span class="itypedesc itypetext">%s</span>'.format(escape_str(item_type_description));
355
                    node += '<span class="itypedesc itypetext">%s</span>'.format(escape_str(item_type_description));
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-1 / +1 lines)
Lines 307-313 Link Here
307
                                            <td>[% loo.lib | html %]</td>
307
                                            <td>[% loo.lib | html %]</td>
308
                                            <td>[% loo.lib_opac | html %]</td>
308
                                            <td>[% loo.lib_opac | html %]</td>
309
                                            <td>
309
                                            <td>
310
                                                [% IF ( loo.image ) %]<img src="[% loo.image | url %]" alt=""/>[% ELSE %]&nbsp;[% END %]</td>
310
                                                [% IF ( loo.image ) %]<img class="itemtype-image" src="[% loo.image | url %]" alt=""/>[% ELSE %]&nbsp;[% END %]</td>
311
                                            <td>
311
                                            <td>
312
                                                [% IF loo.branches.size > 0 %]
312
                                                [% IF loo.branches.size > 0 %]
313
                                                    [% branches_str = "" %]
313
                                                    [% branches_str = "" %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-2 / +2 lines)
Lines 368-374 Link Here
368
                    <th scope="row">Image</th>
368
                    <th scope="row">Image</th>
369
                    <td>
369
                    <td>
370
                        [% SET image_location = itemtype.image_location('intranet') %]
370
                        [% SET image_location = itemtype.image_location('intranet') %]
371
                        [% IF image_location %]<img src="[% image_location | html %]" alt="" />[% END %]
371
                        [% IF image_location %]<img class="itemtype-image" src="[% image_location | html %]" alt="" />[% END %]
372
                    </td>
372
                    </td>
373
                </tr>
373
                </tr>
374
            [% END %]
374
            [% END %]
Lines 414-420 Link Here
414
                [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %]
414
                [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %]
415
                    <td>
415
                    <td>
416
                        [% SET image_location = itemtype.image_location('intranet') %]
416
                        [% SET image_location = itemtype.image_location('intranet') %]
417
                        [% IF image_location %]<img src="[% image_location | html %]" alt="" />[% ELSE %]&nbsp;[% END %]
417
                        [% IF image_location %]<img class="itemtype-image" src="[% image_location | html %]" alt="" />[% ELSE %]&nbsp;[% END %]
418
                    </td>
418
                    </td>
419
                [% END %]
419
                [% END %]
420
            <td>
420
            <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-1 / +1 lines)
Lines 247-253 Link Here
247
                                                <label for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]">
247
                                                <label for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]">
248
                                                    [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
248
                                                    [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
249
                                                        [% IF ( itemtypeloo.imageurl ) %]
249
                                                        [% IF ( itemtypeloo.imageurl ) %]
250
                                                            <img src="[% itemtypeloo.imageurl | html %]" alt="[% itemtypeloo.description | html %]" />
250
                                                            <img class="itemtype-image" src="[% itemtypeloo.imageurl | html %]" alt="[% itemtypeloo.description | html %]" />
251
                                                        [% END %]
251
                                                        [% END %]
252
                                                            &nbsp;
252
                                                            &nbsp;
253
                                                    [% END %]
253
                                                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 156-166 Link Here
156
                                <span class="label">MARC framework:</span>
156
                                <span class="label">MARC framework:</span>
157
                                <span class="frameworkcode">[% Frameworks.GetName(biblio.frameworkcode) | html %]</span>
157
                                <span class="frameworkcode">[% Frameworks.GetName(biblio.frameworkcode) | html %]</span>
158
                            </span>
158
                            </span>
159
                            [% IF !item_level_itypes ||  Koha.Preference("BiblioItemtypeInfo") %]
159
                            [% IF !item_level_itypes || Koha.Preference("BiblioItemtypeInfo") %]
160
                                <span class="results_summary itemtype">
160
                                <span class="results_summary itemtype">
161
                                    <span class="label">Itemtype:</span>
161
                                    <span class="label">Itemtype:</span>
162
                                    [% IF ( !noItemTypeImages && imageurl ) %]
162
                                    [% IF ( !noItemTypeImages && imageurl ) %]
163
                                        <img src="[% imageurl | html %]" alt="" />
163
                                        <img class="itemtype-image" src="[% imageurl | html %]" alt="" />
164
                                    [% END %]
164
                                    [% END %]
165
                                    [% IF ( description ) %]
165
                                    [% IF ( description ) %]
166
                                        <span class="itypetext">[% description | html %]</span>
166
                                        <span class="itypetext">[% description | html %]</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-2 / +2 lines)
Lines 544-550 Link Here
544
                                                [% IF ( !item_level_itypes ) || Koha.Preference('BiblioItemtypeInfo') %]
544
                                                [% IF ( !item_level_itypes ) || Koha.Preference('BiblioItemtypeInfo') %]
545
                                                    <div class="result-biblio-itemtype">
545
                                                    <div class="result-biblio-itemtype">
546
                                                        [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
546
                                                        [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
547
                                                            <img src="[% SEARCH_RESULT.imageurl | html %]" alt="[%  SEARCH_RESULT.description | html %]" />
547
                                                            <img class="itemtype-image" src="[% SEARCH_RESULT.imageurl | html %]" alt="[%  SEARCH_RESULT.description | html %]" />
548
                                                        [% END %]
548
                                                        [% END %]
549
                                                        <span class="itypetext">[% SEARCH_RESULT.description | html %]</span>
549
                                                        <span class="itypetext">[% SEARCH_RESULT.description | html %]</span>
550
                                                    </div>
550
                                                    </div>
Lines 632-638 Link Here
632
                                                                    [% FOREACH items_loo IN SEARCH_RESULT.${items_loop} %]
632
                                                                    [% FOREACH items_loo IN SEARCH_RESULT.${items_loop} %]
633
                                                                        [% IF item_level_itypes && !noItemTypeImages && items_loo.imageurl %]
633
                                                                        [% IF item_level_itypes && !noItemTypeImages && items_loo.imageurl %]
634
                                                                            <li class="result_itype_image">
634
                                                                            <li class="result_itype_image">
635
                                                                                <img src="[% items_loo.imageurl | html %]" title="[% items_loo.description | html %]" alt="[% items_loo.description | html %]" />
635
                                                                                <img class="itemtype-image" src="[% items_loo.imageurl | html %]" title="[% items_loo.description | html %]" alt="[% items_loo.description | html %]" />
636
                                                                        [% ELSE %]
636
                                                                        [% ELSE %]
637
                                                                            <li>
637
                                                                            <li>
638
                                                                        [% END %]
638
                                                                        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +2 lines)
Lines 421-427 Link Here
421
                                        </td>
421
                                        </td>
422
                                        [% UNLESS Koha.Preference('item-level_itypes') %]
422
                                        [% UNLESS Koha.Preference('item-level_itypes') %]
423
                                            <td>
423
                                            <td>
424
                                                <img src="[% biblioloo.itemtype.image_location| html %]" alt="[% biblioloo.itemtype.translated_description | html %]" title="[% biblioloo.itemtype.translated_description | html %]" />
424
                                                <img class="itemtype-image" src="[% biblioloo.itemtype.image_location| html %]" alt="[% biblioloo.itemtype.translated_description | html %]" title="[% biblioloo.itemtype.translated_description | html %]" />
425
                                            </td>
425
                                            </td>
426
                                        [% END %]
426
                                        [% END %]
427
                                        <td>[% biblioloo.rank | html %]</td>
427
                                        <td>[% biblioloo.rank | html %]</td>
Lines 926-932 Link Here
926
                                                    [% IF Koha.Preference('item-level_itypes') %]
926
                                                    [% IF Koha.Preference('item-level_itypes') %]
927
                                                        <td>
927
                                                        <td>
928
                                                            [% UNLESS ( noItemTypeImages ) %]
928
                                                            [% UNLESS ( noItemTypeImages ) %]
929
                                                                [% IF ( itemloo.itemtype.image_location) %]<img src="[% itemloo.itemtype.image_location | html %]" alt="" /> <br /> [% END %]
929
                                                                [% IF ( itemloo.itemtype.image_location) %]<img class="itemtype-image" src="[% itemloo.itemtype.image_location | html %]" alt="" /> <br /> [% END %]
930
                                                            [% END %]
930
                                                            [% END %]
931
                                                            <span class="itypetext">[% itemloo.itemtype.translated_description | html %]</span>
931
                                                            <span class="itypetext">[% itemloo.itemtype.translated_description | html %]</span>
932
                                                        </td>
932
                                                        </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-1 / +1 lines)
Lines 327-333 Link Here
327
                                        [% UNLESS ( item_level_itypes ) %]
327
                                        [% UNLESS ( item_level_itypes ) %]
328
                                            <td>
328
                                            <td>
329
                                                [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]
329
                                                [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]
330
                                                    <img src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />
330
                                                    <img class="itemtype-image" src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />
331
                                                [% END %]
331
                                                [% END %]
332
                                                <span class="itypetext">[% itemsloo.description | html %]</span>
332
                                                <span class="itypetext">[% itemsloo.description | html %]</span>
333
                                            </td>
333
                                            </td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-1 / +1 lines)
Lines 186-192 Link Here
186
                                                            <label for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]">
186
                                                            <label for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]">
187
                                                                [% UNLESS ( Koha.Preference('OpacNoItemTypeImages')) %]
187
                                                                [% UNLESS ( Koha.Preference('OpacNoItemTypeImages')) %]
188
                                                                    [% IF ( itemtypeloo.imageurl ) %]
188
                                                                    [% IF ( itemtypeloo.imageurl ) %]
189
                                                                        <img src="[% itemtypeloo.imageurl | html %]" alt="[% itemtypeloo.description | html %]" />
189
                                                                        <img class="itemtype-image" src="[% itemtypeloo.imageurl | html %]" alt="[% itemtypeloo.description | html %]" />
190
                                                                    [% END %]
190
                                                                    [% END %]
191
                                                                    &nbsp;
191
                                                                    &nbsp;
192
                                                                [% END %]
192
                                                                [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +2 lines)
Lines 166-172 Link Here
166
                    [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %]
166
                    [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %]
167
                        <span class="results_summary itemtype"><span class="label">Item type: </span>
167
                        <span class="results_summary itemtype"><span class="label">Item type: </span>
168
                            [% IF ( imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %]
168
                            [% IF ( imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %]
169
                                <img src="[% imageurl | html %]" alt="" />
169
                                <img class="itemtype-image" src="[% imageurl | html %]" alt="" />
170
                            [% END %]
170
                            [% END %]
171
                            [% IF ( description ) %]
171
                            [% IF ( description ) %]
172
                                <span class="itypetext">[% description | html %]</span>
172
                                <span class="itypetext">[% description | html %]</span>
Lines 1245-1251 Link Here
1245
                    <td class="itype">
1245
                    <td class="itype">
1246
                        [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
1246
                        [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
1247
                            [% IF ( ITEM_RESULT.imageurl ) %]
1247
                            [% IF ( ITEM_RESULT.imageurl ) %]
1248
                                <img src="[% ITEM_RESULT.imageurl | html %]" title="[% ITEM_RESULT.description | html %]" alt="[% ITEM_RESULT.description | html %]" />
1248
                                <img class="itemtype-image" src="[% ITEM_RESULT.imageurl | html %]" title="[% ITEM_RESULT.description | html %]" alt="[% ITEM_RESULT.description | html %]" />
1249
                            [% END %]
1249
                            [% END %]
1250
                        [% END %]
1250
                        [% END %]
1251
                       <span class="itypetext">[% ITEM_RESULT.description | html %]</span>
1251
                       <span class="itypetext">[% ITEM_RESULT.description | html %]</span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-2 / +2 lines)
Lines 244-250 Link Here
244
                                            [% UNLESS ( item_level_itypes ) %]
244
                                            [% UNLESS ( item_level_itypes ) %]
245
                                                <li class="itype">
245
                                                <li class="itype">
246
                                                    <span class="label">Item type: </span>
246
                                                    <span class="label">Item type: </span>
247
                                                    [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl | html %]" alt="" />[% END %]
247
                                                    [% IF ( bibitemloo.imageurl ) %]<img class="itemtype-image" src="[% bibitemloo.imageurl | html %]" alt="" />[% END %]
248
                                                    <span class="itypetext">[% bibitemloo.translated_description | html %]</span>
248
                                                    <span class="itypetext">[% bibitemloo.translated_description | html %]</span>
249
                                                </li>
249
                                                </li>
250
                                            [% END %]
250
                                            [% END %]
Lines 435-441 Link Here
435
                                                                <td class="itype">
435
                                                                <td class="itype">
436
                                                                    [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
436
                                                                    [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
437
                                                                        [% IF ( itemLoo.imageurl ) %]
437
                                                                        [% IF ( itemLoo.imageurl ) %]
438
                                                                            <img src="[% itemLoo.imageurl | html %]" alt="" />
438
                                                                            <img class="itemtype-image" src="[% itemLoo.imageurl | html %]" alt="" />
439
                                                                        [% END %]
439
                                                                        [% END %]
440
                                                                    [% END %]
440
                                                                    [% END %]
441
                                                                    <span class="itypetext">[% itemLoo.translated_description | html %]</span>
441
                                                                    <span class="itypetext">[% itemLoo.translated_description | html %]</span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-1 / +1 lines)
Lines 244-250 Link Here
244
                                                [% # Cell 3: Show item type image %]
244
                                                [% # Cell 3: Show item type image %]
245
                                                <td class="itypecol">
245
                                                <td class="itypecol">
246
                                                    [% IF ( SEARCH_RESULT.imageurl ) %]
246
                                                    [% IF ( SEARCH_RESULT.imageurl ) %]
247
                                                        <img src="[% SEARCH_RESULT.imageurl | html %]" title="[% SEARCH_RESULT.description | html %]" alt="[% SEARCH_RESULT.description | html %]" />
247
                                                        <img class="itemtype-image" src="[% SEARCH_RESULT.imageurl | html %]" title="[% SEARCH_RESULT.description | html %]" alt="[% SEARCH_RESULT.description | html %]" />
248
                                                    [% END %]
248
                                                    [% END %]
249
                                                    [% IF ( SEARCH_RESULT.score_avg ) %]
249
                                                    [% IF ( SEARCH_RESULT.score_avg ) %]
250
                                                        <img src="[% themelang | html %]/../images/bonus.png" title="bonus" style="max-height: 35px;"/>
250
                                                        <img src="[% themelang | html %]/../images/bonus.png" title="bonus" style="max-height: 35px;"/>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-1 / +1 lines)
Lines 377-383 Link Here
377
                                                    [% UNLESS ( item_level_itypes ) %]
377
                                                    [% UNLESS ( item_level_itypes ) %]
378
                                                        <td>
378
                                                        <td>
379
                                                            [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
379
                                                            [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %]
380
                                                                <img src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />
380
                                                                <img class="itemtype-image" src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />
381
                                                            [% END %]
381
                                                            [% END %]
382
                                                            <span class="itypetext">[% itemsloo.description | html %]</span>
382
                                                            <span class="itypetext">[% itemsloo.description | html %]</span>
383
                                                        </td>
383
                                                        </td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-4 / +3 lines)
Lines 335-341 Link Here
335
                                                    <th class="all anti-the">Title</th>
335
                                                    <th class="all anti-the">Title</th>
336
                                                    <th>Author</th>
336
                                                    <th>Author</th>
337
                                                    <th class="psort">Due</th>
337
                                                    <th class="psort">Due</th>
338
                                                    [% UNLESS ( item_level_itypes ) %]
338
                                                    [% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %]
339
                                                        <th>Item type</th>
339
                                                        <th>Item type</th>
340
                                                    [% END %]
340
                                                    [% END %]
341
                                                    [% IF ( show_barcode ) %]
341
                                                    [% IF ( show_barcode ) %]
Lines 426-436 Link Here
426
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
426
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
427
                                                        </td>
427
                                                        </td>
428
                                                    [% END %]
428
                                                    [% END %]
429
                                                    [% UNLESS ( item_level_itypes ) %]
429
                                                    [% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %]
430
                                                        <td class="itype">
430
                                                        <td class="itype">
431
                                                            <span class="tdlabel">Item type:</span>
431
                                                            <span class="tdlabel">Item type:</span>
432
                                                            [% IF ( ISSUE.imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %]
432
                                                            [% IF ( ISSUE.imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %]
433
                                                                <img src="[% ISSUE.imageurl | html %]" title="[% ISSUE.description | html %]" alt="[% ISSUE.description | html %]" />
433
                                                                <img class="itemtype-image" src="[% ISSUE.imageurl | html %]" title="[% ISSUE.description | html %]" alt="[% ISSUE.description | html %]" />
434
                                                                [% END %] <span class="itypetext">[% ISSUE.description | html %]</span>
434
                                                                [% END %] <span class="itypetext">[% ISSUE.description | html %]</span>
435
                                                        </td>
435
                                                        </td>
436
                                                    [% END %]
436
                                                    [% END %]
437
- 

Return to bug 37515