{$admin = $admin|default:false} {if $admin}
{/if}

{$poll->title|html}{if $admin && !$expired} {/if}

{if $admin && !$expired} {/if}
{__('PollInfo', 'Export to CSV')} {if $admin && !$expired} {/if}

{__('PollInfo', 'Initiator of the poll')}

{$poll->admin_name|html}{if $admin && !$expired} {/if}

{if $admin && !$expired} {/if}
{if $admin}

{$poll->admin_mail|html}{if !$expired} {/if}

{if !$expired} {/if}
{/if}

{__('Generic', 'Description')}{if $admin && !$expired} {/if}

{$poll->description|html}

{if $admin && !$expired} {/if}
{if $admin}

{__('PollInfo', 'Expiration date')}

{$poll->end_date|date_format:$date_format['txt_date']|html}{if !$expired} {/if}

{if !$expired} {/if}
{/if}
{if $admin}
{if $poll->active} {if $poll->editable} {$rule_id = 2} {$rule_icon = ''} {$rule_txt = __('PollInfo', 'Votes are editable')} {else} {$rule_id = 1} {$rule_icon = ''} {$rule_txt = __('PollInfo', 'Votes and comments are open')} {/if} {else} {$rule_id = 0} {$rule_icon = ''} {$rule_txt = __('PollInfo', 'Votes and comments are locked')} {/if}

{$rule_icon} {$rule_txt|html}{if !$expired} {/if}

{if !$expired} {/if}
{/if}
{if $admin}
{/if}