{if $userpermissions.admin.add}
{/if}

{#activity#}

{section name=logitem loop=$log} {*Color-Mix*} {if $smarty.section.logitem.index % 2 == 0} {else} {/if} {/section}
{#action#} {#user#}
{if $log[logitem].type == "tasklist"} {elseif $log[logitem].type == "user"} {elseif $log[logitem].type == "task"} {elseif $log[logitem].type == "projekt"} {elseif $log[logitem].type == "milestone"} {elseif $log[logitem].type == "message"} {elseif $log[logitem].type == "file"} {elseif $log[logitem].type == "folder"} {elseif $log[logitem].type == "track"} {/if}
{$log[logitem].name|truncate:55:"...":true}
{#was#} {if $log[logitem].action == 1} {#added#} {elseif $log[logitem].action == 2} {#edited#} {elseif $log[logitem].action == 3} {#deleted#} {elseif $log[logitem].action == 4} {#opened#} {elseif $log[logitem].action == 5} {#closed#} {elseif $log[logitem].action == 6} {#assigned#} {elseif $log[logitem].action == 7} {#deassigned#} {/if} {$log[logitem].datum}
{$log[logitem].username|truncate:25:"...":true}
{paginate_prev} {paginate_middle} {paginate_next}
{*block end*}