diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index 4bf30f9f4..1908708d2 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -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) | diff --git a/app/views/shared/_stream_element.mobile.haml b/app/views/shared/_stream_element.mobile.haml index 5a31e4f6e..9229cd2f1 100644 --- a/app/views/shared/_stream_element.mobile.haml +++ b/app/views/shared/_stream_element.mobile.haml @@ -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' diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 2806b7c04..6580b69a7 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -578,7 +578,7 @@ en: contact_list: all_contacts: "All contacts" stream_element: - via: "via" + via: "via %{link}" like: "Like" unlike: "Unlike" dislike: "Dislike" diff --git a/public/stylesheets/sass/mobile.sass b/public/stylesheets/sass/mobile.sass index 9d2314de5..fef7ddfc5 100755 --- a/public/stylesheets/sass/mobile.sass +++ b/public/stylesheets/sass/mobile.sass @@ -142,7 +142,7 @@ a :line-height 4em :text-align center -.time +.time, .via :color #ccc :font :size smaller