diff options
author | Unknwon <u@gogs.io> | 2015-11-13 12:05:48 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-13 12:05:48 -0500 |
commit | 0f438ef0b3fe641df102212becb32cdfb4dd3305 (patch) | |
tree | 55eca7cea3b5b5ff2592426eb9374459c5fef323 /templates/user/dashboard/navbar.tmpl | |
parent | a6c7716742943aa492545716b629a566c4d923de (diff) | |
download | gitea-0f438ef0b3fe641df102212becb32cdfb4dd3305.tar.gz gitea-0f438ef0b3fe641df102212becb32cdfb4dd3305.zip |
new dashboard ui
Diffstat (limited to 'templates/user/dashboard/navbar.tmpl')
-rw-r--r-- | templates/user/dashboard/navbar.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index 5a7fbf7b54..8469e23bc3 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -10,12 +10,12 @@ {{.i18n.Tr "home.switch_dashboard_context"}} </div> <div class="items"> - <a class="{{if eq .ContextUser.Id .SignedUser.Id}}active selected{{end}} item" href="{{AppSubUrl}}/{{if .PageIsIssues}}issues{{else}}pulls{{end}}"> + <a class="{{if eq .ContextUser.Id .SignedUser.Id}}active selected{{end}} item" href="{{AppSubUrl}}/{{if .PageIsIssues}}issues{{else if .PageIsPulls}}pulls{{end}}"> <img class="ui avatar image" src="{{.SignedUser.AvatarLink}}"> {{.SignedUser.Name}} </a> {{range .Orgs}} - <a class="{{if eq $.ContextUser.Id .Id}}active selected{{end}} item" href="{{AppSubUrl}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else}}pulls{{end}}"> + <a class="{{if eq $.ContextUser.Id .Id}}active selected{{end}} item" href="{{AppSubUrl}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else}}dashboard{{end}}"> <img class="ui avatar image" src="{{.AvatarLink}}"> {{.Name}} </a> |