{{define "content"}} {{$d := .Data}}
{{if $d.Saved}}

Saved.

{{end}} {{if eq $d.Section "overview"}}

Overview

{{with $d.Stats}}{{end}}

Sign up

Change
Registration
{{if eq $d.Registration "open"}}Open to everyone{{else if eq $d.Registration "invite"}}Invite only{{else}}Closed{{end}}
Email at sign up
{{if eq $d.SignupEmail "off"}}Not asked{{else if eq $d.SignupEmail "optional"}}Optional{{else}}Required{{end}}
Outgoing mail
{{if $d.Mail}}Configured{{else}}Not configured, resets go through gitpocket passwd{{end}}

Newest accounts

All people
    {{range $d.Recent}}
  • ~{{.Name}}{{if .Org}} org{{end}}{{if .Admin}} admin{{end}}{{if .Banned}} banned{{end}}{{ago .Created}}
  • {{end}}
{{end}} {{if eq $d.Section "people"}}

People

{{if $d.Query}} Clear{{end}}
{{range $d.Accounts}}{{else}}{{end}}
AccountJoinedRepos
~{{.Name}}{{if .Org}} org{{end}}{{if .Admin}} admin{{end}}{{if .Banned}} banned{{end}} {{.Created.Format "2 Jan 2006"}} {{.Repos}} {{if ne .Name $.User.Name}}
{{if not .Org}}{{if .Admin}}{{else}}{{end}}{{end}}{{if .Banned}}{{else}}{{end}}
{{else}}you{{end}}
Nobody matches.
{{end}} {{if eq $d.Section "signup"}}

Sign up

Who can register
Email address at sign up

{{if $d.Mail}}Outgoing mail is configured, so given addresses get a confirmation link and can reset passwords.{{else}}Outgoing mail is not configured, so addresses are stored but never confirmed and nothing is sent.{{end}}

Invites

{{if $d.Invites}}
    {{range $d.Invites}}
  • {{end}}
{{else}}

No unused invites.

{{end}}
{{end}} {{if eq $d.Section "projects"}}

Front page

Numbered projects appear on the logged out front page in that order. Leave a project at 0 to hide it. With none chosen the most recently pushed are shown.

{{range $d.Public}}{{$rank := index $d.Ranks .ID}} {{end}}
RepositoryDescriptionPosition
{{.Path}} {{.Description}}
{{end}} {{if eq $d.Section "storage"}}

Storage

For example 500M or 2G, and 0 for no limit. A push that would go over it is refused before anything is written.

Usage by owner

    {{range $d.Owners}}
  • ~{{.Name}}{{size .Used}}{{if $d.Quota}} of {{$d.QuotaText}}{{end}}
  • {{else}}
  • No repositories yet.
  • {{end}}
{{end}}
{{end}}