summaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-29 07:22:04 +0100
committerGitHub <noreply@github.com>2020-11-29 01:22:04 -0500
commite00a3554279d314a4dab4ce11bdd86707201d0d2 (patch)
treefaad207d4afb3921143d78a59b1465b068648049 /templates/org/home.tmpl
parentda4bb6fc4ef552865816303fc9c0db25509ff626 (diff)
downloadgitea-e00a3554279d314a4dab4ce11bdd86707201d0d2.tar.gz
gitea-e00a3554279d314a4dab4ce11bdd86707201d0d2.zip
Dropdowns, Labels fixes and more CSS tweaks (#13733)
* Dropdowns and Labels fixes - Rework dropdown, menu and label styles - Improve issue sidebar milestone and label sections - Fix archived repo and private org badge - Move more colors to CSS vars - Move issue number to end of title on issue page * more dropdown fixes * fix basic blue labels - fixes #13731 * improve class setting on svg Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index 7f72c61e92..12630b70d7 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="organization profile">
+<div class="organization profile mt-5">
{{/* overflow: auto is the clearfix - this avoids the image going beyond
the container where it is supposed to stay inside. */}}
<div class="ui container" style="overflow: auto">
@@ -8,8 +8,8 @@
<div class="ui header">
{{.Org.DisplayName}}
<span class="org-visibility">
- {{if .Org.Visibility.IsLimited}}<div class="ui large orange horizontal label">{{.i18n.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
- {{if .Org.Visibility.IsPrivate}}<div class="ui large red horizontal label">{{.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
+ {{if .Org.Visibility.IsLimited}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
+ {{if .Org.Visibility.IsPrivate}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
</span>
{{if .IsOrganizationOwner}}<a class="middle text grey" href="{{.OrgLink}}/settings">{{svg "octicon-gear"}}</a>{{end}}
</div>