diff options
author | danielgrippi <danielgrippi@gmail.com> | 2011-07-29 01:51:56 +0400 |
---|---|---|
committer | danielgrippi <danielgrippi@gmail.com> | 2011-07-29 01:52:09 +0400 |
commit | dfa5824dc1d2751efc2d7e0cfc33b419ec79c15d (patch) | |
tree | e09390e15a7e688f75a4c74f00a68f2d5b4dfd9e /app | |
parent | 87d0f9d6fd1346010cacc724ee26e592f34026e7 (diff) |
remove repeated link, fixed cucumber
Diffstat (limited to 'app')
-rw-r--r-- | app/views/reshares/_reshare.haml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/app/views/reshares/_reshare.haml b/app/views/reshares/_reshare.haml index add2e59a8..109d7eaaf 100644 --- a/app/views/reshares/_reshare.haml +++ b/app/views/reshares/_reshare.haml @@ -8,22 +8,19 @@ = person_image_link(post.author, :size => :thumb_small) .content - %span.from - = person_link(post.author, :class => "hovercardable") - %span.details - – - %span.timeago - = link_to(how_long_ago(post), post_path(post)) - – - = t("reshares.reshare.reshare", :count => post.reshares.size) + .post_initial_info + %span.from + = person_link(post.author, :class => "hovercardable") + %span.details + – + %span.timeago + = link_to(how_long_ago(post), post_path(post)) + – + = t("reshares.reshare.reshare", :count => post.reshares.size) - if post.activity_streams? = link_to image_tag(post.image_url, 'data-small-photo' => post.image_url, 'data-full-photo' => post.image_url, :class => 'stream-photo'), post.object_url, :class => "stream-photo-link" - else = render 'status_messages/status_message', :post => post, :photos => post.photos - - if defined?(current_user) && current_user && (post.author_id != current_user.person.id) && (post.public?) && !reshare?(post) - %span.reshare_action - = reshare_link(post) - - else = t('.deleted') |