mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-04 09:19:06 +01:00
Add tooltip to pending PR comments (#19662)
This commit is contained in:
parent
3da9dafc60
commit
7e19200e53
2 changed files with 2 additions and 1 deletions
|
@ -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 = "removed review request for %s %s"
|
||||||
issues.review.remove_review_request_self = "refused to review %s"
|
issues.review.remove_review_request_self = "refused to review %s"
|
||||||
issues.review.pending = Pending
|
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.review = Review
|
||||||
issues.review.reviewers = Reviewers
|
issues.review.reviewers = Reviewers
|
||||||
issues.review.outdated = Outdated
|
issues.review.outdated = Outdated
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<div class="comment-header-right actions df ac">
|
<div class="comment-header-right actions df ac">
|
||||||
{{if and .Review}}
|
{{if and .Review}}
|
||||||
{{if eq .Review.Type 0}}
|
{{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"}}
|
{{$.root.i18n.Tr "repo.issues.review.pending"}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
Loading…
Reference in a new issue