@(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){ @commitStateIcon(status.state.get) }else{ @commitStateIcon(status.state.get) } }else{ @defining(status.count==status.successCount){ isSuccess => @if(isSuccess){ ✔ }else{ × } } } }