Back to Thingsboard

Iot Hub Installed Items Table.Component

ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html

4.3.1.31.7 KB
Original Source

{{ 'iot-hub.item-name' | translate }} | {{ item.itemName }} | {{ 'iot-hub.item-type' | translate }} | {{ getItemTypeIcon(item.itemType) }} {{ getItemTypeLabel(item.itemType) }} | {{ 'iot-hub.item-version' | translate }} | {{ item.version }} | {{ 'iot-hub.installed-date' | translate }} | {{ item.createdTime | date:'MMM d, y, h:mm a' }} | @if (updatesChecked) { {{ 'iot-hub.updates' | translate }} } | @if (updatesChecked) { @if (getPublishedVersionInfo(item); as pubInfo) { @if (pubInfo.publishedVersionId !== item.itemVersionId) { @if (!itemVersion) { arrow_upward v{{ pubInfo.publishedVersion }} {{ 'iot-hub.available' | translate }} } @if (itemVersion) { {{ 'iot-hub.update-to-version' | translate:{ version: pubInfo.publishedVersion } }} } @else { {{ 'iot-hub.update' | translate }} } } @else { check {{ 'iot-hub.up-to-date' | translate }} } } @else { check {{ 'iot-hub.up-to-date' | translate }} } } |

| @if (!itemVersion || item.itemType === 'DEVICE') { info_outline } open_in_newmdi:trash-can-outline

more_vert @if (!itemVersion || item.itemType === 'DEVICE') { info_outline{{ (item.itemType === 'DEVICE' ? 'iot-hub.review-device-instructions' : 'iot-hub.view-item-details') | translate }} } open_in_new{{ (item.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.goto-main-dashboard' : 'iot-hub.open-item-type') | translate:{ type: getItemTypeLabel(item.itemType) } }}mdi:trash-can-outline{{ 'iot-hub.remove' | translate }} || | | | | |

@if (!isLoading && dataSource.length === 0) {

{{ 'iot-hub.no-installed-items' | translate }}

{{ 'iot-hub.no-installed-items-text' | translate }}

@if (hasActiveFilters()) { {{ 'iot-hub.clear-all-filters' | translate }} } } @if (isLoading) {

}