| 1 | {{ define "org-subnav" -}} |
| 2 | <nav class="shithub-org-nav" aria-label="Organization"> |
| 3 | <a href="/{{ .Org.Slug }}" class="shithub-org-nav-item{{ if eq .ActiveOrgNav "overview" }} is-active{{ end }}"> |
| 4 | {{ octicon "home" }} Overview |
| 5 | </a> |
| 6 | <a href="/orgs/{{ .Org.Slug }}/repositories" class="shithub-org-nav-item{{ if eq .ActiveOrgNav "repositories" }} is-active{{ end }}"> |
| 7 | {{ octicon "repo" }} Repositories |
| 8 | {{ with .RepoCount }}<span class="shithub-tab-count">{{ . }}</span>{{ end }} |
| 9 | </a> |
| 10 | <span class="shithub-org-nav-item is-disabled" aria-disabled="true">{{ octicon "table" }} Projects</span> |
| 11 | <span class="shithub-org-nav-item is-disabled" aria-disabled="true">{{ octicon "package" }} Packages</span> |
| 12 | <a href="/{{ .Org.Slug }}/teams" class="shithub-org-nav-item{{ if eq .ActiveOrgNav "teams" }} is-active{{ end }}"> |
| 13 | {{ octicon "people" }} Teams |
| 14 | </a> |
| 15 | <a href="/{{ .Org.Slug }}/people" class="shithub-org-nav-item{{ if eq .ActiveOrgNav "people" }} is-active{{ end }}"> |
| 16 | {{ octicon "person" }} People |
| 17 | {{ with .MemberCount }}<span class="shithub-tab-count">{{ . }}</span>{{ end }} |
| 18 | </a> |
| 19 | <span class="shithub-org-nav-item is-disabled" aria-disabled="true">{{ octicon "shield-check" }} Security and quality</span> |
| 20 | <span class="shithub-org-nav-item is-disabled" aria-disabled="true">{{ octicon "pulse" }} Insights</span> |
| 21 | {{ if .IsOwner }} |
| 22 | <a href="/organizations/{{ .Org.Slug }}/settings/profile" class="shithub-org-nav-item{{ if eq .ActiveOrgNav "settings" }} is-active{{ end }}"> |
| 23 | {{ octicon "gear" }} Settings |
| 24 | </a> |
| 25 | {{ end }} |
| 26 | </nav> |
| 27 | {{- end }} |