philippK-de / Collabtive

Collabtive is web based project management software
https://collabtive.o-dyn.de
GNU General Public License v3.0
213 stars 131 forks source link

Show finished tasks in the project tree #138

Closed villyaraujo closed 6 years ago

villyaraujo commented 6 years ago

Hello,

How do I proceed to show the completed tasks in the project tree by editing the project.tpl file?

// Tasks from lists {section name=ttask loop=$tree[titem].tasklists[tlist].tasks} projectTree.add("ta" +{$tree[titem].tasklists[tlist].tasks[ttask].ID},"tl" + {$tree[titem].tasklists[tlist].tasks[ttask].liste}, "{$tree[titem].tasklists[tlist].tasks[ttask].title}", "managetask.php?action=showtask&tid={$tree[titem].tasklists[tlist].tasks[ttask].ID}&id={$project.ID}", "", "", "templates/{$settings.template}/theme/{$settings.theme}/images/symbols/task.png", "templates/{$settings.template}/theme/{$settings.theme}/images/symbols/task.png", "", {$tree[titem].tasklists[tlist].tasks[ttask].daysleft}); {/section} // Tasks from lists