summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-21 01:09:22 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-21 01:09:22 -0400
commit369ddf76a8ae6916ab72f1fa26c81b44c456c6ea (patch)
tree3e26392ef3ff4569cc077432e507e848f907df8a /templates/admin
parent53a17bbd240e0dd3755b7a666792d69e358f3e00 (diff)
downloadgitea-369ddf76a8ae6916ab72f1fa26c81b44c456c6ea.tar.gz
gitea-369ddf76a8ae6916ab72f1fa26c81b44c456c6ea.zip
Batch fix
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/repos.tmpl4
-rw-r--r--templates/admin/users.tmpl2
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/admin/repos.tmpl b/templates/admin/repos.tmpl
index 4522c66792..f4834c9060 100644
--- a/templates/admin/repos.tmpl
+++ b/templates/admin/repos.tmpl
@@ -20,6 +20,7 @@
<thead>
<tr>
<th>Id</th>
+ <th>Owner</th>
<th>Name</th>
<th>Private</th>
<th>Watches</th>
@@ -31,7 +32,8 @@
{{range .Repos}}
<tr>
<td>{{.Id}}</td>
- <td>{{.Name}}</td>
+ <th>{{.UserName}}</th>
+ <td><a href="/{{.UserName}}/{{.Name}}">{{.Name}}</a></td>
<td><i class="fa fa{{if .Private}}-check{{end}}-square-o"></i></td>
<td>{{.NumWatches}}</td>
<td>{{.NumForks}}</td>
diff --git a/templates/admin/users.tmpl b/templates/admin/users.tmpl
index c087f268f2..b690e1771e 100644
--- a/templates/admin/users.tmpl
+++ b/templates/admin/users.tmpl
@@ -32,7 +32,7 @@
{{range .Users}}
<tr>
<td>{{.Id}}</td>
- <td>{{.Name}}</td>
+ <td><a href="/user/{{.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>