mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 15:04:00 +01:00 
			
		
		
		
	Merge pull request #2533 from fnkr/icon-fork-private-collision
Use icon repo-forked instead of repo-lock for private, forked repos
This commit is contained in:
		
						commit
						5d192c2ebf
					
				@ -29,7 +29,7 @@
 | 
				
			|||||||
							{{range .Repos}}
 | 
												{{range .Repos}}
 | 
				
			||||||
								<li {{if .IsPrivate}}class="private"{{end}}>
 | 
													<li {{if .IsPrivate}}class="private"{{end}}>
 | 
				
			||||||
									<a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}">
 | 
														<a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}">
 | 
				
			||||||
										<i class="icon octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
 | 
															<i class="icon octicon octicon-{{if .IsFork}}repo-forked{{else if .IsPrivate}}lock{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
 | 
				
			||||||
										<strong class="text truncate item-name">{{.Name}}</strong>
 | 
															<strong class="text truncate item-name">{{.Name}}</strong>
 | 
				
			||||||
										<span class="ui right text light grey">
 | 
															<span class="ui right text light grey">
 | 
				
			||||||
											<i class="octicon octicon-star"></i>{{.NumStars}}
 | 
																<i class="octicon octicon-star"></i>{{.NumStars}}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user