gitlabhq/app/views/projects/show.html.haml

16 lines
471 B
Text
Raw Normal View History

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
:javascript
function updateDashboard(){
2011-11-09 01:56:10 +02:00
$('.project-content').load("#{escape_javascript(project_path(@project))} .project-content>*");
}
setInterval("updateDashboard()", 300000);