File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 13
13
</div>
14
14
<div class="content gt-word-break profile-avatar-name">
15
15
{{if .ContextUser.FullName}}<span class="header text center">{{.ContextUser.FullName}}</span>{{end}}
16
- <span class="username text center">{{.ContextUser.Name}}</span>
16
+ <span class="username text center">{{.ContextUser.Name}} {{if .IsAdmin}}
17
+ <a class="muted" href="{{AppSubUrl}}/admin/users/{{.ContextUser.ID}}" data-tooltip-content="{{ctx.Locale.Tr "admin.users.details"}}">
18
+ {{svg "octicon-gear" 18}}
19
+ </a>
20
+ {{end}}</span>
17
21
<div class="gt-mt-3">
18
22
<a class="muted" href="{{.ContextUser.HomeLink}}?tab=followers">{{svg "octicon-person" 18 "gt-mr-2"}}{{.NumFollowers}} {{ctx.Locale.Tr "user.followers"}}</a> · <a class="muted" href="{{.ContextUser.HomeLink}}?tab=following">{{.NumFollowing}} {{ctx.Locale.Tr "user.following"}}</a>
19
23
{{if .EnableFeed}}
You can’t perform that action at this time.
0 commit comments