<% if (it.refs.length === 0) { %>
No <%= it.type %> found.
<% } else { %> <% } %> <% if (it.hasMore) { %>
View all <%= it.type %>
<% } %>