{set layout="one_column_layout"}

{__ text="Lista przypisanych rabatów"}

{if $discounts} {foreach from=$discounts item=discount} {if $discount.type == '%' || $discount.id == 0} {else} {/if} {/foreach}
{__ text="Nazwa"} {__ text="Wartość"} {__ text="Produkty"}
{$discount.name}{$discount.value}%{$discount.value|st_currency_format:null:true}{$discount.link_to}
{else} {__ text="Brak rabatów"} {/if}