diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-08 21:15:02 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-08 21:15:02 +0400 |
commit | a1e2fb8458f472b73367d44a6c6aa7374a64ca35 (patch) | |
tree | f425648607ed8f7ef86511ab670125cf8041f19e /app | |
parent | 21e9ed2eaf14b52ac03296a42fe89bb7270d4e19 (diff) | |
parent | 48bc9e36235e2348eae77be461863b78896fdcf7 (diff) |
Merge pull request #7986 from liammonahan/master
Correctly pluralize participants on issue show page
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/issues/show.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index e1849b3f8b8..71eb0d5c866 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -62,7 +62,8 @@ = link_to 'Close Issue', project_issue_path(@project, @issue, issue: {state_event: :close }, status_only: true), method: :put, class: "btn btn-grouped btn-close js-note-target-close", title: "Close Issue" .participants - %cite.cgray #{@issue.participants.count} participants + %cite.cgray + = pluralize(@issue.participants.count, 'participant') - @issue.participants.each do |participant| = link_to_member(@project, participant, name: false, size: 24) |