aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/commit.go
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-02 23:13:47 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-01-05 19:21:50 +0100
commit8fe5d887ae420e95017b2b32ba2519543fd84e9c (patch)
tree821d0273876677829e309a202034c93631570050 /routers/repo/commit.go
parent4e6d048ba10981dd3443e3f9e373ee0821fe01ed (diff)
downloadgitea-8fe5d887ae420e95017b2b32ba2519543fd84e9c.tar.gz
gitea-8fe5d887ae420e95017b2b32ba2519543fd84e9c.zip
Changed name from inline to unified
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r--routers/repo/commit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index 997c16183d..c3fc4d177a 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -168,7 +168,7 @@ func Diff(ctx *middleware.Context) {
}
}
- ctx.Data["Style"] = ctx.Query("style") == "split"
+ ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
ctx.Data["Username"] = userName
ctx.Data["Reponame"] = repoName
ctx.Data["IsImageFile"] = commit.IsImageFile
@@ -214,7 +214,7 @@ func CompareDiff(ctx *middleware.Context) {
}
commits = models.ValidateCommitsWithEmails(commits)
- ctx.Data["Style"] = ctx.Query("style") == "split"
+ ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
ctx.Data["CommitRepoLink"] = ctx.Repo.RepoLink
ctx.Data["Commits"] = commits
ctx.Data["CommitCount"] = commits.Len()