* finish task #3600,3598.
This commit is contained in:
@@ -11,50 +11,34 @@
|
||||
*/
|
||||
?>
|
||||
<div class="panel-body has-table">
|
||||
<table class='table table-borderless table-hover table-fixed block-product'>
|
||||
<table class='table table-borderless table-hover table-fixed-head block-products'>
|
||||
<thead>
|
||||
<tr class='text-center'>
|
||||
<th class='text-left'><?php echo $lang->product->name;?></th>
|
||||
<?php if(!$longBlock):?>
|
||||
<th width='65' title='<?php echo $lang->story->common;?>'><?php echo $lang->story->statusList['changed'];?></th>
|
||||
<?php endif;?>
|
||||
<tr>
|
||||
<th class='c-name'><?php echo $lang->product->name;?></th>
|
||||
<th class='c-plans'><?php echo $lang->product->plans;?></th>
|
||||
<th class="c-publishs"><?php echo $lang->product->releases;?></th>
|
||||
<?php if($longBlock):?>
|
||||
<th width='65'><?php echo $lang->product->plans;?></th>
|
||||
<th class="c-project"><?php echo $lang->product->currentProject;?></th>
|
||||
<?php endif;?>
|
||||
<th width='65'><?php echo $lang->product->releases;?></th>
|
||||
<?php if($longBlock):?>
|
||||
<th width='150'><?php echo $lang->product->currentProject;?></th>
|
||||
<th width='65' title='<?php echo $lang->story->common;?>'><?php echo $lang->story->statusList['active'];?></th>
|
||||
<?php endif;?>
|
||||
<?php if(!$longBlock):?>
|
||||
<th width='80' title='<?php echo $lang->bug->common;?>'><?php echo $lang->product->bugs;?></th>
|
||||
<?php endif;?>
|
||||
<th width='65' title='<?php echo $lang->bug->common;?>'><?php echo $lang->bug->unResolved;?></th>
|
||||
<th class="c-stories" title='<?php echo $lang->story->common;?>'><?php echo $lang->story->statusList['active'];?></th>
|
||||
<th class="c-bugs" title='<?php echo $lang->bug->common;?>'><?php echo $lang->bug->unResolved;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($productStats as $product):?>
|
||||
<?php
|
||||
$appid = isset($_GET['entry']) ? "class='app-btn text-center' data-id='{$this->get->entry}'" : "class='text-center'";
|
||||
$appid = isset($_GET['entry']) ? "class='app-btn' data-id='{$this->get->entry}'" : "";
|
||||
$viewLink = $this->createLink('product', 'browse', 'productID=' . $product->id);
|
||||
?>
|
||||
<tr data-url='<?php echo empty($sso) ? $viewLink : $sso . $sign . 'referer=' . base64_encode($viewLink); ?>' <?php echo $appid?>>
|
||||
<td class='text-left' title='<?php echo $product->name?>'><?php echo $product->name?></td>
|
||||
<?php if(!$longBlock):?>
|
||||
<td><?php echo $product->stories['changed']?></td>
|
||||
<?php endif;?>
|
||||
<td class='c-name' title='<?php echo $product->name?>'><?php echo $product->name?></td>
|
||||
<td class="c-plans"><?php echo $product->plans?></td>
|
||||
<td class="c-publishs"><?php echo $product->releases?></td>
|
||||
<?php if($longBlock):?>
|
||||
<td><?php echo $product->plans?></td>
|
||||
<td class='c-project'><?php echo zget($projects, $product->id, '');?></td>
|
||||
<?php endif;?>
|
||||
<td><?php echo $product->releases?></td>
|
||||
<?php if($longBlock):?>
|
||||
<td class='text-left'><?php echo zget($projects, $product->id, '');?></td>
|
||||
<td><?php echo $product->stories['active']?></td>
|
||||
<?php endif;?>
|
||||
<?php if(!$longBlock):?>
|
||||
<td><?php echo $product->bugs?></td>
|
||||
<?php endif;?>
|
||||
<td><?php echo $product->unResolved?></td>
|
||||
<td class="c-stories"><?php echo $product->stories['active']?></td>
|
||||
<td class="c-bugs"><?php echo $product->unResolved?></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user