editlanecolor.html.php 916 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * The editlanecolor view file of kanban 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 Yuting Wang <wangyuting@easycorp.ltd>
  7. * @package kanban
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader(set::title($lang->kanban->editLaneColor), set::entityText($lane->name), set::entityID($lane->id));
  12. setClass("size-sm");
  13. formPanel
  14. (
  15. formRow
  16. (
  17. formGroup
  18. (
  19. set::label($lang->kanbanlane->color),
  20. checkColorGroup
  21. (
  22. set::name('color'),
  23. set::items(array_flip($config->kanban->laneColorList)),
  24. set::value($lane->color)
  25. )
  26. )
  27. )
  28. );
  29. render();