Skip to content

Commit 1db68c7

Browse files
committed
add exclamation icon
1 parent 71f96eb commit 1db68c7

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

integrations/pull_status_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ func TestPullCreate_CommitStatus(t *testing.T) {
5858
statesIcons := map[api.CommitStatusState]string{
5959
api.CommitStatusPending: "octicon-dot-fill",
6060
api.CommitStatusSuccess: "octicon-check",
61-
api.CommitStatusError: "octicon-no-entry",
61+
api.CommitStatusError: "gitea-exclamation",
6262
api.CommitStatusFailure: "octicon-x",
63-
api.CommitStatusWarning: "octicon-no-entry",
63+
api.CommitStatusWarning: "gitea-exclamation",
6464
}
6565

6666
testCtx := NewAPITestContext(t, "user1", "repo1")

public/img/svg/gitea-exclamation.svg

+1
Loading

templates/repo/commit_status.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
{{svg "octicon-check" 18 "commit-status icon text green"}}
66
{{end}}
77
{{if eq .State "error"}}
8-
{{svg "octicon-no-entry" 18 "commit-status icon text red"}}
8+
{{svg "gitea-exclamation" 18 "commit-status icon text red"}}
99
{{end}}
1010
{{if eq .State "failure"}}
1111
{{svg "octicon-x" 18 "commit-status icon text red"}}
1212
{{end}}
1313
{{if eq .State "warning"}}
14-
{{svg "octicon-no-entry" 18 "commit-status icon text yellow"}}
14+
{{svg "gitea-exclamation" 18 "commit-status icon text yellow"}}
1515
{{end}}

web_src/svg/gitea-exclamation.svg

+1
Loading

0 commit comments

Comments
 (0)