summaryrefslogtreecommitdiffstats
path: root/non-puppet/qtmetrics2
diff options
context:
space:
mode:
authorJuha Sippola <juhasippola@outlook.com>2015-09-28 15:44:41 +0300
committerTony Sarajärvi <tony.sarajarvi@theqtcompany.com>2015-09-29 09:01:06 +0000
commit46f3ada3e35f175f08c1e394583918df3a0c7fed (patch)
tree9beb2fd061cb446b484b231555741a8e52f94a03 /non-puppet/qtmetrics2
parent1e981ee6c23dd3bf13afe08045d0078ff9a7dbe6 (diff)
Qt Metrics 2: Dashboard page fix
The database status was not shown correctly on Dashboard page. Change-Id: Iae559011e0d360f9a73c90a108e6611185b9b94a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
Diffstat (limited to 'non-puppet/qtmetrics2')
-rw-r--r--non-puppet/qtmetrics2/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/non-puppet/qtmetrics2/index.php b/non-puppet/qtmetrics2/index.php
index be206f8..f570db6 100644
--- a/non-puppet/qtmetrics2/index.php
+++ b/non-puppet/qtmetrics2/index.php
@@ -98,6 +98,7 @@ $app->get('/dashboard', function() use($app)
$buildProjectRoute = Slim\Slim::getInstance()->urlFor('buildproject');
$app->render('dashboard.html', array(
'root' => Slim\Slim::getInstance()->urlFor('root'),
+ 'dbStatus' => $dbStatus,
'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
'breadcrumb' => $breadcrumb,
'overviewRoute' => $overviewRoute,