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