mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Hide sync ssh keys button on admin dashboard if ssh disabled or builtin-ssh enabled (#13072)
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		@@ -131,6 +131,7 @@ func Dashboard(ctx *context.Context) {
 | 
			
		||||
	// FIXME: update periodically
 | 
			
		||||
	updateSystemStatus()
 | 
			
		||||
	ctx.Data["SysStatus"] = sysStatus
 | 
			
		||||
	ctx.Data["SSH"] = setting.SSH
 | 
			
		||||
	ctx.HTML(200, tplDashboard)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user