2011-11-12 09:19:34 -05:00
|
|
|
- content_for(:body_class, "project-page dashboard")
|
2011-10-18 10:44:43 -04:00
|
|
|
|
2011-11-12 09:19:34 -05: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 07:33:30 -04:00
|
|
|
|
2011-10-26 14:22:42 -04:00
|
|
|
:javascript
|
|
|
|
function updateDashboard(){
|
2011-11-08 18:56:10 -05:00
|
|
|
$('.project-content').load("#{escape_javascript(project_path(@project))} .project-content>*");
|
2011-10-26 14:22:42 -04:00
|
|
|
}
|
|
|
|
setInterval("updateDashboard()", 300000);
|