{{define "title"}}{{.Owner}} · {{.Site}}{{end}} {{define "content"}}

{{.Owner}} {{.Kind}}

{{if .Profile.Description}}

{{.Profile.Description}}

{{end}} {{if .Profile.Website}}

{{.Profile.Website}}

{{end}} {{if .Profile.Links}}

{{range $i, $l := .Profile.Links}}{{if $i}} · {{end}}{{if $l.Label}}{{$l.Label}}{{else}}{{$l.URL}}{{end}}{{end}}

{{end}} {{if .Orgs}}

member of {{range .Orgs}}{{.Name}} {{end}}

{{end}} {{if .Members}}

members {{range .Members}}{{.Name}} {{.Role}} {{end}}

{{end}} {{if and (eq .Kind "org") .Repos}}

labels · milestones

{{end}}
{{if .AboutHTML}}
{{.AboutHTML}}
{{end}}

activity {{.ActivityTotal}} in the last year

{{range .Activity}}
{{if .Month}}{{.Month}}{{end}}{{range .Days}}{{end}}
{{end}}

LessMore

repositories {{len .Repos}}

{{if or .Snippets .Self}}

snippets{{if .Snippets}} {{.Snippets}}{{end}}

{{end}} {{if .Self}}

organizations

{{if .Notice}}{{end}}
New organization
{{end}} {{if .CanAdmin}}{{$org := .Owner}}

people {{len .Members}}

{{if .Notice}}{{end}}
{{range .Members}} {{end}}
memberrole
{{.Name}} {{.Role}}
Add or change a member

teams {{len .Teams}}

Teams scope repository access inside the organization: members of a team get its role on every repository it is granted.

{{range .Teams}}
{{.Name}} {{len .Members}} member{{if ne (len .Members) 1}}s{{end}} · {{len .Grants}} repo{{if ne (len .Grants) 1}}s{{end}}

members: {{range .Members}}{{.}} {{else}}none yet{{end}}

repositories: {{range .Grants}}{{.RepoPath}} {{.Role}} {{else}}none yet{{end}}

{{template "confirmfield" .Name}}
{{else}}

No teams yet.

{{end}}
Create a team

organization

Rename

Every clone URL under this organization changes with the name.

Deleting an organization is a CLI operation, like deleting a repository: it wants a typed confirmation rather than a button.

gitbay org delete {{$org}} --yes
{{end}} {{end}}