reference the right thing in mobile views
This commit is contained in:
parent
01cfeb65b2
commit
151999c582
3 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
%li.comment{:data=>{:guid=>comment.id}, :class => ("hidden" if(defined? hidden))}
|
%li.comment{:data=>{:guid=>comment.id}, :class => ("hidden" if(defined? hidden))}
|
||||||
.right
|
.right
|
||||||
%span.time
|
%span.time
|
||||||
= comment.created_at ? t('ago', :time => time_ago_in_words(comment.created_at)) : time_ago_in_words(Time.now)
|
= comment.created_at ? time_ago_in_words(comment.created_at) : time_ago_in_words(Time.now)
|
||||||
|
|
||||||
= person_image_link(comment.person)
|
= person_image_link(comment.person)
|
||||||
.content
|
.content
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,6 @@
|
||||||
%b= notification_people_link(note)
|
%b= notification_people_link(note)
|
||||||
= object_link(note)
|
= object_link(note)
|
||||||
.time
|
.time
|
||||||
= time_ago_in_words(obj.created_at)
|
= time_ago_in_words(note.created_at)
|
||||||
|
|
||||||
= will_paginate @notifications
|
= will_paginate @notifications
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
.stream_element{:data=>{:guid=>post.id}}
|
.stream_element{:data=>{:guid=>post.id}}
|
||||||
.right
|
.right
|
||||||
%span.time
|
%span.time
|
||||||
= time_ago_in_words(obj.created_at)
|
= time_ago_in_words(post.created_at)
|
||||||
|
|
||||||
= person_image_link(post.person, :size => :thumb_small)
|
= person_image_link(post.person, :size => :thumb_small)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue