mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			277 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			277 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package repo
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/gogits/gogs/modules/base"
 | 
						|
	"github.com/martini-contrib/render"
 | 
						|
)
 | 
						|
 | 
						|
func Single(r render.Render, data base.TmplData) {
 | 
						|
	if !data["IsRepositoryValid"].(bool) {
 | 
						|
		return
 | 
						|
	}
 | 
						|
	data["IsRepoToolbarSource"] = true
 | 
						|
	r.HTML(200, "repo/single", data)
 | 
						|
}
 |