|
Lines 103-108
Link Here
|
| 103 |
<input type="text" id="description" name="description" required="required" class="required" size="50" maxlength="250" value="[% attribute_type.description |html %]" /> |
103 |
<input type="text" id="description" name="description" required="required" class="required" size="50" maxlength="250" value="[% attribute_type.description |html %]" /> |
| 104 |
<span class="required">Required</span> |
104 |
<span class="required">Required</span> |
| 105 |
</li> |
105 |
</li> |
|
|
106 |
<li> |
| 107 |
<label for="number">Appear in position: </label> |
| 108 |
[% IF ( attribute_type.number ) %] |
| 109 |
<input id="number" size="3" name="number" type="text" value="[% attribute_type.number | html %]" /> |
| 110 |
[% ELSE %] |
| 111 |
<input id="number" size="3" name="number" type="text" /> |
| 112 |
[% END %] |
| 113 |
</li> |
| 106 |
|
114 |
|
| 107 |
[% IF attribute_type AND attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %] |
115 |
[% IF attribute_type AND attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %] |
| 108 |
<li aria-disabled="true"> |
116 |
<li aria-disabled="true"> |
|
Lines 316-321
Link Here
|
| 316 |
<th>Authorized value category</th> |
324 |
<th>Authorized value category</th> |
| 317 |
<th>Mandatory</th> |
325 |
<th>Mandatory</th> |
| 318 |
<th>Searching</th> |
326 |
<th>Searching</th> |
|
|
327 |
<th>Number</th> |
| 319 |
<th class="NoSort noExport">Actions</th> |
328 |
<th class="NoSort noExport">Actions</th> |
| 320 |
</tr> |
329 |
</tr> |
| 321 |
</thead> |
330 |
</thead> |
|
Lines 366-371
Link Here
|
| 366 |
<span>Not searchable</span> |
375 |
<span>Not searchable</span> |
| 367 |
[% END %] |
376 |
[% END %] |
| 368 |
</td> |
377 |
</td> |
|
|
378 |
<td>[% item.number | html %]</td> |
| 369 |
<td class="actions"> |
379 |
<td class="actions"> |
| 370 |
<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> |
380 |
<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> |
| 371 |
<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> |
381 |
<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 431-436
Link Here
|
| 431 |
$(".patron_attributes_types").each(function(){ |
441 |
$(".patron_attributes_types").each(function(){ |
| 432 |
var tableid = $(this).attr("id"); |
442 |
var tableid = $(this).attr("id"); |
| 433 |
KohaTable( tableid, { |
443 |
KohaTable( tableid, { |
|
|
444 |
"sorting": [[ 6, "asc" ]], |
| 434 |
"bPaginate": false, |
445 |
"bPaginate": false, |
| 435 |
'autoWidth': false, |
446 |
'autoWidth': false, |
| 436 |
}, null ); |
447 |
}, null ); |