@(issue: model.Issue, statusInfo: Option[service.IssuesService.CommitStatusInfo])(implicit context: app.Context) @import 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{ × } } } }