From 42829fa59787f30003c84c89de92edd3cf433d77 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Fri, 23 Jul 2021 10:39:56 +0800 Subject: [PATCH] * Adjust page. --- module/execution/control.php | 1 + module/execution/css/bug.css | 1 + module/execution/view/bug.html.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 5f50f66ce3..eb9ab9f64d 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -874,6 +874,7 @@ class execution extends control $pager = new pager($recTotal, $recPerPage, $pageID); $sort = $this->loadModel('common')->appendOrder($orderBy); $bugs = $this->bug->getExecutionBugs($executionID, $productID, $build, $type, $param, $sort, '', $pager); + $bugs = $this->bug->checkDelayBugs($bugs); $users = $this->user->getPairs('noletter'); /* team member pairs. */ diff --git a/module/execution/css/bug.css b/module/execution/css/bug.css index dcc95a0e48..dd5a022939 100644 --- a/module/execution/css/bug.css +++ b/module/execution/css/bug.css @@ -6,3 +6,4 @@ .dropdown-list > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.53846154; color: #141414; white-space: nowrap;} .dropdown-list > li > a:hover, .dropdown-list > li > a:focus {color: #1a4f85; text-decoration: none; background-color: #ddd;} +td.delayed {color: #fff; background: #e84e0f !important;} diff --git a/module/execution/view/bug.html.php b/module/execution/view/bug.html.php index 965f7f1810..2a87a5589a 100644 --- a/module/execution/view/bug.html.php +++ b/module/execution/view/bug.html.php @@ -102,7 +102,7 @@ pri?>' title='bug->priList, $bug->pri, $bug->pri)?>'>bug->priList, $bug->pri, $bug->pri)?> title, null, "style='color: $bug->color' data-app={$this->app->openApp}");?> openedBy, $bug->openedBy);?> - deadline, 0, 4) > 0) echo substr($bug->deadline, 5, 6);?> + deadline, 0, 4) > 0) echo substr($bug->deadline, 5, 6);?> bug->printAssignedHtml($bug, $users);?> resolvedBy, $bug->resolvedBy);?> bug->resolutionList, $bug->resolution);?>