@(issue: model.Issue, issueLabels: List[model.Label], labels: List[model.Label], hasWritePermission: Boolean, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import view.helpers._
Labels @if(hasWritePermission){
@helper.html.dropdown(right = true) { @labels.map { label =>
- @helper.html.checkicon(issueLabels.exists(_.labelId == label.labelId)) @label.labelName
} }
}