{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}
|
{if $promotion.description}
{icon name="optional-info"}
|
{$promotion.description|replace:"\n":" "}
|
|
{/if}
{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}
|