diaspora/app/views/notifications/_notification.mobile.haml
2015-07-03 15:31:29 +02:00

7 lines
439 B
Text

.notification_element{:data=>{:guid => note.id, :type => (Notification.types.key(note.type) || '')}, :class => (note.unread ? "unread" : "read")}
.pull-right.unread-toggle
%i.entypo-eye{title: (note.unread ? t("notifications.index.mark_read") : t("notifications.index.mark_unread"))}
= person_image_tag note.actors.first, :thumb_small
.notification_message
= notification_message_for(note)
%div= timeago(note.created_at)