% if (hasSortingOrderButton) { %> <%=_.__('oro.datagrid.toolbar_sorting.label') %>: <% } else if (inlineSortingLabel) { %> <%=_.__('oro.datagrid.toolbar_sorting.label') %>: <% } %> <% if (disableNotSelectedOption === false || currentDirection === null) { %> selected="selected"<% } %>> <%= _.__('oro.datagrid.sorters.not_selected') %> <% } %> <% for(var i = 0; i < columns.length; i++) { %> selected="selected"<% } %>><%- columns[i].label %><% if (!hasSortingOrderButton) { %> (<%=_.__('oro.datagrid.sorters.' + columns[i].sortingType + '.' + columns[i].directionValue) %>)<% } %> <% } %> <% if (hasSortingOrderButton) { %> | <% } %>