From 2d117b6ddc7ca3d3c6464be1388664575e2f1dec Mon Sep 17 00:00:00 2001 From: Gitea Date: Fri, 22 Jan 2021 17:19:51 +0800 Subject: [PATCH] add tips. --- templates/repo/issue/view_content/pull.tmpl | 83 +++++++++++++++++++-- 1 file changed, 78 insertions(+), 5 deletions(-) diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 59f53e9d6..8e53d944d 100755 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -196,6 +196,8 @@ {{$.i18n.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason) }} {{end}} + + {{if .AllowMerge}} {{$prUnit := .Repository.MustGetUnit $.UnitTypePullRequests}} {{$approvers := .Issue.PullRequest.GetApprovers}} @@ -211,7 +213,7 @@
项目奖励
-