put text below photo in stream
This commit is contained in:
parent
05f9d79689
commit
2cf0503310
1 changed files with 4 additions and 1 deletions
|
|
@ -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])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue