diff options
author | Jack Hay <jjphay@gmail.com> | 2022-05-09 21:04:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 21:04:27 +0200 |
commit | 7e19200e5360ad3636153a8e4bc8e4b4fd40a872 (patch) | |
tree | 9a4b3931ed9392f20bf02ab661c0582be1ffbf0f | |
parent | Add Webfinger endpoint (#19462) (diff) | |
download | forgejo-7e19200e5360ad3636153a8e4bc8e4b4fd40a872.tar.xz forgejo-7e19200e5360ad3636153a8e4bc8e4b4fd40a872.zip |
Add tooltip to pending PR comments (#19662)
Diffstat (limited to '')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 | ||||
-rw-r--r-- | templates/repo/diff/comments.tmpl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index d43e34dd82..ba619b413c 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1463,6 +1463,7 @@ issues.review.add_review_request = "requested review from %s %s" issues.review.remove_review_request = "removed review request for %s %s" issues.review.remove_review_request_self = "refused to review %s" issues.review.pending = Pending +issues.review.pending.tooltip = This comment is not currently visible to other users. To submit your pending comments, select '%s' -> '%s/%s/%s' at the top of the page. issues.review.review = Review issues.review.reviewers = Reviewers issues.review.outdated = Outdated 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}} |