From acf6c13fd90dec8fc9380579e34b9372c0fb9b30 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Sun, 20 Apr 2025 13:41:51 +0000 Subject: [PATCH] fix(ui/pr): use eye icon for reviews (#7584) Followup to https://codeberg.org/forgejo/forgejo/pulls/6523 Reverts icon change introduced in https://codeberg.org/forgejo/forgejo/pulls/5695 It went unnoticed since v10 and was likely caused by bad copy paste and I don't think it's really worth a test. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7584 Reviewed-by: Gusted Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org> --- templates/repo/issue/view_content/comments.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index bea517dfa2..f7d4f7c96e 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -526,7 +526,7 @@ {{else if eq .Type 27}} {{if or .AddedRequestReview .RemovedRequestReview}}
- {{svg "octicon-tag"}} + {{svg "octicon-eye"}} {{template "shared/user/avatarlink" dict "user" .Poster}} {{if and (eq (len .RemovedRequestReview) 1) (eq (len .AddedRequestReview) 0) (eq ((index .RemovedRequestReview 0).ID) .PosterID) (eq ((index .RemovedRequestReview 0).Type) "user")}} @@ -724,7 +724,7 @@ {{if or .AddedRequestReview .RemovedRequestReview}}
  • - {{svg "octicon-tag" 20}} + {{svg "octicon-eye" 20}} {{if and (eq (len .RemovedRequestReview) 1) (eq (len .AddedRequestReview) 0) (eq ((index .RemovedRequestReview 0).ID) .PosterID) (eq ((index .RemovedRequestReview 0).Type) "user")}}