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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-205 / +204 lines)
Lines 134-346 Link Here
134
            <tbody>
134
            <tbody>
135
                [% SET row_count = 0 %]
135
                [% SET row_count = 0 %]
136
                [% FOREACH osc IN [ undef, 0, 1 ] %]
136
                [% FOREACH osc IN [ undef, 0, 1 ] %]
137
                [% FOREACH c IN categorycodes %]
137
                    [% FOREACH c IN categorycodes %]
138
                    [% SET c = '' UNLESS c.defined %]
138
                        [% SET c = '' UNLESS c.defined %]
139
                    [% FOREACH i IN itemtypes %]
139
                            [% FOREACH i IN itemtypes %]
140
                        [% SET i = '' UNLESS i.defined %]
140
                            [% SET i = '' UNLESS i.defined %]
141
                        [% SET osc = '' UNLESS osc.defined %]
141
                            [% SET osc = '' UNLESS osc.defined %]
142
                        [% SET note = all_rules.$c.$i.note %]
142
                            [% SET note = all_rules.$osc.$c.$i.note %]
143
                        [% SET maxissueqty = all_rules.$c.$i.maxissueqty %]
143
                            [% SET maxissueqty = all_rules.$osc.$c.$i.maxissueqty %]
144
                        [% SET issuelength = all_rules.$c.$i.issuelength %]
144
                            [% SET issuelength = all_rules.$osc.$c.$i.issuelength %]
145
                        [% SET daysmode = all_rules.$c.$i.daysmode %]
145
                            [% SET daysmode = all_rules.$osc.$c.$i.daysmode %]
146
                        [% SET lengthunit = all_rules.$c.$i.lengthunit %]
146
                            [% SET lengthunit = all_rules.$osc.$c.$i.lengthunit %]
147
                        [% SET hardduedate = all_rules.$c.$i.hardduedate %]
147
                            [% SET hardduedate = all_rules.$osc.$c.$i.hardduedate %]
148
                        [% SET hardduedatecompare = all_rules.$c.$i.hardduedatecompare %]
148
                            [% SET hardduedatecompare = all_rules.$osc.$c.$i.hardduedatecompare %]
149
                        [% SET fine = all_rules.$c.$i.fine %]
149
                            [% SET fine = all_rules.$osc.$c.$i.fine %]
150
                        [% SET chargeperiod = all_rules.$c.$i.chargeperiod %]
150
                            [% SET chargeperiod = all_rules.$osc.$c.$i.chargeperiod %]
151
                        [% SET chargeperiod_charge_at = all_rules.$c.$i.chargeperiod_charge_at %]
151
                            [% SET chargeperiod_charge_at = all_rules.$osc.$c.$i.chargeperiod_charge_at %]
152
                        [% SET firstremind = all_rules.$c.$i.firstremind %]
152
                            [% SET firstremind = all_rules.$osc.$c.$i.firstremind %]
153
                        [% SET overduefinescap = all_rules.$c.$i.overduefinescap %]
153
                            [% SET overduefinescap = all_rules.$osc.$c.$i.overduefinescap %]
154
                        [% SET cap_fine_to_replacement_price = all_rules.$c.$i.cap_fine_to_replacement_price %]
154
                            [% SET cap_fine_to_replacement_price = all_rules.$osc.$c.$i.cap_fine_to_replacement_price %]
155
                        [% SET finedays = all_rules.$c.$i.finedays %]
155
                            [% SET finedays = all_rules.$osc.$c.$i.finedays %]
156
                        [% SET maxsuspensiondays = all_rules.$c.$i.maxsuspensiondays %]
156
                            [% SET maxsuspensiondays = all_rules.$osc.$c.$i.maxsuspensiondays %]
157
                        [% SET suspension_chargeperiod = all_rules.$c.$i.suspension_chargeperiod %]
157
                            [% SET suspension_chargeperiod = all_rules.$osc.$c.$i.suspension_chargeperiod %]
158
                        [% SET renewalsallowed = all_rules.$c.$i.renewalsallowed %]
158
                            [% SET renewalsallowed = all_rules.$osc.$c.$i.renewalsallowed %]
