diff app/views/projects/show.rhtml @ 344:1a514b9347d4 feature_121

Add Recent Activity partial, include it as a block in My Page (on by default) and in the project information page
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 31 Mar 2011 15:19:30 +0100
parents 94944d00e43c
children f039bb649d0c
line wrap: on
line diff
--- a/app/views/projects/show.rhtml	Thu Mar 31 11:13:21 2011 +0100
+++ b/app/views/projects/show.rhtml	Thu Mar 31 15:19:30 2011 +0100
@@ -46,7 +46,9 @@
 			<% end %>
 		</p>
   </div>
+
   <% end %>
+
   <%= call_hook(:view_projects_show_left, :project => @project) %>
 </div>
 
@@ -60,6 +62,9 @@
     <p><%= link_to l(:label_news_view_all), :controller => 'news', :action => 'index', :project_id => @project %></p>
   </div>  
   <% end %>
+
+  <%= render :partial => 'activities/recent' %>
+
   <%= call_hook(:view_projects_show_right, :project => @project) %>
 </div>