mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add tooltip to repo icons in explore page (#20241)
* Add label to repo icons in explore page Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		@@ -32,9 +32,9 @@
 | 
			
		||||
							{{end}}
 | 
			
		||||
						{{end}}
 | 
			
		||||
						{{if .IsFork}}
 | 
			
		||||
							{{svg "octicon-repo-forked"}}
 | 
			
		||||
							<span class="tooltip" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</span>
 | 
			
		||||
						{{else if .IsMirror}}
 | 
			
		||||
							{{svg "octicon-mirror"}}
 | 
			
		||||
							<span class="tooltip" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</span>
 | 
			
		||||
						{{end}}
 | 
			
		||||
					</div>
 | 
			
		||||
				</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user