159
                        [% SET unseenrenewalsallowed = all_rules.$c.$i.unseen_renewals_allowed %]
159
                            [% SET unseenrenewalsallowed = all_rules.$osc.$c.$i.unseen_renewals_allowed
160
                        [% SET renewalperiod = all_rules.$c.$i.renewalperiod %]
160
                            [% SET renewalperiod = all_rules.$osc.$c.$i.renewalperiod %]
161
                        [% SET norenewalbefore = all_rules.$c.$i.norenewalbefore %]
161
                            [% SET norenewalbefore = all_rules.$osc.$c.$i.norenewalbefore %]
162
                        [% SET auto_renew = all_rules.$c.$i.auto_renew %]
162
                            [% SET auto_renew = all_rules.$osc.$c.$i.auto_renew %]
163
                        [% SET no_auto_renewal_after = all_rules.$c.$i.no_auto_renewal_after %]
163
                            [% SET no_auto_renewal_after = all_rules.$osc.$c.$i.no_auto_renewal_after %]
164
                        [% SET no_auto_renewal_after_hard_limit = all_rules.$c.$i.no_auto_renewal_after_hard_limit %]
164
                            [% SET no_auto_renewal_after_hard_limit = all_rules.$osc.$c.$i.no_auto_renewal_after_hard_limit %]
165
                        [% SET reservesallowed = all_rules.$c.$i.reservesallowed %]
165
                            [% SET reservesallowed = all_rules.$osc.$c.$i.reservesallowed %]
166
                        [% SET holds_per_day = all_rules.$c.$i.holds_per_day %]
166
                            [% SET holds_per_day = all_rules.$osc.$c.$i.holds_per_day %]
167
                        [% SET holds_per_record = all_rules.$c.$i.holds_per_record %]
167
                            [% SET holds_per_record = all_rules.$osc.$c.$i.holds_per_record %]
168
                        [% SET onshelfholds = all_rules.$c.$i.onshelfholds %]
168
                            [% SET onshelfholds = all_rules.$osc.$c.$i.onshelfholds %]
169
                        [% SET opacitemholds = all_rules.$c.$i.opacitemholds %]
169
                            [% SET opacitemholds = all_rules.$osc.$c.$i.opacitemholds %]
170
                        [% SET article_requests = all_rules.$c.$i.article_requests %]
170
                            [% SET article_requests = all_rules.$osc.$c.$i.article_requests %]
171
                        [% SET rentaldiscount = all_rules.$c.$i.rentaldiscount %]
171
                            [% SET rentaldiscount = all_rules.$osc.$c.$i.rentaldiscount %]
172
                        [% SET decreaseloanholds = all_rules.$c.$i.decreaseloanholds %]
172
                            [% SET decreaseloanholds = all_rules.$osc.$c.$i.decreaseloanholds %]
173
173
174
                        [% SET show_rule = note || maxissueqty || issuelength || daysmode || lengthunit || hardduedate || hardduedatecompare || fine || chargeperiod || chargeperiod_charge_at || firstremind || overduefinescap || cap_fine_to_replacement_price || finedays || maxsuspensiondays || suspension_chargeperiod || renewalsallowed || unseenrenewalsallowed || renewalperiod || norenewalbefore || auto_renew || no_auto_renewal_after || no_auto_renewal_after_hard_limit || reservesallowed || holds_per_day || holds_per_record || onshelfholds || opacitemholds || article_requests || rentaldiscount || decreaseloanholds %]
174
                            [% SET show_rule = note || maxissueqty || issuelength || daysmode || lengthunit || hardduedate || hardduedatecompare || fine || chargeperiod || chargeperiod_charge_at || firstremind || overduefinescap || cap_fine_to_replacement_price || finedays || maxsuspensiondays || suspension_chargeperiod || renewalsallowed || unseenrenewalsallowed || renewalperiod || norenewalbefore || auto_renew || no_auto_renewal_after || no_auto_renewal_after_hard_limit || reservesallowed || holds_per_day || holds_per_record || onshelfholds || opacitemholds || article_requests || rentaldiscount || decreaseloanholds %]
175
                        [% IF show_rule %]
175
                            [% IF show_rule %]
176
                            [% SET row_count = row_count + 1 %]
176
                                [% SET row_count = row_count + 1 %]
177
                            <tr row_countd="row_[% row_count | html %]">
177
                                <tr row_countd="row_[% row_count | html %]">
178
                                    <td>[% IF ( c == undef ) %]1[% ELSE %]0[% END %]</td>
178
                                        <td>[% IF ( c == undef ) %]1[% ELSE %]0[% END %]</td>
179
                                    <td>
179
                                        <td>
180
                                        [% IF osc == undef %]
180
                                            [% IF osc == undef %]
181
                                            <em>All</em>
181
                                                <em>All</em>
182
                                        [% ELSE %]
182
                                            [% ELSE %]
183
                                            [% IF osc == 0 %]
183
                                                [% IF osc == 0 %]
184
                                                <em>No</em>
184
                                                    <em>No</em>
185
                                            [% ELSIF osc == 1 %]
185
                                                [% ELSIF osc == 1 %]
186
                                                <em>On-site</em>
186
                                                    <em>On-site</em>
187
                                                [% END %]
187
                                            [% END %]
188
                                            [% END %]
189
                                        </td>
190
                                        <td>
191
                                            [% IF c == undef %]
192
                                                <em>All</em>
193
                                            [% ELSE %]
194
                                                [% Categories.GetName(c) | html %]
195
                                            [% END %]
196
                                        </td>
197
                                        <td>[% IF ( i == undef ) %]1[% ELSE %]0[% END %]</td>
198
                                        <td>
199
                                            [% IF i == undef %]
200
                                                <em>All</em>
201
                                            [% ELSE %]
202
                                                [% ItemTypes.GetDescription(i,1) | html %]
203
                                            [% END %]
204
                                        </td>
205
                                        <td class="actions">
206
                                          <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
207
                                          <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;onsite_checkout=[% osc.defined ? osc : '*' | html %]&amp;itemtype=[% i || '*' | html %]&amp;categorycode=[% c || '*' | html %]&amp;branch=[% current_branch | html %]"><i class="fa fa-trash"></i> Delete</a>
208
                                        </td>
209
                                        <td>
210
                                            [% IF note.defined && note != '' %]
211
                                                <a name="viewnote" data-toggle="popover" title="Note" data-content="[% note | html %]" data-placement="top" data-trigger="hover">View note</a>
212
                                            [% ELSE %]<span>&nbsp;</span>[% END %]
213
                                        </td>
214
                                        <td>
215
                                            [% IF maxissueqty.defined && maxissueqty != '' %]
216
                                                [% maxissueqty | html %]
217
                                            [% ELSE %]
218
                                                <span>Unlimited</span>
219
                                            [% END %]
220
                                        </td>
221
                                        <td>[% issuelength | html %]</td>
222
                                        <td>
223
                                            [% SWITCH daysmode %]
224
                                            [% CASE 'Calendar' %]<span title="Use the calendar to skip days the library is closed">Calendar</span>
225
                                            [% CASE 'Datedue' %]<span title="Use the calendar to push the due date to the next open day">Datedue</span>
226
                                            [% CASE 'Days' %]<span title="Ignore the calendar">Days</span>
227
                                            [% CASE 'Dayweek' %]<span title="Use the calendar to push the due date to the next open matching weekday for weekly loan periods, or the next open day otherwise">Dayweek</span>
228
                                            [% CASE %]<span title="Use the system preference 'useDaysMode' as a default value">Default</span>
229
                                            [% END %]
230
                                        </td>
231
                                        <td>
232
                                            [% IF ( lengthunit == 'days' ) %]
233
                                                Days
234
                                            [% ELSIF ( lengthunit == 'hours') %]
235
                                                Hours
236
                                            [% ELSE %]
237
                                                Undefined
238
                                            [% END %]
239
                                        </td>
240
                                        <td>
241
                                          [% IF ( hardduedate ) %]
242
                                            [% IF ( hardduedatecompare == '-1' ) %]
243
                                              before [% hardduedate | $KohaDates %]
244
                                              <input type="hidden" name="hardduedatecomparebackup" value="-1" />
245
                                            [% ELSIF ( hardduedatecompare == '0' ) %]
246
                                              on [% hardduedate | $KohaDates %]
247
                                              <input type="hidden" name="hardduedatecomparebackup" value="0" />
248
                                            [% ELSIF ( hardduedatecompare == '1' ) %]
249
                                              after [% hardduedate | $KohaDates %]
250
                                              <input type="hidden" name="hardduedatecomparebackup" value="1" />
251
                                            [% END %]
252
                                          [% ELSE %]
253
                                            <span>None defined</span>
254
                                          [% END %]
255
                                        </td>
256
                                        <td>[% decreaseloanholds | html %]</td>
257
                                        <td>[% fine | html %]</td>
258
                                        <td>[% chargeperiod | html %]</td>
259
                                        <td>[% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %]</td>
260
                                        <td>[% firstremind | html %]</td>
261
                                        <td>[% overduefinescap FILTER format("%.2f") %]</td>
262
                                        <td>
263
                                            [% IF cap_fine_to_replacement_price %]
264
                                                <input type="checkbox" checked="checked" disabled="disabled" />
265
                                            [% ELSE %]
266
                                                <input type="checkbox" disabled="disabled" />
267
                                            [% END %]
268
                                        </td>
269
                                        <td>[% finedays | html %]</td>
270
                                        <td>[% maxsuspensiondays | html %]</td>
271
                                        <td>[% suspension_chargeperiod | html %]</td>
272
                                        <td>[% renewalsallowed | html %]</td>
273
                                        [% IF Koha.Preference('UnseenRenewals') %]
274
                                            <td>[% unseenrenewalsallowed | html %]</td>
188
                                        [% END %]
275
                                        [% END %]
189
                                    </td>
276
                                        <td>[% renewalperiod | html %]</td>
190
                                    <td>
277
                                        <td>[% norenewalbefore | html %]</td>
191
                                        [% IF c == undef %]
278
                                        <td>
192
                                            <em>All</em>
279
                                            [% IF auto_renew %]
193
                                        [% ELSE %]
280
                                                <span>Yes</span>
194
                                            [% Categories.GetName(c) | html %]
281
                                            [% ELSE %]
195
                                        [% END %]
282
                                                <span>No</span>
196
                                    </td>
283
                                            [% END %]
197
                                    <td>[% IF ( i == undef ) %]1[% ELSE %]0[% END %]</td>
284
                                        </td>
198
                                    <td>
285
                                        <td>[% no_auto_renewal_after | html %]</td>
199
                                        [% IF i == undef %]
286
                                        <td>[% no_auto_renewal_after_hard_limit | $KohaDates %]</td>
200
                                            <em>All</em>
287
                                        <td>
201
                                        [% ELSE %]
288
                                            [% IF reservesallowed.defined && reservesallowed != '' %]
202
                                            [% ItemTypes.GetDescription(i,1) | html %]
289
                                                [% reservesallowed | html %]
203
                                        [% END %]
290
                                            [% ELSE %]
204
                                    </td>
291
                                                <span>Unlimited</span>
205
                                    <td class="actions">
292
                                            [% END %]
206
                                      <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
293
                                        </td>
207
                                      <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;onsite_checkout=[% osc.defined ? osc : '*' | html %]&amp;itemtype=[% i || '*' | html %]&amp;categorycode=[% c || '*' | html %]&amp;branch=[% current_branch | html %]"><i class="fa fa-trash"></i> Delete</a>
294
                                        <td>
208
                                    </td>
295
                                            [% IF holds_per_day.defined && holds_per_day != '' %]
209
                                    <td>
296
                                                [% holds_per_day | html %]
210
                                        [% IF note.defined && note != '' %]
297
                                            [% ELSE %]
211
                                            <a name="viewnote" data-toggle="popover" title="Note" data-content="[% note | html %]" data-placement="top" data-trigger="hover">View note</a>
298
                                                <span>Unlimited</span>
212
                                        [% ELSE %]<span>&nbsp;</span>[% END %]
299
                                            [% END %]
213
                                    </td>
300
                                        </td>
214
                                    <td>
301
                                        <td>
215
                                        [% IF maxissueqty.defined && maxissueqty != '' %]
302
                                            [% IF holds_per_record.defined && holds_per_record != '' %]
216
                                            [% maxissueqty | html %]
303
                                                [% holds_per_record | html %]
217
                                        [% ELSE %]
304
                                            [% ELSE %]
218
                                            <span>Unlimited</span>
305
                                                <span>Unlimited</span>
219
                                        [% END %]
306
                                            [% END %]
220
                                    </td>
307
                                        </td>
221
                                    <td>[% issuelength | html %]</td>
308
                                        <td>
222
                                    <td>
309
                                            [% IF onshelfholds == 1 %]
223
                                        [% SWITCH daysmode %]
310
                                                <span>Yes</span>
224
                                        [% CASE 'Calendar' %]<span title="Use the calendar to skip days the library is closed">Calendar</span>
311
                                            [% ELSIF onshelfholds == 2 %]
225
                                        [% CASE 'Datedue' %]<span title="Use the calendar to push the due date to the next open day">Datedue</span>
312
                                                <span>If all unavailable</span>
226
                                        [% CASE 'Days' %]<span title="Ignore the calendar">Days</span>
313
                                            [% ELSE %]
227
                                        [% CASE 'Dayweek' %]<span title="Use the calendar to push the due date to the next open matching weekday for weekly loan periods, or the next open day otherwise">Dayweek</span>
314
                                                <span>If any unavailable</span>
228
                                        [% CASE %]<span title="Use the system preference 'useDaysMode' as a default value">Default</span>
315
                                            [% END %]
229
                                        [% END %]
316
                                        </td>
230
                                    </td>
317
                                        <td>
231
                                    <td>
318
                                            [% IF opacitemholds == 'F'%]
232
                                        [% IF ( lengthunit == 'days' ) %]
319
                                                <span>Force</span>
233
                                            Days
320
                                            [% ELSIF opacitemholds == 'Y'%]
234
                                        [% ELSIF ( lengthunit == 'hours') %]
321
                                                <span>Allow</span>
235
                                            Hours
322
                                            [% ELSE %]
236
                                        [% ELSE %]
323
                                                <span>Don't allow</span>
237
                                            Undefined
324
                                            [% END %]
238
                                        [% END %]
325
                                        </td>
239
                                    </td>
326
                                        <td>
240
                                    <td>
327
                                            [% IF article_requests == 'no' %]
241
                                      [% IF ( hardduedate ) %]
328
                                                <span>No</span>
242
                                        [% IF ( hardduedatecompare == '-1' ) %]
329
                                            [% ELSIF article_requests == 'yes' %]
243
                                          before [% hardduedate | $KohaDates %]
330
                                                <span>Yes</span>
244
                                          <input type="hidden" name="hardduedatecomparebackup" value="-1" />
331
                                            [% ELSIF article_requests == 'bib_only' %]
245
                                        [% ELSIF ( hardduedatecompare == '0' ) %]
332
                                                <span>Record only</span>
246
                                          on [% hardduedate | $KohaDates %]
333
                                            [% ELSIF article_requests == 'item_only' %]
247
                                          <input type="hidden" name="hardduedatecomparebackup" value="0" />
334
                                                <span>Item only</span>
248
                                        [% ELSIF ( hardduedatecompare == '1' ) %]
335
                                            [% END %]
249
                                          after [% hardduedate | $KohaDates %]
336
                                        </td>
250
                                          <input type="hidden" name="hardduedatecomparebackup" value="1" />
337
                                        <td>[% rentaldiscount | html %]</td>
251
                                        [% END %]
338
                                        <td class="actions">
252
                                      [% ELSE %]
339
                                          <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
253
                                        <span>None defined</span>
340
                                          <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;onsite_checkout=[% osc.defined ? osc : '*' | uri %]&amp;itemtype=[% i || '*' | uri %]&amp;categorycode=[% c || '*' | uri %]&amp;branch=[% current_branch | uri %]"><i class="fa fa-trash"></i> Delete</a>
254
                                      [% END %]
341
                                        </td>
255
                                    </td>
342
                                </tr>
256
                                    <td>[% decreaseloanholds | html %]</td>
343
                            [% END %]
257
                                    <td>[% fine | html %]</td>
258
                                    <td>[% chargeperiod | html %]</td>
259
                                    <td>[% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %]</td>
260
                                    <td>[% firstremind | html %]</td>
261
                                    <td>[% overduefinescap FILTER format("%.2f") %]</td>
262
                                    <td>
263
                                        [% IF cap_fine_to_replacement_price %]
264
                                            <input type="checkbox" checked="checked" disabled="disabled" />
265
                                        [% ELSE %]
266
                                            <input type="checkbox" disabled="disabled" />
267
                                        [% END %]
268
                                    </td>
269
                                    <td>[% finedays | html %]</td>
270
                                    <td>[% maxsuspensiondays | html %]</td>
271
                                    <td>[% suspension_chargeperiod | html %]</td>
272
                                    <td>[% renewalsallowed | html %]</td>
273
                                    [% IF Koha.Preference('UnseenRenewals') %]
274
                                        <td>[% unseenrenewalsallowed | html %]</td>
275
                                    [% END %]
276
                                    <td>[% renewalperiod | html %]</td>
277
                                    <td>[% norenewalbefore | html %]</td>
278
                                    <td>
279
                                        [% IF auto_renew %]
280
                                            <span>Yes</span>
281
                                        [% ELSE %]
282
                                            <span>No</span>
283
                                        [% END %]
284
                                    </td>
285
                                    <td>[% no_auto_renewal_after | html %]</td>
286
                                    <td>[% no_auto_renewal_after_hard_limit | $KohaDates %]</td>
287
                                    <td>
288
                                        [% IF reservesallowed.defined && reservesallowed != '' %]
289
                                            [% reservesallowed | html %]
290
                                        [% ELSE %]
291
                                            <span>Unlimited</span>
292
                                        [% END %]
293
                                    </td>
294
                                    <td>
295
                                        [% IF holds_per_day.defined && holds_per_day != '' %]
296
                                            [% holds_per_day | html %]
297
                                        [% ELSE %]
298
                                            <span>Unlimited</span>
299
                                        [% END %]
300
                                    </td>
301
                                    <td>
302
                                        [% IF holds_per_record.defined && holds_per_record != '' %]
303
                                            [% holds_per_record | html %]
304
                                        [% ELSE %]
305
                                            <span>Unlimited</span>
306
                                        [% END %]
307
                                    </td>
308
                                    <td>
309
                                        [% IF onshelfholds == 1 %]
310
                                            <span>Yes</span>
311
                                        [% ELSIF onshelfholds == 2 %]
312
                                            <span>If all unavailable</span>
313
                                        [% ELSE %]
314
                                            <span>If any unavailable</span>
315
                                        [% END %]
316
                                    </td>
317
                                    <td>
318
                                        [% IF opacitemholds == 'F'%]
319
                                            <span>Force</span>
320
                                        [% ELSIF opacitemholds == 'Y'%]
321
                                            <span>Allow</span>
322
                                        [% ELSE %]
323
                                            <span>Don't allow</span>
324
                                        [% END %]
325
                                    </td>
326
                                    <td>
327
                                        [% IF article_requests == 'no' %]
328
                                            <span>No</span>
329
                                        [% ELSIF article_requests == 'yes' %]
330
                                            <span>Yes</span>
331
                                        [% ELSIF article_requests == 'bib_only' %]
332
                                            <span>Record only</span>
333
                                        [% ELSIF article_requests == 'item_only' %]
334
                                            <span>Item only</span>
335
                                        [% END %]
336
                                    </td>
337
                                    <td>[% rentaldiscount | html %]</td>
338
                                    <td class="actions">
339
                                      <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
340
                                      <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;onsite_checkout=[% osc.defined ? osc : '*' | uri %]&amp;itemtype=[% i || '*' | uri %]&amp;categorycode=[% c || '*' | uri %]&amp;branch=[% current_branch | uri %]"><i class="fa fa-trash"></i> Delete</a>
341
                                    </td>
342
                            </tr>
343
                        [% END %]
344
                        [% END %]
344
                        [% END %]
345
                    [% END %]
345
                    [% END %]
346
                [% END %]
346
                [% END %]
347
- 

Return to bug 26814