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 87-95 Link Here
87
                            <td>
87
                            <td>
88
                                [% IF cr.course_item.itype.defined %]
88
                                [% IF cr.course_item.itype.defined %]
89
                                    [% IF cr.course_item.enabled == 'yes' %]
89
                                    [% IF cr.course_item.enabled == 'yes' %]
90
                                        [% ItemTypes.GetDescription( cr.item.itype ) | html %]
90
                                        <strong>[% ItemTypes.GetDescription( cr.item.itype) | html %]</strong>
91
                                        [% IF cr.item.itype %]
92
                                            ([% ItemTypes.GetDescription( cr.course_item.itype ) | html %])
93
                                        [% END %]
91
                                    [% ELSE %]
94
                                    [% ELSE %]
92
                                        [% ItemTypes.GetDescription( cr.course_item.itype ) | html %]
95
                                        [% ItemTypes.GetDescription( cr.course_item.itype ) | html %]
96
                                        [% IF cr.item.itype %]
97
                                            (<strong>[% ItemTypes.GetDescription( cr.item.itype) | html %]
98
                                        [% END %]
93
                                    [% END %]
99
                                    [% END %]
94
                                [% ELSE %]
100
                                [% ELSE %]
95
                                     <i>Unchanged</i>
101
                                     <i>Unchanged</i>
Lines 102-110 Link Here
102
                            <td>
108
                            <td>
103
                                 [% IF cr.course_item.ccode.defined %]
109
                                 [% IF cr.course_item.ccode.defined %]
104
                                     [% IF cr.course_item.enabled == 'yes' %]
110
                                     [% IF cr.course_item.enabled == 'yes' %]
105
                                          [% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]
111
                                        <strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong>
112
                                        [% IF cr.item.ccode %]
113
                                            ([% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %])
114
                                        [% END %]
106
                                     [% ELSE %]
115
                                     [% ELSE %]
107
                                         [% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %]
116
                                        [% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %]
117
                                        [% IF cr.item.ccode %]
118
                                            (<strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong>)
119
                                        [% END %]
108
                                     [% END %]
120
                                     [% END %]
109
                                 [% ELSE %]
121
                                 [% ELSE %]
110
                                     <i>Unchanged</i>
122
                                     <i>Unchanged</i>
Lines 115-138 Link Here
115
                            </td>
127
                            </td>
116
                            <td>
128
                            <td>
117
                                [% IF cr.course_item.location.defined %]
129
                                [% IF cr.course_item.location.defined %]
118
                                     [% IF cr.course_item.enabled == 'yes' %]
130
                                    [% IF cr.course_item.enabled == 'yes' %]
119
                                         [% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) | html %]
131
                                        <strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>
132
                                        [% IF cr.item.permanent_location %]
133
                                            ([% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) | html %])
134
                                        [% END %]
120
                                    [% ELSE %]
135
                                    [% ELSE %]
121
                                        [% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) | html %]
136
                                        [% AuthorisedValues.GetByCode( 'LOC', cr.course_item.location ) | html %]
137
                                        [% IF cr.item.permanent_location %]
138
                                            (<strong>[% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %]</strong>)
139
                                        [% END %]
122
                                    [% END %]
140
                                    [% END %]
123
                                [% ELSE %]
141
                                [% ELSE %]
124
                                    <i>Unchanged</i>
142
                                    <i>Unchanged</i>
125
                                    [% IF cr.item.location %]
143
                                    [% IF cr.item.permanent_location %]
126
                                        ([% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) | html %])
144
                                        ([% AuthorisedValues.GetByCode( 'LOC', cr.item.permanent_location ) | html %])
127
                                    [% END %]
145
                                    [% END %]
128
                                [% END %]
146
                                [% END %]
129
                            </td>
147
                            </td>
130
                            <td>
148
                            <td>
131
                                [% IF cr.course_item.holdingbranch.defined %]
149
                                [% IF cr.course_item.holdingbranch.defined %]
132
                                    [% IF cr.course_item.enabled == 'yes' %]
150
                                    [% IF cr.course_item.enabled == 'yes' %]
133
                                        [% Branches.GetName( cr.item.holdingbranch ) | html %]
151
                                        <strong>[% Branches.GetName( cr.item.holdingbranch ) | html %]</strong>
152
                                        [% IF cr.item.holdingbranch %]
153
                                            ([% Branches.GetName( cr.course_item.holdingbranch ) | html %])
154
                                        [% END %]
134
                                    [% ELSE %]
155
                                    [% ELSE %]
135
                                        [% Branches.GetName( cr.course_item.holdingbranch ) | html %]
156
                                        [% Branches.GetName( cr.course_item.holdingbranch ) | html %]
157
                                        [% IF cr.item.holdingbranch %]
158
                                            (<strong>[% Branches.GetName( cr.item.holdingbranch ) | html %]</strong>)
159
                                        [% END %]
136
                                    [% END %]
160
                                    [% END %]
137
                                [% ELSE %]
161
                                [% ELSE %]
138
                                    <i>Unchanged</i>
162
                                    <i>Unchanged</i>
Lines 141-146 Link Here
141
                                    [% END %]
165
                                    [% END %]
142
                                [% END %]
166
                                [% END %]
143
                            </td>
167
                            </td>
168
<!-- FIX ME Course Reserves should not override existing notes.  Should temporarily append to existing notes! -->
144
                            <td>[% IF (cr.staff_note) %]
169
                            <td>[% IF (cr.staff_note) %]
145
                                    [% cr.staff_note | html %]
170
                                    [% cr.staff_note | html %]
146
                                [% ELSIF (cr.item.itemnotes_nonpublic) %]
171
                                [% ELSIF (cr.item.itemnotes_nonpublic) %]
147
- 

Return to bug 21446