* Revert the code.

This commit is contained in:
ci
2023-04-23 17:30:56 +08:00
parent 965b868fdb
commit 59573900a6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3857,7 +3857,7 @@ class taskModel extends model
if($task->fromBug) echo html::a(helper::createLink('bug', 'view', "id=$task->fromBug"), "[BUG#$task->fromBug]", '', "class='bug'");
break;
case 'type':
echo $this->lang->task->typeList[$task->type];
echo zget($this->lang->task->typeList, $task->type, $task->type);
break;
case 'status':
$storyChanged ? print("<span class='status-story status-changed' title='{$this->lang->story->changed}'>{$this->lang->story->changed}</span>") : print("<span class='status-task status-{$task->status}' title='{$this->processStatus('task', $task)}'> " . $this->processStatus('task', $task) . "</span>");
+1 -1
View File
@@ -274,7 +274,7 @@
<?php endif;?>
<tr>
<th><?php echo $lang->task->type;?></th>
<td><?php echo $lang->task->typeList[$task->type];?></td>
<td><?php echo zget($this->lang->task->typeList, $task->type, $task->type);?></td>
</tr>
<tr>
<th><?php echo $lang->task->status;?></th>