Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

* Fixing file permissions

* Internationalizing availability sum
  • Loading branch information...
commit f44d266bf74d0ea6668b646f5727ffaf857a4824 1 parent 65b4f23
Brad Beattie authored
2  app/controllers/schedules_controller.rb
@@ -120,7 +120,7 @@ def estimate
120 120 # Build issue precedence hierarchy
121 121 floating_issues = Set.new # Issues with no children or parents
122 122 surfaced_issues = Set.new # Issues with children, but no parents
123   - buried_issues = Set.new # Issues with parents
  123 + buried_issues = Set.new # Issues with parents
124 124 @open_issues.each do |issue_id, issue|
125 125 issue.start_date = nil
126 126 issue.due_date = nil
0  app/helpers/schedules_helper.rb 100755 → 100644
File mode changed
0  app/models/schedule_closed_entry.rb 100755 → 100644
File mode changed
0  app/models/schedule_default.rb 100755 → 100644
File mode changed
0  app/models/schedule_entry.rb 100755 → 100644
File mode changed
0  app/views/my/blocks/_my_schedule.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/_availability.html.erb 100755 → 100644
File mode changed
2  app/views/schedules/_calendar.html.erb 100755 → 100644
@@ -36,7 +36,7 @@
36 36 <% sum = entries_by_day[day].nil? ? 0 : entries_by_day[day].collect(&:hours).sum %>
37 37 <%= sum if sum > 0 %>
38 38 <% available_sum = @availabilities[day].nil? ? 0 : @availabilities[day].collect { |user, hours| hours }.sum %>
39   - <%= "<span class='schedule_available'>("+available_sum.to_s+" available)</em>" if available_sum > 0 %>
  39 + <%= "<span class='schedule_available'>(#{available_sum.to_s} #{l(:label_schedules_available).downcase})</em>" if available_sum > 0 %>
40 40 </th>
41 41 <% end %>
42 42 </tr>
0  app/views/schedules/_project.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/_sidebar.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/_user.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/default.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/details.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/estimate.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/index.html.erb 100755 → 100644
File mode changed
0  app/views/schedules/report.html.erb 100755 → 100644
File mode changed
0  app/views/versions/show.html.erb 100755 → 100644
File mode changed
0  assets/javascripts/schedules_edit.js 100755 → 100644
File mode changed
0  assets/stylesheets/schedules.css 100755 → 100644
File mode changed
0  db/migrate/003_create_schedule_default.rb 100755 → 100644
File mode changed
0  init.rb 100755 → 100644
File mode changed

0 comments on commit f44d266

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