diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-10 08:30:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-10 08:30:35 +0000 |
commit | 7154c6f598cbe4fa37ba14c2fac17f12bdc2b6de (patch) | |
tree | 7146381f62a53d3a03b9bf0ae9395de45795360a /app | |
parent | daf1342c047d43779b609bdfb94b14cb7725dcae (diff) | |
download | redmine-7154c6f598cbe4fa37ba14c2fac17f12bdc2b6de.tar.gz redmine-7154c6f598cbe4fa37ba14c2fac17f12bdc2b6de.zip |
Do not hide estimated_hours when field is not disabled (#24015).
git-svn-id: http://svn.redmine.org/redmine/trunk@15906 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/issues/show.html.erb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 2cbff32e5..f8849052d 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -58,9 +58,7 @@ rows.right l(:field_done_ratio), progress_bar(@issue.done_ratio, :legend => "#{@issue.done_ratio}%"), :class => 'progress' end unless @issue.disabled_core_fields.include?('estimated_hours') - if @issue.estimated_hours.present? || @issue.total_estimated_hours.to_f > 0 - rows.right l(:field_estimated_hours), issue_estimated_hours_details(@issue), :class => 'estimated-hours' - end + rows.right l(:field_estimated_hours), issue_estimated_hours_details(@issue), :class => 'estimated-hours' end if User.current.allowed_to_view_all_time_entries?(@project) if @issue.total_spent_hours > 0 |