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

This commit is contained in:
liuruogu
2024-06-07 09:10:39 +00:00
committed by 刘刚
parent 1c2294fee4
commit 0bd73085e4
@@ -35,6 +35,24 @@ foreach($product->monthCreated as $date => $count)
panel
(
to::titleSuffix
(
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'
)
),
setClass('singleproductstatistic-block ' . ($longBlock ? 'block-long' : 'block-sm')),
set::headingClass('border-b'),
set::title($block->title),