(refs #33)Small fix for pull request #45.

This commit is contained in:
takezoe
2013-07-22 12:25:28 +09:00
parent be78d93c1f
commit 5a9645829d
2 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
@(issue: model.Issue,
comments: List[model.IssueComment],
participants: Set[String],
issueLabels: List[model.Label],
collaborators: List[String],
milestones: List[model.Milestone],
@@ -83,8 +82,10 @@
</div>
</div>
<div class="issue-participants">
@participants.size participants
@participants.map { participant => @avatar(participant, 20) }
@defining((issue.openedUserName :: comments.map(_.commentedUserName)).distinct){ participants =>
<strong>@participants.size</strong> @plural(participants.size, "participant")
@participants.map { participant => <a href="@url(participant)">@avatar(participant, 20, tooltip = true)</a> }
}
</div>
@comments.map { comment =>
@if(comment.action != "close" && comment.action != "reopen"){