{{#if stepsDraggble}} {{#sortable-objects class=(if stagesDraggable 'draggable' '') sortableObjectList=model enableSort=true sortingScope=sortingScope}} {{#each model as |item index|}} {{#draggable-object isDraggable=false class="step-content" content=item overrideClass='sortObject' isSortable=true sortingScope=sortingScope dragStartAction="dragStart" dragStartHook=(action 'startHook') dragEndHook=(action "dragEnd") }}
{{pipeline-step model=item }}
{{/draggable-object}} {{/each}} {{/sortable-objects}} {{else}} {{#each model as |item index|}}
{{pipeline-step model=item}}
{{/each}} {{/if}} {{#if editable}} {{#unless (eq stepMode 'scm')}} {{/unless}} {{/if}}