<commit_before><% last ||= false -%>

<div class="<%=cycle("even_thread" , "odd_thread")%> event_cloud <%='last' if last%>">

<%div_for(event, :class=>"event_padding") do%>
    <div class="div-logo">  
      <%=link_logo(event.space, :size =>'w48', :url => space_path(event.space), :title=>event.space.name)%>
    </div>  
    <div class="home_event">
      <ul class="group_links">
    	  <li><%=link_to(image_tag("icons/exclamation.png", :alt => t('spam.report'),:class=>"icon"), spam_lightbox_space_event_path(event.space,event),{:name => event.id, :class => 'spam_link', :title => t('spam.report')}) if logged_in? && event.spam != true%> </li>
		    <li><%=link_to image_tag("./icons/pencil.png", :alt => t('edit'),:class=>"icon") , space_event_path(event.space,event,:edit_event => event), :title => t('edit') if event.authorize?(:update, :to => current_user) %></li>
		    <li><%=link_to image_tag("./icons/cancel.png", :alt => t('delete.one'),:class=>"icon") , space_event_path(event.space, event),{:method => :delete, :title => t('delete.one'),:confirm => t('delete.confirm', :element => event.title)} if event.authorize?(:delete, :to => current_user) %></li>
      </ul>
      <p><%=image_tag("icons/date.png",:class=>"icon", :title => t('event.home.one', :space=>event.space.name))%> <%=link_to sanitize(highlight(event.title,params[:query])), space_event_path(event.space, event),:class=>"unified_event"%><span class="updated"> <%= t('created_time_ago', :time => sanitize(time_ago_in_words(event.created_at))) %></span></p>
      <ul>
        <li class="main_date small-font"><%=event.get_formatted_date%></li>
      <%if event.posts.size ==1%>
	      <li><%=t('event.has') + ' '%><%= link_to (event.posts.size.to_s + ' ' + t('comment.one'), space_event_path(event.space,event))%></li>
      <%elsif event.posts.size > 1%>
	      <li><%=t('event.has') + ' '%><%= link_to (event.posts.size.to_s + ' ' + t('comment.other'), space_event_path(event.space,event))%></li>
      <%end%>		
      </ul>
    </div>
  <%end%>
</div><commit_msg>Changed line in _unified_event to show update date instead of creation date.<commit_after><% last ||= false -%>

<div class="<%=cycle("even_thread" , "odd_thread")%> event_cloud <%='last' if last%>">

  <%div_for(event, :class=>"event_padding") do%>
    <div class="div-logo">  
      <%=link_logo(event.space, :size =>'w48', :url => space_path(event.space), :title=>event.space.name)%>
    </div>  
    <div class="home_event">
      <ul class="group_links">
    	  <li><%=link_to(image_tag("icons/exclamation.png", :alt => t('spam.report'),:class=>"icon"), spam_lightbox_space_event_path(event.space,event),{:name => event.id, :class => 'spam_link', :title => t('spam.report')}) if logged_in? && event.spam != true%> </li>
		    <li><%=link_to image_tag("./icons/pencil.png", :alt => t('edit'),:class=>"icon") , space_event_path(event.space,event,:edit_event => event), :title => t('edit') if event.authorize?(:update, :to => current_user) %></li>
		    <li><%=link_to image_tag("./icons/cancel.png", :alt => t('delete.one'),:class=>"icon") , space_event_path(event.space, event),{:method => :delete, :title => t('delete.one'),:confirm => t('delete.confirm', :element => event.title)} if event.authorize?(:delete, :to => current_user) %></li>
      </ul>
      <p><%=image_tag("icons/date.png",:class=>"icon", :title => t('event.home.one', :space=>event.space.name))%> <%=link_to sanitize(highlight(event.title,params[:query])), space_event_path(event.space, event),:class=>"unified_event"%><span class="updated"> <%= t('updated_time_ago', :time => sanitize(time_ago_in_words(event.updated_at))) %></span></p>
      <ul>
        <li class="main_date small-font"><%=event.get_formatted_date%></li>
        <%if event.posts.size ==1%>
          <li><%=t('event.has') + ' '%><%= link_to (event.posts.size.to_s + ' ' + t('comment.one'), space_event_path(event.space,event))%></li>
        <%elsif event.posts.size > 1%>
          <li><%=t('event.has') + ' '%><%= link_to (event.posts.size.to_s + ' ' + t('comment.other'), space_event_path(event.space,event))%></li>
        <%end%>		
      </ul>
    </div>
  <%end%>
</div>
{'fraction_non_alphanumeric': 0.24945978391356544, 'fraction_numerical': 0.0019207683073229293, 'mean_word_length': 4.926031294452347, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 149, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1445252', 'n_tokens_mistral': 1592, 'n_tokens_neox': 1530, 'n_words': 228}