put link in via link translation, add via link to mobile site
This commit is contained in:
parent
83756c5713
commit
f2259e5e25
4 changed files with 6 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -578,7 +578,7 @@ en:
|
|||
contact_list:
|
||||
all_contacts: "All contacts"
|
||||
stream_element:
|
||||
via: "via"
|
||||
via: "via %{link}"
|
||||
like: "Like"
|
||||
unlike: "Unlike"
|
||||
dislike: "Dislike"
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ a
|
|||
:line-height 4em
|
||||
:text-align center
|
||||
|
||||
.time
|
||||
.time, .via
|
||||
:color #ccc
|
||||
:font
|
||||
:size smaller
|
||||
|
|
|
|||
Loading…
Reference in a new issue