|
1 | | -<div class="ui container tw-flex"> |
2 | | - {{ctx.AvatarUtils.Avatar .Org 100 "org-avatar"}} |
3 | | - <div id="org-info" class="tw-flex tw-flex-col tw-flex-1 tw-break-anywhere"> |
4 | | - <div class="ui header"> |
5 | | - {{.Org.DisplayName}} |
6 | | - <span class="org-visibility"> |
| 1 | +<div class="ui container tw-flex tw-gap-4"> |
| 2 | + <div>{{ctx.AvatarUtils.Avatar .Org 100}}</div> |
| 3 | + <div class="flex-relaxed-list"> |
| 4 | + <div class="ui header flex-left-right tw-m-0"> |
| 5 | + <div class="flex-text-block"> |
| 6 | + <span class="tw-text-2xl">{{.Org.DisplayName}}</span> |
7 | 7 | {{if .Org.Visibility.IsLimited}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.limited_shortname"}}</span>{{end}} |
8 | 8 | {{if .Org.Visibility.IsPrivate}}<span class="ui large basic horizontal label">{{ctx.Locale.Tr "org.settings.visibility.private_shortname"}}</span>{{end}} |
9 | | - </span> |
10 | | - <span class="flex-text-block tw-ml-auto tw-text-16 tw-whitespace-nowrap"> |
| 9 | + </div> |
| 10 | + <div class="flex-text-block"> |
11 | 11 | {{if .EnableFeed}} |
12 | 12 | <a class="ui basic label button" href="{{.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}"> |
13 | 13 | {{svg "octicon-rss" 24}} |
|
16 | 16 | {{if .IsSigned}} |
17 | 17 | {{template "org/follow_unfollow" .}} |
18 | 18 | {{end}} |
19 | | - </span> |
| 19 | + </div> |
20 | 20 | </div> |
21 | | - {{if .RenderedDescription}}<div class="render-content markup">{{.RenderedDescription}}</div>{{end}} |
22 | | - <div class="tw-text-text-light meta tw-mt-1"> |
23 | | - {{if .Org.Location}}<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}} |
24 | | - {{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}} |
25 | | - {{if .IsSigned}} |
26 | | - {{if .Org.Email}}<div class="flex-text-block">{{svg "octicon-mail"}} <a class="muted" href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></div>{{end}} |
| 21 | + {{if .RenderedDescription}} |
| 22 | + <div class="render-content markup">{{.RenderedDescription}}</div> |
| 23 | + {{end}} |
| 24 | + <div> |
| 25 | + {{if .Org.Location}} |
| 26 | + <div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div> |
| 27 | + {{end}} |
| 28 | + {{if .Org.Website}} |
| 29 | + <div class="flex-text-block">{{svg "octicon-link"}} <a class="muted" target="_blank" rel="me" href="{{.Org.Website}}">{{.Org.Website}}</a></div> |
| 30 | + {{end}} |
| 31 | + {{if and .IsSigned .Org.Email}} |
| 32 | + <div class="flex-text-block">{{svg "octicon-mail"}} <a class="muted" href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></div> |
27 | 33 | {{end}} |
28 | 34 | </div> |
29 | 35 | </div> |
|
0 commit comments