* when no working hours, show the table header to avoid empty page.

This commit is contained in:
wangchunsheng
2013-03-03 02:32:02 +00:00
parent 3f7b9d6b90
commit cbdfc4b076

View File

@@ -14,7 +14,6 @@
<?php include '../../common/view/datepicker.html.php';?>
<?php js::set('confirmFinish', $lang->task->confirmFinish);?>
<form method='post' target='hiddenwin'>
<?php if($estimates):?>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
@@ -44,7 +43,6 @@
</tr>
<?php endforeach;?>
</table>
<?php endif;?>
<?php if($task->status == 'wait' or $task->status == 'doing'):?>
<table class='table-1'>
<caption><?php echo $lang->task->logEfforts;?></caption>