<% if (type == "playList" || type == "Albums") { %>
The following item(s) will be deleted:
<% } else { %>
The following items(s) will be moved to the Trash:
<% } %>
<%if (type=="album"){ %>
<%_.each(namesList, function(item) { %>
-
< <%= item.name %> >
<%});%>
<% } else if(type=="artist") {%>
<%_.each(namesList, function(item) { %>
-
< <%= item.name %> (<%= item.count %> Songs) >
<%});%>
<% } else if (type=="playList" && namesList) {%>
<%_.each(namesList, function(item) { %>
-
< <%= item %> >
<%});%>
<% } else if (type=="playList") {%>
<%} else if (namesList) {%>
<%_.each(namesList, function(item) { %>
-
< <%= item.name || item %> >
<%});%>
<% }%>
<% if (type == "playList" || type == "Albums") { %>