%= render :partial => 'toolbar/logo', :locals => { :subject => subject } %>
<% if subject.subject_type == 'Event' %>
<% subject.relation_customs.each do |temp| %>
<%= render :partial => 'toolbar/organizer', :locals => { :subject => subject,:tie=> temp } %>
<% end %>
<%= render :partial => 'toolbar/suscribed', :locals => { :subject => subject } %>
<% else %>
<%= render :partial => 'subjects/contacts', :locals => { :subject => subject } %>
<% end %>
<% if defined?(SocialStream::Presence) and SocialStream::Presence.enable %>
<%= render :partial => 'chat/index' , :locals => {:flow => true} %>
<% end %>