2021-11-24 16:12:54 +00:00
|
|
|
<div class="ui tabs container">
|
|
|
|
<div class="ui secondary stackable pointing menu">
|
2022-10-10 23:12:03 +00:00
|
|
|
<a class="{{if .PageIsViewRepositories}}active {{end}}item" href="{{$.Org.HomeLink}}">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{svg "octicon-repo"}} {{.locale.Tr "user.repositories"}}
|
2021-11-24 16:12:54 +00:00
|
|
|
</a>
|
2023-01-20 11:42:33 +00:00
|
|
|
<a class="{{if .PageIsViewProjects}}active {{end}}item" href="{{$.Org.HomeLink}}/-/projects">
|
2023-03-06 19:48:04 +00:00
|
|
|
{{svg "octicon-project-symlink"}} {{.locale.Tr "user.projects"}}
|
2023-01-20 11:42:33 +00:00
|
|
|
</a>
|
2022-03-31 17:31:53 +00:00
|
|
|
{{if .IsPackageEnabled}}
|
2022-03-30 08:42:47 +00:00
|
|
|
<a class="item" href="{{$.Org.HomeLink}}/-/packages">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{svg "octicon-package"}} {{.locale.Tr "packages.title"}}
|
2022-03-30 08:42:47 +00:00
|
|
|
</a>
|
2022-03-31 17:31:53 +00:00
|
|
|
{{end}}
|
2022-10-10 23:12:03 +00:00
|
|
|
{{if .IsRepoIndexerEnabled}}
|
|
|
|
<a class="{{if $.PageIsOrgCode}}active {{end}}item" href="{{$.Org.HomeLink}}/-/code">
|
|
|
|
{{svg "octicon-code"}} {{$.locale.Tr "org.code"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2021-11-24 16:12:54 +00:00
|
|
|
{{if .IsOrganizationMember}}
|
2022-10-10 23:12:03 +00:00
|
|
|
<a class="{{if $.PageIsOrgMembers}}active {{end}}item" href="{{$.OrgLink}}/members">
|
2023-02-18 13:41:31 +00:00
|
|
|
{{svg "octicon-person"}} {{$.locale.Tr "org.members"}}
|
2021-11-24 16:12:54 +00:00
|
|
|
{{if .NumMembers}}
|
|
|
|
<div class="ui primary label">{{.NumMembers}}</div>
|
|
|
|
{{end}}
|
|
|
|
</a>
|
2022-10-10 23:12:03 +00:00
|
|
|
<a class="{{if $.PageIsOrgTeams}}active {{end}}item" href="{{$.OrgLink}}/teams">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{svg "octicon-people"}} {{$.locale.Tr "org.teams"}}
|
2021-11-24 16:12:54 +00:00
|
|
|
{{if .NumTeams}}
|
2022-08-31 09:04:41 +00:00
|
|
|
<div class="ui primary label">{{.NumTeams}}</div>
|
2021-11-24 16:12:54 +00:00
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if .IsOrganizationOwner}}
|
|
|
|
<div class="right menu">
|
2022-10-10 23:12:03 +00:00
|
|
|
<a class="{{if .PageIsOrgSettings}}active {{end}}item" href="{{.OrgLink}}/settings">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{svg "octicon-tools"}} {{.locale.Tr "repo.settings"}}
|
2021-11-24 16:12:54 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|