summaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index 54474965bd..a0f37a8009 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -1,9 +1,7 @@
{{template "base/head" .}}
<div class="page-content organization profile">
- {{/* overflow: auto is the clearfix - this avoids the image going beyond
- the container where it is supposed to stay inside. */}}
- <div class="ui container" style="overflow: auto">
- <img class="ui left" id="org-avatar" src="{{.Org.SizedRelAvatarLink 140}}"/>
+ <div class="ui container df">
+ {{avatar .Org 140 "org-avatar"}}
<div id="org-info">
<div class="ui header">
{{.Org.DisplayName}}
@@ -53,7 +51,9 @@
{{$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="{{.HomeLink}}" title="{{.Name}}{{if .FullName}} ({{.FullName}}){{end}}">
+ {{avatar .}}
+ </a>
{{end}}
{{end}}
</div>