Skip to content

Commit

Permalink
* Fixing file permissions
Browse files Browse the repository at this point in the history
* Internationalizing availability sum
  • Loading branch information
bradbeattie committed Apr 13, 2009
1 parent 65b4f23 commit f44d266
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/schedules_controller.rb
Expand Up @@ -120,7 +120,7 @@ def estimate
# Build issue precedence hierarchy # Build issue precedence hierarchy
floating_issues = Set.new # Issues with no children or parents floating_issues = Set.new # Issues with no children or parents
surfaced_issues = Set.new # Issues with children, but no 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| @open_issues.each do |issue_id, issue|
issue.start_date = nil issue.start_date = nil
issue.due_date = nil issue.due_date = nil
Expand Down
Empty file modified app/helpers/schedules_helper.rb 100755 → 100644
Empty file.
Empty file modified app/models/schedule_closed_entry.rb 100755 → 100644
Empty file.
Empty file modified app/models/schedule_default.rb 100755 → 100644
Empty file.
Empty file modified app/models/schedule_entry.rb 100755 → 100644
Empty file.
Empty file modified app/views/my/blocks/_my_schedule.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/_availability.html.erb 100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion app/views/schedules/_calendar.html.erb 100755 → 100644
Expand Up @@ -36,7 +36,7 @@
<% sum = entries_by_day[day].nil? ? 0 : entries_by_day[day].collect(&:hours).sum %> <% sum = entries_by_day[day].nil? ? 0 : entries_by_day[day].collect(&:hours).sum %>
<%= sum if sum > 0 %> <%= sum if sum > 0 %>
<% available_sum = @availabilities[day].nil? ? 0 : @availabilities[day].collect { |user, hours| hours }.sum %> <% 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> </th>
<% end %> <% end %>
</tr> </tr>
Expand Down
Empty file modified app/views/schedules/_project.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/_sidebar.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/_user.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/default.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/details.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/estimate.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/index.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/schedules/report.html.erb 100755 → 100644
Empty file.
Empty file modified app/views/versions/show.html.erb 100755 → 100644
Empty file.
Empty file modified assets/javascripts/schedules_edit.js 100755 → 100644
Empty file.
Empty file modified assets/stylesheets/schedules.css 100755 → 100644
Empty file.
Empty file modified db/migrate/003_create_schedule_default.rb 100755 → 100644
Empty file.
Empty file modified init.rb 100755 → 100644
Empty file.

0 comments on commit f44d266

Please sign in to comment.