Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-08 21:15:02 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-08 21:15:02 +0400
commita1e2fb8458f472b73367d44a6c6aa7374a64ca35 (patch)
treef425648607ed8f7ef86511ab670125cf8041f19e /app
parent21e9ed2eaf14b52ac03296a42fe89bb7270d4e19 (diff)
parent48bc9e36235e2348eae77be461863b78896fdcf7 (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.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)