<%= content_for :headers do %> <%= javascript_include_tag 'jquery.filestyle','jquery.jcrop' %> <%end %>
<%if @event.logo %> <%elsif @event.has_date? %>
<%= sanitize(event.start_date.strftime("%d")) %>
<%= localize(event.start_date, :format => "%b") %>
<%= event.get_formatted_hour %>
<%else%>
<%end %>

<%=link_to sanitize(highlight(event.title,@query)), space_event_path(@space, @event),:class=>"unified_event" %> <%=t('created_time_ago', :time => sanitize(time_ago_in_words(@event.created_at))) %>

<%if @event.agenda.has_past_session_with_video? && params[:show_video]%>
<%=link_to t('event.recording.cloud_back'), space_event_path(@space, @event, :show_agenda => true),:class=>"cloud_button" %>
<%elsif @event.agenda.has_past_session_with_video?%>
<%=link_to t('event.recording.cloud'),space_event_path(@space, @event, :show_video => @event.agenda.first_video_entry_id),:class=>"cloud_button"%>
<%end%> <%if event.uses_conference_manager? && !event.future? && (event.start_date > Date.parse("12/21/2010")) %>
<%= link_to "" + t('event.stats.view') + "", webstats_space_event_path(@space, @event),:class => "new_space_link basic_button pale_button"%>
<%= link_to "" + t('event.stats.map') + "", webmap_space_event_path(@space, @event),:class => "new_space_link basic_button pale_button"%>
<%end%>
<%if @event.future?%> <%= render :partial => "connection_info"%> <%end%>
<%if @event.agenda.present? %> <%unless params[:show_video] || params[:edit_video] || params[:show_streaming] || params[:show_participation] %> <%= render :partial => "event_description" %> <%end %> <%end %>