Link to post in the mobile

This commit is contained in:
movilla 2012-07-22 13:32:02 +03:00
parent 629277502f
commit d45e53bb91

View file

@ -7,7 +7,7 @@
= person_link(post.author)
.info
%span.time{:integer => post.created_at.to_i}
= t('ago', :time => time_ago_in_words(post.created_at))
= link_to(t('ago', :time => time_ago_in_words(post.created_at)), post_path(post))
%span.via
- if post.activity_streams?
= t('shared.stream_element.via', :link => link_to("#{post.provider_display_name}", post.actor_url)).html_safe