summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-01-27 03:44:34 +0900
committerGitHub <noreply@github.com>2023-01-26 12:44:34 -0600
commit4f8c0eba9a084c43654e50a87b86936fa29fceb4 (patch)
tree3dad6d850cb4966866d5b06e684ea09422a44ffd /templates
parent4d072a4c4e47140550df18edf35d7243ae5edcbd (diff)
downloadgitea-4f8c0eba9a084c43654e50a87b86936fa29fceb4.tar.gz
gitea-4f8c0eba9a084c43654e50a87b86936fa29fceb4.zip
set org visibility class to basic in header (#22605)
Fixes https://github.com/go-gitea/gitea/issues/22601 At people and team page, we have red private tag or orange limited tag, but at repo page, it is gray (basic). I think it is better to set them into same color (basic).
Diffstat (limited to 'templates')
-rw-r--r--templates/org/header.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl
index 582a0c8fb3..1102610e9e 100644
--- a/templates/org/header.tmpl
+++ b/templates/org/header.tmpl
@@ -6,8 +6,8 @@
{{avatar . 100}}
<span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName}}</a></span>
<span class="org-visibility">
- {{if .Visibility.IsLimited}}<div class="ui medium orange horizontal label">{{$.locale.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
- {{if .Visibility.IsPrivate}}<div class="ui medium red horizontal label">{{$.locale.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
+ {{if .Visibility.IsLimited}}<div class="ui medium basic horizontal label">{{$.locale.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
+ {{if .Visibility.IsPrivate}}<div class="ui medium basic horizontal label">{{$.locale.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
</span>
</div>
</div>