Remove the 'All' tab

This commit is contained in:
Rodrigo Lazoti
2014-11-06 19:01:16 -02:00
parent 29baf1223c
commit c83fab611e
2 changed files with 2 additions and 7 deletions

View File

@@ -29,11 +29,7 @@ trait DashboardControllerBase extends ControllerBase {
})
get("/dashboard/pulls")(usersOnly {
searchPullRequests("all", None)
})
get("/dashboard/pulls/all")(usersOnly {
searchPullRequests("all", None)
searchPullRequests("created_by", None)
})
get("/dashboard/pulls/created_by")(usersOnly {

View File

@@ -9,8 +9,7 @@
@import view.helpers._
@import service.IssuesService.IssueInfo
<ul class="nav nav-pills-group pull-left fill-width">
<li class="@if(filter == "all"){active} first"><a href="@path/dashboard/pulls/all@condition.toURL">All</a></li>
<li class="@if(filter == "created_by"){active}"><a href="@path/dashboard/pulls/created_by@condition.toURL">Created</a></li>
<li class="@if(filter == "created_by"){active} first"><a href="@path/dashboard/pulls/created_by@condition.toURL">Created</a></li>
<li class="@if(filter == "assigned"){active}"><a href="@path/dashboard/pulls/assigned@condition.toURL">Assigned</a></li>
<li class="@if(filter == "mentioned"){active} last"><a href="@path/dashboard/pulls/mentioned@condition.toURL">Mentioned</a></li>
</ul>