mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-04 23:50:46 +02:00
4adee80f58
1. Make team member avatar size=32 2. Add tooltip to the avatar
2 lines
241 B
Go HTML Template
2 lines
241 B
Go HTML Template
<a class="avatar-with-link" {{if .tooltip}}data-tooltip-content="{{.user.Name}}{{if .user.FullName}} ({{.user.FullName}}){{end}}"{{end}} {{if gt .user.ID 0}}href="{{.user.HomeLink}}"{{end}}>{{ctx.AvatarUtils.Avatar .user (or .size 20)}}</a>
|