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