2015-12-21 13:24:11 +01:00
|
|
|
<div class="ui container user-cards">
|
2020-02-09 21:18:01 +01:00
|
|
|
{{if .CardsTitle}}
|
2015-12-21 13:24:11 +01:00
|
|
|
<h2 class="ui dividing header">
|
|
|
|
{{.CardsTitle}}
|
|
|
|
</h2>
|
2020-02-09 21:18:01 +01:00
|
|
|
{{end}}
|
2015-12-21 13:24:11 +01:00
|
|
|
<ul class="list">
|
|
|
|
{{range .Cards}}
|
|
|
|
<li class="item ui segment">
|
|
|
|
<a href="{{.HomeLink}}">
|
2016-08-05 21:12:54 +02:00
|
|
|
<img class="avatar" src="{{.RelAvatarLink}}"/>
|
2015-12-21 13:24:11 +01:00
|
|
|
</a>
|
|
|
|
<h3 class="name"><a href="{{.HomeLink}}">{{.DisplayName}}</a></h3>
|
|
|
|
|
|
|
|
<div class="meta">
|
|
|
|
{{if .Website}}
|
2018-07-04 01:52:36 +02:00
|
|
|
<span class="octicon octicon-link"></span> <a href="{{.Website}}" target="_blank" rel="noopener noreferrer">{{.Website}}</a>
|
2015-12-21 13:24:11 +01:00
|
|
|
{{else if .Location}}
|
2016-07-16 06:45:13 +02:00
|
|
|
<span class="octicon octicon-location"></span> {{.Location}}
|
2015-12-21 13:24:11 +01:00
|
|
|
{{else}}
|
2017-12-11 05:37:04 +01:00
|
|
|
<span class="octicon octicon-clock"></span> {{$.i18n.Tr "user.join_on"}} {{.CreatedUnix.FormatShort}}
|
2015-12-21 13:24:11 +01:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
|
2019-04-20 06:15:19 +02:00
|
|
|
{{ template "base/paginate" . }}
|
2016-07-23 19:08:22 +02:00
|
|
|
</div>
|