<%= content_for :javascript do %> $('img.tooltip_user').qtip({ content: '<%= escape_javascript(t("space.performances.tooltips.user")) %>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('img.tooltip_admin').qtip({ content: '<%= escape_javascript(t("space.performances.tooltips.admin")) %>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('img.tooltip_invited').qtip({ content: '<%= escape_javascript(t("space.performances.tooltips.invited")) %>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('img.tooltip_performances').qtip({ content: '<%= escape_javascript("#{t('space.performances.admin')}: #{t('space.performances.tooltips.admin')}
\ #{t('space.performances.user')}: #{t('space.performances.tooltips.user')}
\ #{t('space.performances.invited')}: #{t('space.performances.tooltips.invited')}
\ " ).html_safe %>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); <% end %> <% menu :admin %> <%= content_for :search do %> <%= render :partial => 'search/form' %> <%end%> <%= content_for :sidebar do %> <%= render :partial => 'edit_space' %> <% end %> <%= render :partial => 'admin_tabs' %> <%if params[:new_invitations]%> <%=render :partial => 'new_invitation', :locals => {:checked_users => Array.new} %> <% #elsif params[:group_invitation] %> <%= #render :partial => 'group_invitation' %> <%else%>
<% for performance in @performances -%> <%= render :partial => 'edit_performance', :locals => {:performance => performance, :user => performance.agent} %> <% end -%> <%= render :partial => 'precrop_logo' %>
<%end%>