<% if (status === 0) { %> <% $.each(data, function(i, value){ %>
  • <%= value['display'] %>
  • <% }) %> <% } else { %>
  • <%= data %>
  • <% } %>