fixed tag ordering in stream_element partial

This commit is contained in:
danielgrippi 2011-03-23 16:24:12 -07:00
parent 7a31531258
commit 535e686b2c
2 changed files with 2 additions and 4 deletions

View file

@ -16,8 +16,7 @@
.from .from
= person_link(post.author, :class => 'author') = person_link(post.author, :class => 'author')
%time.timeago{:datetime => post.created_at} %time.timeago{:datetime => post.created_at}
%p = render 'status_messages/status_message', :post => post, :photos => post.photos
= render 'status_messages/status_message', :post => post, :photos => post.photos
.info .info
- if post.public? - if post.public?

View file

@ -13,7 +13,6 @@
- else - else
- for photo in photos[1..photos.size] - for photo in photos[1..photos.size]
= link_to (image_tag photo.url(:thumb_small), :class => 'thumb_small'), photo_path(photo) = link_to (image_tag photo.url(:thumb_small), :class => 'thumb_small'), photo_path(photo)
= markdownify(post.text, :youtube_maps => post[:youtube_titles])
- else %p
= markdownify(post.text, :youtube_maps => post[:youtube_titles]) = markdownify(post.text, :youtube_maps => post[:youtube_titles])