@(priority: gitbucket.core.model.Priority, counts: Map[String, Int], repository: gitbucket.core.service.RepositoryService.RepositoryInfo, hasWritePermission: Boolean)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers
@if(hasWritePermission) {
}
@priority.priorityName
@priority.description.getOrElse("")
@if(hasWritePermission){ } else if(priority.isDefault) { }
@counts.get(priority.priorityName).getOrElse(0) open issues
@if(hasWritePermission){
Edit Delete
}