diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 21:24:24 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 21:24:24 -0400 |
commit | ed074d176406ca3ce5ba8fa6e0c4511f729efa5b (patch) | |
tree | c5bafd1a6226cf441cfbbaf56be80479260d254a /app/Template/project_header/dropdown.php | |
parent | 14d6affe2e42fc86a86fbe5e624dbaacf6b8223c (diff) |
Move task import outside of project settings
Diffstat (limited to 'app/Template/project_header/dropdown.php')
-rw-r--r-- | app/Template/project_header/dropdown.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/Template/project_header/dropdown.php b/app/Template/project_header/dropdown.php index 6b5c51a6..79a1b389 100644 --- a/app/Template/project_header/dropdown.php +++ b/app/Template/project_header/dropdown.php @@ -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> |