From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- themes/CleanFS/templates/roadmap.text.tpl | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 themes/CleanFS/templates/roadmap.text.tpl (limited to 'themes/CleanFS/templates/roadmap.text.tpl') diff --git a/themes/CleanFS/templates/roadmap.text.tpl b/themes/CleanFS/templates/roadmap.text.tpl new file mode 100644 index 0000000..7d33199 --- /dev/null +++ b/themes/CleanFS/templates/roadmap.text.tpl @@ -0,0 +1,51 @@ +=== prefs['project_title']); ?> === + + + + + + : +prefs['use_effort_tracking']) { + $total_estimated = 0; + $actual_effort = 0; + + foreach($milestone['open_tasks'] as $task) { + $total_estimated += $task['estimated_effort']; + $effort = new effort($task['task_id'],0); + $effort->populateDetails(); + + foreach($effort->details as $details) { + $actual_effort += $details['effort']; + } + $effort = null; + } + // } +?> + +perms('view_estimated_effort')) { + echo Filters::noXSS(L('opentasks')); ?> - : prefs['hours_per_manday'], $proj->prefs['estimated_effort_format']); +} ?> + +perms('view_current_effort_done')) { + echo Filters::noXSS(L('opentasks')); ?> - : prefs['hours_per_manday'], $proj->prefs['current_effort_done_format']); +} ?> + + + + +can_view_task($task)) continue; ?> +FS# - + + + + + + + -- cgit v1.2.3-70-g09d2