summaryrefslogtreecommitdiffstats
path: root/templates/explore/users.tmpl
blob: 09091df253a4308e136be9e4aa07695935608a26 (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
34
35
36
37
{{template "base/head" .}}
<div class="explore users">
	<div class="ui container">
		<div class="ui grid">
			{{template "explore/navbar" .}}
			<div class="twelve wide column content">
				{{template "explore/search" .}}

				<div class="ui user list">
					{{range .Users}}
						<div class="item">
						  <img class="ui avatar image" src="{{.RelAvatarLink}}">
						  <div class="content">
						  	<span class="header"><a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}</span>
						    <div class="description">
									{{if .Location}}
										<i class="octicon octicon-location"></i> {{.Location}}
									{{end}}
									{{if and .Email $.IsSigned}}
										<i class="octicon octicon-mail"></i>
										<a href="mailto:{{.Email}}" rel="nofollow">{{.Email}}</a>
									{{end}}
									<i class="octicon octicon-clock"></i> {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}}
						    </div>
						  </div>
						</div>
					{{else}}
						<div>{{$.i18n.Tr "explore.user_no_results"}}</div>
					{{end}}
				</div>

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