From 544ee695be0879e157606d3f96320c8af768ff5e Mon Sep 17 00:00:00 2001 From: Benjamin Dalsass Date: Wed, 12 Apr 2023 07:42:03 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05957=20-=20actions=20rows=20order=20and?= =?UTF-8?q?=20color=20(use=20constant)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/Links/Direct/BlockDirectLinkSetViewTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Application/UI/Links/Direct/BlockDirectLinkSetViewTable.php b/sources/Application/UI/Links/Direct/BlockDirectLinkSetViewTable.php index 2844e4659..251c50162 100644 --- a/sources/Application/UI/Links/Direct/BlockDirectLinkSetViewTable.php +++ b/sources/Application/UI/Links/Direct/BlockDirectLinkSetViewTable.php @@ -6,8 +6,8 @@ namespace Combodo\iTop\Application\UI\Links\Direct; +use Combodo\iTop\Application\UI\Base\Component\Button\Button; use Combodo\iTop\Application\UI\Links\AbstractBlockLinkSetViewTable; -use Combodo\iTop\Service\Links\LinkSetModel; use MetaModel; /** @@ -88,7 +88,7 @@ class BlockDirectLinkSetViewTable extends AbstractBlockLinkSetViewTable 'label' => 'UI:Links:ActionRow:Delete', 'tooltip' => 'UI:Links:ActionRow:Delete+', 'icon_classes' => 'fas fa-trash', - 'color' => 'danger', + 'color' => Button::ENUM_COLOR_SCHEME_DESTRUCTIVE, 'js_row_action' => "{$this->GetWidgetName()}.links_view_table('DeleteLinkedObject', aRowData['{$this->oAttDef->GetLinkedClass()}/_key_/raw'], oTrElement);", 'confirmation' => [ 'message' => 'UI:Links:ActionRow:Delete:Confirmation',