diaspora/app/views/notifications/_notify_popup_item.haml
2014-03-19 17:54:22 +01:00

6 lines
337 B
Text

.notification_element{:data=>{:guid => n.id, :type => (Notification.types.key(n.type) || '')}, :class => (n.unread ? "unread" : "read")}
= person_image_tag n.actors.first, :thumb_small
= notification_message_for(n)
%div
= timeago(n.created_at)
= link_to t('notifications.index.mark_unread'), "#", :class => "unread-setter"