mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Added missing headers on user packages page (#21172)
User packages page had missing tabs.   Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							191a74d622
						
					
				
				
					commit
					0218fa7cf1
				
			@@ -56,6 +56,22 @@
 | 
			
		||||
						</a>
 | 
			
		||||
					</div>
 | 
			
		||||
				{{end}}
 | 
			
		||||
			{{else}}
 | 
			
		||||
				<a class='{{if eq .TabName "activity"}}active {{end}}item' href="{{.ContextUser.HomeLink}}?tab=activity">
 | 
			
		||||
					{{svg "octicon-rss"}} {{.locale.Tr "user.activity"}}
 | 
			
		||||
				</a>
 | 
			
		||||
				{{if not .DisableStars}}
 | 
			
		||||
					<a class='{{if eq .TabName "stars"}}active {{end}}item' href="{{.ContextUser.HomeLink}}?tab=stars">
 | 
			
		||||
						{{svg "octicon-star"}} {{.locale.Tr "user.starred"}}
 | 
			
		||||
						{{if .Owner.NumStars}}
 | 
			
		||||
							<div class="ui primary label">{{.Owner.NumStars}}</div>
 | 
			
		||||
						{{end}}
 | 
			
		||||
					</a>
 | 
			
		||||
				{{else}}
 | 
			
		||||
					<a class='{{if eq .TabName "watching"}}active {{end}}item' href="{{.ContextUser.HomeLink}}?tab=watching">
 | 
			
		||||
						{{svg "octicon-eye"}} {{.locale.Tr "user.watched"}}
 | 
			
		||||
					</a>
 | 
			
		||||
				{{end}}
 | 
			
		||||
			{{end}}
 | 
			
		||||
 | 
			
		||||
		</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user