Skip to content
Extraits de code Groupes Projets
Valider 37bb6412 rédigé par Raphael Sofaer's avatar Raphael Sofaer
Parcourir les fichiers

Merge branch 'master' of github.com:diaspora/diaspora

parents 4fa5731d bbf28f90
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
.reshare
- if post
.content
.from
= person_link(post.author, :class => "hovercardable")
- 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)
.reshare_action
= reshare_link(post)
= link_to t(".show_original"), post_path(post)
- else
= t('.deleted')
......@@ -11,6 +11,8 @@
- if post.activity_streams?
= image_tag post.image_url
- elsif reshare?(post)
= render 'reshares/reshare', :reshare => post, :post => post.root
- else
= render 'status_messages/status_message', :post => post, :photos => post.photos
......
......@@ -125,6 +125,18 @@ a
p
:margin 0 auto
:line-height 1.4em
.reshare
.content
:padding
:left 15px
:top 10px
.from
:font
:style italic
.reshare_action
:font
:size 0.8em
.comment
:padding
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter