@(issue: gitbucket.core.model.Issue, reopenable: Boolean, isEditable: Boolean, isManageable: Boolean, repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @if(isEditable){

@gitbucket.core.helper.html.preview( repository = repository, content = "", enableWikiLink = false, enableRefsLink = true, enableLineBreaks = true, enableTaskList = true, hasWritePermission = isEditable, completionContext = "issues", style = "", elastic = true, tabIndex = 1 )
@if((reopenable || !issue.closed) && (isManageable || issue.openedUserName == context.loginAccount.get.userName)){
} else { }
}