From dd136858f1ea40ad3c94191d647487fa4f31926c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.0. Signed-off-by: Daniel Baumann --- templates/admin/org/list.tmpl | 76 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 templates/admin/org/list.tmpl (limited to 'templates/admin/org') diff --git a/templates/admin/org/list.tmpl b/templates/admin/org/list.tmpl new file mode 100644 index 0000000..987ceab --- /dev/null +++ b/templates/admin/org/list.tmpl @@ -0,0 +1,76 @@ +{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin user")}} +
+

+ {{ctx.Locale.Tr "admin.orgs.org_manage_panel"}} ({{ctx.Locale.Tr "admin.total" .Total}}) + +

+
+ +
+
+ + + + + + + + + + + + + + {{range .Users}} + + + + + + + + + + {{end}} + +
ID{{SortArrow "oldest" "newest" $.SortType false}} + {{ctx.Locale.Tr "admin.orgs.name"}} + {{SortArrow "alphabetically" "reversealphabetically" $.SortType true}} + {{ctx.Locale.Tr "admin.orgs.teams"}}{{ctx.Locale.Tr "admin.orgs.members"}}{{ctx.Locale.Tr "admin.users.repos"}} + {{ctx.Locale.Tr "admin.users.created"}} + {{SortArrow "recentupdate" "leastupdate" $.SortType false}} +
{{.ID}} + {{.Name}} + {{if .Visibility.IsPrivate}} + {{svg "octicon-lock"}} + {{end}} + {{if eq .Type 3}}{{/* Reserved organization */}} + {{ctx.Locale.Tr "admin.users.reserved"}} + {{end}} + {{.NumTeams}}{{.NumMembers}}{{.NumRepos}}{{DateTime "short" .CreatedUnix}}{{svg "octicon-pencil"}}
+
+ + {{template "base/paginate" .}} +
+{{template "admin/layout_footer" .}} -- cgit v1.2.3