From b4eda681c6b8bbae2a1c4ae7bb8f5c49e93518ed Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 10 May 2022 17:22:29 +0800 Subject: [PATCH] * Code for task #53663. --- module/kanban/view/viewarchivedcard.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/kanban/view/viewarchivedcard.html.php b/module/kanban/view/viewarchivedcard.html.php index 9c19a7d81b..09da6b4a0f 100644 --- a/module/kanban/view/viewarchivedcard.html.php +++ b/module/kanban/view/viewarchivedcard.html.php @@ -91,8 +91,8 @@ $app->loadLang('productplan'); title) ? $card->title : $card->name; - if(!common::hasPriv($card->fromType, 'view')) echo html::a($this->createLink('productplan', 'view', "id=$card->fromID"), $name, '', "class='cardName' title='$name'"); - if(common::hasPriv($card->fromType, 'view')) echo "
$name
"; + if(common::hasPriv($card->fromType, 'view')) echo html::a($this->createLink('productplan', 'view', "id=$card->fromID"), $name, '', "class='cardName' title='$name'"); + if(!common::hasPriv($card->fromType, 'view')) echo "
$name
"; echo "
"; if($card->fromType != 'release' and isset($lang->{$card->fromType}->statusList[$card->objectStatus])) echo "" . $lang->{$card->fromType}->statusList[$card->objectStatus] . ''; if(isset($card->date) and !helper::isZeroDate($card->date)) echo "" . date("m/d", strtotime($card->date)) . ""