diff --git a/app/views/issues/_attributes.html.erb b/app/views/issues/_attributes.html.erb index 9dba6a6c8..80c8ad185 100644 --- a/app/views/issues/_attributes.html.erb +++ b/app/views/issues/_attributes.html.erb @@ -25,6 +25,14 @@
  • + + +
  • +
  • <% if @issue.safe_attribute? 'assigned_to_id' %> @@ -74,7 +82,13 @@ <% if @issue.safe_attribute? 'estimated_hours' %> <%= f.text_field :estimated_hours, :size => 22, :disabled => !@issue.leaf?, :no_label => true, :required => @issue.required_attribute?('estimated_hours') %> - <%= l(:field_hours) %> + <% end %> +
  • +
    +
  • + + <% if @issue.safe_attribute? 'estimated_hours' %> + <%= f.text_field :estimated_hours, :size => 22, :disabled => !@issue.leaf?, :no_label => true %> <% end %>
  • diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index 1be21cbc1..d58c4fb6f 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -18,6 +18,10 @@ <% end %> +
  • + + +
  • diff --git a/config/locales/projects/zh.yml b/config/locales/projects/zh.yml index 906ae4243..2b63c45cf 100644 --- a/config/locales/projects/zh.yml +++ b/config/locales/projects/zh.yml @@ -232,7 +232,7 @@ zh: field_closed_on: 已关闭 field_start_date: 开始日期 field_due_date: 计划完成日期 - field_estimated_hours: 预期时间 + field_estimated_hours: 预计工时 (H) field_assigned_to: 指派给 field_priority: 优先级 field_done_ratio: "% 完成"