mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 06:47:21 -04:00 
			
		
		
		
	Open external wiki in new window (#2489)
This commit is contained in:
		
				
					committed by
					
						 Lauris BH
						Lauris BH
					
				
			
			
				
	
			
			
			
						parent
						
							5ccecb44ad
						
					
				
				
					commit
					3fecf94086
				
			| @@ -86,7 +86,7 @@ | ||||
| 			{{end}} | ||||
|  | ||||
| 			{{if or (.Repository.UnitEnabled $.UnitTypeWiki) (.Repository.UnitEnabled $.UnitTypeExternalWiki)}} | ||||
| 				<a class="{{if .PageIsWiki}}active{{end}} item" href="{{.RepoLink}}/wiki"> | ||||
| 				<a class="{{if .PageIsWiki}}active{{end}} item" href="{{.RepoLink}}/wiki" {{if (.Repository.UnitEnabled $.UnitTypeExternalWiki)}} target="_blank" {{end}}> | ||||
| 					<i class="octicon octicon-book"></i> {{.i18n.Tr "repo.wiki"}} | ||||
| 				</a> | ||||
| 			{{end}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user