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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-7 / +10 lines)
Lines 151-160 Link Here
151
                                        [% IF cr.course_item.itype_enabled %]
151
                                        [% IF cr.course_item.itype_enabled %]
152
                                            [% IF cr.course_item.enabled == 'yes' %]
152
                                            [% IF cr.course_item.enabled == 'yes' %]
153
                                                <strong>[% ItemTypes.GetDescription( cr.item.effective_itemtype ) | html %]</strong>
153
                                                <strong>[% ItemTypes.GetDescription( cr.item.effective_itemtype ) | html %]</strong>
154
                                                ([% ItemTypes.GetDescription( cr.course_item.itype_storage ) | html %])
154
                                                [% IF (cr.course_item.itype_storage ) %]
155
                                                    ([% ItemTypes.GetDescription( cr.course_item.itype_storage ) | html %])
156
                                                [% END %]
155
                                            [% ELSE %]
157
                                            [% ELSE %]
156
                                                [% ItemTypes.GetDescription( cr.course_item.itype ) | html %]
158
                                                [% ItemTypes.GetDescription( cr.course_item.itype ) | html %]
157
                                                (<strong>[% ItemTypes.GetDescription( cr.item.effective_itemtype) | html %]</strong>)
159
                                                [% IF ( cr.item.effective_itemtype ) %]
160
                                                    (<strong>[% ItemTypes.GetDescription( cr.item.effective_itemtype) | html %]</strong>)
161
                                                [% END %]
158
                                            [% END %]
162
                                            [% END %]
159
                                        [% ELSE %]
163
                                        [% ELSE %]
160
                                            <em>Unchanged</em>
164
                                            <em>Unchanged</em>
Lines 168-174 Link Here
168
                                    [% IF cr.course_item.ccode_enabled %]
172
                                    [% IF cr.course_item.ccode_enabled %]
169
                                        [% IF cr.course_item.enabled == 'yes' %]
173
                                        [% IF cr.course_item.enabled == 'yes' %]
170
                                            <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.item.ccode ) | html %]</strong>
174
                                            <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.item.ccode ) | html %]</strong>
171
                                            [% IF cr.item.ccode %]
175
                                            [% IF cr.course_item.ccode_storage %]
172
                                                ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.course_item.ccode_storage ) | html %])
176
                                                ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => cr.course_item.ccode_storage ) | html %])
173
                                            [% END %]
177
                                            [% END %]
174
                                        [% ELSE %]
178
                                        [% ELSE %]
Lines 188-194 Link Here
188
                                    [% IF cr.course_item.location_enabled %]
192
                                    [% IF cr.course_item.location_enabled %]
189
                                        [% IF cr.course_item.enabled == 'yes' %]
193
                                        [% IF cr.course_item.enabled == 'yes' %]
190
                                            <strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>
194
                                            <strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>
191
                                            [% IF cr.item.permanent_location %]
195
                                            [% IF cr.course_item.location_storage %]
192
                                                ([% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location_storage ) | html %])
196
                                                ([% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location_storage ) | html %])
193
                                            [% END %]
197
                                            [% END %]
194
                                        [% ELSE %]
198
                                        [% ELSE %]
Lines 208-214 Link Here
208
                                    [% IF cr.course_item.homebranch_enabled %]
212
                                    [% IF cr.course_item.homebranch_enabled %]
209
                                        [% IF cr.course_item.enabled == 'yes' %]
213
                                        [% IF cr.course_item.enabled == 'yes' %]
210
                                            <strong>[% Branches.GetName( cr.item.homebranch ) | html %]</strong>
214
                                            <strong>[% Branches.GetName( cr.item.homebranch ) | html %]</strong>
211
                                            [% IF cr.item.homebranch %]
215
                                            [% IF cr.course_item.homebranch_storage %]
212
                                                ([% Branches.GetName( cr.course_item.homebranch_storage ) | html %])
216
                                                ([% Branches.GetName( cr.course_item.homebranch_storage ) | html %])
213
                                            [% END %]
217
                                            [% END %]
214
                                        [% ELSE %]
218
                                        [% ELSE %]
Lines 228-234 Link Here
228
                                    [% IF cr.course_item.holdingbranch_enabled %]
232
                                    [% IF cr.course_item.holdingbranch_enabled %]
229
                                        [% IF cr.course_item.enabled == 'yes' %]
233
                                        [% IF cr.course_item.enabled == 'yes' %]
230
                                            <strong>[% Branches.GetName( cr.item.holdingbranch ) | html %]</strong>
234
                                            <strong>[% Branches.GetName( cr.item.holdingbranch ) | html %]</strong>
231
                                            [% IF cr.item.holdingbranch %]
235
                                            [% IF cr.course_item.holdingbranch_storage %]
232
                                                ([% Branches.GetName( cr.course_item.holdingbranch_storage ) | html %])
236
                                                ([% Branches.GetName( cr.course_item.holdingbranch_storage ) | html %])
233
                                            [% END %]
237
                                            [% END %]
234
                                        [% ELSE %]
238
                                        [% ELSE %]
235
- 

Return to bug 39078