From 10fad7a82cb8a959dd8964ed4e18e7a21a39413e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=BB=B6=E4=B9=89?= Date: Fri, 30 Sep 2022 14:38:53 +0800 Subject: [PATCH] * Fix bug #28263. --- module/productplan/css/browse.css | 1 + module/productplan/js/browse.js | 2 +- module/productplan/view/browsebylist.html.php | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/module/productplan/css/browse.css b/module/productplan/css/browse.css index a94ddc3759..cb52c6ac17 100644 --- a/module/productplan/css/browse.css +++ b/module/productplan/css/browse.css @@ -45,3 +45,4 @@ td.c-branch {overflow: hidden; text-align: left !important; text-overflow: ellip .execution-tip {list-style: none;} .popover.right .arrow {margin-top: -30px;} .execution-tip li {overflow: hidden; text-overflow: unset; white-space: nowrap;} +td.execution-links {overflow: visible;} diff --git a/module/productplan/js/browse.js b/module/productplan/js/browse.js index 6e422368d5..2d45757f4d 100644 --- a/module/productplan/js/browse.js +++ b/module/productplan/js/browse.js @@ -117,7 +117,7 @@ $(function() $(document).on('mousedown', function(e) { var $target = $(e.target); - var $toggle = $target.closest('.popover, .project-popover'); + var $toggle = $target.closest('.popover, .execution-popover'); if(!$toggle.length) $('.popover.right').hide(); }); }); diff --git a/module/productplan/view/browsebylist.html.php b/module/productplan/view/browsebylist.html.php index b6b25f912a..69ab8790ab 100644 --- a/module/productplan/view/browsebylist.html.php +++ b/module/productplan/view/browsebylist.html.php @@ -70,7 +70,7 @@ productplan->stories;?> productplan->bugs;?> productplan->hour;?> - productplan->execution;?> + productplan->execution;?> productplan->desc;?> productplan->getFlowExtendFields(); @@ -145,14 +145,14 @@ stories;?> bugs;?> hour;?> - + projects)) { if(count($plan->projects) === 1) { $executionID = key($plan->projects); - echo html::a(helper::createLink('execution', 'task', "executionID=$executionID"), '', '', "title='{$plan->projects[$executionID]->name}'"); + echo html::a(helper::createLink('execution', 'task', "executionID=$executionID"), '', '', "title='{$plan->projects[$executionID]->name}' class='btn'"); } else { @@ -164,7 +164,7 @@ $executionHtml .= ''; $executionHtml .= ''; $executionHtml .= ''; - echo ""; + echo ""; echo $executionHtml; } }