solr_manage_sort_configuration.html
1 <@row>
2 <@columns>
3 <@box>
4 <#assign title>#i18n{search.solr.adminFeature.configuration.sort.title} <small>#i18n{search.solr.adminFeature.configuration.sort.description}</small></#assign>
5 <@boxHeader title=title />
6 <@boxBody>
7 <@tform method="get" name="doSort" action="jsp/admin/search/solr/DoSort.jsp" >
8 <@table headBody=true>
9 <@tr>
10 <@th>#i18n{search.solr.adminFeature.fields.form.label}</@th>
11 <@th>#i18n{search.solr.adminFeature.fields.form.description}</@th>
12 <@th></@th>
13 <@th></@th>
14 </@tr>
15 <@tableHeadBodySeparator />
16 <#list field_list as field>
17 <#if field.isSort >
18 <@tr>
19 <@td>${field.label}</@td>
20 <@td>${field.description}</@td>
21 <@td>
22 <#assign sel1><#if field.enableSort >true<#else>false</#if></#assign>
23 <@formGroup>
24 <@checkBox orientation='switch' name='${field.idField}' value="${field.idField}" id='${field.idField}' labelKey='' labelFor='${field.idField}' hideLabel=['all'] checked=sel1?boolean />
25 </@formGroup>
26 </@td>
27 <@td>
28 <#assign sel1><#if field.defaultSort >true<#else>false</#if></#assign>
29 <@formGroup>
30 <#-- Par defaut bouton radio !! <input name="default_sort" class="radio" type="radio" value="${field.idField}" <#if field.defaultSort>checked="checked"</#if>> -->
31 <@checkBox orientation='switch' name='default_sort' value="${field.idField}" id='${field.idField}' labelKey='' labelFor='${field.idField}' hideLabel=['all'] checked=sel1?boolean />
32 </@formGroup>
33 </@td>
34 </@tr>
35 </#if>
36 </#list>
37 </@table>
38 <@formGroup rows=2>
39 <@button type='submit' buttonIcon='check' title='#i18n{portal.util.labelModify}' name='create' color='primary' size='' />
40 </@formGroup>
41 </@tform>
42 </@boxBody>
43 </@box>
44 </@columns>
45 </@row>