Skip to content
Browse files

* Fixing file permissions

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