1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-06-09 12:36:18 +02:00

Fix commit status color on dashboard repolist (#25993) (#25998)

Backport #25993 by @silverwind

Followup to https://github.com/go-gitea/gitea/pull/25935 which has
missed to change the icon on the repolist because the logic is not
shared with templates.

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Giteabot 2023-07-19 19:24:04 -04:00 committed by GitHub
parent 28e8c691a6
commit 1ba0baa030
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ import {SvgIcon} from '../svg.js';
const {appSubUrl, assetUrlPrefix, pageData} = window.config;
const commitStatus = {
pending: {name: 'octicon-dot-fill', color: 'grey'},
pending: {name: 'octicon-dot-fill', color: 'yellow'},
running: {name: 'octicon-dot-fill', color: 'yellow'},
success: {name: 'octicon-check', color: 'green'},
error: {name: 'gitea-exclamation', color: 'red'},