Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a shortcut to user's profile page to admin user details #27299

Merged
merged 9 commits into from
Oct 8, 2023
7 changes: 7 additions & 0 deletions templates/shared/user/profile_big_avatar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@
{{end}}
</li>
{{end}}
{{if and .IsSigned .IsAdmin}}
techknowlogick marked this conversation as resolved.
Show resolved Hide resolved
<li class="follow">
techknowlogick marked this conversation as resolved.
Show resolved Hide resolved
<a class="ui basic red button" href="{{AppSubUrl}}/admin/users/{{.ContextUser.ID}}">
techknowlogick marked this conversation as resolved.
Show resolved Hide resolved
{{ctx.Locale.Tr "admin.users.details"}}
</a>
</li>
{{end}}
</ul>
</div>
</div>