2015-09-26 01:54:52 +08:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="admin user">
|
2015-12-08 06:30:52 +08:00
|
|
|
<div class="ui container">
|
|
|
|
<div class="ui grid">
|
|
|
|
{{template "admin/navbar" .}}
|
|
|
|
<div class="twelve wide column content">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<h4 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
|
|
|
|
</h4>
|
2016-03-12 04:33:12 +08:00
|
|
|
<div class="ui attached segment">
|
|
|
|
{{template "admin/base/search" .}}
|
|
|
|
</div>
|
2015-12-08 06:30:52 +08:00
|
|
|
<div class="ui attached table segment">
|
|
|
|
<table class="ui very basic striped table">
|
2015-09-26 07:45:44 +08:00
|
|
|
<thead>
|
2015-12-08 06:30:52 +08:00
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>{{.i18n.Tr "admin.orgs.name"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.orgs.teams"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.orgs.members"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.users.repos"}}</th>
|
2015-09-26 07:45:44 +08:00
|
|
|
<th>{{.i18n.Tr "admin.users.created"}}</th>
|
2015-12-13 04:47:59 +08:00
|
|
|
<th>{{.i18n.Tr "admin.users.edit"}}</th>
|
2015-12-08 06:30:52 +08:00
|
|
|
</tr>
|
2015-09-26 07:45:44 +08:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-03-12 04:33:12 +08:00
|
|
|
{{range .Users}}
|
2015-12-08 06:30:52 +08:00
|
|
|
<tr>
|
2016-07-24 01:08:22 +08:00
|
|
|
<td>{{.ID}}</td>
|
2015-12-08 06:30:52 +08:00
|
|
|
<td><a href="{{.HomeLink}}">{{.Name}}</a></td>
|
|
|
|
<td>{{.NumTeams}}</td>
|
|
|
|
<td>{{.NumMembers}}</td>
|
|
|
|
<td>{{.NumRepos}}</td>
|
|
|
|
<td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td>
|
2015-12-13 04:47:59 +08:00
|
|
|
<td><a href="{{AppSubUrl}}/org/{{.Name}}/settings"><i class="fa fa-pencil-square-o"></i></a></td>
|
2015-12-08 06:30:52 +08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
2015-09-26 07:45:44 +08:00
|
|
|
</tbody>
|
2015-12-08 06:30:52 +08:00
|
|
|
</table>
|
2015-09-26 07:45:44 +08:00
|
|
|
</div>
|
2015-09-26 01:54:52 +08:00
|
|
|
|
2016-11-07 18:44:49 +08:00
|
|
|
{{template "base/paginate" .}}
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-29 20:50:43 +08:00
|
|
|
</div>
|
2015-12-08 06:30:52 +08:00
|
|
|
{{template "base/footer" .}}
|