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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-1 / +1 lines)
Lines 121-127 Link Here
121
        <tr>
121
        <tr>
122
    [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
122
    [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
123
        <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]" name="limit" value="mc-[% itemtypeloo.ccl | html %]:[% itemtypeloo.code | html %]"/><label for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl | html %]" alt="[% itemtypeloo.description | html %]" />[% END %]&nbsp;[% END %]
123
        <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]" name="limit" value="mc-[% itemtypeloo.ccl | html %]:[% itemtypeloo.code | html %]"/><label for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl | html %]" alt="[% itemtypeloo.description | html %]" />[% END %]&nbsp;[% END %]
124
        [% itemtypeloo.description | html %]</label></td>
124
        <span class="itypetext">[% itemtypeloo.description | html %]<span></label></td>
125
        [% IF ( loop.last ) %]</tr>[% ELSE %][% UNLESS ( loop.count % 5 ) %]</tr><tr>[% END %][% END %]
125
        [% IF ( loop.last ) %]</tr>[% ELSE %][% UNLESS ( loop.count % 5 ) %]</tr><tr>[% END %][% END %]
126
    [% END %]
126
    [% END %]
127
    </table>
127
    </table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +2 lines)
Lines 414-419 Link Here
414
                                    <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
414
                                    <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
415
                                [% END %]
415
                                [% END %]
416
                            [% END %]
416
                            [% END %]
417
                            <span class="itypetext">[% item.translated_description | html %]</span>
417
                        </td>
418
                        </td>
418
                    [% END %]
419
                    [% END %]
419
                    <td class="status">
420
                    <td class="status">
Lines 793-799 Link Here
793
<div id="editions"><h4>Editions</h4>
794
<div id="editions"><h4>Editions</h4>
794
<table>
795
<table>
795
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
796
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
796
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description | html %][% ELSE %]<img src="[% XISBN.imageurl | html %]" alt="[% XISBN.description | html %]" title="[% XISBN.description | html %]">[% END %]</td>[% END %]
797
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %]<span class="itypetext">[% XISBN.description | html %]</span>[% ELSE %]<img src="[% XISBN.imageurl | html %]" alt="[% XISBN.description | html %]" title="[% XISBN.description | html %]">[% END %]</td>[% END %]
797
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> by [% XISBN.author | html %] &copy;[% XISBN.copyrightdate | html %]
798
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> by [% XISBN.author | html %] &copy;[% XISBN.copyrightdate | html %]
798
  [% IF ( XISBN.publishercode ) %]
799
  [% IF ( XISBN.publishercode ) %]
799
[% XISBN.publishercode | html %] [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear | html %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement | html %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility | html %][% END %]
800
[% XISBN.publishercode | html %] [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear | html %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement | html %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility | html %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-2 / +10 lines)
Lines 396-402 Link Here
396
                                        [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
396
                                        [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
397
                                            <img src="[% SEARCH_RESULT.imageurl | html %]" alt="[% SEARCH_RESULT.description | html %]" />
397
                                            <img src="[% SEARCH_RESULT.imageurl | html %]" alt="[% SEARCH_RESULT.description | html %]" />
398
                                        [% END %]
398
                                        [% END %]
399
                                        [% SEARCH_RESULT.description | html %]
399
                                        <span class="itypetext">[% SEARCH_RESULT.description | html %]</span>
400
                                    </div>
400
                                    </div>
401
                                [% END %]
401
                                [% END %]
402
402
Lines 512-518 Link Here
512
                                        [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber | html %]</a>][% END %]
512
                                        [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber | html %]</a>][% END %]
513
                                        ([% available_items_loo.count | html %])
513
                                        ([% available_items_loo.count | html %])
514
                                        [% IF item_level_itypes && available_items_loo.description %]
514
                                        [% IF item_level_itypes && available_items_loo.description %]
515
                                        <br/>[% available_items_loo.description | html %]
515
                                        <span class="itypetext"><br>[% available_items_loo.description | html %]</span>
516
                                        [% END %]
516
                                        [% END %]
517
                                        </li>
517
                                        </li>
518
                                    [% END %]
518
                                    [% END %]
