@ -2,6 +2,9 @@
<div class="ui secondary stackable pointing menu">
<div class="ui secondary stackable pointing menu">
<a class=" {{ if .PageIsViewRepositories }} active {{ end }} item" href=" {{ $ .Org .HomeLink }} ">
<a class=" {{ if .PageIsViewRepositories }} active {{ end }} item" href=" {{ $ .Org .HomeLink }} ">
{{ svg "octicon-repo" }} {{ .locale .Tr "user.repositories" }}
{{ svg "octicon-repo" }} {{ .locale .Tr "user.repositories" }}
{{ if .Owner .NumRepos }}
<div class="ui small label"> {{ .Owner .NumRepos }} </div>
{{ end }}
</a>
</a>
{{ if and .IsProjectEnabled .CanReadProjects }}
{{ if and .IsProjectEnabled .CanReadProjects }}
<a class=" {{ if .PageIsViewProjects }} active {{ end }} item" href=" {{ $ .Org .HomeLink }} /-/projects">
<a class=" {{ if .PageIsViewProjects }} active {{ end }} item" href=" {{ $ .Org .HomeLink }} /-/projects">
@ -22,13 +25,13 @@
<a class=" {{ if $ .PageIsOrgMembers }} active {{ end }} item" href=" {{ $ .OrgLink }} /members">
<a class=" {{ if $ .PageIsOrgMembers }} active {{ end }} item" href=" {{ $ .OrgLink }} /members">
{{ svg "octicon-person" }} {{ $ .locale .Tr "org.members" }}
{{ svg "octicon-person" }} {{ $ .locale .Tr "org.members" }}
{{ if .NumMembers }}
{{ if .NumMembers }}
<div class="ui primary label">{{ .NumMembers }} </div>
<div class="ui small label">{{ .NumMembers }} </div>
{{ end }}
{{ end }}
</a>
</a>
<a class=" {{ if $ .PageIsOrgTeams }} active {{ end }} item" href=" {{ $ .OrgLink }} /teams">
<a class=" {{ if $ .PageIsOrgTeams }} active {{ end }} item" href=" {{ $ .OrgLink }} /teams">
{{ svg "octicon-people" }} {{ $ .locale .Tr "org.teams" }}
{{ svg "octicon-people" }} {{ $ .locale .Tr "org.teams" }}
{{ if .NumTeams }}
{{ if .NumTeams }}
<div class="ui primary label">{{ .NumTeams }} </div>
<div class="ui small label">{{ .NumTeams }} </div>
{{ end }}
{{ end }}
</a>
</a>
{{ end }}
{{ end }}