aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-01-31 16:05:25 +0900
committerGitHub <noreply@github.com>2023-01-31 07:05:25 +0000
commitf47ea60c075ddc09d39bc7817efc7c4d870dcd19 (patch)
tree253d42b970aefd0c8f924be45ae0dabd682fdee1 /templates
parent03f37d82fe82493edbed81c92c404043a3d779d6 (diff)
downloadgitea-f47ea60c075ddc09d39bc7817efc7c4d870dcd19.tar.gz
gitea-f47ea60c075ddc09d39bc7817efc7c4d870dcd19.zip
set user visibility class to basic (#22674)
Same to https://github.com/go-gitea/gitea/pull/22605 ![user package](https://user-images.githubusercontent.com/18380374/215669905-71fe01c3-c011-4867-97a6-3df5f940a6bf.PNG) ![user projects](https://user-images.githubusercontent.com/18380374/215669909-1a4f74f1-bbde-4913-9ba5-51c44cc63862.PNG) These two page are both used at user and org, so if i fixed the org page, the user page will be also be fixed.
Diffstat (limited to 'templates')
-rw-r--r--templates/user/overview/header.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/overview/header.tmpl b/templates/user/overview/header.tmpl
index 8fb882718c..18fbd3070b 100644
--- a/templates/user/overview/header.tmpl
+++ b/templates/user/overview/header.tmpl
@@ -8,8 +8,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>