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
|
|
|
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
|
|
|
- @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);
|