mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-16 02:18:22 -07:00
30 lines
1.0 KiB
Handlebars
30 lines
1.0 KiB
Handlebars
|
<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>
|
||
|
{{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">
|
||
|
<a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.OrgLink}}/settings">
|
||
|
{{svg "octicon-tools"}} {{.i18n.Tr "repo.settings"}}
|
||
|
</a>
|
||
|
</div>
|
||
|
{{end}}
|
||
|
</div>
|
||
|
</div>
|