diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 77a0e955e1..572ed17e15 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -8,7 +8,7 @@
{{ if .IsSplitStyle }}{{.i18n.Tr "repo.diff.show_unified_view"}}{{else}}{{.i18n.Tr "repo.diff.show_split_view"}}{{end}} {{.i18n.Tr "repo.diff.show_diff_stats"}} - {{if $.SignedUserID}} + {{if and .PageIsPullFiles $.SignedUserID}} {{template "repo/diff/new_review" .}} {{end}}