{if $promotion.description} {/if}
{icon name="money"} {$promotion.name} ({$promotion.id|string_format:"%04d"}) {if $promotion.deleted} ({trans("deleted promotion")}){/if}
{if $promotion.disabled} {button type="link" icon="disconnected" tip="Enable" href="?m=promotionset&id={$promotion.id}&access={$promotion.disabled}"} {else} {button type="link" icon="connected" tip="Disable" href="?m=promotionset&id={$promotion.id}&access={$promotion.disabled}"} {/if} {if $promotion.disabled}{trans("disabled")}{else}{trans("enabled")}{/if}
{icon name="optional-info"}
{$promotion.description|replace:"\n":"
"}
{if !$promotion.deleted} {button icon="edit" label="Edit" href="?m=promotionedit&id={$promotion.id}"} {/if} {if !$promotion.deleted || !$promotion.assignments} {button icon="delete" label="Delete" id="delete-promotion" data_href="?m=promotiondel&id={$promotion.id}"} {/if}