{if $schema.description} {/if}
{icon name="money"} {$schema.name} ({$schema.id|string_format:"%04d"}) {if $schema.deleted} ({trans("deleted promotion schema")}){/if}
{icon name="calendar"} {if $schema.data}{$schema.data}{else}{trans("unlimited")}{/if}
{if $schema.disabled} {icon name="disconnected"} {else} {icon name="connected"} {/if} {if $schema.disabled}{trans("disabled")}{else}{trans("enabled")}{/if}
{icon name="money"} {$schema.promotion}
{icon name="info"}
{$schema.description|replace:"\n":"
"}
{if !$schema.deleted} {button icon="edit" label="Edit" href="?m=promotionschemaedit&id={$schema.id}"} {/if} {if !$schema.deleted || !$schema.assignments} {button icon="delete" label="Delete" id="delete-promotionschema" data_href="?m=promotionschemadel&id={$schema.id}"} {/if}