aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore/organizations.tmpl
blob: 36267baf33954f39440c42634ef7b004c4b29f0b (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
38
{{template "base/head" .}}
<div 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}}
							{{if .Visibility.IsPrivate}}
								<span class="ui basic label">{{$.locale.Tr "repo.desc.private"}}</span>
							{{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}}
							{{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.org_no_results"}}</div>
			{{end}}
		</div>

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