ownership render bug fixed on photoshow
This commit is contained in:
parent
fd96a6dbc4
commit
dae5906b6a
1 changed files with 5 additions and 7 deletions
|
|
@ -30,14 +30,12 @@
|
|||
|
||||
%hr
|
||||
|
||||
.photo_options{:data=>{:actor=>"#{@photo.person.owner.id}",:actor_person=>"#{@photo.person.id}",:image_url=>"#{@photo.url(:thumb_large)}"}}
|
||||
= link_to t('.make_profile_photo'), {:controller => "photos", :action => "make_profile_photo", :photo_id => @photo.id}, :remote => true, :class => 'make_profile_photo'
|
||||
|
|
||||
= link_to t('.edit'), '#', :id => "edit_photo_toggle"
|
||||
- if @ownership
|
||||
.photo_options{:data=>{:actor=>"#{@photo.person.owner.id}",:actor_person=>"#{@photo.person.id}",:image_url=>"#{@photo.url(:thumb_large)}"}}
|
||||
= link_to t('.make_profile_photo'), {:controller => "photos", :action => "make_profile_photo", :photo_id => @photo.id}, :remote => true, :class => 'make_profile_photo'
|
||||
|
|
||||
= link_to t('.edit'), '#', :id => "edit_photo_toggle"
|
||||
|
||||
%br
|
||||
|
||||
-if @ownership
|
||||
#photo_edit_options
|
||||
%h4= t('.edit_delete_photo')
|
||||
%p
|
||||
|
|
|
|||
Loading…
Reference in a new issue