Newer
Older
-self.extend AspectGlobalHelper
-self.extend AspectsHelper
-self.extend ApplicationHelper
-self.extend ErrorMessagesHelper
.span-13
%span.notification_count{:class => ('unread' if @notification_count > 0)}
= @notification_count
= link_to t('.mark_all_as_read'), read_all_notifications_path, :class => 'button'
.stream.notifications
.span-8.notifications_for_day
- notes.each do |note|
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : ''}"}
- if note.type == "Notifications::StartedSharing" && contact = current_user.contact_for(note[:target])
= aspect_membership_dropdown(contact, note[:target], 'left')
= notification_message_for(note)
%br
%time= timeago(note.created_at)
.span-13.last