|  |  | @ -1,121 +1,177 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | <% if @events_by_day.size >0 %> |  |  |  | <%= javascript_include_tag "jquery.infinitescroll.js" %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     <div class="content-title-top-avtive"> |  |  |  | <script> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       <p class="subtitle"> |  |  |  |    /* $(document).ready(function (){               //别忘了加这句,除非你没学Jquery | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <!-- # 暂时隐藏时间的显示% --> |  |  |  |         $("#container").infinitescroll({ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <%#= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %> |  |  |  |             navSelector: "#paginator",     //页面分页元素--成功后自动隐藏 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       </p> |  |  |  |             nextSelector: "#paginator a[rel='next']", //下一页的按钮,但是貌似这个选不中 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |             itemSelector: ".scroll " , | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       <% @events_by_day.keys.sort.reverse.each do |day| %> |  |  |  |             path: function(current){   var page = parseInt(current)+1; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <% sort_activity_events(@events_by_day[day]).each do |e, in_group| -%> |  |  |  |                                         var project_id = <%= @project.id %>; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;"> |  |  |  |                                         return "/projects/"+project_id+"?page="+page | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> |  |  |  |                                     },  //下一页的路径 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   <%= image_tag(url_to_avatar(e.event_author), :class => "avatar") %> |  |  |  |             animate: true, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 </div> |  |  |  |             maxPage: 500 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <div class="activity-content" style="padding:5px 5px 5px 70px;"> |  |  |  |         }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   <strong> |  |  |  |     });*/ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     <%= h(e.project) if @project.nil? || @project.id != e.project.id %> |  |  |  | </script> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   </strong> |  |  |  | <div id="container"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     <span class="activity-title font_lighter"> |  |  |  |   <div class="scroll"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <% if @canShowRealName %> |  |  |  |     <% unless @events_pages.empty? %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <%= link_to_user(e.event_author) if e.respond_to?(:event_author) %> |  |  |  |     <% @events_pages.each do |e| -%> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           (<%= link_to_user(e.event_author, @canShowRealName) if e.respond_to?(:event_author) %>) |  |  |  |       <% act = e.forge_act %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <% else %> |  |  |  |       <% if e.forge_act_type == "Issue" %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <%= link_to_user(e.event_author) if e.respond_to?(:event_author) %> |  |  |  |       <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <% end %> |  |  |  |         <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <%= l(:label_new_activity) %> |  |  |  |           <%= image_tag(url_to_avatar(act.author), :class => "avatar") %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     </span> |  |  |  |         </div> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   <%= link_to "#{eventToLanguageCourse(e.event_type, @project)}: "<< format_activity_title(e.event_title), (e.event_type.eql?("attachment")&&e.container.kind_of?(Project)) ? project_files_path(e.container) : e.event_url %> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;"> |  |  |  |         <div class="activity-content" style="padding:5px 5px 5px 70px;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     <%= textAreailizable e,:event_description %> |  |  |  |           <strong> <%= h(e.project) if @project.nil? || @project.id != e.project_id %></strong> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     <%#= h(truncate(strip_tags(e.event_description).gsub(/ /, ' '), length: 30, omission: '...')) %> |  |  |  |                 <span class="activity-title font_lighter"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   </div> |  |  |  |                   <%= link_to_user(act.author)  %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   <div class="activity_status" style="position:relative; padding-top: 3px;"> |  |  |  |                   <%= l(:label_new_activity) %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     <span class="font_lighter"> <%= l :label_activity_time %> |  |  |  |                 </span> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       :  |  |  |  |           <%= link_to format_activity_title("#{act.source_from}##{act.project_issues_index} (#{act.status}): #{act.tracker.name} #{act.subject}"), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <%= format_activity_day(day) %> |  |  |  |                       {:controller => 'issues', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <%= format_time(e.event_datetime, false) %> |  |  |  |                        :action => 'show', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     </span> |  |  |  |                        :id => act.id} %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     <% if e.event_type == "issue" %> |  |  |  |           <div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         <div class="" style="display:inline-block;position:absolute; right:2%;"> |  |  |  |             <%= textAreailizable act,:description %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           <span> |  |  |  |           </div> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             <%= link_to l(:label_find_all_comments), issue_path(e) %> |  |  |  |           <div class="activity_status" style="position:relative; padding-top: 3px;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           </span> |  |  |  |                 <span class="font_lighter"> <%= l :label_activity_time %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           <span class="font_lighter"> |  |  |  |                   :  <%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %></span> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             <%= l(:label_comments_count, :count => e.journals.count) %> |  |  |  |                 <div class="" style="display:inline-block;position:absolute; right:2%;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           </span> |  |  |  |                   <span> <%= link_to l(:label_find_all_comments), issue_path(act.id) %> </span><span class="font_lighter"><%= l(:label_comments_count, :count => act.journals.count) %></span> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <% end %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   </div> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 </div> |  |  |  |                 </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |               </div> |  |  |  |           </div> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <% elsif e.forge_act_type == "Journal" %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <%= image_tag(url_to_avatar(e.user), :class => "avatar") %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           <% end %> |  |  |  |           <div class="activity-content" style="padding:5px 5px 5px 70px;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       <% end -%> |  |  |  |             <strong> <%= h(e.project) if @project.nil? || @project.id != e.project_id %></strong> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       <% if (@events_pages.page == @events_pages.last_page) %> |  |  |  |         <span class="activity-title font_lighter"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;"> |  |  |  |            <%= link_to(h(e.user), user_path(e.user_id)) %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> |  |  |  |           <%= l(:label_new_activity) %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <%= image_tag(url_to_avatar(@user), :class => "avatar") %> |  |  |  |         </span> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <%= link_to(l(:label_activity_project)+act.issue.project.name, project_path(act.issue.project.id)) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <%= link_to format_activity_title("#{act.issue.tracker} ##{act.issue.project_issues_index}: #{act.issue.subject}"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         {:controller => 'issues', :action => 'show', :id => act.issue.id, :anchor => "change-#{act.id}"} %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <%= textAreailizable act,:notes %> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </div> |  |  |  |             </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <div class="activity-content" style="padding:5px 5px 5px 70px;"> |  |  |  |             <div class="activity_status" style="position:relative; padding-top: 3px;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <span class="activity-title font_lighter"> |  |  |  |                 <span class="font_lighter"> <%= l :label_activity_time %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   <% if @canShowRealName %> |  |  |  |                 :  <%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %></span> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       (<%= link_to_user(@user, @canShowRealName) %>) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <% else %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       <%= link_to_user(@user) %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <% end %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <%#= l(:label_new_activity) %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               </span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <%= l(:label_user_create_project) %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <%= link_to @project.name %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <strong> !</strong> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <div class="activity_description info-break" style="font-size: 13px;"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <div class="activity_status" style="position:relative; padding-top: 3px;"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <span class="font_lighter"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <%= l :label_activity_time %>: |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <%= format_time(@project.created_on) %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               </div> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </div> |  |  |  |             </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </div> |  |  |  |           </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <% end %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | <% else %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <%= image_tag(url_to_avatar(@user), :class => "avatar") %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div class="activity-content" style="padding:5px 5px 5px 70px;"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <span class="activity-title font_lighter"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           <% if @canShowRealName %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               (<%= link_to_user(@user, @canShowRealName) %>) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           <% else %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <%= link_to_user(@user) %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           <% end %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <%#= l(:label_new_activity) %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       </span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <%= @user.to_s %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <%= l(:label_user_create_project) %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <%= link_to @project.name %> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <strong> !</strong> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <div class="activity_description info-break" style="font-size: 13px;"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <div class="activity_status" style="position:relative; padding-top: 3px;"> |  |  |  |         <% elsif e.forge_act_type == "Message" %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <span class="font_lighter"> |  |  |  |           <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <%= l :label_activity_time %>: |  |  |  |               <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <%= format_time(@project.created_on) %> |  |  |  |                 <%= image_tag(url_to_avatar(e.user), :class => "avatar") %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </span> |  |  |  |               </div> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <div class="activity-content" style="padding:5px 5px 5px 70px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <strong> <%= h(e.project) if @project.nil? || @project.id != e.project_id %></strong> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <span class="activity-title font_lighter"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |            <%= link_to(h(e.user), user_path(e.user_id)) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <%= l(:label_new_activity) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <%= link_to format_activity_title("#{act.board.name}: #{act.subject}"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             {:controller => 'messages', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                              :action => 'show', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                              :board_id => act.board_id}.merge(act.parent_id.nil? ? {:id => act.id} : {:id => act.parent_id, :r => act.id, :anchor => "message-#{act.id}"}) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <%= textAreailizable act,:content %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <div class="activity_status" style="position:relative; padding-top: 3px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <span class="font_lighter"> <%= l :label_activity_time %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :  <%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %></span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </div> |  |  |  |             <% elsif e.forge_act_type == "News" %> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     </div> |  |  |  |                 <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | <% end %> |  |  |  |                   <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <%= image_tag(url_to_avatar(e.user), :class => "avatar") %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <div class="activity-content" style="padding:5px 5px 5px 70px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <strong> <%= h(e.project) if @project.nil? || @project.id != e.project_id %></strong> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <span class="activity-title font_lighter"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                        <%= link_to(h(e.user), user_path(e.user_id)) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <%= l(:label_new_activity) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <%= link_to format_activity_title("#{l(:label_news)}: #{act.title}"), {:controller => 'news', :action => 'show', :id => act.id} %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <%= textAreailizable act,:description %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <div class="activity_status" style="position:relative; padding-top: 3px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <span class="font_lighter"> <%= l :label_activity_time %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         :  <%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %></span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <div class="" style="display:inline-block;position:absolute; right:2%;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                          <%= link_to l(:label_find_all_comments), {:controller => 'news', :action => 'show', :id => act.id} %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                        </span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <span class="font_lighter"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                           <%= l(:label_comments_count, :count => act.comments_count) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         </span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <% elsif e.forge_act_type == "Document" %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <%= image_tag(url_to_avatar(e.user), :class => "avatar") %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <div class="activity-content" style="padding:5px 5px 5px 70px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <strong> <%= h(e.project) if @project.nil? || @project.id != e.project_id %></strong> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <span class="activity-title font_lighter"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                        <%= link_to(h(e.user), user_path(e.user_id)) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <%= l(:label_new_activity) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <%= link_to format_activity_title("#{l(:label_document)}: #{act.title}"), {:controller => 'documents', :action => 'show', :id => act.id} %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <%= textAreailizable act,:description %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <div class="activity_status" style="position:relative; padding-top: 3px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <span class="font_lighter"> <%= l :label_activity_time %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                           :  <%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %></span> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <% elsif e.forge_act_type == "Attachment" %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <div class="activity-item underline-evreycontent" style="font-size: 14px;line-height:1.5em;width: 100%;word-wrap: break-word;word-break: break-all;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <div class="activity-avatar" style="float: left; margin:3px; height: 100%;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <%= image_tag(url_to_avatar(e.user), :class => "avatar") %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <div class="activity-content" style="padding:5px 5px 5px 70px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <strong> <%= h(e.project) if @project.nil? || @project.id != e.project_id %></strong> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <span class="activity-title font_lighter"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                        <%= link_to(h(e.user), user_path(e.user_id)) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <%= l(:label_new_activity) %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <%= link_to format_activity_title("#{l(:label_attachment)}: #{act.filename}"), {:controller => 'attachments', :action => 'show', :id => act.id} %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       <%= textAreailizable act,:description %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <div class="activity_status" style="position:relative; padding-top: 3px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <span class="font_lighter"> <%= l :label_activity_time %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                           :  <%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %></span> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <div class="pagination"> |  |  |  |                     </div> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   <ul> |  |  |  |                   </div> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     <%= pagination_links_full @events_pages %> |  |  |  |                 </div> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   </ul> |  |  |  |             <% end %> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     <% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     <% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | </div> |  |  |  | </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | <% html_title(l(:label_overview)) -%> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | <%= paginate @events_pages %> |