20 lines
748 B
Smarty
20 lines
748 B
Smarty
<div class="row order-process">
|
|
{$visited = true}
|
|
{foreach $body.steps as $stepName => $step}
|
|
{if $stepName == $body.stepName}{$visited = false}{/if}
|
|
<div class="col-xs-3 {if $step.selected}active{/if}">
|
|
{if $visited}
|
|
<a href="/{$step.url}" class="order-process-step">
|
|
<span class="step">{$step@iteration}<i>/{$body.steps|count}</i></span>
|
|
<span class="step-title">{$step.title}</span>
|
|
</a>
|
|
{else}
|
|
<div class="order-process-step">
|
|
<span class="step">{$step@iteration}<i>/{$body.steps|count}</i></span>
|
|
<span class="step-title">{$step.title}</span>
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
{/foreach}
|
|
</div>
|