2016-09-01 21:08:05 +08:00
|
|
|
{{template "base/head" .}}
|
2020-12-01 12:00:14 +08:00
|
|
|
<div class="page-content explore users">
|
2017-03-16 02:55:12 +08:00
|
|
|
{{template "explore/navbar" .}}
|
2016-09-01 21:08:05 +08:00
|
|
|
<div class="ui container">
|
2017-03-16 02:55:12 +08:00
|
|
|
{{template "explore/search" .}}
|
2016-09-01 21:08:05 +08:00
|
|
|
|
2017-03-16 02:55:12 +08:00
|
|
|
<div class="ui user list">
|
|
|
|
{{range .Users}}
|
|
|
|
<div class="item">
|
2020-12-04 02:46:11 +08:00
|
|
|
{{avatar .}}
|
2021-04-11 11:46:37 +08:00
|
|
|
<div class="content">
|
|
|
|
<span class="header">
|
|
|
|
<a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}
|
|
|
|
{{if .Visibility.IsPrivate}}
|
2022-06-28 04:58:46 +08:00
|
|
|
<span class="ui basic label">{{$.locale.Tr "repo.desc.private"}}</span>
|
2021-04-11 11:46:37 +08:00
|
|
|
{{end}}
|
|
|
|
</span>
|
|
|
|
<div class="description">
|
|
|
|
{{if .Location}}
|
|
|
|
{{svg "octicon-location"}} {{.Location}}
|
|
|
|
{{end}}
|
|
|
|
{{if and .Website}}
|
|
|
|
{{svg "octicon-link"}}
|
|
|
|
<a href="{{.Website}}" rel="nofollow">{{.Website}}</a>
|
|
|
|
{{end}}
|
2022-10-17 12:08:21 +08:00
|
|
|
{{svg "octicon-clock"}} {{$.locale.Tr "user.join_on"}} <time data-format="short-date" datetime="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</time>
|
2021-04-11 11:46:37 +08:00
|
|
|
</div>
|
2017-03-16 02:55:12 +08:00
|
|
|
</div>
|
2016-09-01 21:08:05 +08:00
|
|
|
</div>
|
2017-03-16 02:55:12 +08:00
|
|
|
{{else}}
|
2022-06-28 04:58:46 +08:00
|
|
|
<div>{{$.locale.Tr "explore.org_no_results"}}</div>
|
2017-03-16 02:55:12 +08:00
|
|
|
{{end}}
|
2016-09-01 21:08:05 +08:00
|
|
|
</div>
|
2017-03-16 02:55:12 +08:00
|
|
|
|
|
|
|
{{template "base/paginate" .}}
|
2016-09-01 21:08:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|