From afaa89f8fda73775512b9d9fff0396324f5171b1 Mon Sep 17 00:00:00 2001 From: wangyuting2 <851424971@qq.com> Date: Wed, 8 Feb 2023 16:03:35 +0800 Subject: [PATCH] * Fix bug #27242. --- module/programplan/view/gantt.html.php | 2 +- module/project/view/execution.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/programplan/view/gantt.html.php b/module/programplan/view/gantt.html.php index 93526300db..4aea144cd7 100755 --- a/module/programplan/view/gantt.html.php +++ b/module/programplan/view/gantt.html.php @@ -96,7 +96,7 @@ form {display: block; margin-top: 0em; margin-block-end: 1em;} foreach($productList as $key => $productName) { $class = $productID == $key ? 'class="active"' : ''; - echo "
  • " . html::a($this->createLink('programplan', 'browse', "projectID=$projectID&productID=$key&type=gantt"), $productName) . "
  • "; + echo "
  • " . html::a($this->createLink('programplan', 'browse', "projectID=$projectID&productID=$key&type=gantt"), $productName, '', "title='{$productName}' class='text-ellipsis'") . "
  • "; } ?> diff --git a/module/project/view/execution.html.php b/module/project/view/execution.html.php index 05e9c4cb9a..0ecc6f90d1 100644 --- a/module/project/view/execution.html.php +++ b/module/project/view/execution.html.php @@ -27,7 +27,7 @@ foreach($productList as $key => $productName) { $class = $productID == $key ? 'class="active"' : ''; - echo "
  • " . html::a($this->createLink('project', 'execution', "status=$status&projectID=$projectID&orderby=$orderBy&productID=$key"), $productName) . "
  • "; + echo "
  • " . html::a($this->createLink('project', 'execution', "status=$status&projectID=$projectID&orderby=$orderBy&productID=$key"), $productName, '', "title='{$productName}' class='text-ellipsis'") . "
  • "; } ?>