@(openCount: Int, closedCount: Int, condition: gitbucket.core.service.IssuesService.IssueSearchCondition, groups: List[String])(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ @openCount Open @closedCount Closed
@helper.html.dropdown("Visibility", flat = true){
- @helper.html.checkicon(condition.visibility == Some("private")) Private repository only
- @helper.html.checkicon(condition.visibility == Some("public")) Public repository only
} @helper.html.dropdown("Organization", flat = true){ @groups.map { group =>
- @helper.html.checkicon(condition.groups.contains(group)) @avatar(group, 20) @group
} } @helper.html.dropdown("Sort", flat = true){
- @helper.html.checkicon(condition.sort == "created" && condition.direction == "desc") Newest
- @helper.html.checkicon(condition.sort == "created" && condition.direction == "asc") Oldest
- @helper.html.checkicon(condition.sort == "comments" && condition.direction == "desc") Most commented
- @helper.html.checkicon(condition.sort == "comments" && condition.direction == "asc") Least commented
- @helper.html.checkicon(condition.sort == "updated" && condition.direction == "desc") Recently updated
- @helper.html.checkicon(condition.sort == "updated" && condition.direction == "asc") Least recently updated
}