summaryrefslogtreecommitdiff
path: root/app/Template/project_sidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_sidebar.php')
-rw-r--r--app/Template/project_sidebar.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/app/Template/project_sidebar.php b/app/Template/project_sidebar.php
index 7d6e0bfb..bd56edaf 100644
--- a/app/Template/project_sidebar.php
+++ b/app/Template/project_sidebar.php
@@ -7,9 +7,6 @@
<?php if (Helper\is_admin() || $project['is_private']): ?>
<li>
- <a href="?controller=project&amp;action=export&amp;project_id=<?= $project['id'] ?>"><?= t('Tasks Export') ?></a>
- </li>
- <li>
<a href="?controller=project&amp;action=share&amp;project_id=<?= $project['id'] ?>"><?= t('Public access') ?></a>
</li>
<li>
@@ -44,4 +41,16 @@
</li>
<?php endif ?>
</ul>
+
+ <?php if (Helper\is_admin() || $project['is_private']): ?>
+ <h2><?= t('Exports') ?></h2>
+ <ul>
+ <li>
+ <?= Helper\a(t('Tasks'), 'project', 'exportTasks', array('project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <?= Helper\a(t('Daily project summary'), 'project', 'exportDailyProjectSummary', array('project_id' => $project['id'])) ?>
+ </li>
+ </li>
+ <?php endif ?>
</div> \ No newline at end of file