mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(applications): show status indication [EE-1623] (#5614)
* feat(applications): show status indication * feat(k8s/applications): move colors to theme * fix helm application indicator for main header * refactor(k8s/apps): receive more general ok status Co-authored-by: waysonwei <degui.wei@gmail.com>
This commit is contained in:
parent
7b72130433
commit
50f63ae865
5 changed files with 28 additions and 0 deletions
|
@ -201,6 +201,7 @@
|
|||
>
|
||||
<td>{{ item.ApplicationType | kubernetesApplicationTypeText }}</td>
|
||||
<td ng-if="item.ApplicationType !== $ctrl.KubernetesApplicationTypes.POD">
|
||||
<status-indicator ok="(item.TotalPodsCount > 0 && item.TotalPodsCount === item.RunningPodsCount) || item.Status === 'Ready'"></status-indicator>
|
||||
<span ng-if="item.DeploymentType === $ctrl.KubernetesApplicationDeploymentTypes.REPLICATED">Replicated</span>
|
||||
<span ng-if="item.DeploymentType === $ctrl.KubernetesApplicationDeploymentTypes.GLOBAL">Global</span>
|
||||
<span ng-if="item.RunningPodsCount >= 0 && item.TotalPodsCount >= 0">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue