2024-03-22 16:45:10 +03:00
<div class="ui container tw-flex">
2024-02-23 03:24:57 +03:00
{{ ctx .AvatarUtils .Avatar .Org 1 0 0 "org-avatar" }}
2024-03-22 16:45:10 +03:00
<div id="org-info" class="tw-flex tw-flex-col">
2024-02-23 03:24:57 +03:00
<div class="ui header">
{{ .Org .DisplayName }}
<span class="org-visibility">
{{ 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 }}
</span>
2024-03-24 17:31:35 +03:00
<span class="tw-flex tw-items-center tw-gap-1 tw-ml-auto tw-text-16 tw-whitespace-nowrap">
2024-02-23 03:24:57 +03:00
{{ if .EnableFeed }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 19:42:49 +03:00
<a class="ui basic label button tw-mr-0" href=" {{ .Org .HomeLink }} .rss" data-tooltip-content=" {{ ctx .Locale .Tr "rss_feed" }} ">
2024-02-23 03:24:57 +03:00
{{ svg "octicon-rss" 2 4 }}
</a>
{{ end }}
{{ if .IsSigned }}
{{ template "org/follow_unfollow" . }}
{{ end }}
</span>
</div>
2024-03-01 10:11:51 +03:00
{{ if .RenderedDescription }} <div class="render-content markup"> {{ .RenderedDescription }} </div> {{ end }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 19:42:49 +03:00
<div class="text light meta tw-mt-1">
2024-02-23 03:24:57 +03:00
{{ 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="noopener noreferrer me" href=" {{ .Org .Website }} "> {{ .Org .Website }} </a></div> {{ end }}
{{ if .IsSigned }}
{{ if .Org .Email }} <div class="flex-text-block"> {{ svg "octicon-mail" }} <a class="muted" href="mailto: {{ .Org .Email }} "> {{ .Org .Email }} </a></div> {{ end }}
{{ end }}
2015-08-26 16:45:51 +03:00
</div>
</div>
2024-02-23 03:24:57 +03:00
</div>
2021-11-24 19:12:54 +03:00
{{ template "org/menu" . }}