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