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