mirror of
https://github.com/go-gitea/gitea
synced 2024-11-28 22:58:03 +01:00
Use trashcan icon for remove review request (#13722)
This commit is contained in:
parent
979fbe086c
commit
3f13e07849
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
{{if .CanChange }}
|
{{if .CanChange }}
|
||||||
<a href="#" class="ui poping up icon re-request-review {{if .Checked}}checked{{end}}" data-issue-id="{{$.Issue.ID}}" data-content="{{if .Checked}} {{$.i18n.Tr "repo.issues.remove_request_review"}} {{else}} {{$.i18n.Tr "repo.issues.re_request_review"}} {{end}}" data-id="{{.ItemID}}" data-update-url="{{$.RepoLink}}/issues/request_review">
|
<a href="#" class="ui poping up icon re-request-review {{if .Checked}}checked{{end}}" data-issue-id="{{$.Issue.ID}}" data-content="{{if .Checked}} {{$.i18n.Tr "repo.issues.remove_request_review"}} {{else}} {{$.i18n.Tr "repo.issues.re_request_review"}} {{end}}" data-id="{{.ItemID}}" data-update-url="{{$.RepoLink}}/issues/request_review">
|
||||||
{{svg "octicon-sync"}}
|
{{if .Checked}} {{svg "octicon-trashcan"}} {{else}} {{svg "octicon-sync"}} {{end}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{svg (printf "octicon-%s" .Review.Type.Icon)}}
|
{{svg (printf "octicon-%s" .Review.Type.Icon)}}
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
{{if .CanChange}}
|
{{if .CanChange}}
|
||||||
<a href="#" class="ui poping up icon re-request-review {{if .Checked}}checked{{end}}" data-content="{{if .Checked}} {{$.i18n.Tr "repo.issues.remove_request_review"}} {{else}} {{$.i18n.Tr "repo.issues.re_request_review"}} {{end}}" data-issue-id="{{$.Issue.ID}}" data-id="{{.ItemID}}" data-update-url="{{$.RepoLink}}/issues/request_review">
|
<a href="#" class="ui poping up icon re-request-review {{if .Checked}}checked{{end}}" data-content="{{if .Checked}} {{$.i18n.Tr "repo.issues.remove_request_review"}} {{else}} {{$.i18n.Tr "repo.issues.re_request_review"}} {{end}}" data-issue-id="{{$.Issue.ID}}" data-id="{{.ItemID}}" data-update-url="{{$.RepoLink}}/issues/request_review">
|
||||||
{{svg "octicon-sync"}}
|
{{if .Checked}} {{svg "octicon-trashcan"}} {{else}} {{svg "octicon-sync"}} {{end}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{svg (printf "octicon-%s" .Review.Type.Icon)}}
|
{{svg (printf "octicon-%s" .Review.Type.Icon)}}
|
||||||
|
|
Loading…
Reference in a new issue