* @package block * @link https://www.zentao.net */ namespace zin; if(!$longBlock) { unset($config->block->story->dtable->fieldList['status']); unset($config->block->story->dtable->fieldList['category']); unset($config->block->story->dtable->fieldList['estimate']); unset($config->block->story->dtable->fieldList['stage']); } else { foreach($stories as $story) $story->estimate .= $config->hourUnit; } blockPanel ( setClass('list-block'), dtable ( set::height(318), set::fixedLeftWidth($longBlock ? '0.5' : '0.8'), set::cols(array_values($config->block->story->dtable->fieldList)), set::data(array_values($stories)) ) ); render();