<% if (loading) { %> <%= options.loadingText %> <% } %> <% if (!loading && !hasNotifications && !hasMore) { %> <%= options.noNotificationsMessage %> <% } %> <% if (hasNotifications && hasUnread) { %> <% } %>