more notification stuff
This commit is contained in:
parent
d56093666e
commit
0bdb6aaab5
1 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
%ul
|
||||
- @notifications.each do |note|
|
||||
%h2= Date.parse(note.created_at.to_s).in_words
|
||||
%li
|
||||
%h3
|
||||
= link_to "#{note.person.name.titleize}", person_path(note.person)
|
||||
= object_link(note)
|
||||
%span.description= time_ago_in_words(note.created_at)
|
||||
|
|
|
|||
Loading…
Reference in a new issue