{{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}}
{{/* The profile is sections rather than one stack: a long About used to push the repositories off the bottom of the page (#242). About is the bare /{owner}; the rest hang off /-/. A tab nobody may open is not offered and its URL is a 404. */}} {{if eq .Tab "about"}} {{if .AboutHTML}}
{{.AboutHTML}}
{{end}}

activity {{.ActivityTotal}} in the last year

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

LessMore

{{/* The graph is the year at a glance; the log is what happened lately. It is the newest events, not all of them — the atom feed is the one that goes back. */}} {{if .Log}}

recent

{{range .Log}}

{{.Actor}} {{.Verb}} {{.Ref}}{{if .Extra}} {{.Extra}}{{end}}
{{.Repo}} · {{ago .WhenT}}

{{end}}

activity feed

{{else}}

Nothing yet.

{{end}}
{{end}} {{if eq .Tab "repos"}} {{end}} {{if eq .Tab "bookmarks"}}

Repositories you saved to come back to. A pin is private quick access to your own work; a bookmark is a public vote to save access to another repo.

{{end}} {{if eq .Tab "snippets"}} {{if .Notice}}{{end}} {{if .Self}}

new snippet · or gitbay snippet create <file> < file

{{end}} {{if .SnippetRows}}
{{if .SnippetsAll}}{{end}} {{range .SnippetRows}} {{if $.SnippetsAll}}{{end}} {{end}}
snippetfilesvisibilityupdated
{{if .Description}}{{.Description}}{{else}}{{.PublicID}}{{end}} {{.Names}}{{.Visibility}}{{when .UpdatedAt}}
{{else}}

No snippets yet.

{{end}} {{end}} {{if eq .Tab "people"}}{{$org := .Owner}}

people {{len .Members}}

{{if .Notice}}{{end}}
{{range .Members}} {{end}}
memberroleactions
{{.Name}} {{.Role}}
{{template "confirmfield" .Name}}
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}}

{{if .Members}}
{{template "confirmfield" .Name}}
{{end}}
{{if .Grants}}
{{template "confirmfield" .Name}}
{{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}}