Files
EasySoft-ZenTaoPMS/module/task/ui/cancel.html.php
T

48 lines
1.1 KiB
PHP

<?php
declare(strict_types=1);
/**
* The cancel view file of task module of ZenTaoPMS.
*
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
* @author sunguangming<sunguangming@easycorp.ltd>
* @package task
* @link http://www.zentao.net
*/
namespace zin;
formPanel
(
set::title($lang->task->cancelAction),
set::headingClass('status-heading'),
set::titleClass('form-label .form-grid'),
set::shadow(!isonlybody()),
to::headingActions
(
entityLabel
(
setClass('my-3 gap-x-3'),
set::level(1),
set::text($task->name),
set::entityID($task->id),
set::reverse(true),
)
),
formGroup
(
set::label($lang->comment),
editor
(
set::name('comment'),
set::rows('5'),
)
),
);
h::hr(set::class('mt-6'));
history();
render(isonlybody() ? 'modalDialog' : 'page');