File

operations/operation-summary/operation-summary.component.ts

Metadata

selector c8y-operation-summary
templateUrl operation-summary.component.html

Index

Properties
Inputs
Accessors

Constructor

constructor(inventoryService: InventoryService)
Parameters :
Name Type Optional
inventoryService InventoryService No

Inputs

description

Type : string

deviceQueryString

Type : string

name

Type : string

Properties

deviceCount
deviceCount: number
Type : number
Default value : 0
displayDeviceCount
displayDeviceCount: boolean
Type : boolean
Default value : false

Accessors

deviceQueryString
setdeviceQueryString(query: string)
Parameters :
Name Type Optional
query string No
Returns : void
<div class="row">
  <div class="col-md-12 text-center">
    <p>{{ name | translate }}</p>
    <div class="row">
      <div class="col-md-4 col-md-offset-4 text-center">
        <h4 class="m-t-16 m-b-8 text-truncate" title="{{ description | translate }}">{{ description | translate }}</h4>
      </div>
    </div>
    <span
      class="text-muted"
      [ngPlural]="deviceCount"
      *ngIf="displayDeviceCount && deviceCount !== undefined && deviceCount !== null"
    >
      <ng-template ngPluralCase="=0">
        <span translate>No devices selected</span>
      </ng-template>
      <ng-template ngPluralCase="=1">
        <span translate>1 device selected</span>
      </ng-template>
      <ng-template ngPluralCase="other">
        <span translate ngNonBindable [translateParams]="{ deviceCount: deviceCount }">
          {{ deviceCount }} devices selected</span
        >
      </ng-template>
    </span>
  </div>
</div>

result-matching ""

    No results matching ""