* finish task #3600,3598.

This commit is contained in:
wangyidong
2018-01-31 09:41:53 +08:00
parent 894fd6310f
commit dff29fb2af
15 changed files with 2665 additions and 199 deletions
+24 -18
View File
@@ -11,20 +11,20 @@
*/
?>
<div class='panel-body has-table'>
<table class='table table-borderless table-hover table-fixed-head block-stories'>
<table class='table table-borderless table-hover table-fixed-head block-stories <?php if(!$longBlock) echo 'block-sm'?>'>
<thead>
<tr>
<th class="c-id w-80px"><?php echo $lang->idAB?></th>
<th class="c-pri w-40px"><?php echo $lang->priAB?></th>
<th class="c-name"><?php echo $lang->story->title;?></th>
<?php if($longBlock):?>
<th width='50'><?php echo $lang->story->estimateAB;?></th>
<?php endif;?>
<th class="c-status w-80px"><?php echo $lang->statusAB;?></th>
<?php if($longBlock):?>
<th class='c-stage w-80px'><?php echo $lang->story->stageAB;?></th>
<?php endif;?>
</tr>
<tr>
<th class="c-id"><?php echo $lang->idAB?></th>
<th class="c-pri"><?php echo $lang->priAB?></th>
<th class="c-name"><?php echo $lang->story->title;?></th>
<?php if($longBlock):?>
<th class='c-estimate'><?php echo $lang->story->estimateAB;?></th>
<?php endif;?>
<th class="c-status"><?php echo $lang->statusAB;?></th>
<?php if($longBlock):?>
<th class='c-stage'><?php echo $lang->story->stageAB;?></th>
<?php endif;?>
</tr>
</thead>
<?php foreach($stories as $story):?>
<?php
@@ -33,17 +33,23 @@
?>
<tr data-url='<?php echo empty($sso) ? $viewLink : $sso . $sign . 'referer=' . base64_encode($viewLink); ?>' <?php echo $appid?>>
<td class="c-id"><?php echo $story->id;?></td>
<?php $pri = zget($lang->story->priList, $story->pri, $story->pri);?>
<?php $pri = zget($lang->story->priList, $story->pri, $story->pri);?>
<td class="c-pri"><span class="label-pri label-pri-<?php echo $pri?>"><?php echo $pri?></span></td>
<td class="c-name" style='color: <?php echo $story->color?>' title='<?php echo $story->title?>'><?php echo $story->title?></td>
<?php if($longBlock):?>
<td class='text-center'><?php echo $story->estimate?></td>
<td class='c-estimate'><?php echo $story->estimate?></td>
<?php endif;?>
<td class='text-left c-status' title='<?php echo zget($lang->story->statusList, $story->status)?>'>
<?php echo zget($lang->story->statusList, $story->status);?>
<td class='c-status' title='<?php echo zget($lang->story->statusList, $story->status)?>'>
<span class='story-status-<?php echo $story->status?>'>
<span class='label label-dot'></span><span class='status-text'><?php echo zget($lang->story->statusList, $story->status);?></span>
</span>
</td>
<?php if($longBlock):?>
<td class='text-center c-stage'><?php echo zget($lang->story->stageList, $story->stage, $story->stage);?></td>
<td class='c-stage'>
<span class='story-stage-<?php echo $story->stage?>'>
<?php echo zget($lang->story->stageList, $story->stage, $story->stage);?>
</span>
</td>
<?php endif;?>
</tr>
<?php endforeach;?>