<% if can? :read, Notification %>
<% unread_count = current_user.total_unread_notifications.count(:id)%>
Notifications
<% if can? :manage, Notification %>
Mark All Read
<% end %>
<%= unread_count.to_s == '0' ? 'No New Notifications' : 'You have ' + unread_count.to_s + ' unread notifications.' %>
<% end %>
<% if !session[:token].present? %>
<%= current_user.full_name %>
<%= current_user.full_name %>
<%= current_user.role.name %>
<% end %>