aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/header.tmpl
blob: 6593900c1eb8448d73fd7739512c1cc79e8c2109 (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
{{with .Org}}
	<div class="ui container">
		<div class="ui vertically grid head">
			<div class="column">
				<div class="ui header">
					<img class="ui image" src="{{.SizedRelAvatarLink 100}}">
					<span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName}}</a></span>

					<div class="ui right">
						<div class="ui menu">
							<a class="{{if $.PageIsOrgMembers}}active{{end}} item" href="{{$.OrgLink}}/members">
								{{svg "octicon-organization" 16}}&nbsp;{{$.i18n.Tr "org.people"}}
								<div class="floating ui black label">{{.NumMembers}}</div>
							</a>
							<a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
								{{svg "octicon-people" 16}}&nbsp;{{$.i18n.Tr "org.teams"}}
								<div class="floating ui black label">{{.NumTeams}}</div>
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="ui divider"></div>
{{end}}