more notification stuff

This commit is contained in:
maxwell 2010-12-16 19:00:32 -08:00
parent d56093666e
commit 0bdb6aaab5

View file

@ -1,5 +1,8 @@
%ul %ul
- @notifications.each do |note| - @notifications.each do |note|
%h2= Date.parse(note.created_at.to_s).in_words
%li %li
= link_to "#{note.person.name.titleize}", person_path(note.person) %h3
= object_link(note) = link_to "#{note.person.name.titleize}", person_path(note.person)
= object_link(note)
%span.description= time_ago_in_words(note.created_at)