13 lines
708 B
Text
13 lines
708 B
Text
.media.stream_element{:data=>{:guid => note.id, :type => (Notification.types.key(note.type) || '') }, :class => (note.unread ? 'unread' : 'read')}
|
|
.unread-toggle.pull-right
|
|
%i.entypo-eye{title: (note.unread ? t("notifications.index.mark_read") : t("notifications.index.mark_unread"))}
|
|
- if note.type == "Notifications::StartedSharing" && contact = current_user.contact_for(note.effective_target)
|
|
.pull-right
|
|
= aspect_membership_dropdown(contact, note.effective_target, "right")
|
|
|
|
.media-object.pull-left
|
|
= person_image_link note.actors.first, :size => :thumb_small, :class => 'hovercardable'
|
|
.media-body
|
|
= notification_message_for(note)
|
|
%div
|
|
= timeago(note.updated_at)
|