1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 01:57:20 +00:00

finsih diff and compare

This commit is contained in:
Unknwon
2015-08-21 00:18:30 +08:00
parent aa65761d81
commit 4275b3720a
7 changed files with 305 additions and 133 deletions

View File

@ -189,7 +189,7 @@ func FileHistory(ctx *middleware.Context) {
}
func Diff(ctx *middleware.Context) {
ctx.Data["IsRepoToolbarCommits"] = true
ctx.Data["PageIsDiff"] = true
userName := ctx.Repo.Owner.Name
repoName := ctx.Repo.Repository.Name