#1594 Collaborative Repositories missing suburl on Dashboard

This commit is contained in:
Unknwon 2015-09-07 05:57:19 -04:00
parent 232c22208c
commit 645d4d0c5b
5 changed files with 5 additions and 5 deletions

View file

@ -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())

View file

@ -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

View file

@ -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))

View file

@ -1 +1 @@
0.6.9.0906 Beta
0.6.9.0907 Beta

View file

@ -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>