[% BLOCK section_timetracking %]
<table class="bz_time_tracking_table">
<tr>
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.estimated_time, editable = 1
+ %]
<th>
- <label for="estimated_time">Orig. Est.</label>
- </th>
- <th>
- Current Est.
- </th>
- <th>
- <label for="work_time">Hours Worked</label>
- </th>
- <th>
- <label for="remaining_time">Hours Left</label>
- </th>
- <th>
- %Complete
- </th>
- <th>
- Gain
+ Current Est.:
</th>
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.work_time, editable = 1
+ %]
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.remaining_time, editable = 1
+ %]
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.percentage_complete, editable = 1
+ %]
<th>
- <label for="deadline">Deadline</label>
+ Gain:
</th>
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.deadline, editable = 1
+ %]
</tr>
<tr>
<td>
</tr>
[% IF user.is_timetracker %]
<tr>
- <th><label for="estimated_time">Estimated Hours:</label></th>
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.estimated_time, editable = 1
+ %]
<td>
<input id="estimated_time"
name="estimated_time"
editable = 1, allow_dont_change = 1 %]
</tr>
<tr>
- <th><label for="remaining_time">Remaining Hours:</label></th>
+ [% INCLUDE "bug/field-label.html.tmpl"
+ field = bug_fields.remaining_time, editable = 1
+ %]
<td>
<input id="remaining_time"
name="remaining_time"