assignto.html.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * The resolved view file of reviewissue 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 Yidong Wang <yidong@chandao.com>
  7. * @package reviewissue
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader(set::title($lang->reviewissue->assignTo), set::entityID($issue->id), set::entityText($issue->title));
  12. $fields = $config->reviewissue->form->assignTo;
  13. formPanel
  14. (
  15. formGroup
  16. (
  17. set::label($fields['assignedTo']['label']),
  18. picker
  19. (
  20. set::name('assignedTo'),
  21. set::items($users),
  22. set::required($fields['assignedTo']['required']),
  23. set::value($issue->assignedTo)
  24. )
  25. ),
  26. formGroup
  27. (
  28. set::label($lang->comment),
  29. set::name('comment'),
  30. set::control('editor'),
  31. set::rows(6)
  32. )
  33. );