Web editor: temporarily disable upload and quick fix for edit and new

Try to merge into develop branch ASAP, then continue minor fixes afterwards.
This commit is contained in:
Unknwon 2016-08-15 01:42:20 -07:00
parent 54e0ada9d5
commit 4a19fd6441
9 changed files with 292 additions and 306 deletions

View file

@ -41,7 +41,6 @@ func Home(ctx *context.Context) {
ctx.Data["Title"] = title
ctx.Data["PageIsViewCode"] = true
ctx.Data["RequireHighlightJS"] = true
ctx.Data["IsWriter"] = ctx.Repo.IsWriter()
branchName := ctx.Repo.BranchName
userName := ctx.Repo.Owner.Name