Lines 269-298
tinyMCE.init({
Link Here
|
269 |
[% IF ( branchcategories ) %] |
269 |
[% IF ( branchcategories ) %] |
270 |
[% FOREACH branchcategorie IN branchcategories %] |
270 |
[% FOREACH branchcategorie IN branchcategories %] |
271 |
<h3>Group(s): [% IF ( branchcategorie.properties ) %]Properties[% ELSE %][% IF ( branchcategorie.searchdomain ) %]Search domain[% END %][% END %]</h3> |
271 |
<h3>Group(s): [% IF ( branchcategorie.properties ) %]Properties[% ELSE %][% IF ( branchcategorie.searchdomain ) %]Search domain[% END %][% END %]</h3> |
272 |
<table> |
272 |
[% IF ( branchcategorie.catloop ) %] |
273 |
<tr> |
273 |
<table> |
274 |
<th>Name</th> |
274 |
<thead> |
275 |
<th>Code</th> |
275 |
<tr> |
276 |
<th>Description</th> |
276 |
<th>Name</th> |
277 |
<th> </th> |
277 |
<th>Code</th> |
278 |
<th> </th> |
278 |
<th>Description</th> |
279 |
</tr> |
279 |
<th> </th> |
280 |
[% IF ( branchcategorie.catloop ) %][% FOREACH catloo IN branchcategorie.catloop %] |
280 |
<th> </th> |
281 |
<tr> |
281 |
</tr> |
282 |
<td>[% catloo.categoryname %]</td> |
282 |
</thead> |
283 |
<td>[% catloo.categorycode %]</td> |
283 |
<tbody> |
284 |
<td>[% catloo.codedescription %]</td> |
284 |
[% FOREACH catloo IN branchcategorie.catloop %] |
285 |
<td><a href="[% catloo.action %]?op=editcategory&categorycode=[% catloo.categorycode |url %]">Edit</a> |
285 |
<tr> |
286 |
</td> |
286 |
<td>[% catloo.categoryname %]</td> |
287 |
<td><a href="[% catloo.action %]?op=delete_category&categorycode=[% catloo.categorycode |url %]">Delete</a> |
287 |
<td>[% catloo.categorycode %]</td> |
288 |
</td> |
288 |
<td>[% catloo.codedescription %]</td> |
289 |
</tr> |
289 |
<td> |
290 |
[% END %][% ELSE %]<tr><td colspan="5">No [% IF ( branchcategorie.properties ) %]properties[% ELSIF ( branchcategorie.searchdomain ) %]search domain[% END %] defined. <a href="/cgi-bin/koha/admin/branches.pl?op=editcategory">Add a new group</a>.</td></tr>[% END %] |
290 |
<a href="[% catloo.action %]?op=editcategory&categorycode=[% catloo.categorycode |url %]">Edit</a> |
291 |
</table> |
291 |
</td> |
292 |
[% END %] |
292 |
<td> |
|
|
293 |
<a href="[% catloo.action %]?op=delete_category&categorycode=[% catloo.categorycode |url %]">Delete</a> |
294 |
</td> |
295 |
</tr> |
296 |
[% END %] |
297 |
</tbody> |
298 |
</table> |
293 |
[% ELSE %] |
299 |
[% ELSE %] |
294 |
<p>No groups defined.</p> |
300 |
No [% IF ( branchcategorie.properties ) %]properties[% ELSIF ( branchcategorie.searchdomain ) %]search domain[% END %] defined. <a href="/cgi-bin/koha/admin/branches.pl?op=editcategory">Add a new group</a>. |
295 |
[% END %] <!-- NAME="branchcategories" --> |
301 |
[% END %] |
|
|
302 |
[% END %] |
303 |
[% ELSE %] |
304 |
<p>No groups defined.</p> |
305 |
[% END %] <!-- NAME="branchcategories" --> |
296 |
[% END %] |
306 |
[% END %] |
297 |
|
307 |
|
298 |
[% IF ( editcategory ) %] |
308 |
[% IF ( editcategory ) %] |
299 |
- |
|
|