15 lines
471 B
Text
15 lines
471 B
Text
- content_for(:body_class, "project-page dashboard")
|
|
|
|
#news-feed.news-feed
|
|
%h2.icon
|
|
%span>
|
|
Activities
|
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
|
- @activities.each do |update|
|
|
= render "projects/feed", :update => update, :project => @project
|
|
|
|
:javascript
|
|
function updateDashboard(){
|
|
$('.project-content').load("#{escape_javascript(project_path(@project))} .project-content>*");
|
|
}
|
|
setInterval("updateDashboard()", 300000);
|