From 1e981ee6c23dd3bf13afe08045d0078ff9a7dbe6 Mon Sep 17 00:00:00 2001 From: Juha Sippola Date: Mon, 28 Sep 2015 15:21:00 +0300 Subject: Qt Metrics 2 (v0.37): Build project page change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- non-puppet/qtmetrics2/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'non-puppet/qtmetrics2/index.php') 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 -- cgit v1.2.3