@(issue: model.Issue, comments: List[model.IssueComment], issueLabels: List[model.Label], repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("%s - Issue #%d - %s/%s".format(issue.title, issue.issueId, repository.owner, repository.name)){ @html.header("issues", repository) @tab("issues", repository)
Edit
@issue.openedUserName opened this issue @datetime(issue.registeredDate)

#### @issue.title

@markdown(issue.content getOrElse "No description given.", repository, false, true, true)
@comments.map { comment =>
@comment.commentedUserName commented @datetime(comment.registeredDate)
@markdown(comment.content, repository, false, true, true)
@comment.action.map { action =>
@if(action == "close"){ Closed @comment.commentedUserName closed the issue @datetime(comment.registeredDate) } else { Reopened @comment.commentedUserName reopened the issue @datetime(comment.registeredDate) }
} }
@helper.html.preview(repository, "", false, true, true, "width: 730px; height: 100px;")
@if(issue.closed) { Closed } else { Open }
@comments.size comments

Labels

@issueLabels.map { label =>
- @label.labelName
}

}