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