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 .}}
|
2017-03-16 02:55:12 +08:00
|
|
|
<div class="content">
|
2019-02-19 00:00:27 +08:00
|
|
|
<span class="header">
|
|
|
|
<a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}
|
|
|
|
{{if .Visibility.IsPrivate}}
|
2021-01-04 20:18:12 +08:00
|
|
|
<span class="ui basic label">{{$.i18n.Tr "repo.desc.private"}}</span>
|
2019-02-19 00:00:27 +08:00
|
|
|
{{end}}
|
|
|
|
</span>
|
2017-03-16 02:55:12 +08:00
|
|
|
<div class="description">
|
2020-02-12 01:02:41 +08:00
|
|
|
{{if .Location}}
|
2020-09-12 04:19:00 +08:00
|
|
|
{{svg "octicon-location"}} {{.Location}}
|
2020-02-12 01:02:41 +08:00
|
|
|
{{end}}
|
|
|
|
{{if and .Website}}
|
2020-09-12 04:19:00 +08:00
|
|
|
{{svg "octicon-link"}}
|
2020-02-12 01:02:41 +08:00
|
|
|
<a href="{{.Website}}" rel="nofollow">{{.Website}}</a>
|
|
|
|
{{end}}
|
2020-09-12 04:19:00 +08:00
|
|
|
{{svg "octicon-clock"}} {{$.i18n.Tr "user.join_on"}} {{.CreatedUnix.FormatShort}}
|
2017-03-16 02:55:12 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-01 21:08:05 +08:00
|
|
|
</div>
|
2017-03-16 02:55:12 +08:00
|
|
|
{{else}}
|
|
|
|
<div>{{$.i18n.Tr "explore.org_no_results"}}</div>
|
|
|
|
{{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" .}}
|