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

(-)a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc (-5 / +6 lines)
Lines 14-21 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
    [% IF KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
17
    [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
18
        [% KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
18
    [% IF ( av_lib_include ) %]
19
        [% av_lib_include %]
19
    [% ELSE %]
20
    [% ELSE %]
20
        [% IF ( item.lostimageurl ) %]
21
        [% IF ( item.lostimageurl ) %]
21
            <img src="[% item.lostimageurl %]" alt="[% item.lostimagelabel %]" title="[% item.lostimagelabel %]">
22
            <img src="[% item.lostimageurl %]" alt="[% item.lostimagelabel %]" title="[% item.lostimagelabel %]">
Lines 32-39 Link Here
32
[% ELSIF ( item.notforloan_per_itemtype ) %]
33
[% ELSIF ( item.notforloan_per_itemtype ) %]
33
    Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
34
    Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
34
[% ELSIF ( item.damaged ) %]
35
[% ELSIF ( item.damaged ) %]
35
    [% IF KohaAuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
36
    [% av_lib_include = KohaAuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
36
        [% KohaAuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
37
    [% IF av_lib_include %]
38
        [% av_lib_include %]
37
    [% ELSE %]
39
    [% ELSE %]
38
        Item damaged
40
        Item damaged
39
    [% END %]
41
    [% END %]
40
- 

Return to bug 4173