{{ 'context-box.search-by-question' | translate }}
{{ 'generic.search' | translate }}
@for (column of columns; track column) {
{{ 'context-box.column.' + column | translate }}
}
@if (historyTableService.loading()) {
@for (_ of skeletonRows(); track $index) {
}
} @else {
@for (row of rows(); track row.resourceId + row.questionIdent) {
@let rowId = row.resourceId + row.questionIdent;
@if (expanded()['question-' + rowId]) {
{{ row.question }}
} @else {
{{ row.questionShort || row.question }}
}
@if (!!row.questionShort) {
{{
(expanded()['question-' + rowId] ? 'context-box.collapse-question' : 'context-box.expand-question')
| translate
}}
}
@if (expanded()['answer-' + rowId]) {
{{ row.answer }}
} @else {
{{ row.answerShort || row.answer || '-' }}
}
@if (!!row.answerShort) {
{{
(expanded()['answer-' + rowId] ? 'context-box.collapse-answer' : 'context-box.expand-answer')
| translate
}}
}
@if (row.failed) {
{{ 'context-box.failed' | translate }}
} @else {
{{ 'context-box.successful' | translate }}
}
{{ (row.created | date: 'mediumDate') || '-' }}
{{ 'context-box.delete' | translate }}
}
}
@if (!historyTableService.loading() && rows().length === 0) {
{{ 'context-box.no-questions' | translate }}
}