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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (-9 / +33 lines)
Lines 104-112 Link Here
104
                            <td>
104
                            <td>
105
                                [% IF cr.course_item.itype.defined %]
105
                                [% IF cr.course_item.itype.defined %]
106
                                    [% IF cr.course_item.enabled == 'yes' %]
106
                                    [% IF cr.course_item.enabled == 'yes' %]
107
                                        [% ItemTypes.GetDescription( cr.item.itype ) | html %]
107
                                        <strong>[% ItemTypes.GetDescription( cr.item.itype) | html %]</strong>
108
                                        [% IF cr.item.itype %]
109
                                            ([% ItemTypes.GetDescription( cr.course_item.itype ) | html %])
110
                                        [% END %]
108
                                    [% ELSE %]
111
                                    [% ELSE %]
109
                                        [% ItemTypes.GetDescription( cr.course_item.itype ) | html %]
112
                                        [% ItemTypes.GetDescription( cr.course_item.itype ) | html %]
113
                                        [% IF cr.item.itype %]
114
                                            (<strong>[% ItemTypes.GetDescription( cr.item.itype) | html %]
115
                                        [% END %]
110
                                    [% END %]
116
                                    [% END %]
111
                                [% ELSE %]
117
                                [% ELSE %]
112
                                     <i>Unchanged</i>
118
                                     <i>Unchanged</i>
Lines 119-127 Link Here
119
                            <td>
125
                            <td>
120
                                 [% IF cr.course_item.ccode.defined %]
126
                                 [% IF cr.course_item.ccode.defined %]
121
                                     [% IF cr.course_item.enabled == 'yes' %]
127
                                     [% IF cr.course_item.enabled == 'yes' %]
122
                                          [% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]
128
                                        <strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong>
129
                                        [% IF cr.item.ccode %]
130
                                            ([% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %])
131
                                        [% END %]
123
                                     [% ELSE %]
132
                                     [% ELSE %]
124
                                         [% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %]
133
                                        [% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %]
134
                                        [% IF cr.item.ccode %]
135
                                            (<strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong>)
136
                                        [% END %]
125
                                     [% END %]
137
                                     [% END %]
126
                                 [% ELSE %]
138
                                 [% ELSE %]
127
                                     <i>Unchanged</i>
139
                                     <i>Unchanged</i>
Lines 132-155 Link Here
132
                            </td>
144
                            </td>
133
                            <td>
145
                            <td>
134
                                [% IF cr.course_item.location.defined %]
146
                                [% IF cr.course_item.location.defined %]
135
                                     [% IF cr.course_item.enabled == 'yes' %]
147
                                    [% IF cr.course_item.enabled == 'yes' %]
136
                                         [% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) | html %]
148
                                        <strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>
149
                                        [% IF cr.item.permanent_location %]
150
                                            ([% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) | html %])
151
                                        [% END %]
137
                                    [% ELSE %]
152
                                    [% ELSE %]
138
                                        [% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) | html %]
153
                                        [% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) | html %]
154
                                        [% IF cr.item.permanent_location %]
155
                                            (<strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>)
156
                                        [% END %]
139
                                    [% END %]
157
                                    [% END %]
140
                                [% ELSE %]
158
                                [% ELSE %]
141
                                    <i>Unchanged</i>
159
                                    <i>Unchanged</i>
142
                                    [% IF cr.item.location %]
160
                                    [% IF cr.item.permanent_location %]
143
                                        ([% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) | html %])
161
                                        ([% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %])
144
                                    [% END %]
162
                                    [% END %]
145
                                [% END %]
163
                                [% END %]
146
                            </td>
164
                            </td>
147
                            <td>
165
                            <td>
148
                                [% IF cr.course_item.holdingbranch.defined %]
166
                                [% IF cr.course_item.holdingbranch.defined %]
149
                                    [% IF cr.course_item.enabled == 'yes' %]
167
                                    [% IF cr.course_item.enabled == 'yes' %]
150
                                        [% Branches.GetName( cr.item.holdingbranch ) | html %]
168
                                        <strong>[% Branches.GetName( cr.item.holdingbranch ) | html %]</strong>
169
                                        [% IF cr.item.holdingbranch %]
170
                                            ([% Branches.GetName( cr.course_item.holdingbranch ) | html %])
171
                                        [% END %]
151
                                    [% ELSE %]
172
                                    [% ELSE %]
152
                                        [% Branches.GetName( cr.course_item.holdingbranch ) | html %]
173
                                        [% Branches.GetName( cr.course_item.holdingbranch ) | html %]
174
                                        [% IF cr.item.holdingbranch %]
175
                                            (<strong>[% Branches.GetName( cr.item.holdingbranch ) | html %]</strong>)
176
                                        [% END %]
153
                                    [% END %]
177
                                    [% END %]
154
                                [% ELSE %]
178
                                [% ELSE %]
155
                                    <i>Unchanged</i>
179
                                    <i>Unchanged</i>
Lines 158-163 Link Here
158
                                    [% END %]
182
                                    [% END %]
159
                                [% END %]
183
                                [% END %]
160
                            </td>
184
                            </td>
185
<!-- FIX ME Course Reserves should not override existing notes.  Should temporarily append to existing notes! -->
161
                            <td>[% IF (cr.staff_note) %]
186
                            <td>[% IF (cr.staff_note) %]
162
                                    [% cr.staff_note | html %]
187
                                    [% cr.staff_note | html %]
163
                                [% ELSIF (cr.item.itemnotes_nonpublic) %]
188
                                [% ELSIF (cr.item.itemnotes_nonpublic) %]
164
- 

Return to bug 21446