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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-1 / +10 lines)
Lines 333-338 Link Here
333
              <th>Library limitation</th>
333
              <th>Library limitation</th>
334
              <th>Authorized value category</th>
334
              <th>Authorized value category</th>
335
              <th>Mandatory</th>
335
              <th>Mandatory</th>
336
              <th>Mandatory - OPAC</th>
336
              <th>Searching</th>
337
              <th>Searching</th>
337
              <th class="NoSort noExport">Actions</th>
338
              <th class="NoSort noExport">Actions</th>
338
            </tr>
339
            </tr>
Lines 373-378 Link Here
373
                       <span>No</span>
374
                       <span>No</span>
374
                    [% END %]
375
                    [% END %]
375
                </td>
376
                </td>
377
                <td>
378
                    [% IF ( item.opac_mandatory ) -%]
379
                       <span>Yes</span>
380
                    [% ELSE -%]
381
                       <span>No</span>
382
                    [% END %]
383
                </td>
376
                <td>
384
                <td>
377
                    [% IF ( item.staff_searchable ) %]
385
                    [% IF ( item.staff_searchable ) %]
378
                        [% IF( item.searched_by_default ) %]
386
                        [% IF( item.searched_by_default ) %]
Lines 441-448 Link Here
441
            $("#opac_display").change( function() {
449
            $("#opac_display").change( function() {
442
                if ( this.checked ) {
450
                if ( this.checked ) {
443
                    $("#opac_editable").removeAttr('disabled').parent().removeAttr('aria-disabled');
451
                    $("#opac_editable").removeAttr('disabled').parent().removeAttr('aria-disabled');
452
                    $("#opac_mandatory").removeAttr('disabled').parent().removeAttr('aria-disabled');
444
                } else {
453
                } else {
445
                    $("#opac_editable").attr('disabled', true).parent().attr('aria-disabled', 'true');
454
                    $("#opac_editable").attr('disabled', true).parent().attr('aria-disabled', 'true');
455
                    $("#opac_mandatory").attr('disabled', true).parent().attr('aria-disabled', 'true');
446
                }
456
                }
447
            } ).change();
457
            } ).change();
448
458
449
- 

Return to bug 35635