2023-07-07 00:29:24 +05:30
|
|
|
<div class="ui container">
|
2024-03-27 18:18:09 +05:30
|
|
|
<overflow-menu class="ui secondary pointing tabular borderless menu tw-mb-4">
|
2024-03-15 07:35:31 +05:30
|
|
|
<div class="overflow-menu-items">
|
|
|
|
<a class="{{if .PageIsViewRepositories}}active {{end}}item" href="{{$.Org.HomeLink}}">
|
|
|
|
{{svg "octicon-repo"}} {{ctx.Locale.Tr "user.repositories"}}
|
|
|
|
{{if .RepoCount}}
|
|
|
|
<div class="ui small label">{{.RepoCount}}</div>
|
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
{{if .CanReadProjects}}
|
|
|
|
<a class="{{if .PageIsViewProjects}}active {{end}}item" href="{{$.Org.HomeLink}}/-/projects">
|
|
|
|
{{svg "octicon-project-symlink"}} {{ctx.Locale.Tr "user.projects"}}
|
|
|
|
{{if .ProjectCount}}
|
|
|
|
<div class="ui small label">{{.ProjectCount}}</div>
|
|
|
|
{{end}}
|
|
|
|
</a>
|
2023-04-20 00:28:36 +05:30
|
|
|
{{end}}
|
2024-03-15 07:35:31 +05:30
|
|
|
{{if and .IsPackageEnabled .CanReadPackages}}
|
|
|
|
<a class="{{if .IsPackagesPage}}active {{end}}item" href="{{$.Org.HomeLink}}/-/packages">
|
|
|
|
{{svg "octicon-package"}} {{ctx.Locale.Tr "packages.title"}}
|
|
|
|
</a>
|
2023-11-18 08:32:42 +05:30
|
|
|
{{end}}
|
2024-03-15 07:35:31 +05:30
|
|
|
{{if and .IsRepoIndexerEnabled .CanReadCode}}
|
|
|
|
<a class="{{if .IsCodePage}}active {{end}}item" href="{{$.Org.HomeLink}}/-/code">
|
|
|
|
{{svg "octicon-code"}} {{ctx.Locale.Tr "org.code"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .NumMembers}}
|
2022-10-11 04:42:03 +05:30
|
|
|
<a class="{{if $.PageIsOrgMembers}}active {{end}}item" href="{{$.OrgLink}}/members">
|
2024-02-23 05:54:57 +05:30
|
|
|
{{svg "octicon-person"}} {{ctx.Locale.Tr "org.members"}}
|
2023-08-15 19:30:35 +05:30
|
|
|
<div class="ui small label">{{.NumMembers}}</div>
|
2021-11-24 21:42:54 +05:30
|
|
|
</a>
|
2024-03-15 07:35:31 +05:30
|
|
|
{{end}}
|
|
|
|
{{if .IsOrganizationMember}}
|
2022-10-11 04:42:03 +05:30
|
|
|
<a class="{{if $.PageIsOrgTeams}}active {{end}}item" href="{{$.OrgLink}}/teams">
|
2024-02-23 05:54:57 +05:30
|
|
|
{{svg "octicon-people"}} {{ctx.Locale.Tr "org.teams"}}
|
2021-11-24 21:42:54 +05:30
|
|
|
{{if .NumTeams}}
|
2023-04-20 00:28:36 +05:30
|
|
|
<div class="ui small label">{{.NumTeams}}</div>
|
2021-11-24 21:42:54 +05:30
|
|
|
{{end}}
|
|
|
|
</a>
|
2024-03-15 07:35:31 +05:30
|
|
|
{{end}}
|
|
|
|
{{if .IsOrganizationOwner}}
|
|
|
|
<a class="{{if .PageIsOrgSettings}}active {{end}}item" href="{{.OrgLink}}/settings">
|
|
|
|
{{svg "octicon-tools"}} {{ctx.Locale.Tr "repo.settings"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</overflow-menu>
|
2021-11-24 21:42:54 +05:30
|
|
|
</div>
|