ui/lib/pipeline/addon/components/pipeline-history-table/template.hbs

27 lines
851 B
Handlebars

{{#each filtered as |stage stageIndex| }}
{{#accordion-list-item-pipeline
title=(pipeline-stages-info stageInfo stageIndex false 'name')
status=stage.state
date=(date-str stage.started)
duration=(date-diff stage.ended stage.started 'ms')
statusClass=stage.state
expandAll=true
expand=(action expandFn)
componentName='pipeline-history-table'
as | parent |
}}
{{#each stage.steps as |step stepIndex|}}
{{#pipeline-activity-step
activity=activity
step=step
stageInfo=stageInfo
stageIndex=stageIndex
stepIndex=stepIndex
stageIndexLog=stageIndexLog
stepIndexLog=stepIndexLog
showLogsActivity=showLogsActivity
}}
{{/pipeline-activity-step}}
{{/each}}
{{/accordion-list-item-pipeline}}
{{/each}}