15 lines
362 B
Handlebars
15 lines
362 B
Handlebars
{{#if @model.isUnknownStatus}}
|
|||
|
|
<Hds::Badge
|
||
|
|
@text={{@model.status}}
|
||
|
|
@color={{this.statusBadgeColor}}
|
||
|
|
@icon={{this.statusBadgeIcon}}
|
||
|
|
@type={{this.statusBadgeType}}
|
||
|
|
/>
|
||
|
|
{{else}}
|
||
|
|
<Hds::Badge
|
||
|
|
@text={{this.statusBadgeText}}
|
||
|
|
@color={{this.statusBadgeColor}}
|
||
|
|
@icon={{this.statusBadgeIcon}}
|
||
|
|
@type={{this.statusBadgeType}}
|
||
|
|
/>
|
||
|
|
{{/if}}
|