Skip to content

Commit 9548ac5

Browse files
committed
Added auto-reloading of the main commit overview. This is configurable in the app.yml and is set to 30 seconds by default
1 parent 1a16501 commit 9548ac5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

apps/frontend/config/app.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
# default values
55
all:
66
simulate:
7-
scm: false
7+
scm: true
8+
auto_refresh: 30

apps/frontend/modules/commit/actions/actions.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class commitActions extends sfActions
2525
*/
2626
public function executeIndex(sfWebRequest $request)
2727
{
28+
$this->getResponse()->addHttpMeta('refresh', sfConfig::get('app_auto_refresh'));
2829
$this->scm = $this->getUser()->getSelectedScm();
2930
if ($this->scm)
3031
{

0 commit comments

Comments
 (0)