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

Return to bug 21446