<% if (messages.length > 0) {%>
<% } else { %>

<%= MM.lang.s("nomessagesfound") %>

<% } %>