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

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

{{if .Profile.Description}}

{{.Profile.Description}}

{{end}}
{{if .Profile.Website}}{{.Profile.Website}}{{end}} {{range .Profile.Links}}{{if .Label}}{{.Label}}{{else}}{{.URL}}{{end}}{{end}} {{if and (eq .Kind "org") .Repos}}LabelsMilestones{{end}}
{{if .Self}}Edit profile{{end}}
{{if .Orgs}}

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

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

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

{{end}}
{{if and .Notice (ne .Tab "snippets") (ne .Tab "people")}}

{{.Notice}}

{{end}}
{{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

{{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"}} {{if .Repos}}
{{if .Self}}New repository{{end}}
{{end}}
{{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}}

gitbay snippet create <file> < file

new snippet
{{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}} {{if .Notice}}{{end}}

People {{len .Members}}

{{range .Members}} {{end}}
memberroleactions
{{.Name}} {{.Role}}
Remove
{{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}}
Delete team…
{{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:

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