Skip to content

Commit

Permalink
Fix link path in dashborad.
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe committed Jul 31, 2013
1 parent 9d4a052 commit fd84b3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main/twirl/dashboard/issues.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
<div class="span3">
<ul class="nav nav-pills nav-stacked">
<li@if(filter == "all"){ class="active"}>
<a href="/dashboard/issues/[email protected]">
<a href="@path/dashboard/issues/[email protected]">
<span class="count-right">@allCount</span>
In your repositories
</a>
</li>
<li@if(filter == "assigned"){ class="active"}>
<a href="/dashboard/issues/[email protected]">
<a href="@path/dashboard/issues/[email protected]">
<span class="count-right">@assignedCount</span>
Assigned to you
</a>
</li>
<li@if(filter == "created_by"){ class="active"}>
<a href="/dashboard/issues/[email protected]">
<a href="@path/dashboard/issues/[email protected]">
<span class="count-right">@createdByCount</span>
Created by you
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/main/twirl/dashboard/tab.scala.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@(active: String = "")(implicit context: app.Context)
@import context._
<ul class="nav nav-tabs">
<li@if(active == ""){ class="active"}><a href="/">News Feed</a></li>
<li@if(active == ""){ class="active"}><a href="@path/">News Feed</a></li>
@if(loginAccount.isDefined){
<li@if(active == "issues"){ class="active"}><a href="/dashboard/issues/repos">Issues</a></li>
<li@if(active == "issues"){ class="active"}><a href="@path/dashboard/issues/repos">Issues</a></li>
}
</ul>

0 comments on commit fd84b3f

Please sign in to comment.