mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Add internal-repo octicon for public repos of private org (#11529)
* Show multiple octicons on repo list * fix mixed spaces/tabs * Internal repo octicon * show internal icon in dashboard repolist * swagger * fix icon for normal repo on repo page * don't expose owner visibility directly; provide internal in repo api * fix icons for forks and mirrors Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							f761a37a0f
						
					
				
				
					commit
					5acba4609a
				
			@@ -2962,6 +2962,8 @@ function initVueComponents() {
 | 
			
		||||
          return `octicon-repo-template${repo.private ? '-private' : ''}`;
 | 
			
		||||
        } if (repo.private) {
 | 
			
		||||
          return 'octicon-lock';
 | 
			
		||||
        } if (repo.internal) {
 | 
			
		||||
          return 'octicon-internal-repo';
 | 
			
		||||
        }
 | 
			
		||||
        return 'octicon-repo';
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user