summaryrefslogtreecommitdiff
path: root/app/Template/project/dropdown.php
blob: 96b6a43adcc9af8a4d31255e254bdab283fff930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<li>
    <i class="fa fa-dashboard fa-fw"></i>&nbsp;
    <?= $this->url->link(t('Activity'), 'activity', 'project', array('project_id' => $project['id'])) ?>
</li>

<?php if ($project['is_public']): ?>
<li>
    <i class="fa fa-share-alt fa-fw"></i>&nbsp;<?= $this->url->link(t('Public link'), 'board', 'readonly', array('token' => $project['token']), false, '', '', true) ?>
</li>
<?php endif ?>

<?= $this->hook->render('template:project:dropdown', array('project' => $project)) ?>

<?php if ($this->user->isProjectManagementAllowed($project['id'])): ?>
    <li>
        <i class="fa fa-line-chart fa-fw"></i>&nbsp;
        <?= $this->url->link(t('Analytics'), 'analytic', 'tasks', array('project_id' => $project['id'])) ?>
    </li>
    <li>
        <i class="fa fa-download fa-fw"></i>&nbsp;
        <?= $this->url->link(t('Exports'), 'export', 'tasks', array('project_id' => $project['id'])) ?>
    </li>
    <li>
        <i class="fa fa-cog fa-fw"></i>&nbsp;
        <?= $this->url->link(t('Settings'), 'project', 'show', array('project_id' => $project['id'])) ?>
    </li>
<?php endif ?>