aboutsummaryrefslogtreecommitdiff
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-10-22 20:01:38 +0800
committerGitHub <noreply@github.com>2022-10-22 20:01:38 +0800
commitce25881c880d9711f211be05f92a809304a436e3 (patch)
tree9239c155c8276761de6639fd19b0a56e87eedde5 /templates/org/home.tmpl
parent7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (diff)
refactor(db): move some methods off `user.go` (#7199)
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index 5bbe079c..83ec5952 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -3,7 +3,7 @@
<div class="ui container">
<div class="ui grid">
<div class="ui sixteen wide column">
- <img class="ui left" id="org-avatar" src="{{.Org.RelAvatarLink}}?s=140"/>
+ <img class="ui left" id="org-avatar" src="{{.Org.AvatarURLPath}}?s=140"/>
<div id="org-info">
<div class="ui header">
{{.Org.DisplayName}}
@@ -48,7 +48,7 @@
{{$isMember := .IsOrganizationMember}}
{{range .Members}}
{{if or $isMember (.IsPublicMember $.Org.ID)}}
- <a href="{{.HomeLink}}" title="{{.Name}}{{if .FullName}} ({{.FullName}}){{end}}"><img class="ui avatar" src="{{.RelAvatarLink}}"></a>
+ <a href="{{.HomeURLPath}}" title="{{.Name}}{{if .FullName}} ({{.FullName}}){{end}}"><img class="ui avatar" src="{{.AvatarURLPath}}"></a>
{{end}}
{{end}}
</div>