Lines 104-109
Link Here
|
104 |
<input type="text" id="description" name="description" required="required" class="required" size="50" maxlength="250" value="[% attribute_type.description |html %]" /> |
104 |
<input type="text" id="description" name="description" required="required" class="required" size="50" maxlength="250" value="[% attribute_type.description |html %]" /> |
105 |
<span class="required">Required</span> |
105 |
<span class="required">Required</span> |
106 |
</li> |
106 |
</li> |
|
|
107 |
<li> |
108 |
<label for="number">Appear in position: </label> |
109 |
[% IF ( attribute_type.number ) %] |
110 |
<input id="number" size="3" name="number" type="text" value="[% attribute_type.number | html %]" /> |
111 |
[% ELSE %] |
112 |
<input id="number" size="3" name="number" type="text" /> |
113 |
[% END %] |
114 |
</li> |
107 |
|
115 |
|
108 |
[% IF attribute_type AND attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %] |
116 |
[% IF attribute_type AND attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %] |
109 |
<li aria-disabled="true"> |
117 |
<li aria-disabled="true"> |
Lines 317-322
Link Here
|
317 |
<th>Authorized value category</th> |
325 |
<th>Authorized value category</th> |
318 |
<th>Mandatory</th> |
326 |
<th>Mandatory</th> |
319 |
<th>Searching</th> |
327 |
<th>Searching</th> |
|
|
328 |
<th>Number</th> |
320 |
<th class="NoSort noExport">Actions</th> |
329 |
<th class="NoSort noExport">Actions</th> |
321 |
</tr> |
330 |
</tr> |
322 |
</thead> |
331 |
</thead> |
Lines 367-372
Link Here
|
367 |
<span>Not searchable</span> |
376 |
<span>Not searchable</span> |
368 |
[% END %] |
377 |
[% END %] |
369 |
</td> |
378 |
</td> |
|
|
379 |
<td>[% item.number | html %]</td> |
370 |
<td class="actions"> |
380 |
<td class="actions"> |
371 |
<a class="btn btn-default btn-xs" href="[% script_name | url %]?op=edit_attribute_type&code=[% item.code | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
381 |
<a class="btn btn-default btn-xs" href="[% script_name | url %]?op=edit_attribute_type&code=[% item.code | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> |
372 |
<a class="btn btn-default btn-xs" href="[% script_name | url %]?op=delete_attribute_type&code=[% item.code | uri %]"><i class="fa fa-trash-can"></i> Delete</a> |
382 |
<a class="btn btn-default btn-xs" href="[% script_name | url %]?op=delete_attribute_type&code=[% item.code | uri %]"><i class="fa fa-trash-can"></i> Delete</a> |
Lines 432-438
Link Here
|
432 |
$(".patron_attributes_types").each(function(){ |
442 |
$(".patron_attributes_types").each(function(){ |
433 |
var tableid = $(this).attr("id"); |
443 |
var tableid = $(this).attr("id"); |
434 |
KohaTable( tableid, { |
444 |
KohaTable( tableid, { |
435 |
"paginate": false, |
445 |
"sorting": [[ 6, "asc" ]], |
|
|
446 |
"bPaginate": false, |
436 |
'autoWidth': false, |
447 |
'autoWidth': false, |
437 |
}, null ); |
448 |
}, null ); |
438 |
}); |
449 |
}); |