@@ -69,7 +69,7 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
|
|||||||
echo "<span class='input-group-addon'>";
|
echo "<span class='input-group-addon'>";
|
||||||
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=bug¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=bug¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
||||||
echo ' ';
|
echo ' ';
|
||||||
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($productID)'");
|
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' title='$lang->refresh' onclick='loadProductModules($productID)'");
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ if($this->app->tab == 'project') js::set('objectID', $bug->project);
|
|||||||
echo "<span class='input-group-addon'>";
|
echo "<span class='input-group-addon'>";
|
||||||
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=bug¤tModuleID=0&branch=$bug->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=bug¤tModuleID=0&branch=$bug->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
||||||
echo ' ';
|
echo ' ';
|
||||||
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($productID)'");
|
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' title='$lang->refresh' onclick='loadProductModules($productID)'");
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
<td><?php echo zget($lang->testcase->typeList, $case->type);?></td>
|
<td><?php echo zget($lang->testcase->typeList, $case->type);?></td>
|
||||||
<td><?php echo zget($users, $case->openedBy);?></td>
|
<td><?php echo zget($users, $case->openedBy);?></td>
|
||||||
<td><?php echo zget($users, $case->lastRunner);?></td>
|
<td><?php echo zget($users, $case->lastRunner);?></td>
|
||||||
<td><?php if(!helper::isZeroDate($case->lastRunDate)) echo date(DT_MONTHTIME1, strtotime($case->lastRunDate));?></td>
|
<td><?php echo helper::isZeroDate($case->lastRunDate) ? '' : substr($case->lastRunDate, 5, 11);?></td>
|
||||||
<td class='<?php echo $case->lastRunResult;?>'><?php if($case->lastRunResult) echo $lang->testcase->resultList[$case->lastRunResult];?></td>
|
<td class='<?php echo $case->lastRunResult;?>'><?php if($case->lastRunResult) echo $lang->testcase->resultList[$case->lastRunResult];?></td>
|
||||||
<td class='<?php if(isset($run)) echo $run->status;?>'><?php echo $this->processStatus('testcase', $case);?></td>
|
<td class='<?php if(isset($run)) echo $run->status;?>'><?php echo $this->processStatus('testcase', $case);?></td>
|
||||||
<td class='c-actions'>
|
<td class='c-actions'>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ js::set('browseType', $browseType);
|
|||||||
<div class="table-empty-tip">
|
<div class="table-empty-tip">
|
||||||
<p>
|
<p>
|
||||||
<span class="text-muted"><?php echo $lang->project->empty;?></span>
|
<span class="text-muted"><?php echo $lang->project->empty;?></span>
|
||||||
<?php common::printLink('project', 'createGuide', "programID=$programID", '<i class="icon icon-plus"></i> ' . $lang->project->create, '', 'class="btn btn-info btn-wide " data-toggle="modal" data-target="#guideDialog"');?>
|
<?php if($browseType == 'all') common::printLink('project', 'createGuide', "programID=$programID", '<i class="icon icon-plus"></i> ' . $lang->project->create, '', 'class="btn btn-info btn-wide " data-toggle="modal" data-target="#guideDialog"');?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php else:?>
|
<?php else:?>
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
echo "<div class='input-group-addon'>";
|
echo "<div class='input-group-addon'>";
|
||||||
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=story¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='90%'");
|
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=story¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='90%'");
|
||||||
echo ' ';
|
echo ' ';
|
||||||
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($productID)'");
|
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' title='refresh' onclick='loadProductModules($productID)'");
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -106,7 +106,7 @@
|
|||||||
echo "<span class='input-group-addon'>";
|
echo "<span class='input-group-addon'>";
|
||||||
echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story¤tModuleID=0&branch=$story->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story¤tModuleID=0&branch=$story->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
||||||
echo ' ';
|
echo ' ';
|
||||||
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($story->product)'");
|
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' title='$lang->refresh' onclick='loadProductModules($story->product)'");
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -3584,7 +3584,7 @@ class taskModel extends model
|
|||||||
echo zget($users, $task->lastEditedBy);
|
echo zget($users, $task->lastEditedBy);
|
||||||
break;
|
break;
|
||||||
case 'lastEditedDate':
|
case 'lastEditedDate':
|
||||||
echo substr($task->lastEditedDate, 5, 11);
|
echo helper::isZeroDate($task->lastEditedDate) ? '' : substr($task->lastEditedDate, 5, 11);
|
||||||
break;
|
break;
|
||||||
case 'activatedDate':
|
case 'activatedDate':
|
||||||
echo helper::isZeroDate($task->activatedDate) ? '' : substr($task->activatedDate, 5, 11);
|
echo helper::isZeroDate($task->activatedDate) ? '' : substr($task->activatedDate, 5, 11);
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
{
|
{
|
||||||
echo "<span class='input-group-addon'>";
|
echo "<span class='input-group-addon'>";
|
||||||
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=case¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=case¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
||||||
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "id='refresh' class='refresh' onclick='loadProductModules($productID)'");
|
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "id='refresh' class='refresh' title='$lang->refresh' onclick='loadProductModules($productID)'");
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
echo "<span class='input-group-addon'>";
|
echo "<span class='input-group-addon'>";
|
||||||
echo html::a($this->createLink('tree', 'browse', "rootID=$libID&view=caselib¤tModuleID=0&branch=$case->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
echo html::a($this->createLink('tree', 'browse', "rootID=$libID&view=caselib¤tModuleID=0&branch=$case->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
|
||||||
echo ' ';
|
echo ' ';
|
||||||
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadLibModules($libID)'");
|
echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' title='$lang->refresh' onclick='loadLibModules($libID)'");
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -1571,7 +1571,7 @@ class testtaskModel extends model
|
|||||||
echo zget($users, $run->lastRunner);
|
echo zget($users, $run->lastRunner);
|
||||||
break;
|
break;
|
||||||
case 'lastRunDate':
|
case 'lastRunDate':
|
||||||
if(!helper::isZeroDate($run->lastRunDate)) echo date(DT_MONTHTIME1, strtotime($run->lastRunDate));
|
echo helper::isZeroDate($run->lastRunDate) ? '' : substr($run->lastRunDate, 5, 11);
|
||||||
break;
|
break;
|
||||||
case 'lastRunResult':
|
case 'lastRunResult':
|
||||||
$lastRunResultText = $run->lastRunResult ? zget($this->lang->testcase->resultList, $run->lastRunResult, $run->lastRunResult) : $this->lang->testcase->unexecuted;
|
$lastRunResultText = $run->lastRunResult ? zget($this->lang->testcase->resultList, $run->lastRunResult, $run->lastRunResult) : $this->lang->testcase->unexecuted;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
<td><?php echo $lang->testcase->typeList[$case->type];?></td>
|
<td><?php echo $lang->testcase->typeList[$case->type];?></td>
|
||||||
<td><?php echo zget($users, $case->openedBy);?></td>
|
<td><?php echo zget($users, $case->openedBy);?></td>
|
||||||
<td><?php echo zget($users, $case->lastRunner);?></td>
|
<td><?php echo zget($users, $case->lastRunner);?></td>
|
||||||
<td><?php if(!helper::isZeroDate($case->lastRunDate)) echo date(DT_MONTHTIME1, strtotime($case->lastRunDate));?></td>
|
<td><?php echo helper::isZeroDate($case->lastRunDate) ? '' : substr($case->lastRunDate, 5, 11);?></td>
|
||||||
<td class='<?php echo $case->lastRunResult;?>'><?php if($case->lastRunResult) echo $lang->testcase->resultList[$case->lastRunResult];?></td>
|
<td class='<?php echo $case->lastRunResult;?>'><?php if($case->lastRunResult) echo $lang->testcase->resultList[$case->lastRunResult];?></td>
|
||||||
<td class='<?php echo $case->status;?>'><?php echo $this->processStatus('testcase', $case);?></td>
|
<td class='<?php echo $case->status;?>'><?php echo $this->processStatus('testcase', $case);?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user