* [story#57185,doing,0.2h,1.8h] Add metric time tips to projectstatistic block.

This commit is contained in:
liuruogu
2024-06-07 09:10:39 +00:00
committed by 刘刚
parent 449c166a13
commit 48ec3b208c
@@ -404,6 +404,24 @@ if($project)
statisticBlock
(
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'
)
),
set::block($block),
set::active($active),
set::moreLink(createLink('project', 'browse', 'programID=0&browseType=' . zget($block->params, 'type', ''))),