summaryrefslogtreecommitdiff
path: root/plugins/TimeMachine/Template/analytic/sidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TimeMachine/Template/analytic/sidebar.php')
-rw-r--r--plugins/TimeMachine/Template/analytic/sidebar.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/plugins/TimeMachine/Template/analytic/sidebar.php b/plugins/TimeMachine/Template/analytic/sidebar.php
new file mode 100644
index 00000000..cc04bc1d
--- /dev/null
+++ b/plugins/TimeMachine/Template/analytic/sidebar.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * Created by yvalentin.
+ * https://yohannvalentin.com
+ *
+ * Date: 12/11/18
+ */
+?>
+
+<li <?= $this->app->checkMenuSelection('AnalyticsTimesController', 'timeComparisonBySwimlane') ?>>
+ <?= $this->modal->replaceLink(
+ t('Estimated vs actual time / Swimlanes'),
+ 'AnalyticsTimesController',
+ 'timeComparisonBySwimlane',
+ array(
+ 'plugin' => 'TimeMachine',
+ 'project_id' => $project['id']
+ )
+ )
+ ?>
+</li>
+<li <?= $this->app->checkMenuSelection('AnalyticsTimesController', 'timeComparisonByCategories') ?>>
+ <?= $this->modal->replaceLink(
+ t('Estimated vs actual time / Categories'),
+ 'AnalyticsTimesController',
+ 'timeComparisonByCategories',
+ array(
+ 'plugin' => 'TimeMachine',
+ 'project_id' => $project['id']
+ )
+ )
+ ?>
+</li>
+<!--TODO check if project has automatic action: task.move.column - \Kanboard\Action\SubtaskTimerMoveTaskColumn -->
+<li <?= $this->app->checkMenuSelection('AnalyticsTimesController', 'timeComparisonByDates') ?>>
+ <?= $this->modal->replaceLink(
+ t('Spent time / Dates'),
+ 'AnalyticsTimesController',
+ 'timeComparisonByDates',
+ array(
+ 'plugin' => 'TimeMachine',
+ 'project_id' => $project['id']
+ )
+ )
+ ?>
+</li> \ No newline at end of file