* Finish task #4867.

This commit is contained in:
Yagami
2018-09-20 16:33:39 +08:00
parent fbeb037011
commit f4e565ea93
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -851,6 +851,7 @@ class userModel extends model
->where('t1.type')->eq('project')
->andWhere('t1.account')->eq($account)
->andWhere('t2.deleted')->eq(0)
->orderBy('t2.id_desc')
->fetchAll();
/* Judge whether the project is delayed. */
+2 -2
View File
@@ -33,8 +33,8 @@
<?php foreach($projects as $project):?>
<?php $projectLink = $this->createLink('project', 'browse', "projectID=$project->id");?>
<tr class='text-center'>
<td><?php echo html::a($projectLink, $project->id);?></td>
<td><?php echo $project->code;?></td>
<td class='text-left'><?php echo html::a($projectLink, $project->id);?></td>
<td class='text-left'><?php echo $project->code;?></td>
<td class="text-left"><?php echo html::a($projectLink, $project->name);?></td>
<td><?php echo $project->begin;?></td>
<td><?php echo $project->end;?></td>