diff --git a/module/kanban/ui/activatespace.html.php b/module/kanban/ui/activatespace.html.php new file mode 100644 index 0000000000..a6d72cbd36 --- /dev/null +++ b/module/kanban/ui/activatespace.html.php @@ -0,0 +1,26 @@ + + * @package kanban + * @link https://www.zentao.net + */ +namespace zin; +modalHeader(set::title($lang->kanban->activeSpace), set::entityText($space->name), set::entityID($space->id)); + +formPanel +( + formRow + ( + formGroup + ( + set::label($lang->comment), + editor(set::name('comment')) + ) + ) +); + +render(); diff --git a/module/kanban/ui/space.html.php b/module/kanban/ui/space.html.php index 96dade79f0..bfb921eb2f 100644 --- a/module/kanban/ui/space.html.php +++ b/module/kanban/ui/space.html.php @@ -100,7 +100,7 @@ foreach($spaceList as $space) cell(set::className('ellipsis font-bold mr-1'), set::title($kanban->name), $kanban->name), $kanban->status == 'closed' ? cell(set::className('label gray mx-1'), setStyle(array('min-width' => '44px')), $lang->kanban->closed) : null, $space->type == 'cooperation' && $kanban->owner == $this->app->user->account ? cell(set::className('label text-important ring-important mx-1'), setStyle(array('min-width' => '44px')), $lang->kanban->mine) : null, - cell + $cardActions ? cell ( set::className('flex-1 text-right'), dropdown @@ -108,7 +108,7 @@ foreach($spaceList as $space) btn(setClass('btn dropdown-toggle ghost'), set::icon('ellipsis-v'), set::caret(false)), set::items($cardActions) ) - ) + ) : null ), div(set::className('h-16 mb-2 overflow-hidden'), set::title($kanbanDescTitle), html($kanbanDesc)), div @@ -128,6 +128,7 @@ foreach($spaceList as $space) set::className('mb-4'), set::title($space->name), set::titleIcon('cube'), + $space->status == 'closed' ? to::titleSuffix(span(set::className('label gray'), $lang->kanban->closed)) : null, set::headingActions($headingActions), div(set::className('p-2'), html($spaceDesc)), !empty($space->kanbans) ? div(set::className('flex flex-wrap'), $kanbans) : div(set::className('dtable'), div(set::className('dtable-empty-tip'), span(set::className('text-gray'), $lang->kanban->empty)))