diff options
Diffstat (limited to 'templates/user/dashboard/navbar.tmpl')
-rw-r--r-- | templates/user/dashboard/navbar.tmpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index 02f21048..d2600168 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -10,18 +10,18 @@ {{.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 if .PageIsPulls}}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.RelAvatarLink}}"> {{.SignedUser.Name}} </a> {{range .Orgs}} - <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}}"> + <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="{{.RelAvatarLink}}"> {{.ShortName 20}} </a> {{end}} </div> - <a class="item" href="{{AppSubUrl}}/org/create"> + <a class="item" href="{{AppSubURL}}/org/create"> <i class="octicon octicon-plus"></i> {{.i18n.Tr "new_org"}} </a> </div> @@ -30,13 +30,13 @@ {{if .ContextUser.IsOrganization}} <div class="ui right"> <div class="ui secondary head menu"> - <a class="{{if .PageIsNews}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/dashboard"> + <a class="{{if .PageIsNews}}active{{end}} item" href="{{AppSubURL}}/org/{{.ContextUser.Name}}/dashboard"> <i class="octicon octicon-rss"></i> {{.i18n.Tr "activities"}} </a> - <a class="{{if .PageIsIssues}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/issues"> + <a class="{{if .PageIsIssues}}active{{end}} item" href="{{AppSubURL}}/org/{{.ContextUser.Name}}/issues"> <i class="octicon octicon-issue-opened"></i> {{.i18n.Tr "issues"}} </a> - <a class="{{if .PageIsPulls}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/pulls"> + <a class="{{if .PageIsPulls}}active{{end}} item" href="{{AppSubURL}}/org/{{.ContextUser.Name}}/pulls"> <i class="octicon octicon-git-pull-request"></i> {{.i18n.Tr "pull_requests"}} </a> <div class="right menu"> |