+ @switch (ws.type) {
+
+ @case ('instruction') {
+
+
+
+
+ }
+
+ @case ('form') {
+
+ }
+
+ @case ('progress') {
+
+ @for (ep of ws.entitySteps; track ep.step.name) {
+
+
+ @switch (ep.status) {
+ @case ('pending') {
+ radio_button_unchecked
+ }
+ @case ('running') {
+
+ }
+ @case ('success') {
+ check_circle
+ }
+ @case ('error') {
+ error
+ }
+ @case ('conflict') {
+ warning
+ }
+ }
+
+
+ {{ ('iot-hub.device-install-step-type-' + ep.step.type | translate) + ' — ' + (ep.resolvedName || ep.step.name) }}
+ @if (ep.status === 'error' && ep.errorMessage) {
+ {{ ep.errorMessage }}
+ }
+ @if (ep.status === 'conflict') {
+ {{ 'iot-hub.device-install-conflict-exists' | translate:{ type: ('iot-hub.device-install-step-type-' + ep.step.type | translate) } }}
+ }
+
+ @if (ep.status === 'success' && ep.resolution) {
+
{{ 'iot-hub.device-install-resolution-' + ep.resolution | translate }}
+ }
+ @if (ep.status === 'conflict') {
+
+ @if (ep.conflictType === 'use-or-overwrite') {
+
+
+ } @else {
+
+
+ }
+
+ }
+
+ }
+
+ }
+ }
+
+