2011-12-30 07:54:42 +01:00
|
|
|
- content_for(:body_class, "project-page dashboard")
|
2011-10-18 16:44:43 +02:00
|
|
|
|
2011-12-30 07:54:42 +01:00
|
|
|
= render "project_head"
|
|
|
|
#news-feed.news-feed
|
2012-01-13 22:13:44 +01:00
|
|
|
.project-box.project-updates
|
2011-12-30 07:54:42 +01:00
|
|
|
- @activities.each do |update|
|
|
|
|
= render "projects/feed", :update => update, :project => @project
|
2011-10-18 13:33:30 +02:00
|
|
|
|
2011-12-30 07:54:42 +01:00
|
|
|
:javascript
|
|
|
|
function updateDashboard(){
|
|
|
|
$('.project-content').load("#{escape_javascript(project_path(@project))} .project-content>*");
|
|
|
|
}
|
|
|
|
setInterval("updateDashboard()", 300000);
|