* Fix groupcase view css.
This commit is contained in:
@@ -1 +1,2 @@
|
||||
.title{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
|
||||
.group-header > a {line-height: 20px; display: block; max-height: 40px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<tr data-id='<?php echo $groupIndex;?>' <?php if($i == 0) echo "class='divider-top'";?>>
|
||||
<?php if($i == 0):?>
|
||||
<td rowspan='<?php echo count($groupTasks);?>' class='c-side text-left group-toggle text-top'>
|
||||
<?php echo html::a('###', "<i class='icon-caret-down'></i> $groupName", '', "class='text-primary'");?>
|
||||
<div class='group-header'><?php echo html::a('###', "<i class='icon-caret-down'></i> $groupName", '', "class='text-primary'");?></div>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<td class='c-id-sm'><?php echo sprintf('%03d', $case->id);?></td>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
.group-header > a {line-height: 20px; display: block; max-height: 40px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;}
|
||||
.case-title{overflow: hidden; text-overflow:ellipsis; white-space: nowrap;}
|
||||
@@ -52,7 +52,7 @@
|
||||
<tr data-id='<?php echo $groupIndex;?>' <?php if($i == 0) echo "class='divider-top'";?>>
|
||||
<?php if($i == 0):?>
|
||||
<td rowspan='<?php echo count($groupCases);?>' class='c-side text-left group-toggle text-top'>
|
||||
<?php echo html::a('###', "<i class='icon-caret-down'></i> $groupName", '', "class='text-primary'");?>
|
||||
<div class='group-header'><?php echo html::a('###', "<i class='icon-caret-down'></i> $groupName", '', "class='text-primary'");?></div>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<?php
|
||||
@@ -64,7 +64,7 @@
|
||||
?>
|
||||
<td class='c-id-sm'><?php echo sprintf('%03d', $run->case);?></td>
|
||||
<td><span class='label-pri <?php echo 'label-pri-' . $run->pri;?>' title='<?php echo zget($lang->testcase->priList, $run->pri, $run->pri);?>'><?php echo zget($lang->testcase->priList, $run->pri, $run->pri);?></span></td>
|
||||
<td class='text-left'><?php if(!common::printLink('testcase', 'view', "case=$run->case", $run->title)) echo $run->title;?></td>
|
||||
<td class='text-left case-title' title='<?php echo $run->title?>'><?php if(!common::printLink('testcase', 'view', "case=$run->case", $run->title)) echo $run->title;?></td>
|
||||
<td><?php echo zget($lang->testcase->typeList, $run->type, '');?></td>
|
||||
<td><?php echo zget($users, $run->assignedTo);?></td>
|
||||
<td><?php echo zget($users, $run->lastRunner);?></td>
|
||||
|
||||
Reference in New Issue
Block a user