mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 12:54:53 -05:00
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.
This commit is contained in:
parent
b8eb282327
commit
86c6b0de06
1 changed files with 2 additions and 2 deletions
|
@ -118,13 +118,13 @@
|
||||||
{{$rejectOfficial := call $approvalCounts .ID "reject"}}
|
{{$rejectOfficial := call $approvalCounts .ID "reject"}}
|
||||||
{{$waitingOfficial := call $approvalCounts .ID "waiting"}}
|
{{$waitingOfficial := call $approvalCounts .ID "waiting"}}
|
||||||
{{if gt $approveOfficial 0}}
|
{{if gt $approveOfficial 0}}
|
||||||
<span class="approvals df ac">
|
<span class="approvals df ac green">
|
||||||
{{svg "octicon-check" 14 "mr-1"}}
|
{{svg "octicon-check" 14 "mr-1"}}
|
||||||
{{$.locale.TrN $approveOfficial "repo.pulls.approve_count_1" "repo.pulls.approve_count_n" $approveOfficial}}
|
{{$.locale.TrN $approveOfficial "repo.pulls.approve_count_1" "repo.pulls.approve_count_n" $approveOfficial}}
|
||||||
</span>
|
</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if gt $rejectOfficial 0}}
|
{{if gt $rejectOfficial 0}}
|
||||||
<span class="rejects df ac">
|
<span class="rejects df ac red">
|
||||||
{{svg "octicon-diff" 14 "mr-2"}}
|
{{svg "octicon-diff" 14 "mr-2"}}
|
||||||
{{$.locale.TrN $rejectOfficial "repo.pulls.reject_count_1" "repo.pulls.reject_count_n" $rejectOfficial}}
|
{{$.locale.TrN $rejectOfficial "repo.pulls.reject_count_1" "repo.pulls.reject_count_n" $rejectOfficial}}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue