update project's dashboard every 5 minutes
This commit is contained in:
parent
1beb84161c
commit
e0f4a37f3d
|
@ -21,3 +21,8 @@
|
||||||
%h3 Talk
|
%h3 Talk
|
||||||
=render "projects/recent_messages"
|
=render "projects/recent_messages"
|
||||||
|
|
||||||
|
:javascript
|
||||||
|
function updateDashboard(){
|
||||||
|
$('#content-container').load("#{escape_javascript(project_path(@project))} #content-container>*");
|
||||||
|
}
|
||||||
|
setInterval("updateDashboard()", 300000);
|
||||||
|
|
Loading…
Reference in a new issue