mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 16:24:27 +01:00
Remove commit status running and warning from the dashboard repo list (#26036)
Also added comments so the next time the dashboard repo list won't be forgotten Follows #25839 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
This commit is contained in:
parent
d0dbe52e76
commit
dbbae67f44
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- make sure this matches the color logic in web_src/js/components/DashboardRepoList.vue -->
|
||||||
{{if eq .State "pending"}}
|
{{if eq .State "pending"}}
|
||||||
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
{{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -152,13 +152,12 @@ import {SvgIcon} from '../svg.js';
|
||||||
|
|
||||||
const {appSubUrl, assetUrlPrefix, pageData} = window.config;
|
const {appSubUrl, assetUrlPrefix, pageData} = window.config;
|
||||||
|
|
||||||
|
// make sure this matches templates/repo/commit_status.tmpl
|
||||||
const commitStatus = {
|
const commitStatus = {
|
||||||
pending: {name: 'octicon-dot-fill', color: 'yellow'},
|
pending: {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'},
|
||||||
failure: {name: 'octicon-x', color: 'red'},
|
failure: {name: 'octicon-x', color: 'red'},
|
||||||
warning: {name: 'gitea-exclamation', color: 'yellow'},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const sfc = {
|
const sfc = {
|
||||||
|
|
Loading…
Reference in a new issue