Browse Source

fix invalid user links in admin panels

pull/657/head
Unknwon 10 years ago
parent
commit
0c92da7e9c
  1. 2
      gogs.go
  2. 2
      templates/.VERSION
  3. 2
      templates/admin/repo/list.tmpl
  4. 2
      templates/admin/user/list.tmpl

2
gogs.go

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

2
templates/.VERSION

@ -1 +1 @@
0.5.8.1118 Beta
0.5.8.1119 Beta

2
templates/admin/repo/list.tmpl

@ -31,7 +31,7 @@
{{range .Repos}}
<tr>
<td>{{.Id}}</td>
<td><a href="{{AppSubUrl}}/user/{{.Owner.Name}}">{{.Owner.Name}}</a></td>
<td><a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a></td>
<td><a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a></td>
<td><i class="fa fa{{if .IsPrivate}}-check{{end}}-square-o"></i></td>
<td>{{.NumWatches}}</td>

2
templates/admin/user/list.tmpl

@ -32,7 +32,7 @@
{{range .Users}}
<tr>
<td>{{.Id}}</td>
<td><a href="{{AppSubUrl}}/user/{{.Name}}">{{.Name}}</a></td>
<td><a href="{{AppSubUrl}}/{{.Name}}">{{.Name}}</a></td>
<td>{{.Email}}</td>
<td><i class="fa fa{{if .IsActive}}-check{{end}}-square-o"></i></td>
<td><i class="fa fa{{if .IsAdmin}}-check{{end}}-square-o"></i></td>

Loading…
Cancel
Save