Lines 534-540 Link Here
534
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber | html %]</a>][% END %]
534
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber | html %]</a>][% END %]
535
                                        ([% onloan_items_loo.count | html %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue | html %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
535
                                        ([% onloan_items_loo.count | html %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue | html %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
536
                                        [% IF item_level_itypes && onloan_items_loo.description %]
536
                                        [% IF item_level_itypes && onloan_items_loo.description %]
537
<<<<<<< HEAD
537
                                        <br/>[% onloan_items_loo.description | html %]
538
                                        <br/>[% onloan_items_loo.description | html %]
539
=======
540
                                        <span class="itypetext"><br>[% onloan_items_loo.description %]</span>
541
>>>>>>> Bug 7960: Add class to item type descriptions so they can be hidden with CSS
538
                                        [% END %]
542
                                        [% END %]
539
                                        </li>
543
                                        </li>
540
                                    [% END %]
544
                                    [% END %]
Lines 562-568 Link Here
562
                                        [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan | html %][% END %]
566
                                        [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan | html %][% END %]
563
                                        ([% other_items_loo.count | html %])
567
                                        ([% other_items_loo.count | html %])
564
                                        [% IF item_level_itypes && other_items_loo.description %]
568
                                        [% IF item_level_itypes && other_items_loo.description %]
569
<<<<<<< HEAD
565
                                        <br/>[% other_items_loo.description | html %]
570
                                        <br/>[% other_items_loo.description | html %]
571
=======
572
                                        <span class="itypetext"><br>[% other_items_loo.description %]</span>
573
>>>>>>> Bug 7960: Add class to item type descriptions so they can be hidden with CSS
566
                                        [% END %]
574
                                        [% END %]
567
                                        </li>
575
                                        </li>
568
                                    [% END %]
576
                                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-1 / +1 lines)
Lines 352-358 Link Here
352
                    [% UNLESS ( noItemTypeImages ) %]
352
                    [% UNLESS ( noItemTypeImages ) %]
353
                        [% IF ( itemloo.imageurl ) %]<img src="[% itemloo.imageurl | html %]" alt="" /> <br /> [% END %]
353
                        [% IF ( itemloo.imageurl ) %]<img src="[% itemloo.imageurl | html %]" alt="" /> <br /> [% END %]
354
                    [% END %]
354
                    [% END %]
355
                        [% itemloo.itypename | html %]
355
                        <span class="itypetext">[% itemloo.itypename | html %]</span>
356
                    </td>
356
                    </td>
357
                [% END %]
357
                [% END %]
358
358
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-1 / +1 lines)
Lines 212-218 Link Here
212
                </td>
212
                </td>
213
            [% END %]
213
            [% END %]
214
			[% UNLESS ( item_level_itypes ) %]<td>
214
			[% UNLESS ( item_level_itypes ) %]<td>
215
                [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />[% END %][% itemsloo.description | html %]
215
                [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />[% END %]<span class="itypetext">[% itemsloo.description | html %]</span>
216
			</td>[% END %]
216
			</td>[% END %]
217
			<td>
217
			<td>
218
                [% IF ( itemsloo.XSLTBloc ) %]
218
                [% IF ( itemsloo.XSLTBloc ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-1 / +1 lines)
Lines 151-157 Link Here
151
                                                            [% END %]
151
                                                            [% END %]
152
                                                            &nbsp;
152
                                                            &nbsp;
153
                                                        [% END %]
153
                                                        [% END %]
154
                                                        [% itemtypeloo.description | html %]
154
                                                        <span class="itypetext">[% itemtypeloo.description | html %]</span>
155
                                                    </label>
155
                                                    </label>
156
                                                </div>
156
                                                </div>
157
                                            [% IF ( loop.last ) %]</div>[% ELSE %][% UNLESS ( loop.count % 4 ) %]</div><div class="row-fluid">[% END %][% END %]
157
                                            [% IF ( loop.last ) %]</div>[% ELSE %][% UNLESS ( loop.count % 4 ) %]</div><div class="row-fluid">[% END %][% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +2 lines)
Lines 327-333 Link Here
327
                            [% IF ( imgeurl ) %]
327
                            [% IF ( imgeurl ) %]
328
                                <img src="[% imageurl | html %]" alt="" />
328
                                <img src="[% imageurl | html %]" alt="" />
329
                            [% END %]
329
                            [% END %]
330
                            <span class="results_summary itemtype"><span class="label">Item type: </span>
330
                            <span class="results_summary itemtype itypetext"><span class="label">Item type: </span>
331
                                [% IF ( description ) %]
331
                                [% IF ( description ) %]
332
                                    [% description | html %]
332
                                    [% description | html %]
333
                                [% ELSE %]
333
                                [% ELSE %]
Lines 1230-1236 Link Here
1230
                                    <img src="[% ITEM_RESULT.imageurl | html %]" title="[% ITEM_RESULT.description | html %]" alt="[% ITEM_RESULT.description | html %]" />
1230
                                    <img src="[% ITEM_RESULT.imageurl | html %]" title="[% ITEM_RESULT.description | html %]" alt="[% ITEM_RESULT.description | html %]" />
1231
                                [% END %]
1231
                                [% END %]
1232
                            [% END %]
1232
                            [% END %]
1233
                            [% ITEM_RESULT.description | html %]
1233
                            <span class="itypetext">[% ITEM_RESULT.description | html %]</span>
1234
                        </td>
1234
                        </td>
1235
                    [% END %]
1235
                    [% END %]
1236
                    [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1236
                    [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-2 / +2 lines)
Lines 151-158 Link Here
151
                                                        <img src="[% issue.imageurl | html %]" alt="" />
151
                                                        <img src="[% issue.imageurl | html %]" alt="" />
152
                                                    [% END %]
152
                                                    [% END %]
153
                                                [% END %]
153
                                                [% END %]
154
                                                <span class="tdlabel">Item type:</span>
154
                                                <span class="itypetext"><span class="tdlabel">Item type:</span>
155
                                                [% issue.translated_description | html %]</td>
155
                                                [% issue.translated_description | html %]</span></td>
156
                                                <td>
156
                                                <td>
157
                                                <span class="tdlabel">Call number:</span>
157
                                                <span class="tdlabel">Call number:</span>
158
                                                [% issue.itemcallnumber | html %]
158
                                                [% issue.itemcallnumber | html %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-2 / +2 lines)
Lines 201-207 Link Here
201
                                                        <li class="itype">
201
                                                        <li class="itype">
202
                                                            <span class="label">Item type: </span>
202
                                                            <span class="label">Item type: </span>
203
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl | html %]" alt="" />[% END %]
203
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl | html %]" alt="" />[% END %]
204
                                                            [% bibitemloo.translated_description | html %]
204
                                                            <span class="itypetext">[% bibitemloo.translated_description | html %]</span>
205
                                                        </li>
205
                                                        </li>
206
                                                    [% END %]
206
                                                    [% END %]
207
207
Lines 368-374 Link Here
368
                                                                                    <img src="[% itemLoo.imageurl | html %]" alt="" />
368
                                                                                    <img src="[% itemLoo.imageurl | html %]" alt="" />
369
                                                                                [% END %]
369
                                                                                [% END %]
370
                                                                            [% END %]
370
                                                                            [% END %]
371
                                                                            [% itemLoo.translated_description | html %]
371
                                                                            <span class="itypetext">[% itemLoo.translated_description | html %]</span>
372
                                                                        </td>
372
                                                                        </td>
373
                                                                    [% END %]
373
                                                                    [% END %]
374
374
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (-1 / +1 lines)
Lines 171-177 Link Here
171
                                                                    <img src="[% GROUP_RESULT.imageurl | html %]" title="[% GROUP_RESULT.description | html %]" />
171
                                                                    <img src="[% GROUP_RESULT.imageurl | html %]" title="[% GROUP_RESULT.description | html %]" />
172
                                                                [% END %]
172
                                                                [% END %]
173
                                                            [% END %]
173
                                                            [% END %]
174
                                                            [% GROUP_RESULT.description | html %]
174
                                                            <span class="itypetext">[% GROUP_RESULT.description | html %]</span>
175
                                                        [% END %]
175
                                                        [% END %]
176
                                                        </td>
176
                                                        </td>
177
                                                        <td>
177
                                                        <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-1 / +1 lines)
Lines 299-305 Link Here
299
                                                        [% UNLESS ( noItemTypeImages ) %]
299
                                                        [% UNLESS ( noItemTypeImages ) %]
300
                                                            <img src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />
300
                                                            <img src="[% itemsloo.imageurl | html %]" alt="[% itemsloo.description | html %]" title="[% itemsloo.description | html %]" />
301
                                                        [% END %]
301
                                                        [% END %]
302
                                                        [% itemsloo.description | html %]
302
                                                        <span class="itypetext">[% itemsloo.description | html %]</span>
303
                                                    </td>
303
                                                    </td>
304
                                                [% END %]
304
                                                [% END %]
305
                                                <td>
305
                                                <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-2 / +1 lines)
Lines 274-280 Link Here
274
                                                        <span class="tdlabel">Item type:</span>
274
                                                        <span class="tdlabel">Item type:</span>
275
                                                        [% IF ( ISSUE.imageurl ) %]
275
                                                        [% IF ( ISSUE.imageurl ) %]
276
                                                            <img src="[% ISSUE.imageurl | html %]" title="[% ISSUE.description | html %]" alt="[% ISSUE.description | html %]" />
276
                                                            <img src="[% ISSUE.imageurl | html %]" title="[% ISSUE.description | html %]" alt="[% ISSUE.description | html %]" />
277
                                                        [% END %] [% ISSUE.description | html %]
277
                                                        [% END %] <span class="itypetext">[% ISSUE.description | html %]</span>
278
                                                    </td>
278
                                                    </td>
279
                                                [% END %]
279
                                                [% END %]
280
                                                [% IF ( show_barcode ) %]
280
                                                [% IF ( show_barcode ) %]
281
- 

Return to bug 7960