Move task import outside of project settings

This commit is contained in:
Frederic Guillot
2016-05-28 21:24:24 -04:00
parent 14d6affe2e
commit ed074d1764
8 changed files with 45 additions and 30 deletions

View File

@@ -67,11 +67,18 @@
<?php if ($this->user->hasProjectAccess('ExportController', 'tasks', $project['id'])): ?>
<li>
<i class="fa fa-download fa-fw"></i>
<i class="fa fa-upload fa-fw"></i>
<?= $this->url->link(t('Exports'), 'ExportController', 'tasks', array('project_id' => $project['id'])) ?>
</li>
<?php endif ?>
<?php if ($this->user->hasProjectAccess('TaskImportController', 'tasks', $project['id'])): ?>
<li>
<i class="fa fa-download fa-fw"></i>
<?= $this->url->link(t('Imports'), 'TaskImportController', 'show', array('project_id' => $project['id'])) ?>
</li>
<?php endif ?>
<?php if ($this->user->hasProjectAccess('ProjectEditController', 'edit', $project['id'])): ?>
<li>
<i class="fa fa-cog fa-fw"></i>