<% var self=this; var cnt = 0; _.each(handlers.models, function(handler) { var checkboxname = "checkbox_" + cnt; cnt++; var selected= (handler.attributes.id === options.currentSelection); %> class="selected"<% } %> id="row" data-id="<%=handler.attributes._name%>"> <% var checked = handler.checked; %> <% if (handler.attributes._enabled) {%> <%} else {%> <% } %> <% }) %>
<%= i18n.headers.name %> <%= i18n.headers.description %> <%= i18n.headers.scope %> <%= i18n.headers.priority %> <%= i18n.headers.enabled %> <%= i18n.headers.actions %>
type="checkbox" <% if (checked) { %>checked="checked"<% } %>> <%= otdsCommon.replaceHTMLCharacters (handler.attributes._name) %> <%= otdsCommon.replaceHTMLCharacters (handler.attributes._description) %> <% if (handler.attributes._scope === "") { %> <%= i18n.content.global %> <%} else { %> <%= (typeof(handler.attributes._scope) !== "undefined") ? handler.attributes._scope : '' %> <%}%> <%= handler.attributes._priority%><%= i18n.content.true %><%= i18n.content.false %> <%= i18n.headers.actions %>
  • <%= i18n.headers.properties %>
  • <% if ((handler.attributes._name !== "otds.admin") && (handler.attributes._name !== "http.post") ) { %>
  • <% if (handler.attributes._enabled) {%> <%= i18n.content.disable %> <%} else {%> <%= i18n.content.enable %> <% } %>
  • <% } %>