summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorLiam Monahan <liam@umiacs.umd.edu>2014-10-07 12:50:13 -0400
committerLiam Monahan <liam@umiacs.umd.edu>2014-10-08 09:00:47 -0400
commit48bc9e36235e2348eae77be461863b78896fdcf7 (patch)
tree3b36fdd881add49b694e99ae108c7ccd4a34aa00 /app
parent51ed8b7edd119897a4a0b2f5948d049dfc8691a4 (diff)
downloadgitlab-ce-48bc9e36235e2348eae77be461863b78896fdcf7.tar.gz
Correctly pluralize participants on issue show page.
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/issues/show.html.haml3
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)