<% if (notifications.length > 0) { %>
<% _.each(notifications, function(notification) {%>

<%= notification.userfromfullname %> <%= MM.util.timestampToUserDate(notification.timecreated) %>

<% if (notification.notification) { %>

<%= MM.plugins.notifications._format(notification.fullmessage) %>

<% } else { %>

<%= MM.plugins.notifications._format(notification.smallmessage) %>

<% if (notification.useridfrom) { %> <% } %> <% } %>
<% }); %>
<% } else { %>

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

<% } %>