Browse Source

Minor fix for #3194

- Update locale bindata
pull/3174/head
Unknwon 9 years ago
parent
commit
4bbb878d20
  1. 2
      gogs.go
  2. 4
      modules/bindata/bindata.go
  3. 6
      routers/repo/view.go
  4. 2
      templates/.VERSION

2
gogs.go

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.30.0601"
const APP_VER = "0.9.31.0627"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

4
modules/bindata/bindata.go

File diff suppressed because one or more lines are too long

6
routers/repo/view.go

@ -30,7 +30,11 @@ const (
)
func Home(ctx *context.Context) {
ctx.Data["Title"] = ctx.Repo.Repository.Owner.Name + "/" + ctx.Repo.Repository.Name + ": " + ctx.Repo.Repository.Description
title := ctx.Repo.Repository.Owner.Name + "/" + ctx.Repo.Repository.Name
if len(ctx.Repo.Repository.Description) > 0 {
title += ": " + ctx.Repo.Repository.Description
}
ctx.Data["Title"] = title
ctx.Data["PageIsViewCode"] = true
ctx.Data["RequireHighlightJS"] = true

2
templates/.VERSION

@ -1 +1 @@
0.9.30.0601
0.9.31.0627
Loading…
Cancel
Save