{{define "content"}} {{$d := .Data}} {{if $d.Saved}}
Saved.
{{end}} {{if eq $d.Section "overview"}} {{with $d.Stats}}| Users | {{.Users}}{{if .Banned}} ({{.Banned}} banned){{end}} |
| Organizations | {{.Orgs}} |
| Repositories | {{.Repos}} ({{.Private}} private, {{.Unlisted}} unlisted) |
| Disk usage | {{size $d.Used}}{{if $d.Quota}} (quota {{$d.QuotaText}} per owner){{end}} |
| Registration | {{if eq $d.Registration "open"}}open to everyone{{else if eq $d.Registration "invite"}}invite only{{else}}closed{{end}} change |
{{if $d.Mail}}configured{{else}}not configured, resets go through gitpocket passwd{{end}} |
| ~{{.Name}} | {{if .Org}}organization{{else if .Admin}}admin{{end}}{{if .Banned}} banned{{end}} | {{ago .Created}} |
| ~{{.Name}} | {{if .Org}}organization{{else if .Admin}}admin{{end}}{{if .Banned}} banned{{end}} | {{.Repos}} repos | joined {{.Created.Format "2 Jan 2006"}} | {{if ne .Name $.User.Name}}{{end}} |
| Nobody matches. |
https://{{$.Host}}/register?invite={{.}} |
No unused invites.
{{end}} {{end}} {{if eq $d.Section "projects"}}Numbered projects appear on the logged out front page in that order, 0 hides one. With none chosen the most recently pushed are shown.
| {{.Path}} | {{.Description}} |
| ~{{.Name}} | {{size .Used}} | {{if $d.Quota}}{{.Pct}}% of {{$d.QuotaText}}{{end}} |
| No repositories yet. |
Every gist, secret ones included, reported ones first and then the largest. Size counts the repository on disk.
| {{short .ID}}{{with .Description}} {{.}}{{end}} | ~{{.Owner.Name}} | {{if .Secret}}secret{{else}}public{{end}} | {{.Files}} file{{if ne .Files 1}}s{{end}} | {{size .Size}} | {{if .Reports}}{{.Reports}} report{{if ne .Reports 1}}s{{end}}{{end}} | updated {{ago .Updated}} | |
| No gists yet. |
reported by ~{{.Reporter.Name}} {{ago .Created}}
{{.Reason}}
{{if eq .State "open"}}
{{if eq .Kind "repo"}}{{end}}{{end}}
Nothing here.
{{end}} {{end}} {{end}}