summaryrefslogtreecommitdiff
path: root/plugins/TimeMachine/Template/analytic/sidebar.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-05-05 14:25:42 +0200
committeremkael <emkael@tlen.pl>2020-05-05 14:25:42 +0200
commit62827e6cf470449c117624058fb36ad94804bcc0 (patch)
tree10cd1e4d36c34b694acfadaa69fc7f6ae2b1eabd /plugins/TimeMachine/Template/analytic/sidebar.php
parent7b66ddf2e4fbdb837e78d8b7dbaa9fc38391bc32 (diff)
Time tracking related pluginsHEADmaster
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