2015-09-25 10:54:52 -07:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="admin user">
|
2017-03-15 15:39:38 -07:00
|
|
|
{{template "admin/navbar" .}}
|
2015-12-07 15:30:52 -07:00
|
|
|
<div class="ui container">
|
2017-03-15 15:39:38 -07:00
|
|
|
{{template "base/alert" .}}
|
|
|
|
<h4 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
|
2017-05-18 17:20:41 -07:00
|
|
|
<div class="ui right">
|
2019-12-03 18:39:58 -07:00
|
|
|
<a class="ui blue tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
|
2017-05-18 17:20:41 -07:00
|
|
|
</div>
|
2017-03-15 15:39:38 -07: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>
|
2020-06-24 15:23:05 -07:00
|
|
|
<th data-sortt-asc="oldest" data-sortt-desc="newest">ID{{SortArrow "oldest" "newest" $.SortType false}}</th>
|
|
|
|
<th data-sortt-asc="alphabetically" data-sortt-desc="reversealphabetically" data-sortt-default="true">
|
|
|
|
{{.i18n.Tr "admin.orgs.name"}}
|
|
|
|
{{SortArrow "alphabetically" "reversealphabetically" $.SortType true}}
|
|
|
|
</th>
|
2017-03-15 15:39:38 -07:00
|
|
|
<th>{{.i18n.Tr "admin.orgs.teams"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.orgs.members"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.users.repos"}}</th>
|
2020-06-24 15:23:05 -07:00
|
|
|
<th data-sortt-asc="recentupdate" data-sortt-desc="leastupdate">
|
|
|
|
{{.i18n.Tr "admin.users.created"}}
|
|
|
|
{{SortArrow "recentupdate" "leastupdate" $.SortType false}}
|
|
|
|
</th>
|
2017-03-15 15:39:38 -07:00
|
|
|
<th>{{.i18n.Tr "admin.users.edit"}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{range .Users}}
|
|
|
|
<tr>
|
|
|
|
<td>{{.ID}}</td>
|
2019-02-18 09:00:27 -07:00
|
|
|
<td>
|
|
|
|
<a href="{{.HomeLink}}">{{.Name}}</a>
|
|
|
|
{{if .Visibility.IsPrivate}}
|
2020-09-11 13:19:00 -07:00
|
|
|
<span class="text gold">{{svg "octicon-lock"}}</span>
|
2019-02-18 09:00:27 -07:00
|
|
|
{{end}}
|
|
|
|
</td>
|
2017-03-15 15:39:38 -07:00
|
|
|
<td>{{.NumTeams}}</td>
|
|
|
|
<td>{{.NumMembers}}</td>
|
|
|
|
<td>{{.NumRepos}}</td>
|
2017-12-10 21:37:04 -07:00
|
|
|
<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
|
2017-03-15 15:39:38 -07: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 15:30:52 -07:00
|
|
|
</div>
|
2017-03-15 15:39:38 -07:00
|
|
|
|
|
|
|
{{template "base/paginate" .}}
|
2015-12-07 15:30:52 -07:00
|
|
|
</div>
|
2014-08-29 05:50:43 -07:00
|
|
|
</div>
|
2015-12-07 15:30:52 -07:00
|
|
|
{{template "base/footer" .}}
|