* Revert fix bug#35955.

This reverts commit fb543c1c98.
This commit is contained in:
chaideqing
2023-08-24 05:26:42 +00:00
parent 4e71e332c6
commit 07e7f1f500
+6
View File
@@ -253,6 +253,12 @@
<td class='status-testcase status-<?php echo $case->status;?>'>
<?php
echo $this->processStatus('testcase', $case);
if($case->version > $case->currentVersion and $from == 'testtask')
{
echo "(<span class='warning' title={$lang->testcase->fromTesttask}>{$lang->testcase->changed}</span> ";
if(common::hasPriv('testcase', 'confirmchange')) echo html::a($this->createLink('testcase', 'confirmchange', "caseID=$case->id&taskID=$taskID"), $lang->testcase->sync, 'hiddenwin', "class='btn btn-mini btn-info'");
echo ")";
}
if(isset($case->fromCaseVersion) and $case->fromCaseVersion > $case->version and $from != 'testtask' and !empty($case->product))
{
echo "(<span class='warning' title={$lang->testcase->fromCaselib}>{$lang->testcase->changed}</span> ";