2023-04-29 13:43:01 -06:00
|
|
|
<div class="user-cards">
|
2020-02-09 13:18:01 -07:00
|
|
|
{{if .CardsTitle}}
|
2015-12-21 05:24:11 -07:00
|
|
|
<h2 class="ui dividing header">
|
|
|
|
{{.CardsTitle}}
|
|
|
|
</h2>
|
2020-02-09 13:18:01 -07:00
|
|
|
{{end}}
|
2015-12-21 05:24:11 -07:00
|
|
|
<ul class="list">
|
|
|
|
{{range .Cards}}
|
|
|
|
<li class="item ui segment">
|
|
|
|
<a href="{{.HomeLink}}">
|
2023-08-09 21:19:39 -06:00
|
|
|
{{ctx.AvatarUtils.Avatar .}}
|
2015-12-21 05:24:11 -07:00
|
|
|
</a>
|
|
|
|
<h3 class="name"><a href="{{.HomeLink}}">{{.DisplayName}}</a></h3>
|
|
|
|
|
|
|
|
<div class="meta">
|
|
|
|
{{if .Website}}
|
2020-09-11 14:19:00 -06:00
|
|
|
{{svg "octicon-link"}} <a href="{{.Website}}" target="_blank" rel="noopener noreferrer">{{.Website}}</a>
|
2015-12-21 05:24:11 -07:00
|
|
|
{{else if .Location}}
|
2020-09-11 14:19:00 -06:00
|
|
|
{{svg "octicon-location"}} {{.Location}}
|
2015-12-21 05:24:11 -07:00
|
|
|
{{else}}
|
2023-09-25 07:15:51 -06:00
|
|
|
{{svg "octicon-calendar"}} {{ctx.Locale.Tr "user.joined_on" (DateTime "short" .CreatedUnix) | Safe}}
|
2015-12-21 05:24:11 -07:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
|
2022-08-25 15:55:52 -06:00
|
|
|
{{template "base/paginate" .}}
|
2016-07-23 11:08:22 -06:00
|
|
|
</div>
|