2015-09-25 17:54:52 +00:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="admin user">
|
2017-03-15 22:39:38 +00:00
|
|
|
{{template "admin/navbar" .}}
|
2015-12-07 22:30:52 +00:00
|
|
|
<div class="ui container">
|
2017-03-15 22:39:38 +00: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 00:20:41 +00:00
|
|
|
<div class="ui right">
|
2019-12-04 01:39:58 +00:00
|
|
|
<a class="ui blue tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
|
2017-05-19 00:20:41 +00:00
|
|
|
</div>
|
2017-03-15 22:39:38 +00: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 22:23:05 +00: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 22:39:38 +00: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 22:23:05 +00:00
|
|
|
<th data-sortt-asc="recentupdate" data-sortt-desc="leastupdate">
|
|
|
|
{{.i18n.Tr "admin.users.created"}}
|
|
|
|
{{SortArrow "recentupdate" "leastupdate" $.SortType false}}
|
|
|
|
</th>
|
2017-03-15 22:39:38 +00:00
|
|
|
<th>{{.i18n.Tr "admin.users.edit"}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{range .Users}}
|
|
|
|
<tr>
|
|
|
|
<td>{{.ID}}</td>
|
2019-02-18 16:00:27 +00:00
|
|
|
<td>
|
|
|
|
<a href="{{.HomeLink}}">{{.Name}}</a>
|
|
|
|
{{if .Visibility.IsPrivate}}
|
2020-02-11 17:02:41 +00:00
|
|
|
<span class="text gold">{{svg "octicon-lock" 16}}</span>
|
2019-02-18 16:00:27 +00:00
|
|
|
{{end}}
|
|
|
|
</td>
|
2017-03-15 22:39:38 +00:00
|
|
|
<td>{{.NumTeams}}</td>
|
|
|
|
<td>{{.NumMembers}}</td>
|
|
|
|
<td>{{.NumRepos}}</td>
|
2017-12-11 04:37:04 +00:00
|
|
|
<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
|
2017-03-15 22:39:38 +00: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 22:30:52 +00:00
|
|
|
</div>
|
2017-03-15 22:39:38 +00:00
|
|
|
|
|
|
|
{{template "base/paginate" .}}
|
2015-12-07 22:30:52 +00:00
|
|
|
</div>
|
2014-08-29 12:50:43 +00:00
|
|
|
</div>
|
2015-12-07 22:30:52 +00:00
|
|
|
{{template "base/footer" .}}
|