Skip to content

Commit 86c6b0d

Browse files
brechtvltechknowlogick
authored andcommitted
Pull Requests: add color to approved/reject icon in pull requests list
Makes it easier to scan the list of pull requests and see the status.
1 parent b8eb282 commit 86c6b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/shared/issuelist.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@
118118
{{$rejectOfficial := call $approvalCounts .ID "reject"}}
119119
{{$waitingOfficial := call $approvalCounts .ID "waiting"}}
120120
{{if gt $approveOfficial 0}}
121-
<span class="approvals df ac">
121+
<span class="approvals df ac green">
122122
{{svg "octicon-check" 14 "mr-1"}}
123123
{{$.locale.TrN $approveOfficial "repo.pulls.approve_count_1" "repo.pulls.approve_count_n" $approveOfficial}}
124124
</span>
125125
{{end}}
126126
{{if gt $rejectOfficial 0}}
127-
<span class="rejects df ac">
127+
<span class="rejects df ac red">
128128
{{svg "octicon-diff" 14 "mr-2"}}
129129
{{$.locale.TrN $rejectOfficial "repo.pulls.reject_count_1" "repo.pulls.reject_count_n" $rejectOfficial}}
130130
</span>

0 commit comments

Comments
 (0)