summaryrefslogtreecommitdiffstats
path: root/templates/explore/users.tmpl
blob: 336daea7c8a2c203d995d7bb6ac2d197b9265055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
	{{template "explore/navbar" .}}
	<div class="ui container">
		{{template "explore/search" .}}

		<div class="ui user list">
			{{range .Users}}
				<div class="item">
					{{avatar .}}
					<div class="content">
						<span class="header"><a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}</span>
						<div class="description">
							{{if .Location}}
								{{svg "octicon-location"}} {{.Location}}
							{{end}}
							{{if and $.ShowUserEmail .Email $.IsSigned (not .KeepEmailPrivate)}}
								{{svg "octicon-mail"}}
								<a href="mailto:{{.Email}}" rel="nofollow">{{.Email}}</a>
							{{end}}
							{{svg "octicon-clock"}} {{$.locale.Tr "user.join_on"}} <time data-format="short-date" datetime="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</time>
						</div>
					</div>
				</div>
			{{else}}
				<div>{{$.locale.Tr "explore.user_no_results"}}</div>
			{{end}}
		</div>

		{{template "base/paginate" .}}
	</div>
</div>
{{template "base/footer" .}}