Bug 40933

work_time and estimated_time from URL


git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@414 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2009-09-14 11:52:33 +00:00
parent 6b15235ed4
commit 34f22b6e06
2 changed files with 4 additions and 2 deletions

View File

@ -484,6 +484,8 @@ else {
$vars->{dependson} = formvalue('dependson');
$vars->{blocked} = formvalue('blocked');
$vars->{deadline} = formvalue('deadline');
$vars->{work_time} = 0+formvalue('work_time') || "0.0";
$vars->{estimated_time} = 0+formvalue('estimated_time') || "0.0";
$vars->{cc} = join(', ', $cgi->param('cc'));

View File

@ -507,9 +507,9 @@ TUI_hide_default('expert_fields');
[% IF user.in_group(Param('timetrackinggroup')) %]
<th>Estimated Hours:</th>
<td>
<input name="estimated_time" size="6" maxlength="6" value="0.0">&nbsp;
<input name="estimated_time" size="6" maxlength="6" value="[% estimated_time %]">&nbsp;
<b>Hours Worked:</b>
<input name="work_time" id="work_time" value="0.0" size="6" maxlength="6">
<input name="work_time" id="work_time" value="[% work_time %]" size="6" maxlength="6">
</td>
[% END %]
<th>Depends on:</th>