Browse Source

#1594 Collaborative Repositories missing suburl on Dashboard

tags/v1.2.0-rc1
Unknwon 10 years ago
parent
commit
1e0153b243
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      gogs.go
  2. +1
    -1
      models/models_tidb.go
  3. +1
    -1
      modules/base/template.go
  4. +1
    -1
      templates/.VERSION
  5. +1
    -1
      templates/user/dashboard/dashboard.tmpl

+ 1
- 1
gogs.go View File

@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )


const APP_VER = "0.6.9.0906 Beta"
const APP_VER = "0.6.9.0907 Beta"


func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())


+ 1
- 1
models/models_tidb.go View File

@@ -1,4 +1,4 @@
// +build tidb
// +build tidb go1.4.2


// Copyright 2015 The Gogs Authors. All rights reserved. // Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style // Use of this source code is governed by a MIT-style


+ 1
- 1
modules/base/template.go View File

@@ -77,7 +77,7 @@ func ToUtf8WithErr(content []byte) (error, string) {


encoding, _ := charset.Lookup(charsetLabel) encoding, _ := charset.Lookup(charsetLabel)
if encoding == nil { 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)) result, n, err := transform.String(encoding.NewDecoder(), string(content))


+ 1
- 1
templates/.VERSION View File

@@ -1 +1 @@
0.6.9.0906 Beta
0.6.9.0907 Beta

+ 1
- 1
templates/user/dashboard/dashboard.tmpl View File

@@ -59,7 +59,7 @@
<ul class="list-no-style"> <ul class="list-no-style">
{{range .CollaborativeRepos}} {{range .CollaborativeRepos}}
<li {{if .IsPrivate}}class="private"{{end}}> <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> <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">
<span class="repo-name-prefix">{{.Owner.Name}} / </span> <span class="repo-name-prefix">{{.Owner.Name}} / </span>


Loading…
Cancel
Save