@ -61,7 +61,7 @@
<a class=" {{ if not $ .Team }} active selected {{ end }} item" title=" {{ .i18n .Tr "all" }} " href=" {{ $ .Org .OrganisationLink }} / {{ if $ .PageIsIssues }} issues {{ else if $ .PageIsPulls }} pulls {{ else if $ .PageIsMilestonesDashboard }} milestones {{ else }} dashboard {{ end }} ">
<a class=" {{ if not $ .Team }} active selected {{ end }} item" title=" {{ .i18n .Tr "all" }} " href=" {{ $ .Org .OrganisationLink }} / {{ if $ .PageIsIssues }} issues {{ else if $ .PageIsPulls }} pulls {{ else if $ .PageIsMilestonesDashboard }} milestones {{ else }} dashboard {{ end }} ">
{{ .i18n .Tr "all" }}
{{ .i18n .Tr "all" }}
</a>
</a>
{{ range .Org . Teams}}
{{ range .OrgTeams }}
{{ if not .IncludesAllRepositories }}
{{ if not .IncludesAllRepositories }}
<a class=" {{ if $ .Team }} {{ if eq $ .Team .ID .ID }} active selected {{ end }} {{ end }} item" title=" {{ .Name }} " href=" {{ $ .Org .OrganisationLink }} / {{ if $ .PageIsIssues }} issues {{ else if $ .PageIsPulls }} pulls {{ else if $ .PageIsMilestonesDashboard }} milestones {{ else }} dashboard {{ end }} / {{ .Name }} ">
<a class=" {{ if $ .Team }} {{ if eq $ .Team .ID .ID }} active selected {{ end }} {{ end }} item" title=" {{ .Name }} " href=" {{ $ .Org .OrganisationLink }} / {{ if $ .PageIsIssues }} issues {{ else if $ .PageIsPulls }} pulls {{ else if $ .PageIsMilestonesDashboard }} milestones {{ else }} dashboard {{ end }} / {{ .Name }} ">
{{ .Name }}
{{ .Name }}
@ -85,7 +85,7 @@
</a>
</a>
{{ end }}
{{ end }}
{{ if not .UnitPullsGlobalDisabled }}
{{ if not .UnitPullsGlobalDisabled }}
<a class=" {{ if .PageIsPulls }} active {{ end }} item" href=" {{ .ContextUser .OrganisationLink }} /pulls {{ if .Team }} / {{ PathEscape .Team .Name }} {{ end }} ">
<a class=" {{ if .PageIsPulls }} active {{ end }} item" href=" {{ .ContextUser .OrganisationLink }} /pulls {{ if .Team }} / {{ PathEscape .Team .Name }} {{ end }} ">
{{ svg "octicon-git-pull-request" }} {{ .i18n .Tr "pull_requests" }}
{{ svg "octicon-git-pull-request" }} {{ .i18n .Tr "pull_requests" }}
</a>
</a>
{{ end }}
{{ end }}