File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
templates/repo/issue/view_content Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 91
91
{{svg "octicon-hourglass" 16}}
92
92
</span>
93
93
{{end}}
94
- {{if .CanChange}}
94
+ {{if and .CanChange (not $.Issue.PullRequest.HasMerged) }}
95
95
<a href="#" class="ui muted icon re-request-review{{if .Checked}} checked{{end}}" data-tooltip-content="{{if .Checked}}{{ctx.Locale.Tr "repo.issues.remove_request_review"}}{{else}}{{ctx.Locale.Tr "repo.issues.re_request_review"}}{{end}}" data-issue-id="{{$.Issue.ID}}" data-id="{{.ItemID}}" data-update-url="{{$.RepoLink}}/issues/request_review">{{if .Checked}}{{svg "octicon-trash"}}{{else}}{{svg "octicon-sync"}}{{end}}</a>
96
96
{{end}}
97
97
{{svg (printf "octicon-%s" .Review.Type.Icon) 16 (printf "text %s" (.Review.HTMLTypeColorName))}}
You can’t perform that action at this time.
0 commit comments