{function render_row status=[] class=''}{strip}
{if !$status.special}{/if}
{capture name="status_header"} {$status.icon_html} {$status.name|escape} {if !empty($status.button)} {$status.button|escape} {/if} {/capture} {if $status.special} {$smarty.capture.status_header} {else} {$smarty.capture.status_header} {if $wa->tasks->config('extended_status_settings')} [`Caption for the button that sends a task into this status`] {else} {/if} {/if}
{if !$status.special} {/if}
{if !$status.special}
[`Icon`]
{if $wa->tasks->config('extended_status_settings')}
[`Task title style`]
{/if}
[`Task title color`]
#
[`Button color`]
[`Assignment`]
{$options = [ '' => "[`Do not change assignment`]", 'author' => "[`Assign to user who created the task`]", 'user' => "[`Assign to specific user`]", 'select' => "[`Show assignment selector every time`]" ]} {foreach $options as $value => $name}{strip}
{if $value == 'user'} {elseif $value == 'select'} {/if}
{/strip}{/foreach}
[`Comment form`]
{/if}
{/strip}{/function} {$sidebar_html|default:''}

[`Task statuses`]

{foreach $statuses as $s} {render_row status=$s class="is-closed"} {/foreach} {render_row status=$empty_status class='is-opened template'}