From dded3e7ec8a5fa94f561600d184263c8b2e3d8ea Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 26 Jan 2024 16:36:40 +0800 Subject: [PATCH] * Fix actived link color not work. --- module/product/ui/browse.html.php | 2 +- module/story/config/dtable.php | 2 +- module/task/config/dtable.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/product/ui/browse.html.php b/module/product/ui/browse.html.php index 1c796e9350..2ce7f3343c 100644 --- a/module/product/ui/browse.html.php +++ b/module/product/ui/browse.html.php @@ -176,7 +176,7 @@ $fnBuildLinkStoryButton = function() use($lang, $app, $product, $projectHasProdu /* DataTable columns. */ $config->story->dtable->fieldList['title']['title'] = $lang->story->title; -if($app->rawModule == 'projectstory') $config->story->dtable->fieldList['title']['link'] = array('url' => helper::createLink('projectstory', 'view', 'storyID={id}&projectID={project}'), 'style' => array('color' => 'var(--color-link)')); +if($app->rawModule == 'projectstory') $config->story->dtable->fieldList['title']['link'] = array('url' => helper::createLink('projectstory', 'view', 'storyID={id}&projectID={project}')); $setting = $this->loadModel('datatable')->getSetting('product', 'browse', false, $storyType); if($storyType == 'requirement') unset($setting['plan'], $setting['stage'], $setting['taskCount'], $setting['bugCount'], $setting['caseCount']); diff --git a/module/story/config/dtable.php b/module/story/config/dtable.php index 8bcd9ba69b..80e374c805 100644 --- a/module/story/config/dtable.php +++ b/module/story/config/dtable.php @@ -26,7 +26,7 @@ if($app->tab == 'execution') $config->story->dtable->fieldList['title']['name'] = 'title'; $config->story->dtable->fieldList['title']['title'] = $lang->story->title; $config->story->dtable->fieldList['title']['type'] = 'title'; -$config->story->dtable->fieldList['title']['link'] = array('url' => helper::createLink('story', 'view', 'storyID={id}'), 'style' => array('color' => 'var(--color-link)')); +$config->story->dtable->fieldList['title']['link'] = array('url' => helper::createLink('story', 'view', 'storyID={id}')); $config->story->dtable->fieldList['title']['fixed'] = 'left'; $config->story->dtable->fieldList['title']['sortType'] = true; $config->story->dtable->fieldList['title']['minWidth'] = '342'; diff --git a/module/task/config/dtable.php b/module/task/config/dtable.php index e85fd85366..0ce16b1616 100644 --- a/module/task/config/dtable.php +++ b/module/task/config/dtable.php @@ -12,7 +12,7 @@ $config->task->dtable->fieldList['name']['flex'] = 1; $config->task->dtable->fieldList['name']['type'] = 'nestedTitle'; $config->task->dtable->fieldList['name']['nestedToggle'] = true; $config->task->dtable->fieldList['name']['sortType'] = true; -$config->task->dtable->fieldList['name']['link'] = array('url' => array('module' => 'task', 'method' => 'view', 'params' => 'taskID={id}'), 'className' => 'text-inherit', 'style' => array('color' => 'var(--color-link)')); +$config->task->dtable->fieldList['name']['link'] = array('url' => array('module' => 'task', 'method' => 'view', 'params' => 'taskID={id}')); $config->task->dtable->fieldList['name']['required'] = true; $config->task->dtable->fieldList['name']['styleMap'] = array('--color-link' => 'color'); $config->task->dtable->fieldList['name']['data-app'] = $app->tab;