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

(-)a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc (-6 / +5 lines)
Lines 14-25 Link Here
14
[% ELSIF ( item.wthdrawn ) %]
14
[% ELSIF ( item.wthdrawn ) %]
15
    Item withdrawn
15
    Item withdrawn
16
[% ELSIF ( item.itemlost ) %]
16
[% ELSIF ( item.itemlost ) %]
17
    [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
17
    [% IF ( item.lostimageurl ) %]
18
    [% IF ( av_lib_include ) %]
18
        <img src="[% item.lostimageurl %]" alt="[% item.lostimagelabel %]" title="[% item.lostimagelabel %]">
19
        [% av_lib_include %]
20
    [% ELSE %]
19
    [% ELSE %]
21
        [% IF ( item.lostimageurl ) %]
20
        [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
22
            <img src="[% item.lostimageurl %]" alt="[% item.lostimagelabel %]" title="[% item.lostimagelabel %]">
21
        [% IF ( av_lib_include ) %]
22
            [% av_lib_include %]
23
        [% ELSE %]
23
        [% ELSE %]
24
            Item lost
24
            Item lost
25
        [% END %]
25
        [% END %]
26
- 

Return to bug 7706