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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt (-7 / +2 lines)
Lines 30-36 Link Here
30
30
31
  [% IF op == 'list' %]
31
  [% IF op == 'list' %]
32
    <div id="toolbar" class="btn-toolbar">
32
    <div id="toolbar" class="btn-toolbar">
33
      <a class="btn btn-default btn-sm" id="newfields" href="/cgi-bin/koha/serials/add_fields.pl?op=add_form"><i class="fa fa-plus"></i> New fields</a>
33
      <a class="btn btn-default btn-sm" id="newfields" href="/cgi-bin/koha/serials/add_fields.pl?op=add_form"><i class="fa fa-plus"></i> New field</a>
34
    </div>
34
    </div>
35
  [% END %]
35
  [% END %]
36
36
Lines 107-113 Link Here
107
          </li>
107
          </li>
108
          <li>
108
          <li>
109
            <label for="av">Authorised value category: </label>
109
            <label for="av">Authorised value category: </label>
110
            <select name="authorised_value_category">
110
            <select id="av" name="authorised_value_category">
111
              <option value="">None</option>
111
              <option value="">None</option>
112
              [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => field.authorised_value_category ) %]
112
              [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => field.authorised_value_category ) %]
113
            </select>
113
            </select>
Lines 154-164 Link Here
154
154
155
            $("#fieldst").dataTable($.extend(true, {}, dataTablesDefaults, {
155
            $("#fieldst").dataTable($.extend(true, {}, dataTablesDefaults, {
156
                'bAutoWidth': false,
156
                'bAutoWidth': false,
157
                'sDom': 't<"bottom pager"ilpf>',
158
                'sPaginationType': 'four_button',
157
                'sPaginationType': 'four_button',
159
                'aLengthMenu': [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
160
                'iDisplayLength': 20,
161
                'aaSorting': [[ 0, "asc" ]],
162
                "aoColumnDefs": [
158
                "aoColumnDefs": [
163
                    { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
159
                    { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
164
                ]
160
                ]
165
- 

Return to bug 21531