diff options
author | Unknwon <u@gogs.io> | 2015-12-11 19:24:57 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-11 19:24:57 -0500 |
commit | 59c965a5ec2553b40a76cc322855b62116eac5f0 (patch) | |
tree | 3f3f25f7eed2ed51a251343e5521416c1a13d635 /templates/admin | |
parent | 76bdbcc969acd0e91cd3e10f5fdbfae3273df45b (diff) | |
download | gitea-59c965a5ec2553b40a76cc322855b62116eac5f0.tar.gz gitea-59c965a5ec2553b40a76cc322855b62116eac5f0.zip |
#2156 admin able to edit organization max repo creation
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/user/edit.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/user/list.tmpl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index ad4dd4c25a..3280a6d707 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -92,6 +92,8 @@ </div> </div> + <div class="ui divider"></div> + <div class="field"> <button class="ui green button">{{.i18n.Tr "admin.users.update_profile"}}</button> <div class="ui red button delete-button" data-url="{{$.Link}}/delete" data-id="{{.User.Id}}">{{.i18n.Tr "admin.users.delete_account"}}</div> diff --git a/templates/admin/user/list.tmpl b/templates/admin/user/list.tmpl index 25ef4feac1..670b05450c 100644 --- a/templates/admin/user/list.tmpl +++ b/templates/admin/user/list.tmpl @@ -35,7 +35,7 @@ <td><i class="fa fa{{if .IsAdmin}}-check{{end}}-square-o"></i></td> <td>{{.NumRepos}}</td> <td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created }}</span></td> - <td><a href="{{AppSubUrl}}/admin/users/{{.Id}}"><i class="fa fa-pencil-square-o"></i></a></td> + <td><a href="{{$.Link}}/{{.Id}}"><i class="fa fa-pencil-square-o"></i></a></td> </tr> {{end}} </tbody> |