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