We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf7018 commit 33ac91cCopy full SHA for 33ac91c
templates/repo/header.tmpl
@@ -208,7 +208,7 @@
208
</a>
209
{{end}}
210
211
- {{if and (.Permission.CanReadAny ctx.Consts.RepoUnitTypePullRequests ctx.Consts.RepoUnitTypeIssues ctx.Consts.RepoUnitTypeReleases) (not .IsEmptyRepo)}}
+ {{if and (.Permission.CanReadAny ctx.Consts.RepoUnitTypePullRequests ctx.Consts.RepoUnitTypeIssues ctx.Consts.RepoUnitTypeReleases ctx.Consts.RepoUnitTypeCode) (not .IsEmptyRepo)}}
212
<a class="{{if .PageIsActivity}}active {{end}}item" href="{{.RepoLink}}/activity">
213
{{svg "octicon-pulse"}} {{ctx.Locale.Tr "repo.activity"}}
214
0 commit comments