diff options
Diffstat (limited to 'templates/explore')
-rw-r--r-- | templates/explore/organizations.tmpl | 2 | ||||
-rw-r--r-- | templates/explore/repo_list.tmpl | 4 | ||||
-rw-r--r-- | templates/explore/users.tmpl | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/templates/explore/organizations.tmpl b/templates/explore/organizations.tmpl index a2d62f3db2..8785ac84db 100644 --- a/templates/explore/organizations.tmpl +++ b/templates/explore/organizations.tmpl @@ -7,7 +7,7 @@ <div class="ui user list"> {{range .Users}} <div class="item"> - <img class="ui avatar image" src="{{.RelAvatarLink}}"> + {{avatar .}} <div class="content"> <span class="header"> <a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}} diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 6899971a06..fe4b278e2c 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -2,9 +2,7 @@ {{range .Repos}} <div class="item"> <div class="ui header"> - {{if .RelAvatarLink}} - <img class="ui avatar image" src="{{.RelAvatarLink}}"> - {{end}} + {{avatar .}} <a class="name" href="{{.Link}}"> {{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}} </a> diff --git a/templates/explore/users.tmpl b/templates/explore/users.tmpl index 64fa93d6e7..cdb8e9d375 100644 --- a/templates/explore/users.tmpl +++ b/templates/explore/users.tmpl @@ -7,7 +7,7 @@ <div class="ui user list"> {{range .Users}} <div class="item"> - <img class="ui avatar image" src="{{.RelAvatarLink}}"> + {{avatar .}} <div class="content"> <span class="header"><a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}</span> <div class="description"> |