This commit is contained in:
zhouxudong
2022-03-22 10:40:34 +08:00
parent d818c3426e
commit 541032f12e
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -12,4 +12,4 @@ th.c-pri{width:50px;}
.c-category {width: 80px;}
.c-actions-7 {width: 190px;}
.closed-story {color: #e5e5e5;}
.stageBox {height: 180px; overflow: scroll;}
.stageBox {height: 180px; overflow: scroll; background: white;}
+9 -2
View File
@@ -218,7 +218,7 @@
<?php
$storyLink = $this->createLink('story', 'view', "storyID=$story->id&version=$story->version&param=$execution->id");
$totalEstimate += $story->estimate;
?>
?>
<tr id="story<?php echo $story->id;?>" data-id='<?php echo $story->id;?>' data-order='<?php echo $story->order ?>' data-estimate='<?php echo $story->estimate?>' data-cases='<?php echo zget($storyCases, $story->id, 0)?>'>
<td class='cell-id'>
<?php if($canBatchAction):?>
@@ -354,7 +354,14 @@
<div class="btn-group dropup">
<button data-toggle="dropdown" type="button" class="btn"><?php echo $lang->story->stageAB;?> <span class="caret"></span></button>
<?php
echo "<ul class='dropdown-menu stageBox'>";
if(sizeof($stories) == 1)
{
echo "<ul class='dropdown-menu stageBox'>";
}
else
{
echo "<ul class='dropdown-menu'>";
}
$lang->story->stageList[''] = $lang->null;
foreach($lang->story->stageList as $key => $stage)
{