2021-11-24 11:12:54 -05:00
|
|
|
<div class="ui tabs container">
|
|
|
|
<div class="ui secondary stackable pointing menu">
|
|
|
|
<a class="{{if .PageIsViewRepositories}}active{{end}} item" href="{{$.Org.HomeLink}}">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{svg "octicon-repo"}} {{.locale.Tr "user.repositories"}}
|
2021-11-24 11:12:54 -05:00
|
|
|
</a>
|
2022-03-31 13:31:53 -04:00
|
|
|
{{if .IsPackageEnabled}}
|
2022-03-30 04:42:47 -04:00
|
|
|
<a class="item" href="{{$.Org.HomeLink}}/-/packages">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{svg "octicon-package"}} {{.locale.Tr "packages.title"}}
|
2022-03-30 04:42:47 -04:00
|
|
|
</a>
|
2022-03-31 13:31:53 -04:00
|
|
|
{{end}}
|
2021-11-24 11:12:54 -05:00
|
|
|
{{if .IsOrganizationMember}}
|
|
|
|
<a class="{{if $.PageIsOrgMembers}}active{{end}} item" href="{{$.OrgLink}}/members">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{svg "octicon-organization"}} {{$.locale.Tr "org.people"}}
|
2021-11-24 11:12:54 -05:00
|
|
|
{{if .NumMembers}}
|
|
|
|
<div class="ui primary label">{{.NumMembers}}</div>
|
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
<a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{svg "octicon-people"}} {{$.locale.Tr "org.teams"}}
|
2021-11-24 11:12:54 -05:00
|
|
|
{{if .NumTeams}}
|
|
|
|
<div class="ui black label">{{.NumTeams}}</div>
|
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if .IsOrganizationOwner}}
|
|
|
|
<div class="right menu">
|
2021-11-25 10:15:58 -05:00
|
|
|
<a class="{{if .PageIsOrgSettings}}active{{end}} item" href="{{.OrgLink}}/settings">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{svg "octicon-tools"}} {{.locale.Tr "repo.settings"}}
|
2021-11-24 11:12:54 -05:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|