Skip to content
Extraits de code Groupes Projets
Valider 2cf05033 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

put text below photo in stream

parent 05f9d796
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3 or later. See -# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
= markdownify(post.message, :youtube_maps => post[:youtube_titles])
- if photos.size > 0 - if photos.size > 0
.photo_attachments .photo_attachments
...@@ -14,3 +13,7 @@ ...@@ -14,3 +13,7 @@
- else - else
- for photo in photos[1..photos.size] - for photo in photos[1..photos.size]
= link_to (image_tag photo.url(:thumb_small)), photo_path(photo) = link_to (image_tag photo.url(:thumb_small)), photo_path(photo)
= markdownify(post.message, :youtube_maps => post[:youtube_titles])
- else
= markdownify(post.message, :youtube_maps => post[:youtube_titles])
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