gitlab-org--gitlab-foss/app/views/projects/show.html.haml

16 lines
471 B
Text
Raw Normal View History

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
2011-11-12 09:28:14 -05:00
- @activities.each do |update|
2011-11-12 09:19:34 -05:00
= render "projects/feed", :update => update, :project => @project
2011-10-18 07:33:30 -04:00
:javascript
function updateDashboard(){
2011-11-08 18:56:10 -05:00
$('.project-content').load("#{escape_javascript(project_path(@project))} .project-content>*");
}
setInterval("updateDashboard()", 300000);