* change selectAll to selectButton in list.
This commit is contained in:
@@ -3,3 +3,4 @@
|
||||
.red {color:red}
|
||||
.green {color:green}
|
||||
input[type=checkbox].ml-10px{margin-left:10px;}
|
||||
.pdl-8px{padding-left:8px;}
|
||||
|
||||
@@ -47,8 +47,9 @@
|
||||
<?php if(count($allBugs))
|
||||
{
|
||||
echo "<div class='table-actions clearfix'>";
|
||||
echo "<div class='btn-group'>" . html::selectAll('unlinkedBugsForm') . html::selectReverse('unlinkedBugsForm') . '</div>';
|
||||
echo html::submitButton($lang->build->linkBug) . html::a(inlink('view', "buildID={$build->id}&type=bug"), $lang->goback, '', "class='btn'") . '</div>';
|
||||
echo html::selectButton() . html::submitButton($lang->build->linkBug);
|
||||
echo html::a(inlink('view', "buildID={$build->id}&type=bug"), $lang->goback, '', "class='btn'");
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -48,11 +48,13 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan='8' class='text-left'>
|
||||
<?php if(count($allStories))
|
||||
<?php
|
||||
if(count($allStories))
|
||||
{
|
||||
echo "<div class='table-actions clearfix'>";
|
||||
echo "<div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>';
|
||||
echo html::submitButton($lang->story->linkStory) . html::a(inlink('view', "buildID={$build->id}&type=story"), $lang->goback, '', "class='btn'") . '</div>';
|
||||
echo html::selectButton() . html::submitButton($lang->story->linkStory);
|
||||
echo html::a(inlink('view', "buildID={$build->id}&type=story"), $lang->goback, '', "class='btn'");
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
<tr>
|
||||
<td colspan='8'>
|
||||
<div class='table-actions clearfix'>
|
||||
<?php if($countStories and $canBatchUnlink) echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedStoriesForm') . html::selectReverse('linkedStoriesForm') . '</div>' . html::submitButton($lang->build->batchUnlink) . '</div>';?>
|
||||
<?php if($countStories and $canBatchUnlink) echo html::selectButton() . html::submitButton($lang->build->batchUnlink);?>
|
||||
<div class='text'><?php echo sprintf($lang->build->finishStories, $countStories);?></div>
|
||||
</div>
|
||||
</td>
|
||||
@@ -158,7 +158,7 @@
|
||||
<tr>
|
||||
<td colspan='8'>
|
||||
<div class='table-actions clearfix'>
|
||||
<?php if($countBugs and $canBatchUnlink) echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>' . html::submitButton($lang->build->batchUnlink) . '</div>';?>
|
||||
<?php if($countBugs and $canBatchUnlink) echo html::selectButton() . html::submitButton($lang->build->batchUnlink);?>
|
||||
<div class='text'><?php echo sprintf($lang->build->resolvedBugs, $countBugs);?></div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -5,6 +5,8 @@ $(function()
|
||||
sp.attr('href', sp.attr('href') + sign + 'onlybody=yes').modalTrigger({width:600, type:'iframe'});
|
||||
scp.attr('href', scp.attr('href') + sign + 'onlybody=yes').modalTrigger({width:500, type:'iframe'});
|
||||
|
||||
/* Fix table actions */
|
||||
/* Fixed table actions */
|
||||
if($('table.tablesorter').closest('form').size() > 0) fixedTfootAction($('table.tablesorter').closest('form'));
|
||||
/* Fixed table header */
|
||||
if($('table.tablesorter').size() > 0) fixedTheadOfList($('table.tablesorter:first'));
|
||||
});
|
||||
|
||||
@@ -53,9 +53,10 @@ include '../../common/view/tablesorter.html.php';
|
||||
<td colspan='6' class='text-left'>
|
||||
<?php if(count($allBugs))
|
||||
{
|
||||
echo "<div class='table-actions clearfix'>";
|
||||
echo "<div class='btn-group'>" . html::selectAll('unlinkedBugsForm') . html::selectReverse('unlinkedBugsForm') . '</div>';
|
||||
echo html::submitButton($lang->productplan->linkBug) . html::a(inlink('view', "planID=$plan->id&type=bug&orderBy=$orderBy"), $lang->goback, '', "class='btn'") . '</div>';
|
||||
echo "<div class='table-actions clearfix' style='padding-left:8px;'>";
|
||||
echo html::selectButton() . html::submitButton($lang->productplan->linkBug);
|
||||
echo html::a(inlink('view', "planID=$plan->id&type=bug&orderBy=$orderBy"), $lang->goback, '', "class='btn'");
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -56,9 +56,10 @@ include '../../common/view/tablesorter.html.php';
|
||||
<td colspan='9' class='text-left'>
|
||||
<?php if(count($allStories))
|
||||
{
|
||||
echo "<div class='table-actions clearfix'>";
|
||||
echo "<div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>';
|
||||
echo html::submitButton($lang->story->linkStory) . html::a(inlink('view', "planID=$plan->id&type=story&orderBy=$orderBy"), $lang->goback, '', "class='btn'") . '</div>';
|
||||
echo "<div class='table-actions clearfix' style='padding-left:8px;'>";
|
||||
echo html::selectButton() . html::submitButton($lang->story->linkStory);
|
||||
echo html::a(inlink('view', "planID=$plan->id&type=story&orderBy=$orderBy"), $lang->goback, '', "class='btn'");
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
.red {color:red}
|
||||
.green {color:green}
|
||||
input[type=checkbox].ml-10px{margin-left:10px;}
|
||||
.pdl-8px{padding-left:8px;}
|
||||
|
||||
@@ -50,9 +50,10 @@ $formID = $type == 'leftBug' ? 'unlinkedLeftBugsForm' : 'unlinkedBugsForm';
|
||||
<td colspan='6' class='text-left'>
|
||||
<?php if(count($allBugs))
|
||||
{
|
||||
echo "<div class='table-actions clearfix'>";
|
||||
echo "<div class='btn-group'>" . html::selectAll($formID) . html::selectReverse($formID) . '</div>';
|
||||
echo html::submitButton($lang->release->linkBug) . html::a(inlink('view', "releaseID=$release->id&type=$type"), $lang->goback, '', "class='btn'") . '</div>';
|
||||
echo "<div class='table-actions clearfix pdl-8px'>";
|
||||
echo html::selectButton() . html::submitButton($lang->release->linkBug);
|
||||
echo html::a(inlink('view', "releaseID=$release->id&type=$type"), $lang->goback, '', "class='btn'");
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -50,9 +50,10 @@
|
||||
<td colspan='8' class='text-left'>
|
||||
<?php if(count($allStories))
|
||||
{
|
||||
echo "<div class='table-actions clearfix'>";
|
||||
echo "<div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>';
|
||||
echo html::submitButton($lang->story->linkStory) . html::a(inlink('view', "releaseID=$release->id&type=story"), $lang->goback, '', "class='btn'") . '</div>';
|
||||
echo "<div class='table-actions clearfix pdl-8px'>";
|
||||
echo html::selectButton() . html::submitButton($lang->story->linkStory);
|
||||
echo html::a(inlink('view', "releaseID=$release->id&type=story"), $lang->goback, '', "class='btn'");
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
<tr>
|
||||
<td colspan='8'>
|
||||
<div class='table-actions clearfix'>
|
||||
<?php if($countStories and $canBatchUnlink) echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedStoriesForm') . html::selectReverse('linkedStoriesForm') . '</div>' . html::submitButton($lang->release->batchUnlink) . '</div>';?>
|
||||
<?php if($countStories and $canBatchUnlink) echo "<div class='table-actions clearfix pdl-8px'>" . html::selectButton() . html::submitButton($lang->release->batchUnlink) . '</div>';?>
|
||||
<div class='text'><?php echo sprintf($lang->release->finishStories, $countStories);?></div>
|
||||
</div>
|
||||
</td>
|
||||
@@ -181,7 +181,7 @@
|
||||
<tr>
|
||||
<td colspan='8'>
|
||||
<div class='table-actions clearfix'>
|
||||
<?php if($countBugs and $canBatchUnlink) echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>' . html::submitButton($lang->release->batchUnlink) . '</div>';?>
|
||||
<?php if($countBugs and $canBatchUnlink) echo "<div class='table-actions clearfix pdl-8px'>" . html::selectButton() . html::submitButton($lang->release->batchUnlink) . '</div>';?>
|
||||
<div class='text'><?php echo sprintf($lang->release->resolvedBugs, $countBugs);?></div>
|
||||
</div>
|
||||
</td>
|
||||
@@ -239,7 +239,7 @@
|
||||
<td colspan='7'>
|
||||
<div class='table-actions clearfix'>
|
||||
<div class='text'>
|
||||
<?php if($countLeftBugs and $canBatchUnlink) echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>' . html::submitButton($lang->release->batchUnlink) . '</div>';?>
|
||||
<?php if($countLeftBugs and $canBatchUnlink) echo "<div class='table-actions clearfix pdl-8px'>" . html::selectButton() . html::submitButton($lang->release->batchUnlink) . '</div>';?>
|
||||
<?php echo sprintf($lang->release->createdBugs, $countLeftBugs);?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user