put text below photo in stream

This commit is contained in:
danielgrippi 2011-03-10 15:28:14 -08:00
parent 05f9d79689
commit 2cf0503310

View file

@ -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 @@
- 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])