executionoverviewblock.html.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * The project overview block view file of block module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Gang Liu <liugang@easycorp.ltd>
  7. * @package block
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. overviewBlock
  12. (
  13. to::titleSuffix
  14. (
  15. icon
  16. (
  17. setClass('text-light text-sm cursor-pointer'),
  18. toggle::tooltip
  19. (
  20. array
  21. (
  22. 'title' => sprintf($lang->block->tooltips['metricTime'], $metricTime),
  23. 'placement' => 'bottom',
  24. 'type' => 'white',
  25. 'className' => 'text-dark border border-light leading-5'
  26. )
  27. ),
  28. 'help'
  29. )
  30. ),
  31. set(array('block' => $block, 'groups' => $groups))
  32. );
  33. render();