diff --git a/module/productplan/ui/close.html.php b/module/productplan/ui/close.html.php new file mode 100644 index 0000000000..bd4fd45167 --- /dev/null +++ b/module/productplan/ui/close.html.php @@ -0,0 +1,55 @@ + +* @package productplan +* @link https://www.zentao.net +*/ + +namespace zin; + +formPanel +( + set::title($lang->productplan->close), + set::actions(array('submit')), + set::submitBtnText($lang->productplan->closeAB), + set::headingClass('status-heading'), + set::titleClass('form-label .form-grid'), + to::headingActions + ( + entityLabel + ( + setClass('my-3 gap-x-3'), + set::entityID($productplan->id), + set::text($productplan->title), + set::level(1), + set::reverse(true), + ) + ), + formGroup + ( + set::id('closedReasonBox'), + set::name('closedReason'), + set::label($lang->productplan->closedReason), + set::width('1/3'), + set::strong(false), + set::value(''), + set::items($reasonList), + ), + formGroup + ( + set::label($lang->comment), + set::name('comment'), + set::control('editor'), + set::rows(6), + ), +); + +h::hr(set::class('mt-6')); +history(); + +render('modalDialog');