summaryrefslogtreecommitdiff
path: root/app/Template/task_import/sidebar.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 21:24:24 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 21:24:24 -0400
commited074d176406ca3ce5ba8fa6e0c4511f729efa5b (patch)
treec5bafd1a6226cf441cfbbaf56be80479260d254a /app/Template/task_import/sidebar.php
parent14d6affe2e42fc86a86fbe5e624dbaacf6b8223c (diff)
Move task import outside of project settings
Diffstat (limited to 'app/Template/task_import/sidebar.php')
-rw-r--r--app/Template/task_import/sidebar.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/task_import/sidebar.php b/app/Template/task_import/sidebar.php
new file mode 100644
index 00000000..4cd92af8
--- /dev/null
+++ b/app/Template/task_import/sidebar.php
@@ -0,0 +1,9 @@
+<div class="sidebar">
+ <h2><?= t('Imports') ?></h2>
+ <ul>
+ <li <?= $this->app->checkMenuSelection('TaskImportController', 'show') ?>>
+ <?= $this->url->link(t('Tasks').' (CSV)', 'TaskImportController', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <?= $this->hook->render('template:task-import:sidebar') ?>
+ </ul>
+</div>