summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-08 12:57:49 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-08 13:06:54 +0100
commit1b5302f8e7050c5c4cd4e7d4cc63be3cd3fbbcb5 (patch)
treec5126efeacd499ae2847b0a0195d735d2ac094a0 /app/views/shared
parent90a46535935115cc3556d6bc0d282938758cd29a (diff)
downloadgitlab-ce-1b5302f8e7050c5c4cd4e7d4cc63be3cd3fbbcb5.tar.gz
Reduce MR/issue duplication
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/issuable/_participants.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_participants.html.haml b/app/views/shared/issuable/_participants.html.haml
new file mode 100644
index 00000000000..b4e0def48b6
--- /dev/null
+++ b/app/views/shared/issuable/_participants.html.haml
@@ -0,0 +1,5 @@
+.participants
+ %span
+ = pluralize @participants.count, "participant"
+ - @participants.each do |participant|
+ = link_to_member(@project, participant, name: false, size: 24)