From 0bdb6aaab555767876d2368bfd6720367fcfa70b Mon Sep 17 00:00:00 2001 From: maxwell <maxwell@joindiaspora.com> Date: Thu, 16 Dec 2010 19:00:32 -0800 Subject: [PATCH] more notification stuff --- app/views/notifications/index.html.haml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/notifications/index.html.haml b/app/views/notifications/index.html.haml index 333bc035b2..b87de6a4dc 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -1,5 +1,8 @@ %ul - @notifications.each do |note| + %h2= Date.parse(note.created_at.to_s).in_words %li - = link_to "#{note.person.name.titleize}", person_path(note.person) - = object_link(note) + %h3 + = link_to "#{note.person.name.titleize}", person_path(note.person) + = object_link(note) + %span.description= time_ago_in_words(note.created_at) -- GitLab