aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gogs.go2
-rw-r--r--models/models_tidb.go2
-rw-r--r--modules/base/template.go2
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/user/dashboard/dashboard.tmpl2
5 files changed, 5 insertions, 5 deletions
diff --git a/gogs.go b/gogs.go
index 94e8bb524c..32b9c785a4 100644
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-const APP_VER = "0.6.9.0906 Beta"
+const APP_VER = "0.6.9.0907 Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
diff --git a/models/models_tidb.go b/models/models_tidb.go
index 20d9819706..d99884e9e8 100644
--- a/models/models_tidb.go
+++ b/models/models_tidb.go
@@ -1,4 +1,4 @@
-// +build tidb
+// +build tidb go1.4.2
// Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
diff --git a/modules/base/template.go b/modules/base/template.go
index f86a97b3b2..6fc449a6a6 100644
--- a/modules/base/template.go
+++ b/modules/base/template.go
@@ -77,7 +77,7 @@ func ToUtf8WithErr(content []byte) (error, string) {
encoding, _ := charset.Lookup(charsetLabel)
if encoding == nil {
- return fmt.Errorf("unknow char decoder %s", charsetLabel), string(content)
+ return fmt.Errorf("unknown char decoder %s", charsetLabel), string(content)
}
result, n, err := transform.String(encoding.NewDecoder(), string(content))
diff --git a/templates/.VERSION b/templates/.VERSION
index e9914c880a..41e2b2e2da 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.6.9.0906 Beta \ No newline at end of file
+0.6.9.0907 Beta \ No newline at end of file
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index 02c0102e42..e530b6f735 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -59,7 +59,7 @@
<ul class="list-no-style">
{{range .CollaborativeRepos}}
<li {{if .IsPrivate}}class="private"{{end}}>
- <a href="{{.Owner.Name}}/{{.Name}}">
+ <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">
<i class="octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
<span class="repo-name">
<span class="repo-name-prefix">{{.Owner.Name}} / </span>