From 5f7d68ec7d74700f54ee6802309c312fd0468657 Mon Sep 17 00:00:00 2001 From: Pami Ketolainen Date: Tue, 26 Jun 2012 21:00:07 +0200 Subject: Bug 766528: Use field-label.html.tmpl for timetracking fields r/a=LpSolit --- template/en/default/bug/edit.html.tmpl | 34 ++++++++++++------------ template/en/default/list/edit-multiple.html.tmpl | 8 ++++-- 2 files changed, 23 insertions(+), 19 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index acb0dc733..cecf16784 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -956,27 +956,27 @@ [% BLOCK section_timetracking %] + [% INCLUDE "bug/field-label.html.tmpl" + field = bug_fields.estimated_time, editable = 1 + %] - - - - - + [% 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 + %] + [% INCLUDE "bug/field-label.html.tmpl" + field = bug_fields.deadline, editable = 1 + %] [% IF user.is_timetracker %] - + [% INCLUDE "bug/field-label.html.tmpl" + field = bug_fields.estimated_time, editable = 1 + %] - + [% INCLUDE "bug/field-label.html.tmpl" + field = bug_fields.remaining_time, editable = 1 + %]
- - - Current Est. - - - - - - %Complete - - Gain + Current Est.: - + Gain:
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index 18179d20c..c4a7ef964 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -127,7 +127,9 @@