Fix #25133 Thanks @wxiaoguang @silverwind. I'm sorry I made a mistake, it will be fixed in this PR. --------- Co-authored-by: Giteabot <teabot@gitea.io> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
6a075589bf
commit
81211db077
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="gt-df gt-ac gt-gap-3">
|
<div class="gt-df gt-ac gt-gap-3">
|
||||||
{{if (and $.Permission.IsAdmin (or (eq .Review.Type 1) (eq .Review.Type 3)) (not $.Issue.IsClosed))}}
|
{{if (and $.Permission.IsAdmin (or (eq .Review.Type 1) (eq .Review.Type 3)) (not $.Issue.IsClosed))}}
|
||||||
<a href="#" class="ui muted icon gt-df gt-ac show-modal" data-review-id="dismiss-review-{{.Review.ID}}" data-tooltip-content="{{$.locale.Tr "repo.issues.dismiss_review"}}" data-modal="#dismiss-review-modal">
|
<a href="#" class="ui muted icon gt-df gt-ac show-modal" data-tooltip-content="{{$.locale.Tr "repo.issues.dismiss_review"}}" data-modal="#dismiss-review-modal-{{.Review.ID}}">
|
||||||
{{svg "octicon-x" 20}}
|
{{svg "octicon-x" 20}}
|
||||||
</a>
|
</a>
|
||||||
<div class="ui small modal dismiss-review-modal" id="dismiss-review-modal">
|
<div class="ui small modal" id="dismiss-review-modal-{{.Review.ID}}">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
{{$.locale.Tr "repo.issues.dismiss_review"}}
|
{{$.locale.Tr "repo.issues.dismiss_review"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue