diff --git a/templates/repo/activity.tmpl b/templates/repo/activity.tmpl
index f5454afb93..ed959c5b01 100644
--- a/templates/repo/activity.tmpl
+++ b/templates/repo/activity.tmpl
@@ -30,9 +30,13 @@
{{if gt .Activity.ActivePRCount 0}}
+ {{else}}
+
{{end}}
{{.i18n.Tr (TrN .i18n.Lang .Activity.ActivePRCount "repo.activity.active_prs_count_1" "repo.activity.active_prs_count_n") .Activity.ActivePRCount | Safe }}
@@ -41,9 +45,13 @@
{{if gt .Activity.ActiveIssueCount 0}}
+ {{else}}
+
{{end}}
{{.i18n.Tr (TrN .i18n.Lang .Activity.ActiveIssueCount "repo.activity.active_issues_count_1" "repo.activity.active_issues_count_n") .Activity.ActiveIssueCount | Safe }}