mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix blank topic on explore repo list (#3956)
This commit is contained in:
		
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							c14870c5ac
						
					
				
				
					commit
					f6828e0b66
				
			@@ -17,9 +17,13 @@
 | 
			
		||||
				</div>
 | 
			
		||||
			</div>
 | 
			
		||||
			{{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
 | 
			
		||||
			<div>
 | 
			
		||||
			{{range .Topics}}<div class="ui green basic label topic">{{.}}</div>{{end}}
 | 
			
		||||
			</div>
 | 
			
		||||
			{{if .Topics }}
 | 
			
		||||
				<div>
 | 
			
		||||
				{{range .Topics}}
 | 
			
		||||
					{{if ne . "" }}<div class="ui green basic label topic">{{.}}</div>{{end}}
 | 
			
		||||
				{{end}}
 | 
			
		||||
				</div>
 | 
			
		||||
			{{end}}
 | 
			
		||||
			<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}</p>
 | 
			
		||||
		</div>
 | 
			
		||||
	{{else}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user