2015-12-21 05:24:11 -07:00
|
|
|
<div class="ui container 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}}">
|
2016-08-05 12:12:54 -07:00
|
|
|
<img class="avatar" src="{{.RelAvatarLink}}"/>
|
2015-12-21 05:24:11 -07:00
|
|
|
</a>
|
|
|
|
<h3 class="name"><a href="{{.HomeLink}}">{{.DisplayName}}</a></h3>
|
|
|
|
|
|
|
|
<div class="meta">
|
|
|
|
{{if .Website}}
|
2020-02-11 10:02:41 -07:00
|
|
|
{{svg "octicon-link" 16}} <a href="{{.Website}}" target="_blank" rel="noopener noreferrer">{{.Website}}</a>
|
2015-12-21 05:24:11 -07:00
|
|
|
{{else if .Location}}
|
2020-02-11 10:02:41 -07:00
|
|
|
{{svg "octicon-location" 16}} {{.Location}}
|
2015-12-21 05:24:11 -07:00
|
|
|
{{else}}
|
2020-02-11 10:02:41 -07:00
|
|
|
{{svg "octicon-clock" 16}} {{$.i18n.Tr "user.join_on"}} {{.CreatedUnix.FormatShort}}
|
2015-12-21 05:24:11 -07:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
|
2019-04-19 21:15:19 -07:00
|
|
|
{{ template "base/paginate" . }}
|
2016-07-23 10:08:22 -07:00
|
|
|
</div>
|