diff options
author | Jimmy Praet <jimmy.praet@ksz-bcss.fgov.be> | 2020-11-27 21:55:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 22:55:59 +0200 |
commit | 3f13e078491753827e5e44f7133d3f58113f6fb4 (patch) | |
tree | 8a699e9aa0da2bee5eba46d32648e0dc17464efa | |
parent | 979fbe086cd2e9aef83b44a92f23b970b8897eaf (diff) | |
download | gitea-3f13e078491753827e5e44f7133d3f58113f6fb4.tar.gz gitea-3f13e078491753827e5e44f7133d3f58113f6fb4.zip |
Use trashcan icon for remove review request (#13722)
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index f7870d60d2..dbecf644d9 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -46,7 +46,7 @@ {{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"> - {{svg "octicon-sync"}} + {{if .Checked}} {{svg "octicon-trashcan"}} {{else}} {{svg "octicon-sync"}} {{end}} </a> {{end}} {{svg (printf "octicon-%s" .Review.Type.Icon)}} diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 55a625ec5f..18bd11ce6a 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -70,7 +70,7 @@ {{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"> - {{svg "octicon-sync"}} + {{if .Checked}} {{svg "octicon-trashcan"}} {{else}} {{svg "octicon-sync"}} {{end}} </a> {{end}} {{svg (printf "octicon-%s" .Review.Type.Icon)}} |