-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
template.hbs
23 lines (22 loc) · 906 Bytes
/
template.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="anomalies-table__column-cell">
{{#if record.showResponseSaved}}
<i class="{{if record.showResponseSaved "te-anomaly-table__icon--status-no-margin" "te-anomaly-table__icon--hidden"}} glyphicon glyphicon-ok-circle" ></i>
{{else}}
<i class="{{if record.showResponseFailed "te-anomaly-table__icon--status-no-margin" "te-anomaly-table__icon--hidden"}} glyphicon glyphicon-remove-circle" ></i>
{{/if}}
{{#if record.isUserReported}}
<span class="te-anomaly-table__text">User Reported</span>
{{else}}
{{#power-select
triggerId=record.anomalyId
triggerClass="te-anomaly-table__select te-anomaly-table__select--margin-left"
options=anomalyResponseNames
searchEnabled=false
selected=record.anomalyFeedback
onchange=(action "onChangeAnomalyResponse" record)
as |response|
}}
{{response}}
{{/power-select}}
{{/if}}
</div>