Skip to content

Commit

Permalink
Pull Requests: add color to approved/reject icon in pull requests list
Browse files Browse the repository at this point in the history
Makes it easier to scan the list of pull requests and see the status.
  • Loading branch information
brechtvl committed Jan 18, 2023
1 parent 7ddc11d commit d63d773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/shared/issuelist.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@
{{$rejectOfficial := call $approvalCounts .ID "reject"}}
{{$waitingOfficial := call $approvalCounts .ID "waiting"}}
{{if gt $approveOfficial 0}}
<span class="approvals df ac">
<span class="approvals df ac green">
{{svg "octicon-check" 14 "mr-1"}}
{{$.locale.TrN $approveOfficial "repo.pulls.approve_count_1" "repo.pulls.approve_count_n" $approveOfficial}}
</span>
{{end}}
{{if gt $rejectOfficial 0}}
<span class="rejects df ac">
<span class="rejects df ac red">
{{svg "octicon-diff" 14 "mr-2"}}
{{$.locale.TrN $rejectOfficial "repo.pulls.reject_count_1" "repo.pulls.reject_count_n" $rejectOfficial}}
</span>
Expand Down

0 comments on commit d63d773

Please sign in to comment.