% if has_layout:

## ${_('Available Fields')}

Some new fields may be available. Update Fields
${_('Keyword')}
${_('Minimum %')}
${_('Add all »')}
% endif

<% headers = [ {"label": _('Name'), "class_name": 'fpFieldListFirstHeader', "sort_key": 'key'}, {"label": _('#'), "class_name": 'fpFieldListSecondHeader', "sort_key": 'distinct_count'}, {"label": _('%'), "class_name": 'fpFieldListThirdHeader', "sort_key": 'percent'}, ] %> % for header in headers: <% sort_dir_next = "asc" sort_dir_class_name = "" if sort_key==header['sort_key']: if sort_dir_next==sort_dir: sort_dir_next = "desc" sort_dir_class_name = 'headerSortDown' if sort_dir=='asc' else 'headerSortUp' if sort_dir=='desc' else '' %> | ${header['label']} % endfor
--- | ---
% for field_name in field_summary_sorted_keys: % if field_name in job_summary.fields: <% field = job_summary.fields[field_name] %>
0 else ''}> | ${field_name | h} | ${'' if field.get('isExact', True) else '≥'}${field.get('distinctCount', '')} | ${i18n.format_percent( field['count'] / float(job_summary.count) )}
% endif % endfor

% if has_layout:

## ${_('Selected Fields')}

${_('« Clear all')}

% for field in field_list:
- ${field | h}
% endfor

% endif