aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/nav.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/dashboard/nav.tmpl')
-rw-r--r--templates/user/dashboard/nav.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/user/dashboard/nav.tmpl b/templates/user/dashboard/nav.tmpl
index d0820c8ec1..0549bbe949 100644
--- a/templates/user/dashboard/nav.tmpl
+++ b/templates/user/dashboard/nav.tmpl
@@ -33,11 +33,9 @@
</ul>
</div>
</li>
- {{if not .ContextUser.IsOrganization}}
<li class="right">
- <a {{if $.PageIsIssues}}class="current"{{end}} href="{{.ContextUser.DashboardLink}}issues"><i class="octicon octicon-issue-opened"></i>{{.i18n.Tr "issues"}}</a>
+ <a {{if $.PageIsIssues}}class="current"{{end}} href="{{AppSubUrl}}/{{if .ContextUser.IsOrganization}}org/{{.ContextUser.Name}}/{{end}}issues"><i class="octicon octicon-issue-opened"></i>{{.i18n.Tr "issues"}}</a>
</li>
- {{end}}
<!-- <li class="right">
<a {{if .PageIsPulls}}class="current"{{end}} href="{{.ContextUser.DashboardLink}}pulls"><i class="octicon octicon-git-pull-request"></i>{{.i18n.Tr "pull_requests"}}</a>
</li> -->