Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authordanielgrippi <danielgrippi@gmail.com>2011-07-29 01:51:56 +0400
committerdanielgrippi <danielgrippi@gmail.com>2011-07-29 01:52:09 +0400
commitdfa5824dc1d2751efc2d7e0cfc33b419ec79c15d (patch)
treee09390e15a7e688f75a4c74f00a68f2d5b4dfd9e /app
parent87d0f9d6fd1346010cacc724ee26e592f34026e7 (diff)
remove repeated link, fixed cucumber
Diffstat (limited to 'app')
-rw-r--r--app/views/reshares/_reshare.haml21
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')