2015-09-25 19:54:52 +02:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="admin user">
|
2017-03-15 23:39:38 +01:00
|
|
|
{{template "admin/navbar" .}}
|
2015-12-07 23:30:52 +01:00
|
|
|
<div class="ui container">
|
2017-03-15 23:39:38 +01:00
|
|
|
{{template "base/alert" .}}
|
|
|
|
<h4 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
|
2017-05-19 02:20:41 +02:00
|
|
|
<div class="ui right">
|
2019-12-04 02:39:58 +01:00
|
|
|
<a class="ui blue tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
|
2017-05-19 02:20:41 +02:00
|
|
|
</div>
|
2017-03-15 23:39:38 +01:00
|
|
|
</h4>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
{{template "admin/base/search" .}}
|
|
|
|
</div>
|
|
|
|
<div class="ui attached table segment">
|
|
|
|
<table class="ui very basic striped table">
|
|
|
|
<thead>
|
|
|
|
<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>
|
|
|
|
<th>{{.i18n.Tr "admin.users.created"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.users.edit"}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{range .Users}}
|
|
|
|
<tr>
|
|
|
|
<td>{{.ID}}</td>
|
2019-02-18 17:00:27 +01:00
|
|
|
<td>
|
|
|
|
<a href="{{.HomeLink}}">{{.Name}}</a>
|
|
|
|
{{if .Visibility.IsPrivate}}
|
2020-02-11 18:02:41 +01:00
|
|
|
<span class="text gold">{{svg "octicon-lock" 16}}</span>
|
2019-02-18 17:00:27 +01:00
|
|
|
{{end}}
|
|
|
|
</td>
|
2017-03-15 23:39:38 +01:00
|
|
|
<td>{{.NumTeams}}</td>
|
|
|
|
<td>{{.NumMembers}}</td>
|
|
|
|
<td>{{.NumRepos}}</td>
|
2017-12-11 05:37:04 +01:00
|
|
|
<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
|
2017-03-15 23:39:38 +01:00
|
|
|
<td><a href="{{AppSubUrl}}/org/{{.Name}}/settings"><i class="fa fa-pencil-square-o"></i></a></td>
|
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-12-07 23:30:52 +01:00
|
|
|
</div>
|
2017-03-15 23:39:38 +01:00
|
|
|
|
|
|
|
{{template "base/paginate" .}}
|
2015-12-07 23:30:52 +01:00
|
|
|
</div>
|
2014-08-29 14:50:43 +02:00
|
|
|
</div>
|
2015-12-07 23:30:52 +01:00
|
|
|
{{template "base/footer" .}}
|