* [story#57185,doing,0.1h,2.8h] Add metric time tips to teamachievement block.

This commit is contained in:
liuruogu
2024-06-07 09:10:39 +00:00
committed by 刘刚
parent db23502c78
commit 27e5720af1
+20 -5
View File
@@ -23,9 +23,24 @@ foreach($products as $id => $productName)
}
panel
(
$productItems ? to::titleSuffix
to::titleSuffix
(
dropdown
icon
(
setClass('text-light text-sm cursor-pointer'),
toggle::tooltip
(
array
(
'title' => sprintf($lang->block->tooltips['metricTime'], $metricTime),
'placement' => 'bottom',
'type' => 'white',
'className' => 'text-dark border border-light leading-5'
)
),
'help'
),
$productItems ? dropdown
(
btn
(
@@ -34,9 +49,9 @@ panel
$products[$productID]
),
set::items($productItems)
),
span(setClass('text-gray-400 font-normal'), "* {$lang->block->selectProduct}")
) : null,
) : null,
$productItems ? span(setClass('text-gray-400 font-normal'), "* {$lang->block->selectProduct}") : null
),
setID($waterfallGanttID),
set('headingClass', 'border-b'),
set::title($block->title),