-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change commit status icons to SVG (#20736)
* Fix commit status popover and switch to svg icons * margin tweak * fix integration, use warning sign for error to match previous * remove fix from here, will be a new pr * use top/bottom positioning * vertically center * use no-entry over alert oction * add exclamation icon * fix test selector * more test fixes
- Loading branch information
1 parent
7009eb9
commit 89505ac
Showing
7 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{{if eq .State "pending"}} | ||
<i class="commit-status circle icon yellow"></i> | ||
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}} | ||
{{end}} | ||
{{if eq .State "success"}} | ||
<i class="commit-status check icon green"></i> | ||
{{svg "octicon-check" 18 "commit-status icon text green"}} | ||
{{end}} | ||
{{if eq .State "error"}} | ||
<i class="commit-status warning icon red"></i> | ||
{{svg "gitea-exclamation" 18 "commit-status icon text red"}} | ||
{{end}} | ||
{{if eq .State "failure"}} | ||
<i class="commit-status remove icon red"></i> | ||
{{svg "octicon-x" 18 "commit-status icon text red"}} | ||
{{end}} | ||
{{if eq .State "warning"}} | ||
<i class="commit-status warning sign icon yellow"></i> | ||
{{svg "gitea-exclamation" 18 "commit-status icon text yellow"}} | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.