From 2cf0503310bd39d98f7e2410cb8c5a96c4e68667 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Thu, 10 Mar 2011 15:28:14 -0800 Subject: [PATCH] put text below photo in stream --- app/views/status_messages/_status_message.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/status_messages/_status_message.haml b/app/views/status_messages/_status_message.haml index a985ccdbd..cd1aa377c 100644 --- a/app/views/status_messages/_status_message.haml +++ b/app/views/status_messages/_status_message.haml @@ -2,7 +2,6 @@ -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. -= markdownify(post.message, :youtube_maps => post[:youtube_titles]) - if photos.size > 0 .photo_attachments @@ -14,3 +13,7 @@ - else - for photo in photos[1..photos.size] = 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])