Ver Fonte

#2156 add edit org link in admin panel

Unknwon há 9 anos atrás
pai
commit
4108c12092
4 ficheiros alterados com 5 adições e 3 exclusões
  1. 1 1
      README.md
  2. 1 1
      gogs.go
  3. 1 1
      templates/.VERSION
  4. 2 0
      templates/admin/org/list.tmpl

+ 1 - 1
README.md

@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
 
 ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
 
-##### Current version: 0.7.44 Beta
+##### Current version: 0.7.44
 
 | Web | UI  | Preview  |
 |:-------------:|:-------:|:-------:|

+ 1 - 1
gogs.go

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

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.7.44.1211 Beta
+0.7.44.1212

+ 2 - 0
templates/admin/org/list.tmpl

@@ -18,6 +18,7 @@
 								<th>{{.i18n.Tr "admin.orgs.members"}}</th>
 								<th>{{.i18n.Tr "admin.users.repos"}}</th>
 								<th>{{.i18n.Tr "admin.users.created"}}</th>
+								<th>{{.i18n.Tr "admin.users.edit"}}</th>
 							</tr>
 						</thead>
 						<tbody>
@@ -29,6 +30,7 @@
 									<td>{{.NumMembers}}</td>
 									<td>{{.NumRepos}}</td>
 									<td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td>
+									<td><a href="{{AppSubUrl}}/org/{{.Name}}/settings"><i class="fa fa-pencil-square-o"></i></a></td>
 								</tr>
 							{{end}}
 						</tbody>