diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-01-02 23:13:47 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-01-05 19:21:50 +0100 |
commit | 8fe5d887ae420e95017b2b32ba2519543fd84e9c (patch) | |
tree | 821d0273876677829e309a202034c93631570050 /routers/repo/commit.go | |
parent | 4e6d048ba10981dd3443e3f9e373ee0821fe01ed (diff) | |
download | gitea-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.go | 4 |
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() |