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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-1 / +1 lines)
Lines 137-143 Link Here
137
                                                    [% END %]
137
                                                    [% END %]
138
                                                [% END %]
138
                                                [% END %]
139
                                                <span class="tdlabel">Item type:</span>
139
                                                <span class="tdlabel">Item type:</span>
140
                                                [% issue.description %]</td>
140
                                                [% issue.translated_description %]</td>
141
                                                <td>
141
                                                <td>
142
                                                <span class="tdlabel">Call number:</span>
142
                                                <span class="tdlabel">Call number:</span>
143
                                                [% issue.itemcallnumber %]
143
                                                [% issue.itemcallnumber %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-2 / +2 lines)
Lines 169-175 Link Here
169
                                                        <li class="itype">
169
                                                        <li class="itype">
170
                                                            <span class="label">Item type: </span>
170
                                                            <span class="label">Item type: </span>
171
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
171
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
172
                                                            [% bibitemloo.description %]
172
                                                            [% bibitemloo.translated_description %]
173
                                                        </li>
173
                                                        </li>
174
                                                    [% END %]
174
                                                    [% END %]
175
175
Lines 316-322 Link Here
316
                                                                                    <img src="[% itemLoo.imageurl %]" alt="" />
316
                                                                                    <img src="[% itemLoo.imageurl %]" alt="" />
317
                                                                                [% END %]
317
                                                                                [% END %]
318
                                                                            [% END %]
318
                                                                            [% END %]
319
                                                                            [% itemLoo.description %]
319
                                                                            [% itemLoo.translated_description %]
320
                                                                        </td>
320
                                                                        </td>
321
                                                                    [% END %]
321
                                                                    [% END %]
322
322
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-1 / +1 lines)
Lines 51-57 Link Here
51
                                                    [% ELSE %]
51
                                                    [% ELSE %]
52
                                                        <option value="[% itemtypeloo.itemtype %]">
52
                                                        <option value="[% itemtypeloo.itemtype %]">
53
                                                    [% END %]
53
                                                    [% END %]
54
                                                            [% itemtypeloo.description %]
54
                                                            [% itemtypeloo.translated_description %]
55
                                                        </option>
55
                                                        </option>
56
                                                [% END %]
56
                                                [% END %]
57
                                            </select>
57
                                            </select>
(-)a/opac/opac-readingrecord.pl (-2 / +2 lines)
Lines 84-91 my $opac_summary_html = C4::Context->preference('OPACMySummaryHTML'); Link Here
84
foreach my $issue ( @{$issues} ) {
84
foreach my $issue ( @{$issues} ) {
85
    $issue->{normalized_isbn} = GetNormalizedISBN( $issue->{isbn} );
85
    $issue->{normalized_isbn} = GetNormalizedISBN( $issue->{isbn} );
86
    if ( $issue->{$itype_attribute} ) {
86
    if ( $issue->{$itype_attribute} ) {
87
        $issue->{description} =
87
        $issue->{translated_description} =
88
          $itemtypes->{ $issue->{$itype_attribute} }->{description};
88
          $itemtypes->{ $issue->{$itype_attribute} }->{translated_description};
89
        $issue->{imageurl} =
89
        $issue->{imageurl} =
90
          getitemtypeimagelocation( 'opac',
90
          getitemtypeimagelocation( 'opac',
91
            $itemtypes->{ $issue->{$itype_attribute} }->{imageurl} );
91
            $itemtypes->{ $issue->{$itype_attribute} }->{imageurl} );
(-)a/opac/opac-reserve.pl (-4 / +3 lines)
Lines 407-419 foreach my $biblioNum (@biblionumbers) { Link Here
407
    $biblioLoopIter{mandatorynotes}=0; #FIXME: For future use
407
    $biblioLoopIter{mandatorynotes}=0; #FIXME: For future use
408
408
409
    if (!$itemLevelTypes && $biblioData->{itemtype}) {
409
    if (!$itemLevelTypes && $biblioData->{itemtype}) {
410
        $biblioLoopIter{description} = $itemTypes->{$biblioData->{itemtype}}{description};
410
        $biblioLoopIter{translated_description} = $itemTypes->{$biblioData->{itemtype}}{translated_description};
411
        $biblioLoopIter{imageurl} = getitemtypeimagesrc() . "/". $itemTypes->{$biblioData->{itemtype}}{imageurl};
411
        $biblioLoopIter{imageurl} = getitemtypeimagesrc() . "/". $itemTypes->{$biblioData->{itemtype}}{imageurl};
412
    }
412
    }
413
413
414
    foreach my $itemInfo (@{$biblioData->{itemInfos}}) {
414
    foreach my $itemInfo (@{$biblioData->{itemInfos}}) {
415
        if ($itemLevelTypes && $itemInfo->{itype}) {
415
        if ($itemLevelTypes && $itemInfo->{itype}) {
416
            $itemInfo->{description} = $itemTypes->{$itemInfo->{itype}}{description};
416
            $itemInfo->{translated_description} = $itemTypes->{$itemInfo->{itype}}{translated_description};
417
            $itemInfo->{imageurl} = getitemtypeimagesrc() . "/". $itemTypes->{$itemInfo->{itype}}{imageurl};
417
            $itemInfo->{imageurl} = getitemtypeimagesrc() . "/". $itemTypes->{$itemInfo->{itype}}{imageurl};
418
        }
418
        }
419
419
Lines 436-442 foreach my $biblioNum (@biblionumbers) { Link Here
436
        $itemLoopIter->{enumchron} = $itemInfo->{enumchron};
436
        $itemLoopIter->{enumchron} = $itemInfo->{enumchron};
437
        $itemLoopIter->{copynumber} = $itemInfo->{copynumber};
437
        $itemLoopIter->{copynumber} = $itemInfo->{copynumber};
438
        if ($itemLevelTypes) {
438
        if ($itemLevelTypes) {
439
            $itemLoopIter->{description} = $itemInfo->{description};
439
            $itemLoopIter->{translated_description} = $itemInfo->{translated_description};
440
            $itemLoopIter->{imageurl} = $itemInfo->{imageurl};
440
            $itemLoopIter->{imageurl} = $itemInfo->{imageurl};
441
        }
441
        }
442
442
443
- 

Return to bug 14100