<%
/* global criterium, type */
var bindTo = '', jobCount = '', disable = false;
selected = urlSearchCriteria !== null && urlSearchCriteria[criterium.id] !== undefined && urlSearchCriteria[criterium.id].indexOf(item.value) !== -1;
if (item.bindTo) {
bindTo = ' data-lumesse-sc-bind-to="'+item.bindTo+'"';
}
if (item.jobCount !== undefined) {
if (type == 'DROP_DOWN_LIST' || type == 'SCROLLING_WINDOW' || type == 'OTHER') {
jobCount = ' ('+item.jobCount+')';
} else {
jobCount = ' ('+item.jobCount+')';
}
} else {
item.jobCount = '';
}
if (item.jobCount !== undefined && item.jobCount !== "0" && item.jobCount !== 0 & !item.jobCount == '') {
%>
<% if (type == 'DROP_DOWN_LIST' || type == 'SCROLLING_WINDOW' || type == 'OTHER') {
var itemTranslationKey = item.label;
if(item.label == 'Src_CriteriaAll' && translate.get(item.label + '_'+criterium.label, false)){
itemTranslationKey = item.label + '_'+criterium.label;
}
%>
<% } else if (type == 'CHECK_BOX') { %>
<% } else if (type == 'CHECK_BOX_BLOCK') { %>
<% } else if (type == 'RADIO_BUTTON') { %>
<% } else if (type == 'RADIO_BUTTON_BLOCK') { %>
<% } %>
<% } %>