aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/navbar.tmpl
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-12-12 14:10:20 +0100
committerGitHub <noreply@github.com>2020-12-12 14:10:20 +0100
commit6074e13c8d26084bc74de38bb7414a971fd5fbf8 (patch)
treef77735daeb248906e714a3ae2a13682dff647567 /templates/user/dashboard/navbar.tmpl
parentf8e9a3df40e34945acb5c82ee9e4342b9d8f4aaf (diff)
downloadgitea-6074e13c8d26084bc74de38bb7414a971fd5fbf8.tar.gz
gitea-6074e13c8d26084bc74de38bb7414a971fd5fbf8.zip
Fix missing username on dashboard context switch navbar (#13959)
Diffstat (limited to 'templates/user/dashboard/navbar.tmpl')
-rw-r--r--templates/user/dashboard/navbar.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl
index 25670f470b..890b192f9a 100644
--- a/templates/user/dashboard/navbar.tmpl
+++ b/templates/user/dashboard/navbar.tmpl
@@ -20,6 +20,7 @@
<div class="scrolling menu items">
<a class="{{if eq .ContextUser.ID .SignedUser.ID}}active selected{{end}} item" href="{{AppSubUrl}}/{{if .PageIsIssues}}issues{{else if .PageIsPulls}}pulls{{else if .PageIsMilestonesDashboard}}milestones{{end}}">
{{avatar .SignedUser}}
+ {{.SignedUser.ShortName 20}}
</a>
{{range .Orgs}}
<a class="{{if eq $.ContextUser.ID .ID}}active selected{{end}} item" title="{{.Name}}" href="{{AppSubUrl}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else if $.PageIsMilestonesDashboard}}milestones{{else}}dashboard{{end}}">