forked from gitea/gitea
		
	set user visibility class to basic (#22674)
Same to https://github.com/go-gitea/gitea/pull/22605   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.
This commit is contained in:
		
							parent
							
								
									03f37d82fe
								
							
						
					
					
						commit
						f47ea60c07
					
				| @ -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> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 yp05327
						yp05327