fixed list with error status

This commit is contained in:
Sebastian Frank 2019-05-22 10:59:51 +02:00
parent 686e493bf1
commit e19a52e445
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3

View File

@ -144,7 +144,7 @@ pre h2.failure {
<tr each="{deploy, $index in deploys}" class="{ deploy.state == 'error' ? 'uk-text-danger' : ''}">
<td>
<a onclick="{ showdeployDetails }" class="extrafields-indicator uk-text-nowrap">
<span class="uk-badge uk-text-small" if="{!deploy.building && deploy.status !== 'failure' && deploy.status !== 'success' }"><i class="uk-icon-eye uk-icon-justify"></i>{ App.i18n.get(deploy.status) }</span>
<span class="uk-badge uk-text-small" if="{!deploy.building && deploy.status !== 'failure' && deploy.status !== 'success' && deploy.status !== 'error' }"><i class="uk-icon-eye uk-icon-justify"></i>{ App.i18n.get(deploy.status) }</span>
<span class="uk-badge uk-text-small uk-badge-success" if="{deploy.status === 'success'}"><i class="uk-icon-eye uk-icon-justify"></i>{ App.i18n.get(deploy.status) }</span>
<span class="uk-badge uk-text-small uk-badge-danger" if="{deploy.status === 'failure' || deploy.status === 'error'}"><i class="uk-icon-eye uk-icon-justify"></i>{ App.i18n.get(deploy.status) }</span>
<span class="uk-badge uk-text-small uk-badge-warning" if="{deploy.building && deploy.status !== 'error'}"><i class="uk-icon-spinner uk-icon-spin"></i>{ App.i18n.get(deploy.status) }</span>