Commit 5f7d68ec authored by Pami Ketolainen's avatar Pami Ketolainen Committed by Frédéric Buclin

Bug 766528: Use field-label.html.tmpl for timetracking fields

r/a=LpSolit
parent a68bafea
......@@ -956,27 +956,27 @@
[% 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>
......
......@@ -127,7 +127,9 @@
</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"
......@@ -139,7 +141,9 @@
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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment