diff options
author | Juha Sippola <juhasippola@outlook.com> | 2015-09-28 15:21:00 +0300 |
---|---|---|
committer | Tony Sarajärvi <tony.sarajarvi@theqtcompany.com> | 2015-09-29 09:00:58 +0000 |
commit | 1e981ee6c23dd3bf13afe08045d0078ff9a7dbe6 (patch) | |
tree | afa761c51180189f5293fbebde2602fe6c93a332 /non-puppet/qtmetrics2/index.php | |
parent | a4f46e87b163d3a0d122285ab55185c6ae0dcf33 (diff) |
Qt Metrics 2 (v0.37): Build project page change
The Latest Status box to be shown only for the Qt5 view
but hidden when a platform is selected (as it shows the
full Qt5 status). Added an 'all' button to make it more
visible when showing the full Qt5 view and when platform
view.
Change-Id: Ib6cd3d8857addf9c9346527cc7b7db34793ba845
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
Diffstat (limited to 'non-puppet/qtmetrics2/index.php')
-rw-r--r-- | non-puppet/qtmetrics2/index.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/non-puppet/qtmetrics2/index.php b/non-puppet/qtmetrics2/index.php index 3ab7952..be206f8 100644 --- a/non-puppet/qtmetrics2/index.php +++ b/non-puppet/qtmetrics2/index.php @@ -210,15 +210,14 @@ $app->get('/buildproject/platform/:targetOs', function($targetOs) use($app) 'dbStatus' => $dbStatus, 'refreshed' => $dbStatus['refreshed'] . ' (GMT)', 'breadcrumb' => $breadcrumb, + 'buildProjectRoute' => $buildProjectRoute, 'buildPlatformRoute' => $buildProjectPlatformRoute, 'confRoute' => $confRoute, 'masterProject' => $ini['master_build_project'], 'masterState' => $ini['master_build_state'], 'platforms' => Factory::db()->getTargetPlatformOs(), 'targetOs' => $targetOs, - 'latestProjectRuns' => Factory::db()->getLatestProjectBranchBuildResults( - $ini['master_build_project'], - $ini['master_build_state']), + 'latestProjectRuns' => null, // not used 'projectRuns' => Factory::createProjectRuns( $ini['master_build_project'], $ini['master_build_state']), // managed as objects |