diff options
author | Joe Chen <jc@unknwon.io> | 2022-10-22 20:01:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 20:01:38 +0800 |
commit | ce25881c880d9711f211be05f92a809304a436e3 (patch) | |
tree | 9239c155c8276761de6639fd19b0a56e87eedde5 /templates/org/team | |
parent | 7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (diff) |
refactor(db): move some methods off `user.go` (#7199)
Diffstat (limited to 'templates/org/team')
-rw-r--r-- | templates/org/team/members.tmpl | 4 | ||||
-rw-r--r-- | templates/org/team/teams.tmpl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl index ca5aceea..7ab9bdbf 100644 --- a/templates/org/team/members.tmpl +++ b/templates/org/team/members.tmpl @@ -15,8 +15,8 @@ {{if $.IsOrganizationOwner}} <a class="ui red small button right" href="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/remove?uid={{.ID}}">{{$.i18n.Tr "org.members.remove"}}</a> {{end}} - <a href="{{.HomeLink}}"> - <img class="ui avatar image" src="{{.RelAvatarLink}}"> + <a href="{{.HomeURLPath}}"> + <img class="ui avatar image" src="{{.AvatarURLPath}}"> {{.DisplayName}} </a> </div> diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl index 2b4445ca..a808e24a 100644 --- a/templates/org/team/teams.tmpl +++ b/templates/org/team/teams.tmpl @@ -25,8 +25,8 @@ </div> <div class="ui attached segment members"> {{range .Members}} - <a href="{{.HomeLink}}" title="{{.Name}}"> - <img class="ui avatar image" src="{{.RelAvatarLink}}"> + <a href="{{.HomeURLPath}}" title="{{.Name}}"> + <img class="ui avatar image" src="{{.AvatarURLPath}}"> </a> {{end}} </div> |