Skip to content

Commit 33ac91c

Browse files
committed
add
1 parent adf7018 commit 33ac91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/header.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
</a>
209209
{{end}}
210210

211-
{{if and (.Permission.CanReadAny ctx.Consts.RepoUnitTypePullRequests ctx.Consts.RepoUnitTypeIssues ctx.Consts.RepoUnitTypeReleases) (not .IsEmptyRepo)}}
211+
{{if and (.Permission.CanReadAny ctx.Consts.RepoUnitTypePullRequests ctx.Consts.RepoUnitTypeIssues ctx.Consts.RepoUnitTypeReleases ctx.Consts.RepoUnitTypeCode) (not .IsEmptyRepo)}}
212212
<a class="{{if .PageIsActivity}}active {{end}}item" href="{{.RepoLink}}/activity">
213213
{{svg "octicon-pulse"}} {{ctx.Locale.Tr "repo.activity"}}
214214
</a>

0 commit comments

Comments
 (0)