@(issue: gitbucket.core.model.Issue, statusInfo: Option[gitbucket.core.service.IssuesService.CommitStatusInfo])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @statusInfo.map{ status => @if(status.count==1 && status.state.isDefined){ @if(status.targetUrl.isDefined){ @helpers.commitStateIcon(status.state.get) }else{ @helpers.commitStateIcon(status.state.get) } }else{ @defining(status.count==status.successCount){ isSuccess => @if(isSuccess){ ✔ }else{ × } } } }