repository/software/list/columns/versions.cell-renderer.component.ts
templateUrl | ./versions.cell-renderer.component.html |
Properties |
Methods |
constructor(context: CellRendererContext, repositoryService: RepositoryService)
|
|||||||||
Parameters :
|
getBaseVersionsCount$ | ||||||
getBaseVersionsCount$(software: IManagedObject)
|
||||||
Decorators :
@memoize(undefined)
|
||||||
Parameters :
Returns :
Observable<number | string>
|
Public context |
Type : CellRendererContext
|
isLegacy |
Default value : this.repositoryService.isLegacyEntry.bind(this.repositoryService)
|
software |
<span class="label label-warning flex-item-right-sm" *ngIf="isLegacy(software)">
<span translate> Legacy </span>
</span>
<span *ngIf="!isLegacy(software)">
<span *ngIf="(getBaseVersionsCount$(software) | async) === null">
<span class="badge badge-info flex-item-right-sm">
<i class="icon-spin" c8yIcon="circle-o-notch"></i>
</span>
</span>
<span *ngIf="(getBaseVersionsCount$(software) | async) !== null">
<span class="badge badge-info flex-item-right-sm">
{{ getBaseVersionsCount$(software) | async }}
</span>
</span>
</span>