Skip to content
Browse files

added effective hours column on the workunits show page for projects

  • Loading branch information...
1 parent 8474b0e commit 3c4fcc43dcb89355333e453856c084f95f69243e rclements committed Apr 2, 2013
Showing with 4 additions and 2 deletions.
  1. +1 −1 app/views/projects/_ticket_table.html.haml
  2. +3 −1 app/views/shared/_work_unit_index.html.haml
View
2 app/views/projects/_ticket_table.html.haml
@@ -5,7 +5,7 @@
%th= t(:tickets)
%th= t(:work_units)
%th= t(:uninvoiced_hours)
- %th= t(:total_hours)
+ %th= t(:total_effective_hours)
%th= t(:percent_complete)
- if admin? || current_user.has_role?(:developer, @project)
%th= t(:edit)
View
4 app/views/shared/_work_unit_index.html.haml
@@ -10,6 +10,7 @@
%th= t(:scheduled_at)
%th= t(:hours_type)
%th= t(:hours)
+ %th= t(:effective_hours)
%tbody
- work_units.each do |work_unit|
%tr{ :class => cycle("odd", "even") }
@@ -21,4 +22,5 @@
%td= link_to work_unit.project, project_path(work_unit.project)
%td= work_unit.scheduled_at
%td= work_unit.hours_type
- %td= work_unit.hours
+ %td= work_unit.hours
+ %td= work_unit.effective_hours

0 comments on commit 3c4fcc4

Please sign in to comment.
Something went wrong with that request. Please try again.