2016-03-12 02:03:12 +05:30
|
|
|
{{template "base/head" .}}
|
2023-02-02 04:26:10 +05:30
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
|
2017-03-16 00:25:12 +05:30
|
|
|
{{template "explore/navbar" .}}
|
2016-03-12 02:03:12 +05:30
|
|
|
<div class="ui container">
|
2017-03-16 00:25:12 +05:30
|
|
|
{{template "explore/search" .}}
|
2016-03-12 02:03:12 +05:30
|
|
|
|
2023-08-01 03:43:42 +05:30
|
|
|
<div class="flex-list">
|
2017-03-16 00:25:12 +05:30
|
|
|
{{range .Users}}
|
2023-08-01 03:43:42 +05:30
|
|
|
<div class="flex-item flex-item-center">
|
|
|
|
<div class="flex-item-leading">
|
2023-08-10 08:49:39 +05:30
|
|
|
{{ctx.AvatarUtils.Avatar . 48}}
|
2023-08-01 03:43:42 +05:30
|
|
|
</div>
|
|
|
|
<div class="flex-item-main">
|
|
|
|
<div class="flex-item-title">
|
|
|
|
{{template "shared/user/name" .}}
|
|
|
|
{{if .Visibility.IsPrivate}}
|
|
|
|
<span class="ui basic tiny label">{{$.locale.Tr "repo.desc.private"}}</span>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
<div class="flex-item-body">
|
2021-04-11 09:16:37 +05:30
|
|
|
{{if .Location}}
|
2023-08-01 03:43:42 +05:30
|
|
|
<span class="flex-text-inline">{{svg "octicon-location"}}{{.Location}}</span>
|
2021-04-11 09:16:37 +05:30
|
|
|
{{end}}
|
|
|
|
{{if and $.ShowUserEmail .Email $.IsSigned (not .KeepEmailPrivate)}}
|
2023-08-01 03:43:42 +05:30
|
|
|
<span class="flex-text-inline">
|
|
|
|
{{svg "octicon-mail"}}
|
|
|
|
<a href="mailto:{{.Email}}" rel="nofollow">{{.Email}}</a>
|
|
|
|
</span>
|
2021-04-11 09:16:37 +05:30
|
|
|
{{end}}
|
2023-08-01 03:43:42 +05:30
|
|
|
<span class="flex-text-inline">{{svg "octicon-calendar"}}{{$.locale.Tr "user.joined_on" (DateTime "short" .CreatedUnix) | Safe}}</span>
|
2021-04-11 09:16:37 +05:30
|
|
|
</div>
|
2017-03-16 00:25:12 +05:30
|
|
|
</div>
|
2016-03-12 02:03:12 +05:30
|
|
|
</div>
|
2017-03-16 00:25:12 +05:30
|
|
|
{{else}}
|
2023-08-01 03:43:42 +05:30
|
|
|
<div class="flex-item">{{$.locale.Tr "explore.user_no_results"}}</div>
|
2017-03-16 00:25:12 +05:30
|
|
|
{{end}}
|
2016-03-12 02:03:12 +05:30
|
|
|
</div>
|
2017-03-16 00:25:12 +05:30
|
|
|
|
|
|
|
{{template "base/paginate" .}}
|
2016-03-12 02:03:12 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|