<div class="ui container flex-container">
	<div>{{ctx.AvatarUtils.Avatar .Org 100}}</div>
	<div class="flex-relaxed-list tw-flex-1">
		<div class="ui header flex-left-right tw-m-0">
			<div class="flex-text-block">
				<span class="tw-text-2xl">{{.Org.DisplayName}}</span>
				{{if .Org.Visibility.IsLimited}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.limited_shortname"}}</span>{{end}}
				{{if .Org.Visibility.IsPrivate}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.private_shortname"}}</span>{{end}}
			</div>
			<div class="flex-text-block">
				{{if .EnableFeed}}
					<a class="ui basic label button" href="{{.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
						{{svg "octicon-rss" 24}}
					</a>
				{{end}}
				{{if .IsSigned}}
					{{template "org/follow_unfollow" .}}
				{{end}}
			</div>
		</div>
		{{if .RenderedDescription}}
			<div class="render-content markup">{{.RenderedDescription}}</div>
		{{end}}
		<div>
			{{if .Org.Location}}
				<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>
			{{end}}
			{{if .Org.Website}}
				<div class="flex-text-block">{{svg "octicon-link"}} <a class="muted" target="_blank" rel="me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>
			{{end}}
			{{if and .IsSigned .Org.Email}}
				<div class="flex-text-block">{{svg "octicon-mail"}} <a class="muted" href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></div>
			{{end}}
		</div>
	</div>
</div>

{{template "org/menu" .}}
