[% UNLESS Koha.Preference('noItemTypeImages') %]Image | [% END %]
+ Description |
Code |
Parent code |
- Description |
Search category |
Not for loan |
Hide in OPAC |
@@ -395,6 +396,43 @@ Item types administration
[% END %]
+ [% IF itemtype.parent_type %]
+ [% IF itemtype.parent.translated_descriptions.size %]
+ [% itemtype.parent.description | html %] (default)
+ [% ELSE %]
+ [% itemtype.parent.description | html %]
+ [% END %]
+
+ [% IF itemtype.translated_descriptions.size %]
+ [% itemtype.description | html %] (default)
+ [% FOR description IN itemtype.translated_descriptions %]
+ [% IF description.translation == itemtype.translated_description %]
+ -- [% description.translation | html %]
+ [% ELSE %]
+ -- [% description.translation | html %] ([% description.lang | html %])
+ [% END %]
+
+ [% END %]
+ [% ELSE %]
+ -- [% itemtype.description | html %]
+ [% END %]
+ [% ELSE %]
+ [% IF itemtype.translated_descriptions.size %]
+ [% itemtype.description | html %] (default)
+ [% FOR description IN itemtype.translated_descriptions %]
+ [% IF description.translation == itemtype.translated_description %]
+ [% description.translation | html %]
+ [% ELSE %]
+ [% description.translation | html %] ([% description.lang | html %])
+ [% END %]
+
+ [% END %]
+ [% ELSE %]
+ [% itemtype.description | html %]
+ [% END %]
+ [% END %]
+ |
+
[% itemtype.itemtype | html %]
@@ -402,21 +440,6 @@ Item types administration
|
[% itemtype.parent_type | html %]
|
-
- [% IF itemtype.translated_descriptions.size %]
- [% itemtype.description | html %] (default)
- [% FOR description IN itemtype.translated_descriptions %]
- [% IF description.translation == itemtype.translated_description %]
- [% description.translation | html %]
- [% ELSE %]
- [% description.translation | html %] ([% description.lang | html %])
- [% END %]
-
- [% END %]
- [% ELSE %]
- [% itemtype.description | html %]
- [% END %]
- |
[% itemtype.searchcategory | html %] |
[% IF ( itemtype.notforloan ) %]Yes[% ELSE %] [% END %] |
[% IF ( itemtype.hideinopac ) %]Yes[% ELSE %] [% END %] |
@@ -499,7 +522,7 @@ Item types administration
"aoColumnDefs": [
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
],
- "aaSorting": [[ 2, "asc" ]],
+ "aaSorting": [[ 1, "asc" ]],
"iDisplayLength": 10,
"sPaginationType": "full"
}, columns_settings);
--