Move task import outside of project settings
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Tasks Importation') ?></h2>
|
||||
</div>
|
||||
<form action="<?= $this->url->href('TaskImportController', 'step2', array('project_id' => $project['id'])) ?>" method="post" enctype="multipart/form-data">
|
||||
<form action="<?= $this->url->href('TaskImportController', 'save', array('project_id' => $project['id'])) ?>" method="post" enctype="multipart/form-data">
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
<?= $this->form->label(t('Delimiter'), 'delimiter') ?>
|
||||
9
app/Template/task_import/sidebar.php
Normal file
9
app/Template/task_import/sidebar.php
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user