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>
(cherry picked from commit 1ba0baa030)
This commit is contained in:
Giteabot 2023-07-19 19:24:04 -04:00 committed by Earl Warren
parent 321909de7e
commit de7f99d339
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

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