1
0
Fork 0
forked from forgejo/forgejo

Fix protected branch icon location (#26576) (#27317)

Backport #26576 by @yp05327

Before:

![image](717c726d-d3ae-4ea3-86bf-36fd8430f1ba)
After:

![image](f4508428-380a-4b44-9cc2-fa9483971808)

Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
Giteabot 2023-09-28 06:51:01 +08:00 committed by GitHub
parent d74fba8175
commit a6a79add68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View file

@ -1,4 +1,5 @@
<!-- make sure this matches the color logic in web_src/js/components/DashboardRepoList.vue -->
<span class="gt-df">
{{if eq .State "pending"}}
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
{{end}}
@ -11,3 +12,4 @@
{{if eq .State "failure"}}
{{svg "octicon-x" 18 "commit-status icon text red"}}
{{end}}
</span>