mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	Fix blank topic on explore repo list (#3956)
This commit is contained in:
		
					parent
					
						
							
								c14870c5ac
							
						
					
				
			
			
				commit
				
					
						f6828e0b66
					
				
			
		
					 1 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
					@ -17,9 +17,13 @@
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
			{{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
 | 
								{{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
 | 
				
			||||||
 | 
								{{if .Topics }}
 | 
				
			||||||
				<div>
 | 
									<div>
 | 
				
			||||||
			{{range .Topics}}<div class="ui green basic label topic">{{.}}</div>{{end}}
 | 
									{{range .Topics}}
 | 
				
			||||||
 | 
										{{if ne . "" }}<div class="ui green basic label topic">{{.}}</div>{{end}}
 | 
				
			||||||
 | 
									{{end}}
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
 | 
								{{end}}
 | 
				
			||||||
			<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}</p>
 | 
								<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}</p>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	{{else}}
 | 
						{{else}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue