diaspora/app/views/notifications/_notification.mobile.haml
2015-03-12 22:45:04 +01:00

7 lines
444 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)