2011-11-12 15:19:34 +01:00
|
|
|
- content_for(:body_class, "project-page dashboard")
|
2011-10-18 16:44:43 +02:00
|
|
|
|
2011-11-12 15:19:34 +01:00
|
|
|
#news-feed.news-feed
|
|
|
|
%h2.icon
|
|
|
|
%span>
|
|
|
|
Activities
|
|
|
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
|
|
|
- @project.updates(20).each do |update|
|
|
|
|
= render "projects/feed", :update => update, :project => @project
|
2011-10-18 13:33:30 +02:00
|
|
|
|
2011-10-26 20:22:42 +02:00
|
|
|
:javascript
|
|
|
|
function updateDashboard(){
|
2011-11-09 00:56:10 +01:00
|
|
|
$('.project-content').load("#{escape_javascript(project_path(@project))} .project-content>*");
|
2011-10-26 20:22:42 +02:00
|
|
|
}
|
|
|
|
setInterval("updateDashboard()", 300000);
|