* finish task #763.

This commit is contained in:
wangyidong
2012-06-19 07:38:18 +00:00
parent ed22fd465c
commit 7b4e12dcc3
6 changed files with 102 additions and 82 deletions

View File

@@ -45,6 +45,8 @@ $lang->task->leftAB = 'Left';
$lang->task->consumed = 'Consumed';
$lang->task->consumedAB = 'Use';
$lang->task->hour = 'Hour';
$lang->task->estimateStartDate = 'Start date';
$lang->task->actualStartDate = 'Actual start';
$lang->task->deadline = 'Deadline';
$lang->task->deadlineAB = 'Deadline';
$lang->task->status = 'Status';

View File

@@ -45,6 +45,8 @@ $lang->task->leftAB = '剩';
$lang->task->consumed = '已经消耗';
$lang->task->consumedAB = '耗';
$lang->task->hour = '小时';
$lang->task->estimateStartDate = '开始日期';
$lang->task->actualStartDate = '实际开始';
$lang->task->deadline = '截止日期';
$lang->task->deadlineAB = '截止';
$lang->task->status = '任务状态';

View File

@@ -62,6 +62,10 @@ $(function()
<th class='rowhead'><?php echo $lang->task->estimate;?></th>
<td><?php echo html::input('estimate', '', "class='text-3'") . $lang->task->hour;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td><?php echo html::input('estimateStartDate', '', "class='text-3 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', '', "class='text-3 date'");?></td>

View File

@@ -83,6 +83,10 @@
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td><?php echo html::input('estimateStartDate', $task->actualStartDate, "class='text-1 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', $task->deadline, "class='text-1 date'");?></td>

View File

@@ -14,6 +14,10 @@
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td><?php echo html::input('actualStartDate', helper::now(), "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'") . $lang->task->hour;?></td>

View File

@@ -136,6 +136,10 @@
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->estimateStartDate;?></th>
<td> <?php echo strtotime($task->actualStartDate) ? substr($task->actualStartDate, 0, 10) : substr($task->estimateStartDate, 0, 10); ?> </td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td>