summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff/new_review.tmpl
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-05-07 05:35:12 +0000
committerGitHub <noreply@github.com>2022-05-07 01:35:12 -0400
commit0eac09e0662ae70b8b6e3e5e8c33547c79ff7124 (patch)
treed5dc0a6ed8c4c1b92a273277380300289103d328 /templates/repo/diff/new_review.tmpl
parent5a9c505e148a06cc652cab52bf7a59b23e605282 (diff)
downloadgitea-0eac09e0662ae70b8b6e3e5e8c33547c79ff7124.tar.gz
gitea-0eac09e0662ae70b8b6e3e5e8c33547c79ff7124.zip
Improve reviewing PR UX (#19612)
Diffstat (limited to 'templates/repo/diff/new_review.tmpl')
-rw-r--r--templates/repo/diff/new_review.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/diff/new_review.tmpl b/templates/repo/diff/new_review.tmpl
index cbaabe255e..e4110b50ed 100644
--- a/templates/repo/diff/new_review.tmpl
+++ b/templates/repo/diff/new_review.tmpl
@@ -1,6 +1,7 @@
<div class="ui top right pointing dropdown custom" id="review-box">
<div class="ui tiny green button btn-review">
{{.i18n.Tr "repo.diff.review"}}
+ <span class="ui small label review-comments-counter" data-pending-comment-number="{{.PendingCodeCommentNumber}}">{{.PendingCodeCommentNumber}}</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
</div>
<div class="menu review-box">