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