From 8fe5d887ae420e95017b2b32ba2519543fd84e9c Mon Sep 17 00:00:00 2001 From: "Kim \"BKC\" Carlbäcker" Date: Sat, 2 Jan 2016 23:13:47 +0100 Subject: Changed name from inline to unified --- routers/repo/commit.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routers') 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() -- cgit v1.2.3