summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorJack Hay <jjphay@gmail.com>2022-05-09 15:04:27 -0400
committerGitHub <noreply@github.com>2022-05-09 21:04:27 +0200
commit7e19200e5360ad3636153a8e4bc8e4b4fd40a872 (patch)
tree9a4b3931ed9392f20bf02ab661c0582be1ffbf0f /templates/repo
parent3da9dafc605d9160f317388a302578df55e46b98 (diff)
downloadgitea-7e19200e5360ad3636153a8e4bc8e4b4fd40a872.tar.gz
gitea-7e19200e5360ad3636153a8e4bc8e4b4fd40a872.zip
Add tooltip to pending PR comments (#19662)
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff/comments.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl
index 863e295862..6a581ba04a 100644
--- a/templates/repo/diff/comments.tmpl
+++ b/templates/repo/diff/comments.tmpl
@@ -37,7 +37,7 @@
<div class="comment-header-right actions df ac">
{{if and .Review}}
{{if eq .Review.Type 0}}
- <div class="ui label basic small yellow pending-label">
+ <div class="ui label basic small yellow pending-label tooltip" data-content="{{$.root.i18n.Tr "repo.issues.review.pending.tooltip" ($.root.i18n.Tr "repo.diff.review") ($.root.i18n.Tr "repo.diff.review.approve") ($.root.i18n.Tr "repo.diff.review.comment") ($.root.i18n.Tr "repo.diff.review.reject")}}">
{{$.root.i18n.Tr "repo.issues.review.pending"}}
</div>
{{else}}