Take comments out of the photo show page, they were broken anyway.

This commit is contained in:
Raphael Sofaer 2011-08-02 10:50:32 -07:00
parent 66315eca18
commit a542bb7a6d
3 changed files with 1 additions and 9 deletions

View file

@ -1,7 +1,6 @@
-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
- unless comments_expanded
%ul.show_comments{:class => ("hidden" if post.comments.size <= 3)}
%li

View file

@ -61,10 +61,3 @@
= p.submit t('.update_photo')
%p
= button_to t('.delete_photo'), photo, :confirm => t('are_you_sure'), :method => :delete
.span-16.prepend-4.append-4.last
#photo_stream.stream.show
%div{:data=>{:guid=>parent.id}}
.likes_container
= render "likes/likes_container", :post_id => parent.id, :target_type => 'Post', :likes_count => parent.likes_count
= render "comments/comments", :post => parent, :comments => parent.comments, :always_expanded => true

View file

@ -27,4 +27,4 @@
= link_to t('hide'), post_visibility_path(:id => "42", :post_id => @post.id), :confirm => t('are_you_sure'), :method => :put, :remote => true
.stream.show{:data=>{:guid=>@post.id}}
= render "comments/comments", :post => @post, :comments => @post.comments, :always_expanded => true
= render "comments/comments", :post => @post, :comments => @post.comments, :comments_expanded => true