Skip to content

Commit

Permalink
Change pourcent to percent
Browse files Browse the repository at this point in the history
Closes #44, #45
  • Loading branch information
stgeneral committed Mar 28, 2015
1 parent f636a1e commit b615f3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/progressive/project_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def issues_progress(open)
end
end

# Cloned from Version#completed_pourcent
# Cloned from Version#completed_percent
def issues_completed_percent
if issues.count == 0
0
Expand Down
2 changes: 1 addition & 1 deletion lib/progressive/projects_helper_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def render_project_progress_bars(project)
"<small> / " + link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), :controller => 'issues', :action => 'index', :project_id => version.project, :status_id => 'c', :fixed_version_id => version, :set_filter => 1) + "</small>" + ". "
s << due_date_tag(version.effective_date) if version.effective_date
s << "<br>" +
progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '30em', :legend => ('%0.0f%' % version.completed_pourcent))
progress_bar([version.closed_percent, version.completed_percent], :width => '30em', :legend => ('%0.0f%' % version.completed_percent))
end
s << "</div>"
end
Expand Down

0 comments on commit b615f3a

Please sign in to comment.