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 @@ ...@@ -956,27 +956,27 @@
[% BLOCK section_timetracking %] [% BLOCK section_timetracking %]
<table class="bz_time_tracking_table"> <table class="bz_time_tracking_table">
<tr> <tr>
[% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.estimated_time, editable = 1
%]
<th> <th>
<label for="estimated_time">Orig. Est.</label> Current Est.:
</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
</th> </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> <th>
<label for="deadline">Deadline</label> Gain:
</th> </th>
[% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.deadline, editable = 1
%]
</tr> </tr>
<tr> <tr>
<td> <td>
......
...@@ -127,7 +127,9 @@ ...@@ -127,7 +127,9 @@
</tr> </tr>
[% IF user.is_timetracker %] [% IF user.is_timetracker %]
<tr> <tr>
<th><label for="estimated_time">Estimated Hours:</label></th> [% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.estimated_time, editable = 1
%]
<td> <td>
<input id="estimated_time" <input id="estimated_time"
name="estimated_time" name="estimated_time"
...@@ -139,7 +141,9 @@ ...@@ -139,7 +141,9 @@
editable = 1, allow_dont_change = 1 %] editable = 1, allow_dont_change = 1 %]
</tr> </tr>
<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> <td>
<input id="remaining_time" <input id="remaining_time"
name="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