summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-14 04:34:01 -0500
committerUnknwon <u@gogs.io>2015-11-14 04:34:01 -0500
commit7b1c10ea7eadf83706ca7e27094104749636d26a (patch)
treecbb1d0e32d4ac81f76576b5bf88eb777fa6fb9c6 /routers
parent679af4ddeaca0748632959841867b2a56de26643 (diff)
downloadgitea-7b1c10ea7eadf83706ca7e27094104749636d26a.tar.gz
gitea-7b1c10ea7eadf83706ca7e27094104749636d26a.zip
new repo ui
- copy link button: #1396, #1168, #1668, - synxtax highlight: #1712, #1549, #1315, #670 - z-index: #1942
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/view.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go
index 1d9f1f3d87..e9cb7b3390 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -25,6 +25,7 @@ const (
func Home(ctx *middleware.Context) {
ctx.Data["Title"] = ctx.Repo.Repository.Name
+ ctx.Data["RequireHighlightJS"] = true
branchName := ctx.Repo.BranchName
userName := ctx.Repo.Owner.Name