diff options
author | emkael <emkael@tlen.pl> | 2020-05-05 14:25:42 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-05-05 14:25:42 +0200 |
commit | 62827e6cf470449c117624058fb36ad94804bcc0 (patch) | |
tree | 10cd1e4d36c34b694acfadaa69fc7f6ae2b1eabd /plugins/TimeMachine/Template/analytic/sidebar.php | |
parent | 7b66ddf2e4fbdb837e78d8b7dbaa9fc38391bc32 (diff) |
Diffstat (limited to 'plugins/TimeMachine/Template/analytic/sidebar.php')
-rw-r--r-- | plugins/TimeMachine/Template/analytic/sidebar.php | 46 |
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 |