put link in via link translation, add via link to mobile site

This commit is contained in:
danielgrippi 2011-05-19 16:06:29 -07:00
parent 83756c5713
commit f2259e5e25
4 changed files with 6 additions and 4 deletions

View file

@ -42,8 +42,7 @@
%span.via
- if post.activity_streams?
= t('.via')
= link_to("#{post.provider_display_name}", post.actor_url)
= t('.via', :link => link_to("#{post.provider_display_name}", post.actor_url)).html_safe
- unless (defined?(@commenting_disabled) && @commenting_disabled)
|

View file

@ -17,6 +17,9 @@
.info
%span.time{:integer => post.created_at.to_i}
= t('ago', :time => time_ago_in_words(post.created_at))
%span.via
- if post.activity_streams?
= t('.via', :link => link_to("#{post.provider_display_name}", post.actor_url)).html_safe
- if post.activity_streams?
= link_to "#{t('comments', :count => post.comments.length)} →", activity_streams_photo_path(post), :class => 'comment_link right'

View file

@ -578,7 +578,7 @@ en:
contact_list:
all_contacts: "All contacts"
stream_element:
via: "via"
via: "via %{link}"
like: "Like"
unlike: "Unlike"
dislike: "Dislike"

View file

@ -142,7 +142,7 @@ a
:line-height 4em
:text-align center
.time
.time, .via
:color #ccc
:font
:size smaller