2021-11-24 21:42:54 +05:30
|
|
|
<div class="ui tabs container">
|
|
|
|
<div class="ui secondary stackable pointing menu">
|
|
|
|
<a class="{{if .PageIsViewRepositories}}active{{end}} item" href="{{$.Org.HomeLink}}">
|
|
|
|
{{svg "octicon-repo"}} {{.i18n.Tr "user.repositories"}}
|
|
|
|
</a>
|
2022-03-30 14:12:47 +05:30
|
|
|
<a class="item" href="{{$.Org.HomeLink}}/-/packages">
|
|
|
|
{{svg "octicon-package"}} {{.i18n.Tr "packages.title"}}
|
|
|
|
</a>
|
2021-11-24 21:42:54 +05:30
|
|
|
{{if .IsOrganizationMember}}
|
|
|
|
<a class="{{if $.PageIsOrgMembers}}active{{end}} item" href="{{$.OrgLink}}/members">
|
|
|
|
{{svg "octicon-organization"}} {{$.i18n.Tr "org.people"}}
|
|
|
|
{{if .NumMembers}}
|
|
|
|
<div class="ui primary label">{{.NumMembers}}</div>
|
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
<a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
|
|
|
|
{{svg "octicon-people"}} {{$.i18n.Tr "org.teams"}}
|
|
|
|
{{if .NumTeams}}
|
|
|
|
<div class="ui black label">{{.NumTeams}}</div>
|
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if .IsOrganizationOwner}}
|
|
|
|
<div class="right menu">
|
2021-11-25 20:45:58 +05:30
|
|
|
<a class="{{if .PageIsOrgSettings}}active{{end}} item" href="{{.OrgLink}}/settings">
|
2021-11-24 21:42:54 +05:30
|
|
|
{{svg "octicon-tools"}} {{.i18n.Tr "repo.settings"}}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|