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